From 636f509299122d02087c6fd62e1e4a46dbd22026 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Wed, 8 Jan 2014 20:06:00 +0100 Subject: Rename many classes to avoid conflicts with KDE --- kdejava/koala/Makefile.am | 51 - kdejava/koala/examples/kscribble/KPenBrushDlg.java | 82 - kdejava/koala/examples/kscribble/KScribbleApp.java | 1039 ---------- kdejava/koala/examples/kscribble/KScribbleDoc.java | 300 --- .../koala/examples/kscribble/KScribbleView.java | 342 ---- kdejava/koala/examples/kscribble/Main.java | 78 - kdejava/koala/examples/kscribble/Resource.java | 71 - kdejava/koala/examples/simplemail/MailHelper.java | 220 --- kdejava/koala/examples/simplemail/README | 29 - .../koala/examples/simplemail/SimpleMailFrm.java | 240 --- .../koala/examples/simplemail/SimpleMailer.java | 39 - kdejava/koala/kdejava/AbstractView.cpp | 60 - kdejava/koala/kdejava/AbstractView.h | 23 - kdejava/koala/kdejava/Attr.cpp | 85 - kdejava/koala/kdejava/Attr.h | 26 - kdejava/koala/kdejava/AuthInfo.cpp | 48 - kdejava/koala/kdejava/AuthInfo.h | 22 - kdejava/koala/kdejava/BrowserExtension.cpp | 211 -- kdejava/koala/kdejava/BrowserExtension.h | 36 - kdejava/koala/kdejava/BrowserHostExtension.cpp | 121 -- kdejava/koala/kdejava/BrowserHostExtension.h | 26 - kdejava/koala/kdejava/BrowserRun.cpp | 273 --- kdejava/koala/kdejava/BrowserRun.h | 38 - kdejava/koala/kdejava/CDATASection.cpp | 46 - kdejava/koala/kdejava/CDATASection.h | 21 - kdejava/koala/kdejava/CSSCharsetRule.cpp | 62 - kdejava/koala/kdejava/CSSCharsetRule.h | 23 - kdejava/koala/kdejava/CSSException.cpp | 34 - kdejava/koala/kdejava/CSSException.h | 20 - kdejava/koala/kdejava/CSSFontFaceRule.cpp | 53 - kdejava/koala/kdejava/CSSFontFaceRule.h | 22 - kdejava/koala/kdejava/CSSImportRule.cpp | 70 - kdejava/koala/kdejava/CSSImportRule.h | 24 - kdejava/koala/kdejava/CSSMediaRule.cpp | 77 - kdejava/koala/kdejava/CSSMediaRule.h | 25 - kdejava/koala/kdejava/CSSPageRule.cpp | 70 - kdejava/koala/kdejava/CSSPageRule.h | 24 - kdejava/koala/kdejava/CSSPrimitiveValue.cpp | 104 - kdejava/koala/kdejava/CSSPrimitiveValue.h | 29 - kdejava/koala/kdejava/CSSRule.cpp | 80 - kdejava/koala/kdejava/CSSRule.h | 26 - kdejava/koala/kdejava/CSSRuleList.cpp | 55 - kdejava/koala/kdejava/CSSRuleList.h | 23 - kdejava/koala/kdejava/CSSStyleDeclaration.cpp | 126 -- kdejava/koala/kdejava/CSSStyleDeclaration.h | 31 - kdejava/koala/kdejava/CSSStyleRule.cpp | 70 - kdejava/koala/kdejava/CSSStyleRule.h | 24 - kdejava/koala/kdejava/CSSStyleSheet.cpp | 76 - kdejava/koala/kdejava/CSSStyleSheet.h | 25 - kdejava/koala/kdejava/CSSUnknownRule.cpp | 45 - kdejava/koala/kdejava/CSSUnknownRule.h | 21 - kdejava/koala/kdejava/CSSValue.cpp | 79 - kdejava/koala/kdejava/CSSValue.h | 26 - kdejava/koala/kdejava/CSSValueList.cpp | 59 - kdejava/koala/kdejava/CSSValueList.h | 23 - kdejava/koala/kdejava/CharacterData.cpp | 109 -- kdejava/koala/kdejava/CharacterData.h | 29 - kdejava/koala/kdejava/Comment.cpp | 46 - kdejava/koala/kdejava/Comment.h | 21 - kdejava/koala/kdejava/Connection.cpp | 197 -- kdejava/koala/kdejava/Connection.h | 37 - kdejava/koala/kdejava/CopyJob.cpp | 53 - kdejava/koala/kdejava/CopyJob.h | 24 - kdejava/koala/kdejava/Counter.cpp | 66 - kdejava/koala/kdejava/Counter.h | 24 - kdejava/koala/kdejava/CustomNodeFilter.cpp | 47 - kdejava/koala/kdejava/CustomNodeFilter.h | 22 - kdejava/koala/kdejava/DCOPClient.cpp | 641 ------- kdejava/koala/kdejava/DCOPClient.h | 81 - kdejava/koala/kdejava/DCOPObject.cpp | 222 --- kdejava/koala/kdejava/DCOPObject.h | 40 - kdejava/koala/kdejava/DCOPObjectProxy.cpp | 64 - kdejava/koala/kdejava/DCOPObjectProxy.h | 23 - kdejava/koala/kdejava/DOMException.cpp | 34 - kdejava/koala/kdejava/DOMException.h | 20 - kdejava/koala/kdejava/DOMImplementation.cpp | 97 - kdejava/koala/kdejava/DOMImplementation.h | 27 - kdejava/koala/kdejava/DavJob.cpp | 152 -- kdejava/koala/kdejava/DavJob.h | 24 - kdejava/koala/kdejava/DefaultProgress.cpp | 618 ------ kdejava/koala/kdejava/DefaultProgress.h | 49 - kdejava/koala/kdejava/DeleteJob.cpp | 136 -- kdejava/koala/kdejava/DeleteJob.h | 26 - kdejava/koala/kdejava/DockMainWindow.cpp | 576 ------ kdejava/koala/kdejava/DockMainWindow.h | 33 - kdejava/koala/kdejava/Document.cpp | 383 ---- kdejava/koala/kdejava/Document.h | 63 - kdejava/koala/kdejava/DocumentFragment.cpp | 46 - kdejava/koala/kdejava/DocumentFragment.h | 21 - kdejava/koala/kdejava/DocumentStyle.cpp | 74 - kdejava/koala/kdejava/DocumentStyle.h | 25 - kdejava/koala/kdejava/DocumentType.cpp | 93 - kdejava/koala/kdejava/DocumentType.h | 27 - kdejava/koala/kdejava/DomShared.cpp | 58 - kdejava/koala/kdejava/DomShared.h | 24 - kdejava/koala/kdejava/Element.cpp | 265 --- kdejava/koala/kdejava/Element.h | 47 - kdejava/koala/kdejava/Entity.cpp | 71 - kdejava/koala/kdejava/Entity.h | 24 - kdejava/koala/kdejava/EntityReference.cpp | 46 - kdejava/koala/kdejava/EntityReference.h | 21 - kdejava/koala/kdejava/Event.cpp | 49 - kdejava/koala/kdejava/Event.h | 22 - kdejava/koala/kdejava/EventException.cpp | 34 - kdejava/koala/kdejava/EventException.h | 20 - kdejava/koala/kdejava/EventListener.cpp | 39 - kdejava/koala/kdejava/EventListener.h | 21 - kdejava/koala/kdejava/Factory.cpp | 100 - kdejava/koala/kdejava/Factory.h | 29 - kdejava/koala/kdejava/FileCopyJob.cpp | 69 - kdejava/koala/kdejava/FileCopyJob.h | 26 - kdejava/koala/kdejava/GUIActivateEvent.cpp | 38 - kdejava/koala/kdejava/GUIActivateEvent.h | 21 - kdejava/koala/kdejava/HTMLAnchorElement.cpp | 251 --- kdejava/koala/kdejava/HTMLAnchorElement.h | 47 - kdejava/koala/kdejava/HTMLAppletElement.cpp | 219 --- kdejava/koala/kdejava/HTMLAppletElement.h | 43 - kdejava/koala/kdejava/HTMLAreaElement.cpp | 171 -- kdejava/koala/kdejava/HTMLAreaElement.h | 37 - kdejava/koala/kdejava/HTMLBRElement.cpp | 63 - kdejava/koala/kdejava/HTMLBRElement.h | 23 - kdejava/koala/kdejava/HTMLBaseElement.cpp | 79 - kdejava/koala/kdejava/HTMLBaseElement.h | 25 - kdejava/koala/kdejava/HTMLBaseFontElement.cpp | 93 - kdejava/koala/kdejava/HTMLBaseFontElement.h | 27 - kdejava/koala/kdejava/HTMLBlockquoteElement.cpp | 63 - kdejava/koala/kdejava/HTMLBlockquoteElement.h | 23 - kdejava/koala/kdejava/HTMLBodyElement.cpp | 143 -- kdejava/koala/kdejava/HTMLBodyElement.h | 33 - kdejava/koala/kdejava/HTMLButtonElement.cpp | 152 -- kdejava/koala/kdejava/HTMLButtonElement.h | 35 - kdejava/koala/kdejava/HTMLCollection.cpp | 94 - kdejava/koala/kdejava/HTMLCollection.h | 28 - kdejava/koala/kdejava/HTMLDListElement.cpp | 60 - kdejava/koala/kdejava/HTMLDListElement.h | 23 - kdejava/koala/kdejava/HTMLDirectoryElement.cpp | 60 - kdejava/koala/kdejava/HTMLDirectoryElement.h | 23 - kdejava/koala/kdejava/HTMLDivElement.cpp | 63 - kdejava/koala/kdejava/HTMLDivElement.h | 23 - kdejava/koala/kdejava/HTMLDocument.cpp | 235 --- kdejava/koala/kdejava/HTMLDocument.h | 45 - kdejava/koala/kdejava/HTMLElement.cpp | 202 -- kdejava/koala/kdejava/HTMLElement.h | 40 - kdejava/koala/kdejava/HTMLFieldSetElement.cpp | 53 - kdejava/koala/kdejava/HTMLFieldSetElement.h | 22 - kdejava/koala/kdejava/HTMLFontElement.cpp | 95 - kdejava/koala/kdejava/HTMLFontElement.h | 27 - kdejava/koala/kdejava/HTMLFormCollection.cpp | 7 - kdejava/koala/kdejava/HTMLFormCollection.h | 18 - kdejava/koala/kdejava/HTMLFormElement.cpp | 172 -- kdejava/koala/kdejava/HTMLFormElement.h | 37 - kdejava/koala/kdejava/HTMLFrameElement.cpp | 181 -- kdejava/koala/kdejava/HTMLFrameElement.h | 38 - kdejava/koala/kdejava/HTMLFrameSetElement.cpp | 79 - kdejava/koala/kdejava/HTMLFrameSetElement.h | 25 - kdejava/koala/kdejava/HTMLHRElement.cpp | 109 -- kdejava/koala/kdejava/HTMLHRElement.h | 29 - kdejava/koala/kdejava/HTMLHeadElement.cpp | 63 - kdejava/koala/kdejava/HTMLHeadElement.h | 23 - kdejava/koala/kdejava/HTMLHeadingElement.cpp | 63 - kdejava/koala/kdejava/HTMLHeadingElement.h | 23 - kdejava/koala/kdejava/HTMLHtmlElement.cpp | 63 - kdejava/koala/kdejava/HTMLHtmlElement.h | 23 - kdejava/koala/kdejava/HTMLIFrameElement.cpp | 215 --- kdejava/koala/kdejava/HTMLIFrameElement.h | 42 - kdejava/koala/kdejava/HTMLImageElement.cpp | 243 --- kdejava/koala/kdejava/HTMLImageElement.h | 47 - kdejava/koala/kdejava/HTMLInputElement.cpp | 340 ---- kdejava/koala/kdejava/HTMLInputElement.h | 60 - kdejava/koala/kdejava/HTMLIsIndexElement.cpp | 70 - kdejava/koala/kdejava/HTMLIsIndexElement.h | 24 - kdejava/koala/kdejava/HTMLLIElement.cpp | 77 - kdejava/koala/kdejava/HTMLLIElement.h | 25 - kdejava/koala/kdejava/HTMLLabelElement.cpp | 79 - kdejava/koala/kdejava/HTMLLabelElement.h | 25 - kdejava/koala/kdejava/HTMLLegendElement.cpp | 86 - kdejava/koala/kdejava/HTMLLegendElement.h | 26 - kdejava/koala/kdejava/HTMLLinkElement.cpp | 197 -- kdejava/koala/kdejava/HTMLLinkElement.h | 40 - kdejava/koala/kdejava/HTMLMapElement.cpp | 71 - kdejava/koala/kdejava/HTMLMapElement.h | 24 - kdejava/koala/kdejava/HTMLMenuElement.cpp | 60 - kdejava/koala/kdejava/HTMLMenuElement.h | 23 - kdejava/koala/kdejava/HTMLMetaElement.cpp | 111 -- kdejava/koala/kdejava/HTMLMetaElement.h | 29 - kdejava/koala/kdejava/HTMLModElement.cpp | 79 - kdejava/koala/kdejava/HTMLModElement.h | 25 - kdejava/koala/kdejava/HTMLOListElement.cpp | 91 - kdejava/koala/kdejava/HTMLOListElement.h | 27 - kdejava/koala/kdejava/HTMLObjectElement.cpp | 327 ---- kdejava/koala/kdejava/HTMLObjectElement.h | 57 - kdejava/koala/kdejava/HTMLOptGroupElement.cpp | 77 - kdejava/koala/kdejava/HTMLOptGroupElement.h | 25 - kdejava/koala/kdejava/HTMLOptionElement.cpp | 150 -- kdejava/koala/kdejava/HTMLOptionElement.h | 35 - kdejava/koala/kdejava/HTMLParagraphElement.cpp | 63 - kdejava/koala/kdejava/HTMLParagraphElement.h | 23 - kdejava/koala/kdejava/HTMLParamElement.cpp | 111 -- kdejava/koala/kdejava/HTMLParamElement.h | 29 - kdejava/koala/kdejava/HTMLPreElement.cpp | 60 - kdejava/koala/kdejava/HTMLPreElement.h | 23 - kdejava/koala/kdejava/HTMLQuoteElement.cpp | 63 - kdejava/koala/kdejava/HTMLQuoteElement.h | 23 - kdejava/koala/kdejava/HTMLScriptElement.cpp | 157 -- kdejava/koala/kdejava/HTMLScriptElement.h | 35 - kdejava/koala/kdejava/HTMLSelectElement.cpp | 208 -- kdejava/koala/kdejava/HTMLSelectElement.h | 43 - kdejava/koala/kdejava/HTMLStyleElement.cpp | 101 - kdejava/koala/kdejava/HTMLStyleElement.h | 28 - kdejava/koala/kdejava/HTMLTableCaptionElement.cpp | 63 - kdejava/koala/kdejava/HTMLTableCaptionElement.h | 23 - kdejava/koala/kdejava/HTMLTableCellElement.cpp | 279 --- kdejava/koala/kdejava/HTMLTableCellElement.h | 51 - kdejava/koala/kdejava/HTMLTableColElement.cpp | 141 -- kdejava/koala/kdejava/HTMLTableColElement.h | 33 - kdejava/koala/kdejava/HTMLTableElement.cpp | 305 --- kdejava/koala/kdejava/HTMLTableElement.h | 55 - kdejava/koala/kdejava/HTMLTableRowElement.cpp | 185 -- kdejava/koala/kdejava/HTMLTableRowElement.h | 39 - kdejava/koala/kdejava/HTMLTableSectionElement.cpp | 134 -- kdejava/koala/kdejava/HTMLTableSectionElement.h | 32 - kdejava/koala/kdejava/HTMLTextAreaElement.cpp | 217 --- kdejava/koala/kdejava/HTMLTextAreaElement.h | 44 - kdejava/koala/kdejava/HTMLTitleElement.cpp | 63 - kdejava/koala/kdejava/HTMLTitleElement.h | 23 - kdejava/koala/kdejava/HTMLUListElement.cpp | 77 - kdejava/koala/kdejava/HTMLUListElement.h | 25 - kdejava/koala/kdejava/HistoryProvider.cpp | 149 -- kdejava/koala/kdejava/HistoryProvider.h | 28 - kdejava/koala/kdejava/Job.cpp | 415 ---- kdejava/koala/kdejava/Job.h | 59 - kdejava/koala/kdejava/KActiveLabel.cpp | 771 -------- kdejava/koala/kdejava/KActiveLabel.h | 33 - kdejava/koala/kdejava/KAnimWidget.cpp | 608 ------ kdejava/koala/kdejava/KAnimWidget.h | 42 - kdejava/koala/kdejava/KAr.cpp | 115 -- kdejava/koala/kdejava/KAr.h | 29 - kdejava/koala/kdejava/KArchive.cpp | 163 -- kdejava/koala/kdejava/KArchive.h | 36 - kdejava/koala/kdejava/KArchiveDirectory.cpp | 99 - kdejava/koala/kdejava/KArchiveDirectory.h | 28 - kdejava/koala/kdejava/KArchiveEntry.cpp | 131 -- kdejava/koala/kdejava/KArchiveEntry.h | 32 - kdejava/koala/kdejava/KArchiveFile.cpp | 104 - kdejava/koala/kdejava/KArchiveFile.h | 29 - kdejava/koala/kdejava/KArrowButton.cpp | 496 ----- kdejava/koala/kdejava/KArrowButton.h | 33 - kdejava/koala/kdejava/KAsyncIO.cpp | 285 --- kdejava/koala/kdejava/KAsyncIO.h | 56 - kdejava/koala/kdejava/KAudioPlayer.cpp | 142 -- kdejava/koala/kdejava/KAudioPlayer.h | 28 - kdejava/koala/kdejava/KAuthIcon.cpp | 44 - kdejava/koala/kdejava/KAuthIcon.h | 23 - kdejava/koala/kdejava/KBugReport.cpp | 606 ------ kdejava/koala/kdejava/KBugReport.h | 35 - kdejava/koala/kdejava/KButtonBox.cpp | 579 ------ kdejava/koala/kdejava/KButtonBox.h | 44 - kdejava/koala/kdejava/KCMultiDialog.cpp | 670 ------- kdejava/koala/kdejava/KCMultiDialog.h | 43 - kdejava/koala/kdejava/KCPUInfo.cpp | 56 - kdejava/koala/kdejava/KCPUInfo.h | 23 - kdejava/koala/kdejava/KCalendarSystem.cpp | 342 ---- kdejava/koala/kdejava/KCalendarSystem.h | 58 - kdejava/koala/kdejava/KCalendarSystemFactory.cpp | 84 - kdejava/koala/kdejava/KCalendarSystemFactory.h | 26 - kdejava/koala/kdejava/KCatalogue.cpp | 123 -- kdejava/koala/kdejava/KCatalogue.h | 30 - kdejava/koala/kdejava/KCharSelect.cpp | 729 ------- kdejava/koala/kdejava/KCharSelect.h | 53 - kdejava/koala/kdejava/KCharSelectTable.cpp | 676 ------- kdejava/koala/kdejava/KCharSelectTable.h | 39 - kdejava/koala/kdejava/KCharsets.cpp | 141 -- kdejava/koala/kdejava/KCharsets.h | 32 - kdejava/koala/kdejava/KCodecs.cpp | 238 --- kdejava/koala/kdejava/KCodecs.h | 41 - kdejava/koala/kdejava/KColor.cpp | 117 -- kdejava/koala/kdejava/KColor.h | 29 - kdejava/koala/kdejava/KColorButton.cpp | 586 ------ kdejava/koala/kdejava/KColorButton.h | 41 - kdejava/koala/kdejava/KColorCells.cpp | 679 ------- kdejava/koala/kdejava/KColorCells.h | 40 - kdejava/koala/kdejava/KColorCombo.cpp | 452 ----- kdejava/koala/kdejava/KColorCombo.h | 29 - kdejava/koala/kdejava/KColorDialog.cpp | 617 ------ kdejava/koala/kdejava/KColorDialog.h | 39 - kdejava/koala/kdejava/KColorDrag.cpp | 198 -- kdejava/koala/kdejava/KColorDrag.h | 34 - kdejava/koala/kdejava/KColorPatch.cpp | 478 ----- kdejava/koala/kdejava/KColorPatch.h | 29 - kdejava/koala/kdejava/KCombiView.cpp | 945 --------- kdejava/koala/kdejava/KCombiView.h | 80 - kdejava/koala/kdejava/KComboBox.cpp | 892 --------- kdejava/koala/kdejava/KComboBox.h | 82 - kdejava/koala/kdejava/KCommand.cpp | 30 - kdejava/koala/kdejava/KCommand.h | 21 - kdejava/koala/kdejava/KCommandHistory.cpp | 272 --- kdejava/koala/kdejava/KCommandHistory.h | 41 - kdejava/koala/kdejava/KContextMenuManager.cpp | 39 - kdejava/koala/kdejava/KContextMenuManager.h | 22 - kdejava/koala/kdejava/KCursor.cpp | 202 -- kdejava/koala/kdejava/KCursor.h | 41 - kdejava/koala/kdejava/KCustomMenuEditor.cpp | 522 ----- kdejava/koala/kdejava/KCustomMenuEditor.h | 31 - kdejava/koala/kdejava/KDCOPActionProxy.cpp | 108 -- kdejava/koala/kdejava/KDCOPActionProxy.h | 27 - kdejava/koala/kdejava/KDCOPPropertyProxy.cpp | 96 - kdejava/koala/kdejava/KDCOPPropertyProxy.h | 26 - kdejava/koala/kdejava/KDCOPServiceStarter.cpp | 178 -- kdejava/koala/kdejava/KDCOPServiceStarter.h | 32 - kdejava/koala/kdejava/KDE.cpp | 1104 ----------- kdejava/koala/kdejava/KDE.h | 138 -- kdejava/koala/kdejava/KDEDesktopMimeType.cpp | 224 --- kdejava/koala/kdejava/KDEDesktopMimeType.h | 40 - kdejava/koala/kdejava/KDEJavaSlot.cpp | 1869 ------------------ kdejava/koala/kdejava/KDEJavaSlot.h | 152 -- kdejava/koala/kdejava/KDESupport.cpp | 531 ----- kdejava/koala/kdejava/KDESupport.h | 74 - kdejava/koala/kdejava/KDataTool.cpp | 37 - kdejava/koala/kdejava/KDataTool.h | 22 - kdejava/koala/kdejava/KDataToolAction.cpp | 185 -- kdejava/koala/kdejava/KDataToolAction.h | 27 - kdejava/koala/kdejava/KDataToolInfo.cpp | 144 -- kdejava/koala/kdejava/KDataToolInfo.h | 34 - kdejava/koala/kdejava/KDatePicker.cpp | 698 ------- kdejava/koala/kdejava/KDatePicker.h | 51 - kdejava/koala/kdejava/KDateTable.cpp | 779 -------- kdejava/koala/kdejava/KDateTable.h | 49 - kdejava/koala/kdejava/KDateTimeWidget.cpp | 485 ----- kdejava/koala/kdejava/KDateTimeWidget.h | 31 - kdejava/koala/kdejava/KDateValidator.cpp | 139 -- kdejava/koala/kdejava/KDateValidator.h | 27 - kdejava/koala/kdejava/KDateWidget.cpp | 519 ----- kdejava/koala/kdejava/KDateWidget.h | 34 - kdejava/koala/kdejava/KDesktopFile.cpp | 336 ---- kdejava/koala/kdejava/KDesktopFile.h | 50 - kdejava/koala/kdejava/KDialog.cpp | 549 ------ kdejava/koala/kdejava/KDialog.h | 40 - kdejava/koala/kdejava/KDialogBase.cpp | 1920 ------------------ kdejava/koala/kdejava/KDialogBase.h | 178 -- kdejava/koala/kdejava/KDialogQueue.cpp | 118 -- kdejava/koala/kdejava/KDialogQueue.h | 26 - kdejava/koala/kdejava/KDirLister.cpp | 487 ----- kdejava/koala/kdejava/KDirLister.h | 67 - kdejava/koala/kdejava/KDirNotify.cpp | 8 - kdejava/koala/kdejava/KDirNotify.h | 18 - kdejava/koala/kdejava/KDirOperator.cpp | 1239 ------------ kdejava/koala/kdejava/KDirOperator.h | 122 -- kdejava/koala/kdejava/KDirSelectDialog.cpp | 640 ------ kdejava/koala/kdejava/KDirSelectDialog.h | 41 - kdejava/koala/kdejava/KDirSize.cpp | 186 -- kdejava/koala/kdejava/KDirSize.h | 32 - kdejava/koala/kdejava/KDirWatch.cpp | 297 --- kdejava/koala/kdejava/KDirWatch.h | 48 - kdejava/koala/kdejava/KDiskFreeSp.cpp | 125 -- kdejava/koala/kdejava/KDiskFreeSp.h | 26 - kdejava/koala/kdejava/KDockArea.cpp | 601 ------ kdejava/koala/kdejava/KDockArea.h | 48 - kdejava/koala/kdejava/KDockMainWindow.cpp | 682 ------- kdejava/koala/kdejava/KDockMainWindow.h | 49 - kdejava/koala/kdejava/KDockManager.cpp | 340 ---- kdejava/koala/kdejava/KDockManager.h | 57 - kdejava/koala/kdejava/KDockTabGroup.cpp | 431 ----- kdejava/koala/kdejava/KDockTabGroup.h | 27 - kdejava/koala/kdejava/KDockWidget.cpp | 885 --------- kdejava/koala/kdejava/KDockWidget.h | 81 - .../koala/kdejava/KDockWidgetAbstractHeader.cpp | 471 ----- kdejava/koala/kdejava/KDockWidgetAbstractHeader.h | 28 - .../kdejava/KDockWidgetAbstractHeaderDrag.cpp | 445 ----- .../koala/kdejava/KDockWidgetAbstractHeaderDrag.h | 26 - kdejava/koala/kdejava/KDockWidgetHeader.cpp | 531 ----- kdejava/koala/kdejava/KDockWidgetHeader.h | 36 - kdejava/koala/kdejava/KDockWidgetHeaderDrag.cpp | 449 ----- kdejava/koala/kdejava/KDockWidgetHeaderDrag.h | 26 - kdejava/koala/kdejava/KDoubleNumInput.cpp | 773 -------- kdejava/koala/kdejava/KDoubleNumInput.h | 64 - kdejava/koala/kdejava/KDoubleValidator.cpp | 161 -- kdejava/koala/kdejava/KDoubleValidator.h | 30 - kdejava/koala/kdejava/KDualColorButton.cpp | 632 ------ kdejava/koala/kdejava/KDualColorButton.h | 47 - kdejava/koala/kdejava/KEMailSettings.cpp | 105 - kdejava/koala/kdejava/KEMailSettings.h | 29 - kdejava/koala/kdejava/KEdFind.cpp | 582 ------ kdejava/koala/kdejava/KEdFind.h | 37 - kdejava/koala/kdejava/KEdGotoLine.cpp | 522 ----- kdejava/koala/kdejava/KEdGotoLine.h | 29 - kdejava/koala/kdejava/KEdReplace.cpp | 598 ------ kdejava/koala/kdejava/KEdReplace.h | 40 - kdejava/koala/kdejava/KEdit.cpp | 1041 ---------- kdejava/koala/kdejava/KEdit.h | 64 - kdejava/koala/kdejava/KEditListBox.cpp | 764 -------- kdejava/koala/kdejava/KEditListBox.h | 61 - kdejava/koala/kdejava/KEditToolbar.cpp | 706 ------- kdejava/koala/kdejava/KEditToolbar.h | 44 - kdejava/koala/kdejava/KEditToolbarWidget.cpp | 1071 ----------- kdejava/koala/kdejava/KEditToolbarWidget.h | 89 - kdejava/koala/kdejava/KEntry.cpp | 47 - kdejava/koala/kdejava/KEntry.h | 22 - kdejava/koala/kdejava/KEntryKey.cpp | 73 - kdejava/koala/kdejava/KEntryKey.h | 24 - kdejava/koala/kdejava/KExecMimeType.cpp | 59 - kdejava/koala/kdejava/KExecMimeType.h | 23 - kdejava/koala/kdejava/KFile.cpp | 147 -- kdejava/koala/kdejava/KFile.h | 33 - kdejava/koala/kdejava/KFileDetailView.cpp | 1156 ----------- kdejava/koala/kdejava/KFileDetailView.h | 88 - kdejava/koala/kdejava/KFileDialog.cpp | 1571 --------------- kdejava/koala/kdejava/KFileDialog.h | 133 -- kdejava/koala/kdejava/KFileFilter.cpp | 14 - kdejava/koala/kdejava/KFileFilter.h | 19 - kdejava/koala/kdejava/KFileFilterCombo.cpp | 505 ----- kdejava/koala/kdejava/KFileFilterCombo.h | 34 - kdejava/koala/kdejava/KFileIconView.cpp | 1301 ------------- kdejava/koala/kdejava/KFileIconView.h | 101 - kdejava/koala/kdejava/KFileIconViewItem.cpp | 68 - kdejava/koala/kdejava/KFileIconViewItem.h | 24 - kdejava/koala/kdejava/KFileItem.cpp | 509 ----- kdejava/koala/kdejava/KFileItem.h | 81 - kdejava/koala/kdejava/KFileListViewItem.cpp | 111 -- kdejava/koala/kdejava/KFileListViewItem.h | 29 - kdejava/koala/kdejava/KFileMetaInfo.cpp | 358 ---- kdejava/koala/kdejava/KFileMetaInfo.h | 56 - kdejava/koala/kdejava/KFileMetaInfoGroup.cpp | 243 --- kdejava/koala/kdejava/KFileMetaInfoGroup.h | 45 - kdejava/koala/kdejava/KFileMetaInfoItem.cpp | 215 --- kdejava/koala/kdejava/KFileMetaInfoItem.h | 42 - kdejava/koala/kdejava/KFilePlugin.cpp | 56 - kdejava/koala/kdejava/KFilePlugin.h | 24 - kdejava/koala/kdejava/KFilePreview.cpp | 961 ---------- kdejava/koala/kdejava/KFilePreview.h | 81 - kdejava/koala/kdejava/KFileShare.cpp | 157 -- kdejava/koala/kdejava/KFileShare.h | 34 - kdejava/koala/kdejava/KFileTreeBranch.cpp | 306 --- kdejava/koala/kdejava/KFileTreeBranch.h | 45 - kdejava/koala/kdejava/KFileTreeView.cpp | 886 --------- kdejava/koala/kdejava/KFileTreeView.h | 53 - kdejava/koala/kdejava/KFileTreeViewItem.cpp | 110 -- kdejava/koala/kdejava/KFileTreeViewItem.h | 30 - kdejava/koala/kdejava/KFileTreeViewToolTip.cpp | 59 - kdejava/koala/kdejava/KFileTreeViewToolTip.h | 23 - kdejava/koala/kdejava/KFileView.cpp | 384 ---- kdejava/koala/kdejava/KFileView.h | 69 - kdejava/koala/kdejava/KFileViewSignaler.cpp | 138 -- kdejava/koala/kdejava/KFileViewSignaler.h | 29 - kdejava/koala/kdejava/KFilterBase.cpp | 164 -- kdejava/koala/kdejava/KFilterBase.h | 39 - kdejava/koala/kdejava/KFilterDev.cpp | 221 --- kdejava/koala/kdejava/KFilterDev.h | 42 - kdejava/koala/kdejava/KFind.cpp | 341 ---- kdejava/koala/kdejava/KFind.h | 51 - kdejava/koala/kdejava/KFindDialog.cpp | 764 -------- kdejava/koala/kdejava/KFindDialog.h | 54 - kdejava/koala/kdejava/KFloatValidator.cpp | 199 -- kdejava/koala/kdejava/KFloatValidator.h | 34 - kdejava/koala/kdejava/KFolderType.cpp | 95 - kdejava/koala/kdejava/KFolderType.h | 27 - kdejava/koala/kdejava/KGradientSelector.cpp | 590 ------ kdejava/koala/kdejava/KGradientSelector.h | 41 - kdejava/koala/kdejava/KGuiItem.cpp | 289 --- kdejava/koala/kdejava/KGuiItem.h | 48 - kdejava/koala/kdejava/KHSSelector.cpp | 476 ----- kdejava/koala/kdejava/KHSSelector.h | 29 - kdejava/koala/kdejava/KHelpMenu.cpp | 210 -- kdejava/koala/kdejava/KHelpMenu.h | 36 - kdejava/koala/kdejava/KHistoryCombo.cpp | 585 ------ kdejava/koala/kdejava/KHistoryCombo.h | 42 - kdejava/koala/kdejava/KIDNA.cpp | 39 - kdejava/koala/kdejava/KIDNA.h | 21 - kdejava/koala/kdejava/KIPC.cpp | 83 - kdejava/koala/kdejava/KIPC.h | 26 - kdejava/koala/kdejava/KImageEffect.cpp | 712 ------- kdejava/koala/kdejava/KImageEffect.h | 104 - kdejava/koala/kdejava/KImageIO.cpp | 188 -- kdejava/koala/kdejava/KImageIO.h | 37 - kdejava/koala/kdejava/KInputDialog.cpp | 475 ----- kdejava/koala/kdejava/KInputDialog.h | 53 - kdejava/koala/kdejava/KIntNumInput.cpp | 727 ------- kdejava/koala/kdejava/KIntNumInput.h | 60 - kdejava/koala/kdejava/KIntSpinBox.cpp | 562 ------ kdejava/koala/kdejava/KIntSpinBox.h | 35 - kdejava/koala/kdejava/KIntValidator.cpp | 198 -- kdejava/koala/kdejava/KIntValidator.h | 34 - kdejava/koala/kdejava/KJanusWidget.cpp | 896 --------- kdejava/koala/kdejava/KJanusWidget.h | 80 - kdejava/koala/kdejava/KKey.cpp | 262 --- kdejava/koala/kdejava/KKey.h | 48 - kdejava/koala/kdejava/KKeyButton.cpp | 473 ----- kdejava/koala/kdejava/KKeyButton.h | 31 - kdejava/koala/kdejava/KKeyChooser.cpp | 753 -------- kdejava/koala/kdejava/KKeyChooser.h | 59 - kdejava/koala/kdejava/KKeyDialog.cpp | 688 ------- kdejava/koala/kdejava/KKeyDialog.h | 50 - kdejava/koala/kdejava/KKeyNative.cpp | 143 -- kdejava/koala/kdejava/KKeyNative.h | 34 - kdejava/koala/kdejava/KKeySequence.cpp | 209 -- kdejava/koala/kdejava/KKeySequence.h | 42 - kdejava/koala/kdejava/KLed.cpp | 716 ------- kdejava/koala/kdejava/KLed.h | 55 - kdejava/koala/kdejava/KLibFactory.cpp | 64 - kdejava/koala/kdejava/KLibFactory.h | 25 - kdejava/koala/kdejava/KLibLoader.cpp | 184 -- kdejava/koala/kdejava/KLibLoader.h | 33 - kdejava/koala/kdejava/KLineEdit.cpp | 1042 ---------- kdejava/koala/kdejava/KLineEdit.h | 86 - kdejava/koala/kdejava/KMD5.cpp | 184 -- kdejava/koala/kdejava/KMD5.h | 37 - kdejava/koala/kdejava/KMacroCommand.cpp | 78 - kdejava/koala/kdejava/KMacroCommand.h | 25 - kdejava/koala/kdejava/KMdi.cpp | 7 - kdejava/koala/kdejava/KMdi.h | 18 - kdejava/koala/kdejava/KMdiChildArea.cpp | 662 ------- kdejava/koala/kdejava/KMdiChildArea.h | 55 - kdejava/koala/kdejava/KMdiChildFrm.cpp | 196 -- kdejava/koala/kdejava/KMdiChildFrm.h | 44 - kdejava/koala/kdejava/KMdiChildFrmCaption.cpp | 52 - kdejava/koala/kdejava/KMdiChildFrmCaption.h | 24 - .../koala/kdejava/KMdiChildFrmDragBeginEvent.cpp | 7 - kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.h | 18 - kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.cpp | 7 - kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.h | 18 - kdejava/koala/kdejava/KMdiChildFrmMoveEvent.cpp | 7 - kdejava/koala/kdejava/KMdiChildFrmMoveEvent.h | 18 - .../koala/kdejava/KMdiChildFrmResizeBeginEvent.cpp | 7 - .../koala/kdejava/KMdiChildFrmResizeBeginEvent.h | 18 - .../koala/kdejava/KMdiChildFrmResizeEndEvent.cpp | 7 - kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.h | 18 - kdejava/koala/kdejava/KMdiChildView.cpp | 1004 ---------- kdejava/koala/kdejava/KMdiChildView.h | 82 - kdejava/koala/kdejava/KMdiMainFrm.cpp | 1697 ---------------- kdejava/koala/kdejava/KMdiMainFrm.h | 136 -- kdejava/koala/kdejava/KMdiTaskBar.cpp | 502 ----- kdejava/koala/kdejava/KMdiTaskBar.h | 35 - kdejava/koala/kdejava/KMdiTaskBarButton.cpp | 452 ----- kdejava/koala/kdejava/KMdiTaskBarButton.h | 29 - kdejava/koala/kdejava/KMdiToolViewAccessor.cpp | 132 -- kdejava/koala/kdejava/KMdiToolViewAccessor.h | 35 - kdejava/koala/kdejava/KMdiViewCloseEvent.cpp | 47 - kdejava/koala/kdejava/KMdiViewCloseEvent.h | 22 - kdejava/koala/kdejava/KMdiWin32IconButton.cpp | 457 ----- kdejava/koala/kdejava/KMdiWin32IconButton.h | 26 - kdejava/koala/kdejava/KMenuBar.cpp | 577 ------ kdejava/koala/kdejava/KMenuBar.h | 44 - kdejava/koala/kdejava/KMessageBox.cpp | 2027 -------------------- kdejava/koala/kdejava/KMessageBox.h | 210 -- kdejava/koala/kdejava/KMimeMagic.cpp | 130 -- kdejava/koala/kdejava/KMimeMagic.h | 31 - kdejava/koala/kdejava/KMimeMagicResult.cpp | 92 - kdejava/koala/kdejava/KMimeMagicResult.h | 28 - kdejava/koala/kdejava/KMimeSourceFactory.cpp | 69 - kdejava/koala/kdejava/KMimeSourceFactory.h | 24 - kdejava/koala/kdejava/KMimeType.cpp | 407 ---- kdejava/koala/kdejava/KMimeType.h | 61 - kdejava/koala/kdejava/KMimeTypeResolverBase.cpp | 21 - kdejava/koala/kdejava/KMimeTypeResolverBase.h | 20 - kdejava/koala/kdejava/KMimeTypeResolverHelper.cpp | 116 -- kdejava/koala/kdejava/KMimeTypeResolverHelper.h | 26 - kdejava/koala/kdejava/KMimeTypeValidator.cpp | 133 -- kdejava/koala/kdejava/KMimeTypeValidator.h | 27 - kdejava/koala/kdejava/KMountPoint.cpp | 59 - kdejava/koala/kdejava/KMountPoint.h | 24 - kdejava/koala/kdejava/KMultiTabBar.cpp | 591 ------ kdejava/koala/kdejava/KMultiTabBar.h | 47 - kdejava/koala/kdejava/KMultiTabBarButton.cpp | 499 ----- kdejava/koala/kdejava/KMultiTabBarButton.h | 33 - kdejava/koala/kdejava/KMultiTabBarTab.cpp | 563 ------ kdejava/koala/kdejava/KMultiTabBarTab.h | 38 - kdejava/koala/kdejava/KMultipleDrag.cpp | 147 -- kdejava/koala/kdejava/KMultipleDrag.h | 29 - kdejava/koala/kdejava/KNamedCommand.cpp | 24 - kdejava/koala/kdejava/KNamedCommand.h | 20 - kdejava/koala/kdejava/KNotifyClient.cpp | 175 -- kdejava/koala/kdejava/KNotifyClient.h | 36 - kdejava/koala/kdejava/KNumInput.cpp | 77 - kdejava/koala/kdejava/KNumInput.h | 27 - kdejava/koala/kdejava/KOCRDialog.cpp | 585 ------ kdejava/koala/kdejava/KOCRDialog.h | 35 - kdejava/koala/kdejava/KOpenWithDlg.cpp | 605 ------ kdejava/koala/kdejava/KOpenWithDlg.h | 45 - kdejava/koala/kdejava/KPalette.cpp | 217 --- kdejava/koala/kdejava/KPalette.h | 43 - kdejava/koala/kdejava/KPaletteTable.cpp | 530 ----- kdejava/koala/kdejava/KPaletteTable.h | 36 - kdejava/koala/kdejava/KPanelAppMenu.cpp | 372 ---- kdejava/koala/kdejava/KPanelAppMenu.h | 52 - kdejava/koala/kdejava/KPanelApplet.cpp | 732 ------- kdejava/koala/kdejava/KPanelApplet.h | 53 - kdejava/koala/kdejava/KPanelExtension.cpp | 722 ------- kdejava/koala/kdejava/KPanelExtension.h | 53 - kdejava/koala/kdejava/KPanelMenu.cpp | 74 - kdejava/koala/kdejava/KPanelMenu.h | 27 - kdejava/koala/kdejava/KPassivePopup.cpp | 971 ---------- kdejava/koala/kdejava/KPassivePopup.h | 78 - kdejava/koala/kdejava/KPasswordDialog.cpp | 737 ------- kdejava/koala/kdejava/KPasswordDialog.h | 53 - kdejava/koala/kdejava/KPasswordEdit.cpp | 598 ------ kdejava/koala/kdejava/KPasswordEdit.h | 35 - kdejava/koala/kdejava/KPixmap.cpp | 108 -- kdejava/koala/kdejava/KPixmap.h | 29 - kdejava/koala/kdejava/KPixmapEffect.cpp | 258 --- kdejava/koala/kdejava/KPixmapEffect.h | 48 - kdejava/koala/kdejava/KPixmapIO.cpp | 107 -- kdejava/koala/kdejava/KPixmapIO.h | 30 - kdejava/koala/kdejava/KPixmapProvider.cpp | 25 - kdejava/koala/kdejava/KPixmapProvider.h | 20 - kdejava/koala/kdejava/KPixmapSplitter.cpp | 108 -- kdejava/koala/kdejava/KPixmapSplitter.h | 30 - kdejava/koala/kdejava/KPluginSelector.cpp | 520 ----- kdejava/koala/kdejava/KPluginSelector.h | 37 - kdejava/koala/kdejava/KPreviewWidgetBase.cpp | 46 - kdejava/koala/kdejava/KPreviewWidgetBase.h | 23 - kdejava/koala/kdejava/KPrintAction.cpp | 455 ----- kdejava/koala/kdejava/KPrintAction.h | 53 - kdejava/koala/kdejava/KProcIO.cpp | 262 --- kdejava/koala/kdejava/KProcIO.h | 42 - kdejava/koala/kdejava/KProgress.cpp | 560 ------ kdejava/koala/kdejava/KProgress.h | 39 - kdejava/koala/kdejava/KProgressDialog.cpp | 674 ------- kdejava/koala/kdejava/KProgressDialog.h | 47 - kdejava/koala/kdejava/KProtocolInfo.cpp | 437 ----- kdejava/koala/kdejava/KProtocolInfo.h | 66 - kdejava/koala/kdejava/KProtocolManager.cpp | 315 --- kdejava/koala/kdejava/KProtocolManager.h | 51 - kdejava/koala/kdejava/KPushButton.cpp | 610 ------ kdejava/koala/kdejava/KPushButton.h | 44 - kdejava/koala/kdejava/KRFCDate.cpp | 94 - kdejava/koala/kdejava/KRFCDate.h | 27 - kdejava/koala/kdejava/KRandomSequence.cpp | 111 -- kdejava/koala/kdejava/KRandomSequence.h | 30 - kdejava/koala/kdejava/KRegExpEditorInterface.cpp | 46 - kdejava/koala/kdejava/KRegExpEditorInterface.h | 23 - kdejava/koala/kdejava/KReplace.cpp | 280 --- kdejava/koala/kdejava/KReplace.h | 41 - kdejava/koala/kdejava/KReplaceDialog.cpp | 612 ------ kdejava/koala/kdejava/KReplaceDialog.h | 38 - kdejava/koala/kdejava/KRestrictedLine.cpp | 556 ------ kdejava/koala/kdejava/KRestrictedLine.h | 30 - kdejava/koala/kdejava/KRootPermsIcon.cpp | 445 ----- kdejava/koala/kdejava/KRootPermsIcon.h | 28 - kdejava/koala/kdejava/KRootPixmap.cpp | 267 --- kdejava/koala/kdejava/KRootPixmap.h | 42 - kdejava/koala/kdejava/KRootProp.cpp | 221 --- kdejava/koala/kdejava/KRootProp.h | 42 - kdejava/koala/kdejava/KRuler.cpp | 892 --------- kdejava/koala/kdejava/KRuler.h | 83 - kdejava/koala/kdejava/KRun.cpp | 562 ------ kdejava/koala/kdejava/KRun.h | 68 - kdejava/koala/kdejava/KSMIMECrypto.cpp | 62 - kdejava/koala/kdejava/KSMIMECrypto.h | 23 - kdejava/koala/kdejava/KSSL.cpp | 211 -- kdejava/koala/kdejava/KSSL.h | 44 - kdejava/koala/kdejava/KSSLCertBox.cpp | 565 ------ kdejava/koala/kdejava/KSSLCertBox.h | 27 - kdejava/koala/kdejava/KSSLCertChain.cpp | 77 - kdejava/koala/kdejava/KSSLCertChain.h | 26 - kdejava/koala/kdejava/KSSLCertDlg.cpp | 486 ----- kdejava/koala/kdejava/KSSLCertDlg.h | 34 - kdejava/koala/kdejava/KSSLCertDlgRet.cpp | 47 - kdejava/koala/kdejava/KSSLCertDlgRet.h | 22 - kdejava/koala/kdejava/KSSLCertificate.cpp | 341 ---- kdejava/koala/kdejava/KSSLCertificate.h | 58 - kdejava/koala/kdejava/KSSLCertificateCache.cpp | 195 -- kdejava/koala/kdejava/KSSLCertificateCache.h | 40 - kdejava/koala/kdejava/KSSLCertificateFactory.cpp | 55 - kdejava/koala/kdejava/KSSLCertificateFactory.h | 23 - kdejava/koala/kdejava/KSSLCertificateHome.cpp | 340 ---- kdejava/koala/kdejava/KSSLCertificateHome.h | 54 - kdejava/koala/kdejava/KSSLConnectionInfo.cpp | 97 - kdejava/koala/kdejava/KSSLConnectionInfo.h | 28 - kdejava/koala/kdejava/KSSLInfoDlg.cpp | 487 ----- kdejava/koala/kdejava/KSSLInfoDlg.h | 33 - kdejava/koala/kdejava/KSSLKeyGen.cpp | 502 ----- kdejava/koala/kdejava/KSSLKeyGen.h | 31 - kdejava/koala/kdejava/KSSLPKCS12.cpp | 180 -- kdejava/koala/kdejava/KSSLPKCS12.h | 38 - kdejava/koala/kdejava/KSSLPKCS7.cpp | 111 -- kdejava/koala/kdejava/KSSLPKCS7.h | 30 - kdejava/koala/kdejava/KSSLPeerInfo.cpp | 101 - kdejava/koala/kdejava/KSSLPeerInfo.h | 29 - kdejava/koala/kdejava/KSSLSession.cpp | 65 - kdejava/koala/kdejava/KSSLSession.h | 24 - kdejava/koala/kdejava/KSSLSettings.cpp | 215 --- kdejava/koala/kdejava/KSSLSettings.h | 45 - kdejava/koala/kdejava/KSSLSigners.cpp | 157 -- kdejava/koala/kdejava/KSSLSigners.h | 36 - kdejava/koala/kdejava/KSSLX509Map.cpp | 82 - kdejava/koala/kdejava/KSSLX509Map.h | 26 - kdejava/koala/kdejava/KSSLX509V3.cpp | 124 -- kdejava/koala/kdejava/KSSLX509V3.h | 33 - kdejava/koala/kdejava/KSaveFile.cpp | 148 -- kdejava/koala/kdejava/KSaveFile.h | 34 - kdejava/koala/kdejava/KScanDialog.cpp | 596 ------ kdejava/koala/kdejava/KScanDialog.h | 36 - kdejava/koala/kdejava/KSeparator.cpp | 541 ------ kdejava/koala/kdejava/KSeparator.h | 35 - kdejava/koala/kdejava/KService.cpp | 493 ----- kdejava/koala/kdejava/KService.h | 75 - kdejava/koala/kdejava/KServiceGroup.cpp | 281 --- kdejava/koala/kdejava/KServiceGroup.h | 51 - kdejava/koala/kdejava/KServiceOffer.cpp | 87 - kdejava/koala/kdejava/KServiceOffer.h | 27 - kdejava/koala/kdejava/KServiceSeparator.cpp | 78 - kdejava/koala/kdejava/KServiceSeparator.h | 26 - kdejava/koala/kdejava/KServiceType.cpp | 209 -- kdejava/koala/kdejava/KServiceType.h | 40 - kdejava/koala/kdejava/KServiceTypeProfile.cpp | 145 -- kdejava/koala/kdejava/KServiceTypeProfile.h | 31 - kdejava/koala/kdejava/KSessionManaged.cpp | 62 - kdejava/koala/kdejava/KSessionManaged.h | 24 - kdejava/koala/kdejava/KShell.cpp | 81 - kdejava/koala/kdejava/KShell.h | 25 - kdejava/koala/kdejava/KShellCompletion.cpp | 155 -- kdejava/koala/kdejava/KShellCompletion.h | 27 - kdejava/koala/kdejava/KShellProcess.cpp | 149 -- kdejava/koala/kdejava/KShellProcess.h | 29 - kdejava/koala/kdejava/KShred.cpp | 153 -- kdejava/koala/kdejava/KShred.h | 31 - kdejava/koala/kdejava/KSimpleConfig.cpp | 164 -- kdejava/koala/kdejava/KSimpleConfig.h | 28 - kdejava/koala/kdejava/KSimpleFileFilter.cpp | 139 -- kdejava/koala/kdejava/KSimpleFileFilter.h | 34 - kdejava/koala/kdejava/KSpell.cpp | 689 ------- kdejava/koala/kdejava/KSpell.h | 83 - kdejava/koala/kdejava/KSpellConfig.cpp | 737 ------- kdejava/koala/kdejava/KSpellConfig.h | 60 - kdejava/koala/kdejava/KSpellDlg.cpp | 684 ------- kdejava/koala/kdejava/KSpellDlg.h | 44 - kdejava/koala/kdejava/KSpellingHighlighter.cpp | 49 - kdejava/koala/kdejava/KSpellingHighlighter.h | 23 - kdejava/koala/kdejava/KSqueezedTextLabel.cpp | 528 ----- kdejava/koala/kdejava/KSqueezedTextLabel.h | 33 - kdejava/koala/kdejava/KStaticDeleterBase.cpp | 58 - kdejava/koala/kdejava/KStaticDeleterBase.h | 23 - kdejava/koala/kdejava/KStatusBar.cpp | 521 ----- kdejava/koala/kdejava/KStatusBar.h | 37 - kdejava/koala/kdejava/KStatusBarLabel.cpp | 487 ----- kdejava/koala/kdejava/KStatusBarLabel.h | 28 - kdejava/koala/kdejava/KStdAction.cpp | 1089 ----------- kdejava/koala/kdejava/KStdAction.h | 145 -- kdejava/koala/kdejava/KStdGuiItem.cpp | 330 ---- kdejava/koala/kdejava/KStdGuiItem.h | 57 - kdejava/koala/kdejava/KStringHandler.cpp | 429 ----- kdejava/koala/kdejava/KStringHandler.h | 59 - kdejava/koala/kdejava/KStringListValidator.cpp | 227 --- kdejava/koala/kdejava/KStringListValidator.h | 37 - kdejava/koala/kdejava/KSycoca.cpp | 442 ----- kdejava/koala/kdejava/KSycoca.h | 61 - kdejava/koala/kdejava/KSycocaEntry.cpp | 95 - kdejava/koala/kdejava/KSycocaEntry.h | 29 - kdejava/koala/kdejava/KSyntaxHighlighter.cpp | 123 -- kdejava/koala/kdejava/KSyntaxHighlighter.h | 29 - kdejava/koala/kdejava/KSystemTray.cpp | 592 ------ kdejava/koala/kdejava/KSystemTray.h | 40 - kdejava/koala/kdejava/KTabBar.cpp | 688 ------- kdejava/koala/kdejava/KTabBar.h | 52 - kdejava/koala/kdejava/KTabCtl.cpp | 550 ------ kdejava/koala/kdejava/KTabCtl.h | 40 - kdejava/koala/kdejava/KTabWidget.cpp | 778 -------- kdejava/koala/kdejava/KTabWidget.h | 66 - kdejava/koala/kdejava/KTar.cpp | 208 -- kdejava/koala/kdejava/KTar.h | 37 - kdejava/koala/kdejava/KTempDir.cpp | 137 -- kdejava/koala/kdejava/KTempDir.h | 32 - kdejava/koala/kdejava/KTempFile.cpp | 191 -- kdejava/koala/kdejava/KTempFile.h | 38 - kdejava/koala/kdejava/KTextBrowser.cpp | 783 -------- kdejava/koala/kdejava/KTextBrowser.h | 34 - kdejava/koala/kdejava/KTextEdit.cpp | 856 --------- kdejava/koala/kdejava/KTextEdit.h | 42 - kdejava/koala/kdejava/KTimeWidget.cpp | 485 ----- kdejava/koala/kdejava/KTimeWidget.h | 31 - kdejava/koala/kdejava/KTipDatabase.cpp | 95 - kdejava/koala/kdejava/KTipDatabase.h | 27 - kdejava/koala/kdejava/KTipDialog.cpp | 510 ----- kdejava/koala/kdejava/KTipDialog.h | 36 - kdejava/koala/kdejava/KURIFilter.cpp | 160 -- kdejava/koala/kdejava/KURIFilter.h | 35 - kdejava/koala/kdejava/KURIFilterData.cpp | 222 --- kdejava/koala/kdejava/KURIFilterData.h | 42 - kdejava/koala/kdejava/KURIFilterPlugin.cpp | 61 - kdejava/koala/kdejava/KURIFilterPlugin.h | 25 - kdejava/koala/kdejava/KURL.cpp | 973 ---------- kdejava/koala/kdejava/KURL.h | 129 -- kdejava/koala/kdejava/KURLBar.cpp | 769 -------- kdejava/koala/kdejava/KURLBar.h | 60 - kdejava/koala/kdejava/KURLBarItem.cpp | 275 --- kdejava/koala/kdejava/KURLBarItem.h | 47 - kdejava/koala/kdejava/KURLBarItemDialog.cpp | 592 ------ kdejava/koala/kdejava/KURLBarItemDialog.h | 35 - kdejava/koala/kdejava/KURLBarListBox.cpp | 656 ------- kdejava/koala/kdejava/KURLBarListBox.h | 34 - kdejava/koala/kdejava/KURLComboBox.cpp | 603 ------ kdejava/koala/kdejava/KURLComboBox.h | 45 - kdejava/koala/kdejava/KURLComboRequester.cpp | 443 ----- kdejava/koala/kdejava/KURLComboRequester.h | 26 - kdejava/koala/kdejava/KURLCompletion.cpp | 294 --- kdejava/koala/kdejava/KURLCompletion.h | 43 - kdejava/koala/kdejava/KURLDrag.cpp | 164 -- kdejava/koala/kdejava/KURLDrag.h | 30 - kdejava/koala/kdejava/KURLLabel.cpp | 747 -------- kdejava/koala/kdejava/KURLLabel.h | 59 - kdejava/koala/kdejava/KURLPixmapProvider.cpp | 65 - kdejava/koala/kdejava/KURLPixmapProvider.h | 24 - kdejava/koala/kdejava/KURLRequester.cpp | 645 ------- kdejava/koala/kdejava/KURLRequester.h | 49 - kdejava/koala/kdejava/KURLRequesterDlg.cpp | 575 ------ kdejava/koala/kdejava/KURLRequesterDlg.h | 34 - kdejava/koala/kdejava/KUniqueApplication.cpp | 344 ---- kdejava/koala/kdejava/KUniqueApplication.h | 48 - kdejava/koala/kdejava/KValueSelector.cpp | 564 ------ kdejava/koala/kdejava/KValueSelector.h | 37 - kdejava/koala/kdejava/KWidgetAction.cpp | 194 -- kdejava/koala/kdejava/KWidgetAction.h | 30 - kdejava/koala/kdejava/KWindowInfo.cpp | 257 --- kdejava/koala/kdejava/KWindowInfo.h | 40 - kdejava/koala/kdejava/KWizard.cpp | 479 ----- kdejava/koala/kdejava/KWizard.h | 28 - kdejava/koala/kdejava/KWordWrap.cpp | 91 - kdejava/koala/kdejava/KWordWrap.h | 28 - kdejava/koala/kdejava/KWritePermsIcon.cpp | 465 ----- kdejava/koala/kdejava/KWritePermsIcon.h | 30 - kdejava/koala/kdejava/KXMLGUI.cpp | 7 - kdejava/koala/kdejava/KXMLGUI.h | 18 - kdejava/koala/kdejava/KXMLGUIBuilder.cpp | 137 -- kdejava/koala/kdejava/KXMLGUIBuilder.h | 34 - kdejava/koala/kdejava/KXMLGUIClient.cpp | 382 ---- kdejava/koala/kdejava/KXMLGUIClient.h | 59 - kdejava/koala/kdejava/KXMLGUIFactory.cpp | 307 --- kdejava/koala/kdejava/KXMLGUIFactory.h | 48 - kdejava/koala/kdejava/KXYSelector.cpp | 568 ------ kdejava/koala/kdejava/KXYSelector.h | 40 - kdejava/koala/kdejava/KZip.cpp | 235 --- kdejava/koala/kdejava/KZip.h | 41 - kdejava/koala/kdejava/KZipFileEntry.cpp | 127 -- kdejava/koala/kdejava/KZipFileEntry.h | 32 - kdejava/koala/kdejava/LinkStyle.cpp | 48 - kdejava/koala/kdejava/LinkStyle.h | 22 - kdejava/koala/kdejava/ListJob.cpp | 191 -- kdejava/koala/kdejava/ListJob.h | 30 - kdejava/koala/kdejava/LiveConnectExtension.cpp | 113 -- kdejava/koala/kdejava/LiveConnectExtension.h | 25 - kdejava/koala/kdejava/MainWindow.cpp | 646 ------- kdejava/koala/kdejava/MainWindow.h | 39 - kdejava/koala/kdejava/Makefile.am | 38 - kdejava/koala/kdejava/MetaInfoJob.cpp | 143 -- kdejava/koala/kdejava/MetaInfoJob.h | 27 - kdejava/koala/kdejava/MimetypeJob.cpp | 147 -- kdejava/koala/kdejava/MimetypeJob.h | 24 - kdejava/koala/kdejava/MouseEvent.cpp | 88 - kdejava/koala/kdejava/MouseEvent.h | 29 - kdejava/koala/kdejava/MultiGetJob.cpp | 174 -- kdejava/koala/kdejava/MultiGetJob.h | 26 - kdejava/koala/kdejava/MutationEvent.cpp | 96 - kdejava/koala/kdejava/MutationEvent.h | 27 - kdejava/koala/kdejava/NamedNodeMap.cpp | 104 - kdejava/koala/kdejava/NamedNodeMap.h | 29 - kdejava/koala/kdejava/NetAccess.cpp | 304 --- kdejava/koala/kdejava/NetAccess.h | 53 - kdejava/koala/kdejava/Node.cpp | 296 --- kdejava/koala/kdejava/Node.h | 55 - kdejava/koala/kdejava/NodeFilter.cpp | 71 - kdejava/koala/kdejava/NodeFilter.h | 25 - kdejava/koala/kdejava/NodeIterator.cpp | 91 - kdejava/koala/kdejava/NodeIterator.h | 28 - kdejava/koala/kdejava/Notation.cpp | 63 - kdejava/koala/kdejava/Notation.h | 23 - kdejava/koala/kdejava/Observer.cpp | 510 ----- kdejava/koala/kdejava/Observer.h | 69 - kdejava/koala/kdejava/OpenURLEvent.cpp | 64 - kdejava/koala/kdejava/OpenURLEvent.h | 24 - kdejava/koala/kdejava/Part.cpp | 304 --- kdejava/koala/kdejava/Part.h | 41 - kdejava/koala/kdejava/PartActivateEvent.cpp | 52 - kdejava/koala/kdejava/PartActivateEvent.h | 23 - kdejava/koala/kdejava/PartBase.cpp | 70 - kdejava/koala/kdejava/PartBase.h | 24 - kdejava/koala/kdejava/PartManager.cpp | 327 ---- kdejava/koala/kdejava/PartManager.h | 51 - kdejava/koala/kdejava/PartSelectEvent.cpp | 52 - kdejava/koala/kdejava/PartSelectEvent.h | 23 - kdejava/koala/kdejava/PasswordDialog.cpp | 662 ------- kdejava/koala/kdejava/PasswordDialog.h | 39 - kdejava/koala/kdejava/Plugin.cpp | 471 ----- kdejava/koala/kdejava/Plugin.h | 63 - kdejava/koala/kdejava/PreviewJob.cpp | 183 -- kdejava/koala/kdejava/PreviewJob.h | 31 - kdejava/koala/kdejava/ProcessingInstruction.cpp | 79 - kdejava/koala/kdejava/ProcessingInstruction.h | 25 - kdejava/koala/kdejava/ProgressBase.cpp | 579 ------ kdejava/koala/kdejava/ProgressBase.h | 46 - kdejava/koala/kdejava/RGBColor.cpp | 74 - kdejava/koala/kdejava/RGBColor.h | 25 - kdejava/koala/kdejava/Range.cpp | 258 --- kdejava/koala/kdejava/Range.h | 50 - kdejava/koala/kdejava/RangeException.cpp | 34 - kdejava/koala/kdejava/RangeException.h | 20 - kdejava/koala/kdejava/ReadOnlyPart.cpp | 90 - kdejava/koala/kdejava/ReadOnlyPart.h | 29 - kdejava/koala/kdejava/ReadWritePart.cpp | 107 -- kdejava/koala/kdejava/ReadWritePart.h | 32 - kdejava/koala/kdejava/Rect.cpp | 69 - kdejava/koala/kdejava/Rect.h | 25 - kdejava/koala/kdejava/RenameDlg.cpp | 567 ------ kdejava/koala/kdejava/RenameDlg.h | 40 - kdejava/koala/kdejava/Scheduler.cpp | 484 ----- kdejava/koala/kdejava/Scheduler.h | 65 - kdejava/koala/kdejava/SessionData.cpp | 112 -- kdejava/koala/kdejava/SessionData.h | 24 - kdejava/koala/kdejava/SimpleJob.cpp | 282 --- kdejava/koala/kdejava/SimpleJob.h | 40 - kdejava/koala/kdejava/SkipDlg.cpp | 406 ---- kdejava/koala/kdejava/SkipDlg.h | 25 - kdejava/koala/kdejava/Slave.cpp | 247 --- kdejava/koala/kdejava/Slave.h | 49 - kdejava/koala/kdejava/SlaveBase.cpp | 534 ------ kdejava/koala/kdejava/SlaveBase.h | 88 - kdejava/koala/kdejava/SlaveInterface.cpp | 75 - kdejava/koala/kdejava/SlaveInterface.h | 27 - kdejava/koala/kdejava/StatJob.cpp | 146 -- kdejava/koala/kdejava/StatJob.h | 26 - kdejava/koala/kdejava/StatusBarExtension.cpp | 130 -- kdejava/koala/kdejava/StatusBarExtension.h | 28 - kdejava/koala/kdejava/StatusbarProgress.cpp | 462 ----- kdejava/koala/kdejava/StatusbarProgress.h | 29 - kdejava/koala/kdejava/StoredTransferJob.cpp | 137 -- kdejava/koala/kdejava/StoredTransferJob.h | 23 - kdejava/koala/kdejava/StyleSheet.cpp | 110 -- kdejava/koala/kdejava/StyleSheet.h | 30 - kdejava/koala/kdejava/TDEAboutApplication.cpp | 556 ------ kdejava/koala/kdejava/TDEAboutApplication.h | 30 - kdejava/koala/kdejava/TDEAboutContainer.cpp | 623 ------ kdejava/koala/kdejava/TDEAboutContainer.h | 44 - kdejava/koala/kdejava/TDEAboutContributor.cpp | 736 ------- kdejava/koala/kdejava/TDEAboutContributor.h | 53 - kdejava/koala/kdejava/TDEAboutData.cpp | 474 ----- kdejava/koala/kdejava/TDEAboutData.h | 67 - kdejava/koala/kdejava/TDEAboutDialog.cpp | 910 --------- kdejava/koala/kdejava/TDEAboutDialog.h | 67 - kdejava/koala/kdejava/TDEAboutKDE.cpp | 499 ----- kdejava/koala/kdejava/TDEAboutKDE.h | 25 - kdejava/koala/kdejava/TDEAboutPerson.cpp | 95 - kdejava/koala/kdejava/TDEAboutPerson.h | 27 - kdejava/koala/kdejava/TDEAboutTranslator.cpp | 89 - kdejava/koala/kdejava/TDEAboutTranslator.h | 26 - kdejava/koala/kdejava/TDEAboutWidget.cpp | 524 ----- kdejava/koala/kdejava/TDEAboutWidget.h | 35 - kdejava/koala/kdejava/TDEAccel.cpp | 361 ---- kdejava/koala/kdejava/TDEAccel.h | 56 - kdejava/koala/kdejava/TDEAccelShortcutList.cpp | 159 -- kdejava/koala/kdejava/TDEAccelShortcutList.h | 36 - kdejava/koala/kdejava/TDEAction.cpp | 778 -------- kdejava/koala/kdejava/TDEAction.h | 95 - kdejava/koala/kdejava/TDEActionCollection.cpp | 437 ----- kdejava/koala/kdejava/TDEActionCollection.h | 64 - kdejava/koala/kdejava/TDEActionMenu.cpp | 367 ---- kdejava/koala/kdejava/TDEActionMenu.h | 46 - kdejava/koala/kdejava/TDEActionSeparator.cpp | 181 -- kdejava/koala/kdejava/TDEActionSeparator.h | 28 - kdejava/koala/kdejava/TDEActionShortcutList.cpp | 145 -- kdejava/koala/kdejava/TDEActionShortcutList.h | 35 - kdejava/koala/kdejava/TDEApplication.cpp | 1636 ---------------- kdejava/koala/kdejava/TDEApplication.h | 167 -- kdejava/koala/kdejava/TDEBufferedIO.cpp | 87 - kdejava/koala/kdejava/TDEBufferedIO.h | 29 - kdejava/koala/kdejava/TDECModule.cpp | 688 ------- kdejava/koala/kdejava/TDECModule.h | 49 - kdejava/koala/kdejava/TDECModuleInfo.cpp | 308 --- kdejava/koala/kdejava/TDECModuleInfo.h | 49 - kdejava/koala/kdejava/TDECModuleLoader.cpp | 167 -- kdejava/koala/kdejava/TDECModuleLoader.h | 35 - kdejava/koala/kdejava/TDECmdLineArgs.cpp | 290 --- kdejava/koala/kdejava/TDECmdLineArgs.h | 48 - kdejava/koala/kdejava/TDECompletion.cpp | 343 ---- kdejava/koala/kdejava/TDECompletion.h | 53 - kdejava/koala/kdejava/TDECompletionBase.cpp | 139 -- kdejava/koala/kdejava/TDECompletionBase.h | 36 - kdejava/koala/kdejava/TDECompletionBox.cpp | 798 -------- kdejava/koala/kdejava/TDECompletionBox.h | 49 - kdejava/koala/kdejava/TDEConfig.cpp | 318 --- kdejava/koala/kdejava/TDEConfig.h | 44 - kdejava/koala/kdejava/TDEConfigBackEnd.cpp | 85 - kdejava/koala/kdejava/TDEConfigBackEnd.h | 28 - kdejava/koala/kdejava/TDEConfigBase.cpp | 1201 ------------ kdejava/koala/kdejava/TDEConfigBase.h | 162 -- kdejava/koala/kdejava/TDEConfigGroup.cpp | 160 -- kdejava/koala/kdejava/TDEConfigGroup.h | 30 - kdejava/koala/kdejava/TDEConfigGroupSaver.cpp | 57 - kdejava/koala/kdejava/TDEConfigGroupSaver.h | 23 - kdejava/koala/kdejava/TDEConfigINIBackEnd.cpp | 134 -- kdejava/koala/kdejava/TDEConfigINIBackEnd.h | 30 - kdejava/koala/kdejava/TDEFontAction.cpp | 539 ------ kdejava/koala/kdejava/TDEFontAction.h | 56 - kdejava/koala/kdejava/TDEFontChooser.cpp | 633 ------ kdejava/koala/kdejava/TDEFontChooser.h | 49 - kdejava/koala/kdejava/TDEFontCombo.cpp | 585 ------ kdejava/koala/kdejava/TDEFontCombo.h | 44 - kdejava/koala/kdejava/TDEFontDialog.cpp | 751 -------- kdejava/koala/kdejava/TDEFontDialog.h | 52 - kdejava/koala/kdejava/TDEFontRequester.cpp | 558 ------ kdejava/koala/kdejava/TDEFontRequester.h | 40 - kdejava/koala/kdejava/TDEFontSizeAction.cpp | 455 ----- kdejava/koala/kdejava/TDEFontSizeAction.h | 49 - kdejava/koala/kdejava/TDEGlobal.cpp | 155 -- kdejava/koala/kdejava/TDEGlobal.h | 35 - kdejava/koala/kdejava/TDEGlobalAccel.cpp | 291 --- kdejava/koala/kdejava/TDEGlobalAccel.h | 47 - kdejava/koala/kdejava/TDEGlobalSettings.cpp | 459 ----- kdejava/koala/kdejava/TDEGlobalSettings.h | 70 - kdejava/koala/kdejava/TDEHTMLPart.cpp | 1364 ------------- kdejava/koala/kdejava/TDEHTMLPart.h | 168 -- kdejava/koala/kdejava/TDEHTMLSettings.cpp | 562 ------ kdejava/koala/kdejava/TDEHTMLSettings.h | 91 - kdejava/koala/kdejava/TDEHTMLView.cpp | 921 --------- kdejava/koala/kdejava/TDEHTMLView.h | 63 - kdejava/koala/kdejava/TDEIO.cpp | 1196 ------------ kdejava/koala/kdejava/TDEIO.h | 150 -- kdejava/koala/kdejava/TDEIconButton.cpp | 515 ----- kdejava/koala/kdejava/TDEIconButton.h | 37 - kdejava/koala/kdejava/TDEIconCanvas.cpp | 671 ------- kdejava/koala/kdejava/TDEIconCanvas.h | 29 - kdejava/koala/kdejava/TDEIconDialog.cpp | 703 ------- kdejava/koala/kdejava/TDEIconDialog.h | 51 - kdejava/koala/kdejava/TDEIconEffect.cpp | 195 -- kdejava/koala/kdejava/TDEIconEffect.h | 41 - kdejava/koala/kdejava/TDEIconLoader.cpp | 330 ---- kdejava/koala/kdejava/TDEIconLoader.h | 55 - kdejava/koala/kdejava/TDEIconView.cpp | 890 --------- kdejava/koala/kdejava/TDEIconView.h | 50 - kdejava/koala/kdejava/TDEIconViewItem.cpp | 226 --- kdejava/koala/kdejava/TDEIconViewItem.h | 38 - kdejava/koala/kdejava/TDEInstance.cpp | 141 -- kdejava/koala/kdejava/TDEInstance.h | 33 - kdejava/koala/kdejava/TDEListAction.cpp | 429 ----- kdejava/koala/kdejava/TDEListAction.h | 47 - kdejava/koala/kdejava/TDEListBox.cpp | 704 ------- kdejava/koala/kdejava/TDEListBox.h | 37 - kdejava/koala/kdejava/TDEListView.cpp | 1486 -------------- kdejava/koala/kdejava/TDEListView.h | 123 -- kdejava/koala/kdejava/TDEListViewItem.cpp | 614 ------ kdejava/koala/kdejava/TDEListViewItem.h | 62 - kdejava/koala/kdejava/TDELocale.cpp | 941 --------- kdejava/koala/kdejava/TDELocale.h | 127 -- kdejava/koala/kdejava/TDEMainWindow.cpp | 1639 ---------------- kdejava/koala/kdejava/TDEMainWindow.h | 159 -- kdejava/koala/kdejava/TDEPasteTextAction.cpp | 229 --- kdejava/koala/kdejava/TDEPasteTextAction.h | 32 - kdejava/koala/kdejava/TDEPopupFrame.cpp | 504 ----- kdejava/koala/kdejava/TDEPopupFrame.h | 34 - kdejava/koala/kdejava/TDEPopupMenu.cpp | 726 ------- kdejava/koala/kdejava/TDEPopupMenu.h | 59 - kdejava/koala/kdejava/TDEPopupTitle.cpp | 503 ----- kdejava/koala/kdejava/TDEPopupTitle.h | 35 - kdejava/koala/kdejava/TDEProcess.cpp | 507 ----- kdejava/koala/kdejava/TDEProcess.h | 72 - kdejava/koala/kdejava/TDEProcessController.cpp | 98 - kdejava/koala/kdejava/TDEProcessController.h | 30 - kdejava/koala/kdejava/TDEProcessRunner.cpp | 39 - kdejava/koala/kdejava/TDEProcessRunner.h | 22 - kdejava/koala/kdejava/TDERadioAction.cpp | 409 ---- kdejava/koala/kdejava/TDERadioAction.h | 45 - kdejava/koala/kdejava/TDERecentDocument.cpp | 121 -- kdejava/koala/kdejava/TDERecentDocument.h | 30 - kdejava/koala/kdejava/TDERecentFilesAction.cpp | 592 ------ kdejava/koala/kdejava/TDERecentFilesAction.h | 64 - kdejava/koala/kdejava/TDESelectAction.cpp | 643 ------- kdejava/koala/kdejava/TDESelectAction.h | 71 - kdejava/koala/kdejava/TDESelector.cpp | 766 -------- kdejava/koala/kdejava/TDESelector.h | 61 - kdejava/koala/kdejava/TDEShared.cpp | 34 - kdejava/koala/kdejava/TDEShared.h | 20 - kdejava/koala/kdejava/TDESharedConfig.cpp | 8 - kdejava/koala/kdejava/TDESharedConfig.h | 18 - kdejava/koala/kdejava/TDEShortcut.cpp | 303 --- kdejava/koala/kdejava/TDEShortcut.h | 54 - kdejava/koala/kdejava/TDEShortcutList.cpp | 181 -- kdejava/koala/kdejava/TDEShortcutList.h | 41 - kdejava/koala/kdejava/TDEStandardDirs.cpp | 474 ----- kdejava/koala/kdejava/TDEStandardDirs.h | 68 - kdejava/koala/kdejava/TDEStdAccel.cpp | 460 ----- kdejava/koala/kdejava/TDEStdAccel.h | 74 - kdejava/koala/kdejava/TDEToggleAction.cpp | 480 ----- kdejava/koala/kdejava/TDEToggleAction.h | 54 - .../koala/kdejava/TDEToggleFullScreenAction.cpp | 170 -- kdejava/koala/kdejava/TDEToggleFullScreenAction.h | 27 - kdejava/koala/kdejava/TDEToggleToolBarAction.cpp | 189 -- kdejava/koala/kdejava/TDEToggleToolBarAction.h | 29 - kdejava/koala/kdejava/TDEToolBar.cpp | 1712 ----------------- kdejava/koala/kdejava/TDEToolBar.h | 180 -- kdejava/koala/kdejava/TDEToolBarButton.cpp | 893 --------- kdejava/koala/kdejava/TDEToolBarButton.h | 74 - kdejava/koala/kdejava/TDEToolBarPopupAction.cpp | 277 --- kdejava/koala/kdejava/TDEToolBarPopupAction.h | 37 - kdejava/koala/kdejava/TDEToolBarRadioGroup.cpp | 132 -- kdejava/koala/kdejava/TDEToolBarRadioGroup.h | 28 - kdejava/koala/kdejava/TDEToolBarSeparator.cpp | 493 ----- kdejava/koala/kdejava/TDEToolBarSeparator.h | 32 - kdejava/koala/kdejava/TDETrader.cpp | 150 -- kdejava/koala/kdejava/TDETrader.h | 29 - kdejava/koala/kdejava/Text.cpp | 53 - kdejava/koala/kdejava/Text.h | 22 - kdejava/koala/kdejava/TextEvent.cpp | 106 - kdejava/koala/kdejava/TextEvent.h | 29 - kdejava/koala/kdejava/TransferJob.cpp | 307 --- kdejava/koala/kdejava/TransferJob.h | 41 - kdejava/koala/kdejava/TreeWalker.cpp | 133 -- kdejava/koala/kdejava/TreeWalker.h | 34 - kdejava/koala/kdejava/UIEvent.cpp | 118 -- kdejava/koala/kdejava/UIEvent.h | 31 - kdejava/koala/kdejava/URLArgs.cpp | 144 -- kdejava/koala/kdejava/URLArgs.h | 34 - kdejava/koala/kdejava/WindowArgs.cpp | 57 - kdejava/koala/kdejava/WindowArgs.h | 22 - kdejava/koala/main.cpp | 26 - kdejava/koala/org/Makefile.am | 5 - kdejava/koala/org/kde/Makefile.am | 5 - kdejava/koala/org/kde/koala/AbstractView.java | 53 - kdejava/koala/org/kde/koala/Attr.java | 120 -- kdejava/koala/org/kde/koala/AuthInfo.java | 61 - kdejava/koala/org/kde/koala/BrowserExtension.java | 258 --- .../org/kde/koala/BrowserExtensionSignals.java | 215 --- .../koala/org/kde/koala/BrowserHostExtension.java | 63 - kdejava/koala/org/kde/koala/BrowserInterface.java | 55 - kdejava/koala/org/kde/koala/BrowserRun.java | 143 -- kdejava/koala/org/kde/koala/CDATASection.java | 46 - kdejava/koala/org/kde/koala/CSSCharsetRule.java | 44 - kdejava/koala/org/kde/koala/CSSException.java | 27 - kdejava/koala/org/kde/koala/CSSFontFaceRule.java | 40 - kdejava/koala/org/kde/koala/CSSImportRule.java | 56 - kdejava/koala/org/kde/koala/CSSMediaRule.java | 87 - kdejava/koala/org/kde/koala/CSSPageRule.java | 52 - kdejava/koala/org/kde/koala/CSSPrimitiveValue.java | 145 -- kdejava/koala/org/kde/koala/CSSRule.java | 82 - kdejava/koala/org/kde/koala/CSSRuleList.java | 54 - .../koala/org/kde/koala/CSSStyleDeclaration.java | 155 -- kdejava/koala/org/kde/koala/CSSStyleRule.java | 52 - kdejava/koala/org/kde/koala/CSSStyleSheet.java | 86 - kdejava/koala/org/kde/koala/CSSUnknownRule.java | 32 - kdejava/koala/org/kde/koala/CSSValue.java | 51 - kdejava/koala/org/kde/koala/CSSValueList.java | 51 - kdejava/koala/org/kde/koala/CharacterData.java | 122 -- kdejava/koala/org/kde/koala/Comment.java | 35 - kdejava/koala/org/kde/koala/Connection.java | 120 -- kdejava/koala/org/kde/koala/CopyJob.java | 80 - kdejava/koala/org/kde/koala/CopyJobSignals.java | 104 - kdejava/koala/org/kde/koala/Counter.java | 52 - kdejava/koala/org/kde/koala/CustomNodeFilter.java | 49 - kdejava/koala/org/kde/koala/DCOPAnswer.java | 28 - kdejava/koala/org/kde/koala/DCOPClient.java | 632 ------ kdejava/koala/org/kde/koala/DCOPClientSignals.java | 62 - kdejava/koala/org/kde/koala/DCOPObject.java | 289 --- .../koala/org/kde/koala/DCOPObjectInterface.java | 22 - kdejava/koala/org/kde/koala/DCOPObjectProxy.java | 60 - kdejava/koala/org/kde/koala/DOMException.java | 40 - kdejava/koala/org/kde/koala/DOMImplementation.java | 134 -- kdejava/koala/org/kde/koala/DavJob.java | 44 - kdejava/koala/org/kde/koala/DefaultProgress.java | 109 -- kdejava/koala/org/kde/koala/DeleteJob.java | 52 - kdejava/koala/org/kde/koala/DeleteJobSignals.java | 45 - kdejava/koala/org/kde/koala/DockMainWindow.java | 113 -- kdejava/koala/org/kde/koala/Document.java | 559 ------ kdejava/koala/org/kde/koala/DocumentFragment.java | 66 - kdejava/koala/org/kde/koala/DocumentStyle.java | 30 - kdejava/koala/org/kde/koala/DocumentType.java | 89 - kdejava/koala/org/kde/koala/DomShared.java | 25 - kdejava/koala/org/kde/koala/Element.java | 326 ---- kdejava/koala/org/kde/koala/Entity.java | 78 - kdejava/koala/org/kde/koala/EntityReference.java | 52 - kdejava/koala/org/kde/koala/Event.java | 25 - kdejava/koala/org/kde/koala/EventException.java | 28 - kdejava/koala/org/kde/koala/EventListener.java | 45 - kdejava/koala/org/kde/koala/Factory.java | 72 - kdejava/koala/org/kde/koala/FileCopyJob.java | 56 - kdejava/koala/org/kde/koala/GUIActivateEvent.java | 27 - kdejava/koala/org/kde/koala/HTMLAnchorElement.java | 192 -- kdejava/koala/org/kde/koala/HTMLAppletElement.java | 181 -- kdejava/koala/org/kde/koala/HTMLAreaElement.java | 136 -- kdejava/koala/org/kde/koala/HTMLBRElement.java | 46 - kdejava/koala/org/kde/koala/HTMLBaseElement.java | 57 - .../koala/org/kde/koala/HTMLBaseFontElement.java | 72 - .../koala/org/kde/koala/HTMLBlockquoteElement.java | 45 - kdejava/koala/org/kde/koala/HTMLBodyElement.java | 114 -- kdejava/koala/org/kde/koala/HTMLButtonElement.java | 120 -- kdejava/koala/org/kde/koala/HTMLCollection.java | 74 - kdejava/koala/org/kde/koala/HTMLDListElement.java | 46 - .../koala/org/kde/koala/HTMLDirectoryElement.java | 47 - kdejava/koala/org/kde/koala/HTMLDivElement.java | 46 - kdejava/koala/org/kde/koala/HTMLDocument.java | 221 --- kdejava/koala/org/kde/koala/HTMLElement.java | 144 -- .../koala/org/kde/koala/HTMLFieldSetElement.java | 38 - kdejava/koala/org/kde/koala/HTMLFontElement.java | 73 - .../koala/org/kde/koala/HTMLFormCollection.java | 14 - kdejava/koala/org/kde/koala/HTMLFormElement.java | 129 -- kdejava/koala/org/kde/koala/HTMLFrameElement.java | 142 -- .../koala/org/kde/koala/HTMLFrameSetElement.java | 57 - kdejava/koala/org/kde/koala/HTMLHRElement.java | 86 - kdejava/koala/org/kde/koala/HTMLHeadElement.java | 45 - .../koala/org/kde/koala/HTMLHeadingElement.java | 46 - kdejava/koala/org/kde/koala/HTMLHtmlElement.java | 46 - kdejava/koala/org/kde/koala/HTMLIFrameElement.java | 168 -- kdejava/koala/org/kde/koala/HTMLImageElement.java | 189 -- kdejava/koala/org/kde/koala/HTMLInputElement.java | 284 --- .../koala/org/kde/koala/HTMLIsIndexElement.java | 52 - kdejava/koala/org/kde/koala/HTMLLIElement.java | 59 - kdejava/koala/org/kde/koala/HTMLLabelElement.java | 59 - kdejava/koala/org/kde/koala/HTMLLegendElement.java | 65 - kdejava/koala/org/kde/koala/HTMLLinkElement.java | 151 -- kdejava/koala/org/kde/koala/HTMLMapElement.java | 50 - kdejava/koala/org/kde/koala/HTMLMenuElement.java | 47 - kdejava/koala/org/kde/koala/HTMLMetaElement.java | 82 - kdejava/koala/org/kde/koala/HTMLModElement.java | 59 - kdejava/koala/org/kde/koala/HTMLOListElement.java | 72 - kdejava/koala/org/kde/koala/HTMLObjectElement.java | 269 --- .../koala/org/kde/koala/HTMLOptGroupElement.java | 57 - kdejava/koala/org/kde/koala/HTMLOptionElement.java | 115 -- .../koala/org/kde/koala/HTMLParagraphElement.java | 46 - kdejava/koala/org/kde/koala/HTMLParamElement.java | 83 - kdejava/koala/org/kde/koala/HTMLPreElement.java | 46 - kdejava/koala/org/kde/koala/HTMLQuoteElement.java | 51 - kdejava/koala/org/kde/koala/HTMLScriptElement.java | 112 -- kdejava/koala/org/kde/koala/HTMLSelectElement.java | 168 -- kdejava/koala/org/kde/koala/HTMLStyleElement.java | 75 - .../org/kde/koala/HTMLTableCaptionElement.java | 46 - .../koala/org/kde/koala/HTMLTableCellElement.java | 219 --- .../koala/org/kde/koala/HTMLTableColElement.java | 107 -- kdejava/koala/org/kde/koala/HTMLTableElement.java | 260 --- .../koala/org/kde/koala/HTMLTableRowElement.java | 155 -- .../org/kde/koala/HTMLTableSectionElement.java | 102 - .../koala/org/kde/koala/HTMLTextAreaElement.java | 168 -- kdejava/koala/org/kde/koala/HTMLTitleElement.java | 43 - kdejava/koala/org/kde/koala/HTMLUListElement.java | 59 - kdejava/koala/org/kde/koala/HistoryProvider.java | 69 - .../org/kde/koala/HistoryProviderSignals.java | 22 - kdejava/koala/org/kde/koala/Invocation.java | 69 - kdejava/koala/org/kde/koala/Job.java | 368 ---- kdejava/koala/org/kde/koala/JobSignals.java | 73 - kdejava/koala/org/kde/koala/KActiveLabel.java | 82 - kdejava/koala/org/kde/koala/KAnimWidget.java | 126 -- .../koala/org/kde/koala/KAnimWidgetSignals.java | 15 - kdejava/koala/org/kde/koala/KAr.java | 65 - kdejava/koala/org/kde/koala/KArchive.java | 229 --- kdejava/koala/org/kde/koala/KArchiveDirectory.java | 76 - kdejava/koala/org/kde/koala/KArchiveEntry.java | 107 -- kdejava/koala/org/kde/koala/KArchiveFile.java | 95 - kdejava/koala/org/kde/koala/KArrowButton.java | 85 - kdejava/koala/org/kde/koala/KAsyncIO.java | 76 - kdejava/koala/org/kde/koala/KAsyncIOSignals.java | 20 - kdejava/koala/org/kde/koala/KAudioPlayer.java | 76 - kdejava/koala/org/kde/koala/KAuthIcon.java | 48 - kdejava/koala/org/kde/koala/KAuthIconSignals.java | 18 - kdejava/koala/org/kde/koala/KBugReport.java | 103 - kdejava/koala/org/kde/koala/KButtonBox.java | 160 -- kdejava/koala/org/kde/koala/KCMultiDialog.java | 161 -- .../koala/org/kde/koala/KCMultiDialogSignals.java | 30 - kdejava/koala/org/kde/koala/KCPUInfo.java | 51 - kdejava/koala/org/kde/koala/KCalendarSystem.java | 323 ---- .../org/kde/koala/KCalendarSystemFactory.java | 52 - kdejava/koala/org/kde/koala/KCatalogue.java | 91 - kdejava/koala/org/kde/koala/KCharSelect.java | 151 -- .../koala/org/kde/koala/KCharSelectSignals.java | 19 - kdejava/koala/org/kde/koala/KCharSelectTable.java | 55 - .../org/kde/koala/KCharSelectTableSignals.java | 22 - kdejava/koala/org/kde/koala/KCharsets.java | 128 -- kdejava/koala/org/kde/koala/KCodecs.java | 272 --- kdejava/koala/org/kde/koala/KColor.java | 49 - kdejava/koala/org/kde/koala/KColorButton.java | 103 - .../koala/org/kde/koala/KColorButtonSignals.java | 22 - kdejava/koala/org/kde/koala/KColorCells.java | 57 - .../koala/org/kde/koala/KColorCellsSignals.java | 18 - kdejava/koala/org/kde/koala/KColorCombo.java | 59 - .../koala/org/kde/koala/KColorComboSignals.java | 21 - kdejava/koala/org/kde/koala/KColorDialog.java | 145 -- .../koala/org/kde/koala/KColorDialogSignals.java | 22 - kdejava/koala/org/kde/koala/KColorDrag.java | 86 - kdejava/koala/org/kde/koala/KColorPatch.java | 44 - .../koala/org/kde/koala/KColorPatchSignals.java | 15 - kdejava/koala/org/kde/koala/KCombiView.java | 218 --- kdejava/koala/org/kde/koala/KComboBox.java | 626 ------ kdejava/koala/org/kde/koala/KComboBoxSignals.java | 69 - kdejava/koala/org/kde/koala/KCommand.java | 43 - kdejava/koala/org/kde/koala/KCommandHistory.java | 136 -- .../org/kde/koala/KCommandHistorySignals.java | 30 - .../koala/org/kde/koala/KContextMenuManager.java | 69 - kdejava/koala/org/kde/koala/KCursor.java | 200 -- kdejava/koala/org/kde/koala/KCustomMenuEditor.java | 45 - kdejava/koala/org/kde/koala/KDCOPActionProxy.java | 83 - .../koala/org/kde/koala/KDCOPPropertyProxy.java | 83 - .../koala/org/kde/koala/KDCOPServiceStarter.java | 80 - kdejava/koala/org/kde/koala/KDE.java | 536 ------ .../koala/org/kde/koala/KDEDesktopMimeType.java | 116 -- kdejava/koala/org/kde/koala/KDataTool.java | 74 - kdejava/koala/org/kde/koala/KDataToolAction.java | 78 - .../org/kde/koala/KDataToolActionSignals.java | 16 - kdejava/koala/org/kde/koala/KDataToolInfo.java | 160 -- kdejava/koala/org/kde/koala/KDatePicker.java | 176 -- .../koala/org/kde/koala/KDatePickerSignals.java | 41 - kdejava/koala/org/kde/koala/KDateTable.java | 167 -- kdejava/koala/org/kde/koala/KDateTableSignals.java | 43 - kdejava/koala/org/kde/koala/KDateTimeWidget.java | 83 - .../org/kde/koala/KDateTimeWidgetSignals.java | 16 - kdejava/koala/org/kde/koala/KDateValidator.java | 42 - kdejava/koala/org/kde/koala/KDateWidget.java | 82 - .../koala/org/kde/koala/KDateWidgetSignals.java | 16 - kdejava/koala/org/kde/koala/KDesktopFile.java | 237 --- kdejava/koala/org/kde/koala/KDialog.java | 154 -- kdejava/koala/org/kde/koala/KDialogBase.java | 1338 ------------- .../koala/org/kde/koala/KDialogBaseSignals.java | 129 -- kdejava/koala/org/kde/koala/KDialogQueue.java | 29 - kdejava/koala/org/kde/koala/KDialogSignals.java | 21 - kdejava/koala/org/kde/koala/KDirLister.java | 458 ----- kdejava/koala/org/kde/koala/KDirListerSignals.java | 135 -- kdejava/koala/org/kde/koala/KDirNotify.java | 50 - .../koala/org/kde/koala/KDirNotifyInterface.java | 8 - kdejava/koala/org/kde/koala/KDirOperator.java | 820 -------- .../koala/org/kde/koala/KDirOperatorSignals.java | 42 - kdejava/koala/org/kde/koala/KDirSelectDialog.java | 102 - kdejava/koala/org/kde/koala/KDirSize.java | 80 - kdejava/koala/org/kde/koala/KDirWatch.java | 238 --- kdejava/koala/org/kde/koala/KDirWatchSignals.java | 36 - kdejava/koala/org/kde/koala/KDiskFreeSp.java | 57 - .../koala/org/kde/koala/KDiskFreeSpSignals.java | 11 - kdejava/koala/org/kde/koala/KDockArea.java | 64 - kdejava/koala/org/kde/koala/KDockAreaSignals.java | 18 - kdejava/koala/org/kde/koala/KDockMainWindow.java | 221 --- .../org/kde/koala/KDockMainWindowSignals.java | 17 - kdejava/koala/org/kde/koala/KDockManager.java | 211 -- .../koala/org/kde/koala/KDockManagerSignals.java | 28 - kdejava/koala/org/kde/koala/KDockTabGroup.java | 51 - kdejava/koala/org/kde/koala/KDockWidget.java | 406 ---- .../org/kde/koala/KDockWidgetAbstractHeader.java | 60 - .../kde/koala/KDockWidgetAbstractHeaderDrag.java | 52 - kdejava/koala/org/kde/koala/KDockWidgetHeader.java | 85 - .../koala/org/kde/koala/KDockWidgetHeaderDrag.java | 52 - .../koala/org/kde/koala/KDockWidgetSignals.java | 50 - kdejava/koala/org/kde/koala/KDoubleNumInput.java | 280 --- .../org/kde/koala/KDoubleNumInputSignals.java | 26 - kdejava/koala/org/kde/koala/KDoubleValidator.java | 68 - kdejava/koala/org/kde/koala/KDualColorButton.java | 161 -- .../org/kde/koala/KDualColorButtonSignals.java | 31 - kdejava/koala/org/kde/koala/KEMailSettings.java | 124 -- kdejava/koala/org/kde/koala/KEdFind.java | 58 - kdejava/koala/org/kde/koala/KEdFindSignals.java | 11 - kdejava/koala/org/kde/koala/KEdGotoLine.java | 43 - kdejava/koala/org/kde/koala/KEdReplace.java | 67 - kdejava/koala/org/kde/koala/KEdReplaceSignals.java | 13 - kdejava/koala/org/kde/koala/KEdit.java | 193 -- kdejava/koala/org/kde/koala/KEditListBox.java | 236 --- .../koala/org/kde/koala/KEditListBoxSignals.java | 25 - kdejava/koala/org/kde/koala/KEditSignals.java | 40 - kdejava/koala/org/kde/koala/KEditToolbar.java | 242 --- .../koala/org/kde/koala/KEditToolbarSignals.java | 16 - .../koala/org/kde/koala/KEditToolbarWidget.java | 410 ---- .../org/kde/koala/KEditToolbarWidgetSignals.java | 18 - kdejava/koala/org/kde/koala/KEntry.java | 28 - kdejava/koala/org/kde/koala/KEntryKey.java | 37 - kdejava/koala/org/kde/koala/KExecMimeType.java | 39 - kdejava/koala/org/kde/koala/KFile.java | 88 - kdejava/koala/org/kde/koala/KFileDetailView.java | 229 --- .../org/kde/koala/KFileDetailViewSignals.java | 31 - kdejava/koala/org/kde/koala/KFileDialog.java | 874 --------- .../koala/org/kde/koala/KFileDialogSignals.java | 44 - kdejava/koala/org/kde/koala/KFileFilter.java | 27 - kdejava/koala/org/kde/koala/KFileFilterCombo.java | 84 - .../org/kde/koala/KFileFilterComboSignals.java | 12 - kdejava/koala/org/kde/koala/KFileIconView.java | 282 --- kdejava/koala/org/kde/koala/KFileIconViewItem.java | 43 - .../koala/org/kde/koala/KFileIconViewSignals.java | 35 - kdejava/koala/org/kde/koala/KFileItem.java | 565 ------ kdejava/koala/org/kde/koala/KFileListViewItem.java | 57 - kdejava/koala/org/kde/koala/KFileMetaInfo.java | 314 --- .../koala/org/kde/koala/KFileMetaInfoGroup.java | 201 -- kdejava/koala/org/kde/koala/KFileMetaInfoItem.java | 172 -- kdejava/koala/org/kde/koala/KFilePlugin.java | 179 -- kdejava/koala/org/kde/koala/KFilePreview.java | 218 --- .../koala/org/kde/koala/KFilePreviewSignals.java | 12 - kdejava/koala/org/kde/koala/KFileShare.java | 113 -- kdejava/koala/org/kde/koala/KFileTreeBranch.java | 148 -- .../org/kde/koala/KFileTreeBranchSignals.java | 20 - kdejava/koala/org/kde/koala/KFileTreeView.java | 168 -- kdejava/koala/org/kde/koala/KFileTreeViewItem.java | 72 - .../koala/org/kde/koala/KFileTreeViewSignals.java | 26 - .../koala/org/kde/koala/KFileTreeViewToolTip.java | 26 - kdejava/koala/org/kde/koala/KFileView.java | 312 --- .../koala/org/kde/koala/KFileViewInterface.java | 57 - kdejava/koala/org/kde/koala/KFileViewSignaler.java | 49 - .../org/kde/koala/KFileViewSignalerSignals.java | 22 - kdejava/koala/org/kde/koala/KFilterBase.java | 104 - kdejava/koala/org/kde/koala/KFilterDev.java | 149 -- kdejava/koala/org/kde/koala/KFind.java | 259 --- kdejava/koala/org/kde/koala/KFindDialog.java | 241 --- kdejava/koala/org/kde/koala/KFindSignals.java | 50 - kdejava/koala/org/kde/koala/KFloatValidator.java | 110 -- kdejava/koala/org/kde/koala/KFolderType.java | 43 - kdejava/koala/org/kde/koala/KGradientSelector.java | 95 - kdejava/koala/org/kde/koala/KGuiItem.java | 84 - kdejava/koala/org/kde/koala/KHSSelector.java | 69 - kdejava/koala/org/kde/koala/KHelpMenu.java | 197 -- kdejava/koala/org/kde/koala/KHelpMenuSignals.java | 18 - kdejava/koala/org/kde/koala/KHistoryCombo.java | 223 --- .../koala/org/kde/koala/KHistoryComboSignals.java | 17 - kdejava/koala/org/kde/koala/KIDNA.java | 30 - kdejava/koala/org/kde/koala/KIPC.java | 76 - kdejava/koala/org/kde/koala/KImageEffect.java | 772 -------- kdejava/koala/org/kde/koala/KImageIO.java | 226 --- kdejava/koala/org/kde/koala/KInputDialog.java | 148 -- kdejava/koala/org/kde/koala/KIntNumInput.java | 266 --- .../koala/org/kde/koala/KIntNumInputSignals.java | 23 - kdejava/koala/org/kde/koala/KIntSpinBox.java | 112 -- kdejava/koala/org/kde/koala/KIntValidator.java | 103 - kdejava/koala/org/kde/koala/KJanusWidget.java | 447 ----- .../koala/org/kde/koala/KJanusWidgetSignals.java | 24 - kdejava/koala/org/kde/koala/KKey.java | 267 --- kdejava/koala/org/kde/koala/KKeyButton.java | 73 - kdejava/koala/org/kde/koala/KKeyButtonSignals.java | 11 - kdejava/koala/org/kde/koala/KKeyChooser.java | 195 -- .../koala/org/kde/koala/KKeyChooserSignals.java | 17 - kdejava/koala/org/kde/koala/KKeyDialog.java | 157 -- kdejava/koala/org/kde/koala/KKeyNative.java | 128 -- kdejava/koala/org/kde/koala/KKeySequence.java | 211 -- kdejava/koala/org/kde/koala/KLed.java | 288 --- kdejava/koala/org/kde/koala/KLibFactory.java | 79 - .../koala/org/kde/koala/KLibFactorySignals.java | 15 - kdejava/koala/org/kde/koala/KLibLoader.java | 166 -- kdejava/koala/org/kde/koala/KLineEdit.java | 605 ------ kdejava/koala/org/kde/koala/KLineEditSignals.java | 72 - kdejava/koala/org/kde/koala/KMD5.java | 174 -- kdejava/koala/org/kde/koala/KMacroCommand.java | 53 - kdejava/koala/org/kde/koala/KMdi.java | 71 - kdejava/koala/org/kde/koala/KMdiChildArea.java | 193 -- .../koala/org/kde/koala/KMdiChildAreaSignals.java | 42 - kdejava/koala/org/kde/koala/KMdiChildFrm.java | 141 -- .../koala/org/kde/koala/KMdiChildFrmCaption.java | 43 - .../org/kde/koala/KMdiChildFrmDragBeginEvent.java | 16 - .../org/kde/koala/KMdiChildFrmDragEndEvent.java | 16 - .../koala/org/kde/koala/KMdiChildFrmMoveEvent.java | 16 - .../kde/koala/KMdiChildFrmResizeBeginEvent.java | 16 - .../org/kde/koala/KMdiChildFrmResizeEndEvent.java | 16 - kdejava/koala/org/kde/koala/KMdiChildView.java | 423 ---- .../koala/org/kde/koala/KMdiChildViewSignals.java | 115 -- kdejava/koala/org/kde/koala/KMdiMainFrm.java | 699 ------- .../koala/org/kde/koala/KMdiMainFrmSignals.java | 51 - kdejava/koala/org/kde/koala/KMdiTaskBar.java | 93 - kdejava/koala/org/kde/koala/KMdiTaskBarButton.java | 62 - .../org/kde/koala/KMdiTaskBarButtonSignals.java | 29 - .../koala/org/kde/koala/KMdiToolViewAccessor.java | 31 - .../koala/org/kde/koala/KMdiViewCloseEvent.java | 27 - .../koala/org/kde/koala/KMdiWin32IconButton.java | 38 - .../org/kde/koala/KMdiWin32IconButtonSignals.java | 11 - kdejava/koala/org/kde/koala/KMenuBar.java | 94 - kdejava/koala/org/kde/koala/KMessageBox.java | 944 --------- kdejava/koala/org/kde/koala/KMimeMagic.java | 131 -- kdejava/koala/org/kde/koala/KMimeMagicResult.java | 49 - .../koala/org/kde/koala/KMimeSourceFactory.java | 55 - kdejava/koala/org/kde/koala/KMimeType.java | 439 ----- .../koala/org/kde/koala/KMimeTypeResolverBase.java | 21 - .../org/kde/koala/KMimeTypeResolverHelper.java | 37 - .../koala/org/kde/koala/KMimeTypeValidator.java | 68 - kdejava/koala/org/kde/koala/KMountPoint.java | 73 - kdejava/koala/org/kde/koala/KMultiTabBar.java | 169 -- .../koala/org/kde/koala/KMultiTabBarButton.java | 64 - .../org/kde/koala/KMultiTabBarButtonSignals.java | 20 - kdejava/koala/org/kde/koala/KMultiTabBarTab.java | 56 - kdejava/koala/org/kde/koala/KMultipleDrag.java | 93 - kdejava/koala/org/kde/koala/KNamedCommand.java | 29 - kdejava/koala/org/kde/koala/KNotifyClient.java | 214 --- kdejava/koala/org/kde/koala/KNumInput.java | 92 - kdejava/koala/org/kde/koala/KOCRDialog.java | 104 - kdejava/koala/org/kde/koala/KOCRDialogSignals.java | 18 - kdejava/koala/org/kde/koala/KOpenWithDlg.java | 162 -- kdejava/koala/org/kde/koala/KPalette.java | 199 -- kdejava/koala/org/kde/koala/KPaletteTable.java | 55 - .../koala/org/kde/koala/KPaletteTableSignals.java | 12 - kdejava/koala/org/kde/koala/KPanelAppMenu.java | 292 --- .../koala/org/kde/koala/KPanelAppMenuSignals.java | 16 - kdejava/koala/org/kde/koala/KPanelApplet.java | 332 ---- .../koala/org/kde/koala/KPanelAppletSignals.java | 36 - kdejava/koala/org/kde/koala/KPanelExtension.java | 314 --- .../org/kde/koala/KPanelExtensionSignals.java | 23 - kdejava/koala/org/kde/koala/KPanelMenu.java | 103 - kdejava/koala/org/kde/koala/KPassivePopup.java | 383 ---- .../koala/org/kde/koala/KPassivePopupSignals.java | 26 - kdejava/koala/org/kde/koala/KPasswordDialog.java | 256 --- kdejava/koala/org/kde/koala/KPasswordEdit.java | 96 - kdejava/koala/org/kde/koala/KPixmap.java | 196 -- kdejava/koala/org/kde/koala/KPixmapEffect.java | 240 --- kdejava/koala/org/kde/koala/KPixmapIO.java | 149 -- kdejava/koala/org/kde/koala/KPixmapProvider.java | 35 - kdejava/koala/org/kde/koala/KPixmapSplitter.java | 100 - kdejava/koala/org/kde/koala/KPluginSelector.java | 150 -- .../org/kde/koala/KPluginSelectorSignals.java | 21 - .../koala/org/kde/koala/KPreviewWidgetBase.java | 52 - kdejava/koala/org/kde/koala/KPrintAction.java | 118 -- .../koala/org/kde/koala/KPrintActionSignals.java | 12 - kdejava/koala/org/kde/koala/KProcIO.java | 172 -- kdejava/koala/org/kde/koala/KProcIOSignals.java | 16 - kdejava/koala/org/kde/koala/KProgress.java | 134 -- kdejava/koala/org/kde/koala/KProgressDialog.java | 170 -- kdejava/koala/org/kde/koala/KProgressSignals.java | 14 - kdejava/koala/org/kde/koala/KProtocolInfo.java | 521 ----- kdejava/koala/org/kde/koala/KProtocolManager.java | 367 ---- kdejava/koala/org/kde/koala/KPushButton.java | 151 -- kdejava/koala/org/kde/koala/KRFCDate.java | 85 - kdejava/koala/org/kde/koala/KRandomSequence.java | 117 -- .../org/kde/koala/KRegExpEditorInterface.java | 100 - kdejava/koala/org/kde/koala/KReplace.java | 188 -- kdejava/koala/org/kde/koala/KReplaceDialog.java | 132 -- kdejava/koala/org/kde/koala/KReplaceSignals.java | 24 - kdejava/koala/org/kde/koala/KRestrictedLine.java | 76 - .../org/kde/koala/KRestrictedLineSignals.java | 15 - kdejava/koala/org/kde/koala/KRootPermsIcon.java | 49 - kdejava/koala/org/kde/koala/KRootPixmap.java | 182 -- .../koala/org/kde/koala/KRootPixmapSignals.java | 20 - kdejava/koala/org/kde/koala/KRootProp.java | 186 -- kdejava/koala/org/kde/koala/KRuler.java | 386 ---- kdejava/koala/org/kde/koala/KRun.java | 346 ---- kdejava/koala/org/kde/koala/KRunSignals.java | 22 - kdejava/koala/org/kde/koala/KSMIMECrypto.java | 100 - kdejava/koala/org/kde/koala/KSSL.java | 249 --- kdejava/koala/org/kde/koala/KSSLCertBox.java | 64 - kdejava/koala/org/kde/koala/KSSLCertChain.java | 87 - kdejava/koala/org/kde/koala/KSSLCertDlg.java | 94 - kdejava/koala/org/kde/koala/KSSLCertDlgRet.java | 24 - kdejava/koala/org/kde/koala/KSSLCertificate.java | 349 ---- .../koala/org/kde/koala/KSSLCertificateCache.java | 50 - .../org/kde/koala/KSSLCertificateFactory.java | 25 - .../koala/org/kde/koala/KSSLCertificateHome.java | 62 - .../koala/org/kde/koala/KSSLConnectionInfo.java | 69 - kdejava/koala/org/kde/koala/KSSLInfoDlg.java | 108 -- kdejava/koala/org/kde/koala/KSSLKeyGen.java | 85 - kdejava/koala/org/kde/koala/KSSLPKCS12.java | 158 -- kdejava/koala/org/kde/koala/KSSLPKCS7.java | 98 - kdejava/koala/org/kde/koala/KSSLPeerInfo.java | 79 - kdejava/koala/org/kde/koala/KSSLSession.java | 46 - kdejava/koala/org/kde/koala/KSSLSettings.java | 191 -- kdejava/koala/org/kde/koala/KSSLSigners.java | 159 -- kdejava/koala/org/kde/koala/KSSLX509Map.java | 62 - kdejava/koala/org/kde/koala/KSSLX509V3.java | 110 -- kdejava/koala/org/kde/koala/KSaveFile.java | 135 -- kdejava/koala/org/kde/koala/KScanDialog.java | 143 -- .../koala/org/kde/koala/KScanDialogSignals.java | 36 - kdejava/koala/org/kde/koala/KSeparator.java | 111 -- kdejava/koala/org/kde/koala/KService.java | 547 ------ kdejava/koala/org/kde/koala/KServiceGroup.java | 285 --- kdejava/koala/org/kde/koala/KServiceOffer.java | 94 - kdejava/koala/org/kde/koala/KServiceSeparator.java | 31 - kdejava/koala/org/kde/koala/KServiceType.java | 223 --- .../koala/org/kde/koala/KServiceTypeProfile.java | 137 -- kdejava/koala/org/kde/koala/KSessionManaged.java | 57 - kdejava/koala/org/kde/koala/KShell.java | 96 - kdejava/koala/org/kde/koala/KShellCompletion.java | 51 - kdejava/koala/org/kde/koala/KShellProcess.java | 45 - kdejava/koala/org/kde/koala/KShred.java | 95 - kdejava/koala/org/kde/koala/KShredSignals.java | 20 - kdejava/koala/org/kde/koala/KSimpleConfig.java | 64 - kdejava/koala/org/kde/koala/KSimpleFileFilter.java | 128 -- kdejava/koala/org/kde/koala/KSpell.java | 390 ---- kdejava/koala/org/kde/koala/KSpellConfig.java | 198 -- .../koala/org/kde/koala/KSpellConfigSignals.java | 12 - kdejava/koala/org/kde/koala/KSpellDlg.java | 67 - kdejava/koala/org/kde/koala/KSpellDlgSignals.java | 17 - kdejava/koala/org/kde/koala/KSpellSignals.java | 117 -- .../koala/org/kde/koala/KSpellingHighlighter.java | 19 - .../koala/org/kde/koala/KSqueezedTextLabel.java | 78 - .../koala/org/kde/koala/KStaticDeleterBase.java | 42 - kdejava/koala/org/kde/koala/KStatusBar.java | 126 -- kdejava/koala/org/kde/koala/KStatusBarLabel.java | 44 - .../org/kde/koala/KStatusBarLabelSignals.java | 11 - kdejava/koala/org/kde/koala/KStatusBarSignals.java | 21 - kdejava/koala/org/kde/koala/KStdAction.java | 544 ------ kdejava/koala/org/kde/koala/KStdGuiItem.java | 183 -- kdejava/koala/org/kde/koala/KStringHandler.java | 407 ---- .../koala/org/kde/koala/KStringListValidator.java | 94 - kdejava/koala/org/kde/koala/KSycoca.java | 364 ---- kdejava/koala/org/kde/koala/KSycocaEntry.java | 78 - kdejava/koala/org/kde/koala/KSycocaSignals.java | 17 - .../koala/org/kde/koala/KSyntaxHighlighter.java | 63 - kdejava/koala/org/kde/koala/KSystemTray.java | 164 -- .../koala/org/kde/koala/KSystemTraySignals.java | 19 - kdejava/koala/org/kde/koala/KTabBar.java | 76 - kdejava/koala/org/kde/koala/KTabBarSignals.java | 27 - kdejava/koala/org/kde/koala/KTabCtl.java | 83 - kdejava/koala/org/kde/koala/KTabCtlSignals.java | 15 - kdejava/koala/org/kde/koala/KTabWidget.java | 95 - kdejava/koala/org/kde/koala/KTabWidgetSignals.java | 30 - kdejava/koala/org/kde/koala/KTar.java | 95 - kdejava/koala/org/kde/koala/KTempDir.java | 124 -- kdejava/koala/org/kde/koala/KTempFile.java | 184 -- kdejava/koala/org/kde/koala/KTextBrowser.java | 106 - .../koala/org/kde/koala/KTextBrowserSignals.java | 29 - kdejava/koala/org/kde/koala/KTextEdit.java | 148 -- kdejava/koala/org/kde/koala/KTimeWidget.java | 80 - .../koala/org/kde/koala/KTimeWidgetSignals.java | 16 - kdejava/koala/org/kde/koala/KTipDatabase.java | 74 - kdejava/koala/org/kde/koala/KTipDialog.java | 97 - kdejava/koala/org/kde/koala/KURIFilter.java | 174 -- kdejava/koala/org/kde/koala/KURIFilterData.java | 284 --- kdejava/koala/org/kde/koala/KURIFilterPlugin.java | 74 - kdejava/koala/org/kde/koala/KURL.java | 1341 ------------- kdejava/koala/org/kde/koala/KURLBar.java | 274 --- kdejava/koala/org/kde/koala/KURLBarItem.java | 195 -- kdejava/koala/org/kde/koala/KURLBarItemDialog.java | 106 - kdejava/koala/org/kde/koala/KURLBarListBox.java | 80 - .../koala/org/kde/koala/KURLBarListBoxSignals.java | 19 - kdejava/koala/org/kde/koala/KURLBarSignals.java | 21 - kdejava/koala/org/kde/koala/KURLComboBox.java | 220 --- .../koala/org/kde/koala/KURLComboBoxSignals.java | 18 - .../koala/org/kde/koala/KURLComboRequester.java | 44 - kdejava/koala/org/kde/koala/KURLCompletion.java | 176 -- kdejava/koala/org/kde/koala/KURLDrag.java | 135 -- kdejava/koala/org/kde/koala/KURLLabel.java | 279 --- kdejava/koala/org/kde/koala/KURLLabelSignals.java | 70 - .../koala/org/kde/koala/KURLPixmapProvider.java | 48 - kdejava/koala/org/kde/koala/KURLRequester.java | 224 --- kdejava/koala/org/kde/koala/KURLRequesterDlg.java | 98 - .../koala/org/kde/koala/KURLRequesterSignals.java | 45 - .../koala/org/kde/koala/KUniqueApplication.java | 346 ---- kdejava/koala/org/kde/koala/KValueSelector.java | 89 - kdejava/koala/org/kde/koala/KWidgetAction.java | 58 - kdejava/koala/org/kde/koala/KWindowInfo.java | 135 -- kdejava/koala/org/kde/koala/KWizard.java | 67 - kdejava/koala/org/kde/koala/KWordWrap.java | 132 -- kdejava/koala/org/kde/koala/KWritePermsIcon.java | 61 - kdejava/koala/org/kde/koala/KXMLGUI.java | 10 - kdejava/koala/org/kde/koala/KXMLGUIBuilder.java | 63 - .../org/kde/koala/KXMLGUIBuilderInterface.java | 22 - kdejava/koala/org/kde/koala/KXMLGUIClient.java | 290 --- .../org/kde/koala/KXMLGUIClientInterface.java | 33 - kdejava/koala/org/kde/koala/KXMLGUIFactory.java | 171 -- .../koala/org/kde/koala/KXMLGUIFactorySignals.java | 15 - kdejava/koala/org/kde/koala/KXYSelector.java | 124 -- .../koala/org/kde/koala/KXYSelectorSignals.java | 20 - kdejava/koala/org/kde/koala/KZip.java | 183 -- kdejava/koala/org/kde/koala/KZipFileEntry.java | 51 - kdejava/koala/org/kde/koala/LinkStyle.java | 26 - kdejava/koala/org/kde/koala/ListJob.java | 80 - kdejava/koala/org/kde/koala/ListJobSignals.java | 27 - .../koala/org/kde/koala/LiveConnectExtension.java | 55 - .../org/kde/koala/LiveConnectExtensionSignals.java | 10 - kdejava/koala/org/kde/koala/MainWindow.java | 177 -- kdejava/koala/org/kde/koala/Makefile.am | 17 - kdejava/koala/org/kde/koala/Marchaller.java | 143 -- kdejava/koala/org/kde/koala/MetaInfoJob.java | 61 - .../koala/org/kde/koala/MetaInfoJobSignals.java | 24 - kdejava/koala/org/kde/koala/MimetypeJob.java | 51 - kdejava/koala/org/kde/koala/MouseEvent.java | 120 -- kdejava/koala/org/kde/koala/MultiGetJob.java | 53 - .../koala/org/kde/koala/MultiGetJobSignals.java | 31 - kdejava/koala/org/kde/koala/MutationEvent.java | 88 - kdejava/koala/org/kde/koala/NamedNodeMap.java | 152 -- kdejava/koala/org/kde/koala/NetAccess.java | 359 ---- kdejava/koala/org/kde/koala/Node.java | 425 ---- kdejava/koala/org/kde/koala/NodeFilter.java | 67 - kdejava/koala/org/kde/koala/NodeIterator.java | 109 -- kdejava/koala/org/kde/koala/Notation.java | 52 - kdejava/koala/org/kde/koala/Observer.java | 365 ---- kdejava/koala/org/kde/koala/OpenURLEvent.java | 33 - kdejava/koala/org/kde/koala/Part.java | 202 -- kdejava/koala/org/kde/koala/PartActivateEvent.java | 31 - kdejava/koala/org/kde/koala/PartBase.java | 72 - kdejava/koala/org/kde/koala/PartBaseInterface.java | 10 - kdejava/koala/org/kde/koala/PartManager.java | 232 --- .../koala/org/kde/koala/PartManagerSignals.java | 29 - kdejava/koala/org/kde/koala/PartSelectEvent.java | 27 - kdejava/koala/org/kde/koala/PartSignals.java | 24 - kdejava/koala/org/kde/koala/PasswordDialog.java | 144 -- kdejava/koala/org/kde/koala/Plugin.java | 355 ---- kdejava/koala/org/kde/koala/PreviewJob.java | 80 - kdejava/koala/org/kde/koala/PreviewJobSignals.java | 26 - .../koala/org/kde/koala/ProcessingInstruction.java | 59 - kdejava/koala/org/kde/koala/ProgressBase.java | 206 -- .../koala/org/kde/koala/ProgressBaseSignals.java | 15 - kdejava/koala/org/kde/koala/RGBColor.java | 53 - kdejava/koala/org/kde/koala/Range.java | 248 --- kdejava/koala/org/kde/koala/RangeException.java | 24 - kdejava/koala/org/kde/koala/ReadOnlyPart.java | 106 - .../koala/org/kde/koala/ReadOnlyPartSignals.java | 39 - kdejava/koala/org/kde/koala/ReadWritePart.java | 114 -- .../koala/org/kde/koala/ReadWritePartSignals.java | 16 - kdejava/koala/org/kde/koala/Rect.java | 57 - kdejava/koala/org/kde/koala/RenameDlg.java | 102 - kdejava/koala/org/kde/koala/Scheduler.java | 376 ---- kdejava/koala/org/kde/koala/SchedulerSignals.java | 13 - kdejava/koala/org/kde/koala/SessionData.java | 27 - kdejava/koala/org/kde/koala/SimpleJob.java | 146 -- kdejava/koala/org/kde/koala/SkipDlg.java | 32 - kdejava/koala/org/kde/koala/SkipDlgSignals.java | 10 - kdejava/koala/org/kde/koala/Slave.java | 159 -- kdejava/koala/org/kde/koala/SlaveBase.java | 610 ------ .../koala/org/kde/koala/SlaveConfigSignals.java | 17 - kdejava/koala/org/kde/koala/SlaveInterface.java | 34 - .../koala/org/kde/koala/SlaveInterfaceSignals.java | 29 - kdejava/koala/org/kde/koala/SlaveSignals.java | 9 - kdejava/koala/org/kde/koala/StatJob.java | 72 - kdejava/koala/org/kde/koala/StatJobSignals.java | 26 - .../koala/org/kde/koala/StatusBarExtension.java | 85 - kdejava/koala/org/kde/koala/StatusbarProgress.java | 69 - kdejava/koala/org/kde/koala/StoredTransferJob.java | 59 - kdejava/koala/org/kde/koala/StyleSheet.java | 126 -- .../koala/org/kde/koala/TDEAboutApplication.java | 102 - kdejava/koala/org/kde/koala/TDEAboutContainer.java | 78 - .../org/kde/koala/TDEAboutContainerSignals.java | 13 - .../koala/org/kde/koala/TDEAboutContributor.java | 99 - .../org/kde/koala/TDEAboutContributorSignals.java | 13 - kdejava/koala/org/kde/koala/TDEAboutData.java | 421 ---- kdejava/koala/org/kde/koala/TDEAboutDialog.java | 379 ---- .../koala/org/kde/koala/TDEAboutDialogSignals.java | 25 - kdejava/koala/org/kde/koala/TDEAboutKDE.java | 62 - kdejava/koala/org/kde/koala/TDEAboutPerson.java | 93 - .../koala/org/kde/koala/TDEAboutTranslator.java | 66 - kdejava/koala/org/kde/koala/TDEAboutWidget.java | 95 - .../koala/org/kde/koala/TDEAboutWidgetSignals.java | 21 - kdejava/koala/org/kde/koala/TDEAccel.java | 299 --- kdejava/koala/org/kde/koala/TDEAccelAction.java | 30 - kdejava/koala/org/kde/koala/TDEAccelActions.java | 30 - .../koala/org/kde/koala/TDEAccelShortcutList.java | 73 - kdejava/koala/org/kde/koala/TDEAccelSignals.java | 15 - kdejava/koala/org/kde/koala/TDEAction.java | 455 ----- .../koala/org/kde/koala/TDEActionCollection.java | 279 --- .../org/kde/koala/TDEActionCollectionSignals.java | 48 - kdejava/koala/org/kde/koala/TDEActionMenu.java | 136 -- .../koala/org/kde/koala/TDEActionSeparator.java | 39 - .../koala/org/kde/koala/TDEActionShortcutList.java | 36 - kdejava/koala/org/kde/koala/TDEActionSignals.java | 31 - kdejava/koala/org/kde/koala/TDEApplication.java | 1088 ----------- .../koala/org/kde/koala/TDEApplicationSignals.java | 116 -- kdejava/koala/org/kde/koala/TDEBufferedIO.java | 144 -- .../koala/org/kde/koala/TDEBufferedIOSignals.java | 45 - kdejava/koala/org/kde/koala/TDECModule.java | 275 --- kdejava/koala/org/kde/koala/TDECModuleInfo.java | 231 --- kdejava/koala/org/kde/koala/TDECModuleLoader.java | 120 -- kdejava/koala/org/kde/koala/TDECModuleSignals.java | 25 - kdejava/koala/org/kde/koala/TDECmdLineArgs.java | 478 ----- kdejava/koala/org/kde/koala/TDECompletion.java | 482 ----- kdejava/koala/org/kde/koala/TDECompletionBase.java | 281 --- .../org/kde/koala/TDECompletionBaseInterface.java | 25 - kdejava/koala/org/kde/koala/TDECompletionBox.java | 197 -- .../org/kde/koala/TDECompletionBoxSignals.java | 27 - .../koala/org/kde/koala/TDECompletionSignals.java | 32 - kdejava/koala/org/kde/koala/TDEConfig.java | 232 --- kdejava/koala/org/kde/koala/TDEConfigBackEnd.java | 120 -- kdejava/koala/org/kde/koala/TDEConfigBase.java | 936 --------- kdejava/koala/org/kde/koala/TDEConfigGroup.java | 53 - .../koala/org/kde/koala/TDEConfigGroupSaver.java | 66 - .../koala/org/kde/koala/TDEConfigINIBackEnd.java | 117 -- kdejava/koala/org/kde/koala/TDEFontAction.java | 172 -- kdejava/koala/org/kde/koala/TDEFontChooser.java | 300 --- .../koala/org/kde/koala/TDEFontChooserSignals.java | 17 - kdejava/koala/org/kde/koala/TDEFontCombo.java | 165 -- kdejava/koala/org/kde/koala/TDEFontDialog.java | 226 --- .../koala/org/kde/koala/TDEFontDialogSignals.java | 17 - kdejava/koala/org/kde/koala/TDEFontRequester.java | 130 -- .../org/kde/koala/TDEFontRequesterSignals.java | 17 - kdejava/koala/org/kde/koala/TDEFontSizeAction.java | 133 -- .../org/kde/koala/TDEFontSizeActionSignals.java | 11 - kdejava/koala/org/kde/koala/TDEGlobal.java | 135 -- kdejava/koala/org/kde/koala/TDEGlobalAccel.java | 210 -- kdejava/koala/org/kde/koala/TDEGlobalSettings.java | 481 ----- kdejava/koala/org/kde/koala/TDEHTMLPart.java | 1004 ---------- .../koala/org/kde/koala/TDEHTMLPartSignals.java | 61 - kdejava/koala/org/kde/koala/TDEHTMLSettings.java | 173 -- kdejava/koala/org/kde/koala/TDEHTMLView.java | 139 -- .../koala/org/kde/koala/TDEHTMLViewSignals.java | 30 - kdejava/koala/org/kde/koala/TDEIO.java | 1179 ------------ kdejava/koala/org/kde/koala/TDEIconButton.java | 110 -- .../koala/org/kde/koala/TDEIconButtonSignals.java | 14 - kdejava/koala/org/kde/koala/TDEIconCanvas.java | 52 - .../koala/org/kde/koala/TDEIconCanvasSignals.java | 17 - kdejava/koala/org/kde/koala/TDEIconDialog.java | 159 -- .../koala/org/kde/koala/TDEIconDialogSignals.java | 10 - kdejava/koala/org/kde/koala/TDEIconEffect.java | 236 --- kdejava/koala/org/kde/koala/TDEIconLoader.java | 348 ---- kdejava/koala/org/kde/koala/TDEIconView.java | 151 -- kdejava/koala/org/kde/koala/TDEIconViewItem.java | 96 - .../koala/org/kde/koala/TDEIconViewSignals.java | 63 - kdejava/koala/org/kde/koala/TDEInstance.java | 121 -- .../koala/org/kde/koala/TDEInstanceInterface.java | 15 - kdejava/koala/org/kde/koala/TDEListAction.java | 198 -- kdejava/koala/org/kde/koala/TDEListBox.java | 76 - kdejava/koala/org/kde/koala/TDEListBoxSignals.java | 49 - kdejava/koala/org/kde/koala/TDEListView.java | 778 -------- kdejava/koala/org/kde/koala/TDEListViewItem.java | 232 --- .../koala/org/kde/koala/TDEListViewSignals.java | 160 -- kdejava/koala/org/kde/koala/TDELocale.java | 993 ---------- kdejava/koala/org/kde/koala/TDEMainWindow.java | 1082 ----------- .../koala/org/kde/koala/TDEPasteTextAction.java | 76 - kdejava/koala/org/kde/koala/TDEPopupFrame.java | 98 - kdejava/koala/org/kde/koala/TDEPopupMenu.java | 165 -- .../koala/org/kde/koala/TDEPopupMenuSignals.java | 25 - kdejava/koala/org/kde/koala/TDEPopupTitle.java | 76 - kdejava/koala/org/kde/koala/TDEProcess.java | 628 ------ .../koala/org/kde/koala/TDEProcessController.java | 79 - kdejava/koala/org/kde/koala/TDEProcessRunner.java | 23 - kdejava/koala/org/kde/koala/TDEProcessSignals.java | 72 - kdejava/koala/org/kde/koala/TDERadioAction.java | 193 -- kdejava/koala/org/kde/koala/TDERecentDocument.java | 85 - .../koala/org/kde/koala/TDERecentFilesAction.java | 275 --- .../org/kde/koala/TDERecentFilesActionSignals.java | 17 - kdejava/koala/org/kde/koala/TDESelectAction.java | 314 --- .../org/kde/koala/TDESelectActionSignals.java | 25 - kdejava/koala/org/kde/koala/TDESelector.java | 172 -- .../koala/org/kde/koala/TDESelectorSignals.java | 23 - kdejava/koala/org/kde/koala/TDEShared.java | 48 - kdejava/koala/org/kde/koala/TDESharedConfig.java | 27 - kdejava/koala/org/kde/koala/TDEShortcut.java | 329 ---- kdejava/koala/org/kde/koala/TDEShortcutList.java | 164 -- kdejava/koala/org/kde/koala/TDEStandardDirs.java | 681 ------- kdejava/koala/org/kde/koala/TDEStdAccel.java | 484 ----- kdejava/koala/org/kde/koala/TDEToggleAction.java | 245 --- .../org/kde/koala/TDEToggleActionSignals.java | 12 - .../org/kde/koala/TDEToggleFullScreenAction.java | 60 - .../org/kde/koala/TDEToggleToolBarAction.java | 54 - kdejava/koala/org/kde/koala/TDEToolBar.java | 919 --------- kdejava/koala/org/kde/koala/TDEToolBarButton.java | 235 --- .../org/kde/koala/TDEToolBarButtonSignals.java | 35 - .../koala/org/kde/koala/TDEToolBarPopupAction.java | 142 -- .../koala/org/kde/koala/TDEToolBarRadioGroup.java | 64 - .../koala/org/kde/koala/TDEToolBarSeparator.java | 43 - kdejava/koala/org/kde/koala/TDEToolBarSignals.java | 107 -- kdejava/koala/org/kde/koala/TDETrader.java | 155 -- kdejava/koala/org/kde/koala/Text.java | 64 - kdejava/koala/org/kde/koala/TextEvent.java | 178 -- kdejava/koala/org/kde/koala/TransferJob.java | 117 -- .../koala/org/kde/koala/TransferJobSignals.java | 63 - kdejava/koala/org/kde/koala/TreeWalker.java | 175 -- kdejava/koala/org/kde/koala/UIEvent.java | 88 - kdejava/koala/org/kde/koala/URLArgs.java | 108 -- kdejava/koala/org/kde/koala/WindowArgs.java | 37 - kdejava/koala/org/kde/koala/kdejava.java | 38 - kdejava/koala/test/dcop/JavaDCOPObject.java | 45 - kdejava/koala/test/dcop/README | 28 - kdejava/koala/test/dcop/Test.java | 30 - kdejava/koala/test/kbase/KBase.java | 596 ------ kdejava/koala/test/kbase/KBaseDoc.java | 198 -- kdejava/koala/test/kbase/KBaseView.java | 36 - kdejava/koala/test/kbase/kbase.desktop | 10 - kdejava/koala/test/kbase/kbaseui.rc | 8 - kdejava/koala/test/kblend/KBlendTest.java | 130 -- kdejava/koala/test/kblend/testimage.png | Bin 38127 -> 0 bytes .../koala/test/kcharselect/KCharSelectTest.java | 31 - kdejava/koala/test/kcombobox/KComboBoxTest.java | 122 -- kdejava/koala/test/kdatepicker/KDatePickTest.java | 26 - kdejava/koala/test/khelpers/KHelpers.java | 103 - kdejava/koala/test/khelpers/Main.java | 52 - kdejava/koala/test/kmenu/KdeMenuSample.java | 142 -- kdejava/koala/test/kprogress/KProgressTest.java | 88 - kdejava/koala/test/ksystemtray/Test.java | 28 - .../koala/test/simplebrowser/KSimpleBrowser.java | 65 - kdejava/koala/test/simplebrowser/Main.java | 40 - .../test/tdefontdialog/TDEFontDialogTest.java | 164 -- kdejava/koala/test/tdeioslave/KioslaveTest.java | 589 ------ 1847 files changed, 307788 deletions(-) delete mode 100644 kdejava/koala/Makefile.am delete mode 100644 kdejava/koala/examples/kscribble/KPenBrushDlg.java delete mode 100644 kdejava/koala/examples/kscribble/KScribbleApp.java delete mode 100644 kdejava/koala/examples/kscribble/KScribbleDoc.java delete mode 100644 kdejava/koala/examples/kscribble/KScribbleView.java delete mode 100644 kdejava/koala/examples/kscribble/Main.java delete mode 100644 kdejava/koala/examples/kscribble/Resource.java delete mode 100644 kdejava/koala/examples/simplemail/MailHelper.java delete mode 100644 kdejava/koala/examples/simplemail/README delete mode 100644 kdejava/koala/examples/simplemail/SimpleMailFrm.java delete mode 100644 kdejava/koala/examples/simplemail/SimpleMailer.java delete mode 100644 kdejava/koala/kdejava/AbstractView.cpp delete mode 100644 kdejava/koala/kdejava/AbstractView.h delete mode 100644 kdejava/koala/kdejava/Attr.cpp delete mode 100644 kdejava/koala/kdejava/Attr.h delete mode 100644 kdejava/koala/kdejava/AuthInfo.cpp delete mode 100644 kdejava/koala/kdejava/AuthInfo.h delete mode 100644 kdejava/koala/kdejava/BrowserExtension.cpp delete mode 100644 kdejava/koala/kdejava/BrowserExtension.h delete mode 100644 kdejava/koala/kdejava/BrowserHostExtension.cpp delete mode 100644 kdejava/koala/kdejava/BrowserHostExtension.h delete mode 100644 kdejava/koala/kdejava/BrowserRun.cpp delete mode 100644 kdejava/koala/kdejava/BrowserRun.h delete mode 100644 kdejava/koala/kdejava/CDATASection.cpp delete mode 100644 kdejava/koala/kdejava/CDATASection.h delete mode 100644 kdejava/koala/kdejava/CSSCharsetRule.cpp delete mode 100644 kdejava/koala/kdejava/CSSCharsetRule.h delete mode 100644 kdejava/koala/kdejava/CSSException.cpp delete mode 100644 kdejava/koala/kdejava/CSSException.h delete mode 100644 kdejava/koala/kdejava/CSSFontFaceRule.cpp delete mode 100644 kdejava/koala/kdejava/CSSFontFaceRule.h delete mode 100644 kdejava/koala/kdejava/CSSImportRule.cpp delete mode 100644 kdejava/koala/kdejava/CSSImportRule.h delete mode 100644 kdejava/koala/kdejava/CSSMediaRule.cpp delete mode 100644 kdejava/koala/kdejava/CSSMediaRule.h delete mode 100644 kdejava/koala/kdejava/CSSPageRule.cpp delete mode 100644 kdejava/koala/kdejava/CSSPageRule.h delete mode 100644 kdejava/koala/kdejava/CSSPrimitiveValue.cpp delete mode 100644 kdejava/koala/kdejava/CSSPrimitiveValue.h delete mode 100644 kdejava/koala/kdejava/CSSRule.cpp delete mode 100644 kdejava/koala/kdejava/CSSRule.h delete mode 100644 kdejava/koala/kdejava/CSSRuleList.cpp delete mode 100644 kdejava/koala/kdejava/CSSRuleList.h delete mode 100644 kdejava/koala/kdejava/CSSStyleDeclaration.cpp delete mode 100644 kdejava/koala/kdejava/CSSStyleDeclaration.h delete mode 100644 kdejava/koala/kdejava/CSSStyleRule.cpp delete mode 100644 kdejava/koala/kdejava/CSSStyleRule.h delete mode 100644 kdejava/koala/kdejava/CSSStyleSheet.cpp delete mode 100644 kdejava/koala/kdejava/CSSStyleSheet.h delete mode 100644 kdejava/koala/kdejava/CSSUnknownRule.cpp delete mode 100644 kdejava/koala/kdejava/CSSUnknownRule.h delete mode 100644 kdejava/koala/kdejava/CSSValue.cpp delete mode 100644 kdejava/koala/kdejava/CSSValue.h delete mode 100644 kdejava/koala/kdejava/CSSValueList.cpp delete mode 100644 kdejava/koala/kdejava/CSSValueList.h delete mode 100644 kdejava/koala/kdejava/CharacterData.cpp delete mode 100644 kdejava/koala/kdejava/CharacterData.h delete mode 100644 kdejava/koala/kdejava/Comment.cpp delete mode 100644 kdejava/koala/kdejava/Comment.h delete mode 100644 kdejava/koala/kdejava/Connection.cpp delete mode 100644 kdejava/koala/kdejava/Connection.h delete mode 100644 kdejava/koala/kdejava/CopyJob.cpp delete mode 100644 kdejava/koala/kdejava/CopyJob.h delete mode 100644 kdejava/koala/kdejava/Counter.cpp delete mode 100644 kdejava/koala/kdejava/Counter.h delete mode 100644 kdejava/koala/kdejava/CustomNodeFilter.cpp delete mode 100644 kdejava/koala/kdejava/CustomNodeFilter.h delete mode 100644 kdejava/koala/kdejava/DCOPClient.cpp delete mode 100644 kdejava/koala/kdejava/DCOPClient.h delete mode 100644 kdejava/koala/kdejava/DCOPObject.cpp delete mode 100644 kdejava/koala/kdejava/DCOPObject.h delete mode 100644 kdejava/koala/kdejava/DCOPObjectProxy.cpp delete mode 100644 kdejava/koala/kdejava/DCOPObjectProxy.h delete mode 100644 kdejava/koala/kdejava/DOMException.cpp delete mode 100644 kdejava/koala/kdejava/DOMException.h delete mode 100644 kdejava/koala/kdejava/DOMImplementation.cpp delete mode 100644 kdejava/koala/kdejava/DOMImplementation.h delete mode 100644 kdejava/koala/kdejava/DavJob.cpp delete mode 100644 kdejava/koala/kdejava/DavJob.h delete mode 100644 kdejava/koala/kdejava/DefaultProgress.cpp delete mode 100644 kdejava/koala/kdejava/DefaultProgress.h delete mode 100644 kdejava/koala/kdejava/DeleteJob.cpp delete mode 100644 kdejava/koala/kdejava/DeleteJob.h delete mode 100644 kdejava/koala/kdejava/DockMainWindow.cpp delete mode 100644 kdejava/koala/kdejava/DockMainWindow.h delete mode 100644 kdejava/koala/kdejava/Document.cpp delete mode 100644 kdejava/koala/kdejava/Document.h delete mode 100644 kdejava/koala/kdejava/DocumentFragment.cpp delete mode 100644 kdejava/koala/kdejava/DocumentFragment.h delete mode 100644 kdejava/koala/kdejava/DocumentStyle.cpp delete mode 100644 kdejava/koala/kdejava/DocumentStyle.h delete mode 100644 kdejava/koala/kdejava/DocumentType.cpp delete mode 100644 kdejava/koala/kdejava/DocumentType.h delete mode 100644 kdejava/koala/kdejava/DomShared.cpp delete mode 100644 kdejava/koala/kdejava/DomShared.h delete mode 100644 kdejava/koala/kdejava/Element.cpp delete mode 100644 kdejava/koala/kdejava/Element.h delete mode 100644 kdejava/koala/kdejava/Entity.cpp delete mode 100644 kdejava/koala/kdejava/Entity.h delete mode 100644 kdejava/koala/kdejava/EntityReference.cpp delete mode 100644 kdejava/koala/kdejava/EntityReference.h delete mode 100644 kdejava/koala/kdejava/Event.cpp delete mode 100644 kdejava/koala/kdejava/Event.h delete mode 100644 kdejava/koala/kdejava/EventException.cpp delete mode 100644 kdejava/koala/kdejava/EventException.h delete mode 100644 kdejava/koala/kdejava/EventListener.cpp delete mode 100644 kdejava/koala/kdejava/EventListener.h delete mode 100644 kdejava/koala/kdejava/Factory.cpp delete mode 100644 kdejava/koala/kdejava/Factory.h delete mode 100644 kdejava/koala/kdejava/FileCopyJob.cpp delete mode 100644 kdejava/koala/kdejava/FileCopyJob.h delete mode 100644 kdejava/koala/kdejava/GUIActivateEvent.cpp delete mode 100644 kdejava/koala/kdejava/GUIActivateEvent.h delete mode 100644 kdejava/koala/kdejava/HTMLAnchorElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLAnchorElement.h delete mode 100644 kdejava/koala/kdejava/HTMLAppletElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLAppletElement.h delete mode 100644 kdejava/koala/kdejava/HTMLAreaElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLAreaElement.h delete mode 100644 kdejava/koala/kdejava/HTMLBRElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLBRElement.h delete mode 100644 kdejava/koala/kdejava/HTMLBaseElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLBaseElement.h delete mode 100644 kdejava/koala/kdejava/HTMLBaseFontElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLBaseFontElement.h delete mode 100644 kdejava/koala/kdejava/HTMLBlockquoteElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLBlockquoteElement.h delete mode 100644 kdejava/koala/kdejava/HTMLBodyElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLBodyElement.h delete mode 100644 kdejava/koala/kdejava/HTMLButtonElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLButtonElement.h delete mode 100644 kdejava/koala/kdejava/HTMLCollection.cpp delete mode 100644 kdejava/koala/kdejava/HTMLCollection.h delete mode 100644 kdejava/koala/kdejava/HTMLDListElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLDListElement.h delete mode 100644 kdejava/koala/kdejava/HTMLDirectoryElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLDirectoryElement.h delete mode 100644 kdejava/koala/kdejava/HTMLDivElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLDivElement.h delete mode 100644 kdejava/koala/kdejava/HTMLDocument.cpp delete mode 100644 kdejava/koala/kdejava/HTMLDocument.h delete mode 100644 kdejava/koala/kdejava/HTMLElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLElement.h delete mode 100644 kdejava/koala/kdejava/HTMLFieldSetElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLFieldSetElement.h delete mode 100644 kdejava/koala/kdejava/HTMLFontElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLFontElement.h delete mode 100644 kdejava/koala/kdejava/HTMLFormCollection.cpp delete mode 100644 kdejava/koala/kdejava/HTMLFormCollection.h delete mode 100644 kdejava/koala/kdejava/HTMLFormElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLFormElement.h delete mode 100644 kdejava/koala/kdejava/HTMLFrameElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLFrameElement.h delete mode 100644 kdejava/koala/kdejava/HTMLFrameSetElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLFrameSetElement.h delete mode 100644 kdejava/koala/kdejava/HTMLHRElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLHRElement.h delete mode 100644 kdejava/koala/kdejava/HTMLHeadElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLHeadElement.h delete mode 100644 kdejava/koala/kdejava/HTMLHeadingElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLHeadingElement.h delete mode 100644 kdejava/koala/kdejava/HTMLHtmlElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLHtmlElement.h delete mode 100644 kdejava/koala/kdejava/HTMLIFrameElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLIFrameElement.h delete mode 100644 kdejava/koala/kdejava/HTMLImageElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLImageElement.h delete mode 100644 kdejava/koala/kdejava/HTMLInputElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLInputElement.h delete mode 100644 kdejava/koala/kdejava/HTMLIsIndexElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLIsIndexElement.h delete mode 100644 kdejava/koala/kdejava/HTMLLIElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLLIElement.h delete mode 100644 kdejava/koala/kdejava/HTMLLabelElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLLabelElement.h delete mode 100644 kdejava/koala/kdejava/HTMLLegendElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLLegendElement.h delete mode 100644 kdejava/koala/kdejava/HTMLLinkElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLLinkElement.h delete mode 100644 kdejava/koala/kdejava/HTMLMapElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLMapElement.h delete mode 100644 kdejava/koala/kdejava/HTMLMenuElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLMenuElement.h delete mode 100644 kdejava/koala/kdejava/HTMLMetaElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLMetaElement.h delete mode 100644 kdejava/koala/kdejava/HTMLModElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLModElement.h delete mode 100644 kdejava/koala/kdejava/HTMLOListElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLOListElement.h delete mode 100644 kdejava/koala/kdejava/HTMLObjectElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLObjectElement.h delete mode 100644 kdejava/koala/kdejava/HTMLOptGroupElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLOptGroupElement.h delete mode 100644 kdejava/koala/kdejava/HTMLOptionElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLOptionElement.h delete mode 100644 kdejava/koala/kdejava/HTMLParagraphElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLParagraphElement.h delete mode 100644 kdejava/koala/kdejava/HTMLParamElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLParamElement.h delete mode 100644 kdejava/koala/kdejava/HTMLPreElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLPreElement.h delete mode 100644 kdejava/koala/kdejava/HTMLQuoteElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLQuoteElement.h delete mode 100644 kdejava/koala/kdejava/HTMLScriptElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLScriptElement.h delete mode 100644 kdejava/koala/kdejava/HTMLSelectElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLSelectElement.h delete mode 100644 kdejava/koala/kdejava/HTMLStyleElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLStyleElement.h delete mode 100644 kdejava/koala/kdejava/HTMLTableCaptionElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLTableCaptionElement.h delete mode 100644 kdejava/koala/kdejava/HTMLTableCellElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLTableCellElement.h delete mode 100644 kdejava/koala/kdejava/HTMLTableColElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLTableColElement.h delete mode 100644 kdejava/koala/kdejava/HTMLTableElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLTableElement.h delete mode 100644 kdejava/koala/kdejava/HTMLTableRowElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLTableRowElement.h delete mode 100644 kdejava/koala/kdejava/HTMLTableSectionElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLTableSectionElement.h delete mode 100644 kdejava/koala/kdejava/HTMLTextAreaElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLTextAreaElement.h delete mode 100644 kdejava/koala/kdejava/HTMLTitleElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLTitleElement.h delete mode 100644 kdejava/koala/kdejava/HTMLUListElement.cpp delete mode 100644 kdejava/koala/kdejava/HTMLUListElement.h delete mode 100644 kdejava/koala/kdejava/HistoryProvider.cpp delete mode 100644 kdejava/koala/kdejava/HistoryProvider.h delete mode 100644 kdejava/koala/kdejava/Job.cpp delete mode 100644 kdejava/koala/kdejava/Job.h delete mode 100644 kdejava/koala/kdejava/KActiveLabel.cpp delete mode 100644 kdejava/koala/kdejava/KActiveLabel.h delete mode 100644 kdejava/koala/kdejava/KAnimWidget.cpp delete mode 100644 kdejava/koala/kdejava/KAnimWidget.h delete mode 100644 kdejava/koala/kdejava/KAr.cpp delete mode 100644 kdejava/koala/kdejava/KAr.h delete mode 100644 kdejava/koala/kdejava/KArchive.cpp delete mode 100644 kdejava/koala/kdejava/KArchive.h delete mode 100644 kdejava/koala/kdejava/KArchiveDirectory.cpp delete mode 100644 kdejava/koala/kdejava/KArchiveDirectory.h delete mode 100644 kdejava/koala/kdejava/KArchiveEntry.cpp delete mode 100644 kdejava/koala/kdejava/KArchiveEntry.h delete mode 100644 kdejava/koala/kdejava/KArchiveFile.cpp delete mode 100644 kdejava/koala/kdejava/KArchiveFile.h delete mode 100644 kdejava/koala/kdejava/KArrowButton.cpp delete mode 100644 kdejava/koala/kdejava/KArrowButton.h delete mode 100644 kdejava/koala/kdejava/KAsyncIO.cpp delete mode 100644 kdejava/koala/kdejava/KAsyncIO.h delete mode 100644 kdejava/koala/kdejava/KAudioPlayer.cpp delete mode 100644 kdejava/koala/kdejava/KAudioPlayer.h delete mode 100644 kdejava/koala/kdejava/KAuthIcon.cpp delete mode 100644 kdejava/koala/kdejava/KAuthIcon.h delete mode 100644 kdejava/koala/kdejava/KBugReport.cpp delete mode 100644 kdejava/koala/kdejava/KBugReport.h delete mode 100644 kdejava/koala/kdejava/KButtonBox.cpp delete mode 100644 kdejava/koala/kdejava/KButtonBox.h delete mode 100644 kdejava/koala/kdejava/KCMultiDialog.cpp delete mode 100644 kdejava/koala/kdejava/KCMultiDialog.h delete mode 100644 kdejava/koala/kdejava/KCPUInfo.cpp delete mode 100644 kdejava/koala/kdejava/KCPUInfo.h delete mode 100644 kdejava/koala/kdejava/KCalendarSystem.cpp delete mode 100644 kdejava/koala/kdejava/KCalendarSystem.h delete mode 100644 kdejava/koala/kdejava/KCalendarSystemFactory.cpp delete mode 100644 kdejava/koala/kdejava/KCalendarSystemFactory.h delete mode 100644 kdejava/koala/kdejava/KCatalogue.cpp delete mode 100644 kdejava/koala/kdejava/KCatalogue.h delete mode 100644 kdejava/koala/kdejava/KCharSelect.cpp delete mode 100644 kdejava/koala/kdejava/KCharSelect.h delete mode 100644 kdejava/koala/kdejava/KCharSelectTable.cpp delete mode 100644 kdejava/koala/kdejava/KCharSelectTable.h delete mode 100644 kdejava/koala/kdejava/KCharsets.cpp delete mode 100644 kdejava/koala/kdejava/KCharsets.h delete mode 100644 kdejava/koala/kdejava/KCodecs.cpp delete mode 100644 kdejava/koala/kdejava/KCodecs.h delete mode 100644 kdejava/koala/kdejava/KColor.cpp delete mode 100644 kdejava/koala/kdejava/KColor.h delete mode 100644 kdejava/koala/kdejava/KColorButton.cpp delete mode 100644 kdejava/koala/kdejava/KColorButton.h delete mode 100644 kdejava/koala/kdejava/KColorCells.cpp delete mode 100644 kdejava/koala/kdejava/KColorCells.h delete mode 100644 kdejava/koala/kdejava/KColorCombo.cpp delete mode 100644 kdejava/koala/kdejava/KColorCombo.h delete mode 100644 kdejava/koala/kdejava/KColorDialog.cpp delete mode 100644 kdejava/koala/kdejava/KColorDialog.h delete mode 100644 kdejava/koala/kdejava/KColorDrag.cpp delete mode 100644 kdejava/koala/kdejava/KColorDrag.h delete mode 100644 kdejava/koala/kdejava/KColorPatch.cpp delete mode 100644 kdejava/koala/kdejava/KColorPatch.h delete mode 100644 kdejava/koala/kdejava/KCombiView.cpp delete mode 100644 kdejava/koala/kdejava/KCombiView.h delete mode 100644 kdejava/koala/kdejava/KComboBox.cpp delete mode 100644 kdejava/koala/kdejava/KComboBox.h delete mode 100644 kdejava/koala/kdejava/KCommand.cpp delete mode 100644 kdejava/koala/kdejava/KCommand.h delete mode 100644 kdejava/koala/kdejava/KCommandHistory.cpp delete mode 100644 kdejava/koala/kdejava/KCommandHistory.h delete mode 100644 kdejava/koala/kdejava/KContextMenuManager.cpp delete mode 100644 kdejava/koala/kdejava/KContextMenuManager.h delete mode 100644 kdejava/koala/kdejava/KCursor.cpp delete mode 100644 kdejava/koala/kdejava/KCursor.h delete mode 100644 kdejava/koala/kdejava/KCustomMenuEditor.cpp delete mode 100644 kdejava/koala/kdejava/KCustomMenuEditor.h delete mode 100644 kdejava/koala/kdejava/KDCOPActionProxy.cpp delete mode 100644 kdejava/koala/kdejava/KDCOPActionProxy.h delete mode 100644 kdejava/koala/kdejava/KDCOPPropertyProxy.cpp delete mode 100644 kdejava/koala/kdejava/KDCOPPropertyProxy.h delete mode 100644 kdejava/koala/kdejava/KDCOPServiceStarter.cpp delete mode 100644 kdejava/koala/kdejava/KDCOPServiceStarter.h delete mode 100644 kdejava/koala/kdejava/KDE.cpp delete mode 100644 kdejava/koala/kdejava/KDE.h delete mode 100644 kdejava/koala/kdejava/KDEDesktopMimeType.cpp delete mode 100644 kdejava/koala/kdejava/KDEDesktopMimeType.h delete mode 100644 kdejava/koala/kdejava/KDEJavaSlot.cpp delete mode 100644 kdejava/koala/kdejava/KDEJavaSlot.h delete mode 100644 kdejava/koala/kdejava/KDESupport.cpp delete mode 100644 kdejava/koala/kdejava/KDESupport.h delete mode 100644 kdejava/koala/kdejava/KDataTool.cpp delete mode 100644 kdejava/koala/kdejava/KDataTool.h delete mode 100644 kdejava/koala/kdejava/KDataToolAction.cpp delete mode 100644 kdejava/koala/kdejava/KDataToolAction.h delete mode 100644 kdejava/koala/kdejava/KDataToolInfo.cpp delete mode 100644 kdejava/koala/kdejava/KDataToolInfo.h delete mode 100644 kdejava/koala/kdejava/KDatePicker.cpp delete mode 100644 kdejava/koala/kdejava/KDatePicker.h delete mode 100644 kdejava/koala/kdejava/KDateTable.cpp delete mode 100644 kdejava/koala/kdejava/KDateTable.h delete mode 100644 kdejava/koala/kdejava/KDateTimeWidget.cpp delete mode 100644 kdejava/koala/kdejava/KDateTimeWidget.h delete mode 100644 kdejava/koala/kdejava/KDateValidator.cpp delete mode 100644 kdejava/koala/kdejava/KDateValidator.h delete mode 100644 kdejava/koala/kdejava/KDateWidget.cpp delete mode 100644 kdejava/koala/kdejava/KDateWidget.h delete mode 100644 kdejava/koala/kdejava/KDesktopFile.cpp delete mode 100644 kdejava/koala/kdejava/KDesktopFile.h delete mode 100644 kdejava/koala/kdejava/KDialog.cpp delete mode 100644 kdejava/koala/kdejava/KDialog.h delete mode 100644 kdejava/koala/kdejava/KDialogBase.cpp delete mode 100644 kdejava/koala/kdejava/KDialogBase.h delete mode 100644 kdejava/koala/kdejava/KDialogQueue.cpp delete mode 100644 kdejava/koala/kdejava/KDialogQueue.h delete mode 100644 kdejava/koala/kdejava/KDirLister.cpp delete mode 100644 kdejava/koala/kdejava/KDirLister.h delete mode 100644 kdejava/koala/kdejava/KDirNotify.cpp delete mode 100644 kdejava/koala/kdejava/KDirNotify.h delete mode 100644 kdejava/koala/kdejava/KDirOperator.cpp delete mode 100644 kdejava/koala/kdejava/KDirOperator.h delete mode 100644 kdejava/koala/kdejava/KDirSelectDialog.cpp delete mode 100644 kdejava/koala/kdejava/KDirSelectDialog.h delete mode 100644 kdejava/koala/kdejava/KDirSize.cpp delete mode 100644 kdejava/koala/kdejava/KDirSize.h delete mode 100644 kdejava/koala/kdejava/KDirWatch.cpp delete mode 100644 kdejava/koala/kdejava/KDirWatch.h delete mode 100644 kdejava/koala/kdejava/KDiskFreeSp.cpp delete mode 100644 kdejava/koala/kdejava/KDiskFreeSp.h delete mode 100644 kdejava/koala/kdejava/KDockArea.cpp delete mode 100644 kdejava/koala/kdejava/KDockArea.h delete mode 100644 kdejava/koala/kdejava/KDockMainWindow.cpp delete mode 100644 kdejava/koala/kdejava/KDockMainWindow.h delete mode 100644 kdejava/koala/kdejava/KDockManager.cpp delete mode 100644 kdejava/koala/kdejava/KDockManager.h delete mode 100644 kdejava/koala/kdejava/KDockTabGroup.cpp delete mode 100644 kdejava/koala/kdejava/KDockTabGroup.h delete mode 100644 kdejava/koala/kdejava/KDockWidget.cpp delete mode 100644 kdejava/koala/kdejava/KDockWidget.h delete mode 100644 kdejava/koala/kdejava/KDockWidgetAbstractHeader.cpp delete mode 100644 kdejava/koala/kdejava/KDockWidgetAbstractHeader.h delete mode 100644 kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.cpp delete mode 100644 kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.h delete mode 100644 kdejava/koala/kdejava/KDockWidgetHeader.cpp delete mode 100644 kdejava/koala/kdejava/KDockWidgetHeader.h delete mode 100644 kdejava/koala/kdejava/KDockWidgetHeaderDrag.cpp delete mode 100644 kdejava/koala/kdejava/KDockWidgetHeaderDrag.h delete mode 100644 kdejava/koala/kdejava/KDoubleNumInput.cpp delete mode 100644 kdejava/koala/kdejava/KDoubleNumInput.h delete mode 100644 kdejava/koala/kdejava/KDoubleValidator.cpp delete mode 100644 kdejava/koala/kdejava/KDoubleValidator.h delete mode 100644 kdejava/koala/kdejava/KDualColorButton.cpp delete mode 100644 kdejava/koala/kdejava/KDualColorButton.h delete mode 100644 kdejava/koala/kdejava/KEMailSettings.cpp delete mode 100644 kdejava/koala/kdejava/KEMailSettings.h delete mode 100644 kdejava/koala/kdejava/KEdFind.cpp delete mode 100644 kdejava/koala/kdejava/KEdFind.h delete mode 100644 kdejava/koala/kdejava/KEdGotoLine.cpp delete mode 100644 kdejava/koala/kdejava/KEdGotoLine.h delete mode 100644 kdejava/koala/kdejava/KEdReplace.cpp delete mode 100644 kdejava/koala/kdejava/KEdReplace.h delete mode 100644 kdejava/koala/kdejava/KEdit.cpp delete mode 100644 kdejava/koala/kdejava/KEdit.h delete mode 100644 kdejava/koala/kdejava/KEditListBox.cpp delete mode 100644 kdejava/koala/kdejava/KEditListBox.h delete mode 100644 kdejava/koala/kdejava/KEditToolbar.cpp delete mode 100644 kdejava/koala/kdejava/KEditToolbar.h delete mode 100644 kdejava/koala/kdejava/KEditToolbarWidget.cpp delete mode 100644 kdejava/koala/kdejava/KEditToolbarWidget.h delete mode 100644 kdejava/koala/kdejava/KEntry.cpp delete mode 100644 kdejava/koala/kdejava/KEntry.h delete mode 100644 kdejava/koala/kdejava/KEntryKey.cpp delete mode 100644 kdejava/koala/kdejava/KEntryKey.h delete mode 100644 kdejava/koala/kdejava/KExecMimeType.cpp delete mode 100644 kdejava/koala/kdejava/KExecMimeType.h delete mode 100644 kdejava/koala/kdejava/KFile.cpp delete mode 100644 kdejava/koala/kdejava/KFile.h delete mode 100644 kdejava/koala/kdejava/KFileDetailView.cpp delete mode 100644 kdejava/koala/kdejava/KFileDetailView.h delete mode 100644 kdejava/koala/kdejava/KFileDialog.cpp delete mode 100644 kdejava/koala/kdejava/KFileDialog.h delete mode 100644 kdejava/koala/kdejava/KFileFilter.cpp delete mode 100644 kdejava/koala/kdejava/KFileFilter.h delete mode 100644 kdejava/koala/kdejava/KFileFilterCombo.cpp delete mode 100644 kdejava/koala/kdejava/KFileFilterCombo.h delete mode 100644 kdejava/koala/kdejava/KFileIconView.cpp delete mode 100644 kdejava/koala/kdejava/KFileIconView.h delete mode 100644 kdejava/koala/kdejava/KFileIconViewItem.cpp delete mode 100644 kdejava/koala/kdejava/KFileIconViewItem.h delete mode 100644 kdejava/koala/kdejava/KFileItem.cpp delete mode 100644 kdejava/koala/kdejava/KFileItem.h delete mode 100644 kdejava/koala/kdejava/KFileListViewItem.cpp delete mode 100644 kdejava/koala/kdejava/KFileListViewItem.h delete mode 100644 kdejava/koala/kdejava/KFileMetaInfo.cpp delete mode 100644 kdejava/koala/kdejava/KFileMetaInfo.h delete mode 100644 kdejava/koala/kdejava/KFileMetaInfoGroup.cpp delete mode 100644 kdejava/koala/kdejava/KFileMetaInfoGroup.h delete mode 100644 kdejava/koala/kdejava/KFileMetaInfoItem.cpp delete mode 100644 kdejava/koala/kdejava/KFileMetaInfoItem.h delete mode 100644 kdejava/koala/kdejava/KFilePlugin.cpp delete mode 100644 kdejava/koala/kdejava/KFilePlugin.h delete mode 100644 kdejava/koala/kdejava/KFilePreview.cpp delete mode 100644 kdejava/koala/kdejava/KFilePreview.h delete mode 100644 kdejava/koala/kdejava/KFileShare.cpp delete mode 100644 kdejava/koala/kdejava/KFileShare.h delete mode 100644 kdejava/koala/kdejava/KFileTreeBranch.cpp delete mode 100644 kdejava/koala/kdejava/KFileTreeBranch.h delete mode 100644 kdejava/koala/kdejava/KFileTreeView.cpp delete mode 100644 kdejava/koala/kdejava/KFileTreeView.h delete mode 100644 kdejava/koala/kdejava/KFileTreeViewItem.cpp delete mode 100644 kdejava/koala/kdejava/KFileTreeViewItem.h delete mode 100644 kdejava/koala/kdejava/KFileTreeViewToolTip.cpp delete mode 100644 kdejava/koala/kdejava/KFileTreeViewToolTip.h delete mode 100644 kdejava/koala/kdejava/KFileView.cpp delete mode 100644 kdejava/koala/kdejava/KFileView.h delete mode 100644 kdejava/koala/kdejava/KFileViewSignaler.cpp delete mode 100644 kdejava/koala/kdejava/KFileViewSignaler.h delete mode 100644 kdejava/koala/kdejava/KFilterBase.cpp delete mode 100644 kdejava/koala/kdejava/KFilterBase.h delete mode 100644 kdejava/koala/kdejava/KFilterDev.cpp delete mode 100644 kdejava/koala/kdejava/KFilterDev.h delete mode 100644 kdejava/koala/kdejava/KFind.cpp delete mode 100644 kdejava/koala/kdejava/KFind.h delete mode 100644 kdejava/koala/kdejava/KFindDialog.cpp delete mode 100644 kdejava/koala/kdejava/KFindDialog.h delete mode 100644 kdejava/koala/kdejava/KFloatValidator.cpp delete mode 100644 kdejava/koala/kdejava/KFloatValidator.h delete mode 100644 kdejava/koala/kdejava/KFolderType.cpp delete mode 100644 kdejava/koala/kdejava/KFolderType.h delete mode 100644 kdejava/koala/kdejava/KGradientSelector.cpp delete mode 100644 kdejava/koala/kdejava/KGradientSelector.h delete mode 100644 kdejava/koala/kdejava/KGuiItem.cpp delete mode 100644 kdejava/koala/kdejava/KGuiItem.h delete mode 100644 kdejava/koala/kdejava/KHSSelector.cpp delete mode 100644 kdejava/koala/kdejava/KHSSelector.h delete mode 100644 kdejava/koala/kdejava/KHelpMenu.cpp delete mode 100644 kdejava/koala/kdejava/KHelpMenu.h delete mode 100644 kdejava/koala/kdejava/KHistoryCombo.cpp delete mode 100644 kdejava/koala/kdejava/KHistoryCombo.h delete mode 100644 kdejava/koala/kdejava/KIDNA.cpp delete mode 100644 kdejava/koala/kdejava/KIDNA.h delete mode 100644 kdejava/koala/kdejava/KIPC.cpp delete mode 100644 kdejava/koala/kdejava/KIPC.h delete mode 100644 kdejava/koala/kdejava/KImageEffect.cpp delete mode 100644 kdejava/koala/kdejava/KImageEffect.h delete mode 100644 kdejava/koala/kdejava/KImageIO.cpp delete mode 100644 kdejava/koala/kdejava/KImageIO.h delete mode 100644 kdejava/koala/kdejava/KInputDialog.cpp delete mode 100644 kdejava/koala/kdejava/KInputDialog.h delete mode 100644 kdejava/koala/kdejava/KIntNumInput.cpp delete mode 100644 kdejava/koala/kdejava/KIntNumInput.h delete mode 100644 kdejava/koala/kdejava/KIntSpinBox.cpp delete mode 100644 kdejava/koala/kdejava/KIntSpinBox.h delete mode 100644 kdejava/koala/kdejava/KIntValidator.cpp delete mode 100644 kdejava/koala/kdejava/KIntValidator.h delete mode 100644 kdejava/koala/kdejava/KJanusWidget.cpp delete mode 100644 kdejava/koala/kdejava/KJanusWidget.h delete mode 100644 kdejava/koala/kdejava/KKey.cpp delete mode 100644 kdejava/koala/kdejava/KKey.h delete mode 100644 kdejava/koala/kdejava/KKeyButton.cpp delete mode 100644 kdejava/koala/kdejava/KKeyButton.h delete mode 100644 kdejava/koala/kdejava/KKeyChooser.cpp delete mode 100644 kdejava/koala/kdejava/KKeyChooser.h delete mode 100644 kdejava/koala/kdejava/KKeyDialog.cpp delete mode 100644 kdejava/koala/kdejava/KKeyDialog.h delete mode 100644 kdejava/koala/kdejava/KKeyNative.cpp delete mode 100644 kdejava/koala/kdejava/KKeyNative.h delete mode 100644 kdejava/koala/kdejava/KKeySequence.cpp delete mode 100644 kdejava/koala/kdejava/KKeySequence.h delete mode 100644 kdejava/koala/kdejava/KLed.cpp delete mode 100644 kdejava/koala/kdejava/KLed.h delete mode 100644 kdejava/koala/kdejava/KLibFactory.cpp delete mode 100644 kdejava/koala/kdejava/KLibFactory.h delete mode 100644 kdejava/koala/kdejava/KLibLoader.cpp delete mode 100644 kdejava/koala/kdejava/KLibLoader.h delete mode 100644 kdejava/koala/kdejava/KLineEdit.cpp delete mode 100644 kdejava/koala/kdejava/KLineEdit.h delete mode 100644 kdejava/koala/kdejava/KMD5.cpp delete mode 100644 kdejava/koala/kdejava/KMD5.h delete mode 100644 kdejava/koala/kdejava/KMacroCommand.cpp delete mode 100644 kdejava/koala/kdejava/KMacroCommand.h delete mode 100644 kdejava/koala/kdejava/KMdi.cpp delete mode 100644 kdejava/koala/kdejava/KMdi.h delete mode 100644 kdejava/koala/kdejava/KMdiChildArea.cpp delete mode 100644 kdejava/koala/kdejava/KMdiChildArea.h delete mode 100644 kdejava/koala/kdejava/KMdiChildFrm.cpp delete mode 100644 kdejava/koala/kdejava/KMdiChildFrm.h delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmCaption.cpp delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmCaption.h delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.cpp delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.h delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.cpp delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.h delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmMoveEvent.cpp delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmMoveEvent.h delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.cpp delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.h delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.cpp delete mode 100644 kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.h delete mode 100644 kdejava/koala/kdejava/KMdiChildView.cpp delete mode 100644 kdejava/koala/kdejava/KMdiChildView.h delete mode 100644 kdejava/koala/kdejava/KMdiMainFrm.cpp delete mode 100644 kdejava/koala/kdejava/KMdiMainFrm.h delete mode 100644 kdejava/koala/kdejava/KMdiTaskBar.cpp delete mode 100644 kdejava/koala/kdejava/KMdiTaskBar.h delete mode 100644 kdejava/koala/kdejava/KMdiTaskBarButton.cpp delete mode 100644 kdejava/koala/kdejava/KMdiTaskBarButton.h delete mode 100644 kdejava/koala/kdejava/KMdiToolViewAccessor.cpp delete mode 100644 kdejava/koala/kdejava/KMdiToolViewAccessor.h delete mode 100644 kdejava/koala/kdejava/KMdiViewCloseEvent.cpp delete mode 100644 kdejava/koala/kdejava/KMdiViewCloseEvent.h delete mode 100644 kdejava/koala/kdejava/KMdiWin32IconButton.cpp delete mode 100644 kdejava/koala/kdejava/KMdiWin32IconButton.h delete mode 100644 kdejava/koala/kdejava/KMenuBar.cpp delete mode 100644 kdejava/koala/kdejava/KMenuBar.h delete mode 100644 kdejava/koala/kdejava/KMessageBox.cpp delete mode 100644 kdejava/koala/kdejava/KMessageBox.h delete mode 100644 kdejava/koala/kdejava/KMimeMagic.cpp delete mode 100644 kdejava/koala/kdejava/KMimeMagic.h delete mode 100644 kdejava/koala/kdejava/KMimeMagicResult.cpp delete mode 100644 kdejava/koala/kdejava/KMimeMagicResult.h delete mode 100644 kdejava/koala/kdejava/KMimeSourceFactory.cpp delete mode 100644 kdejava/koala/kdejava/KMimeSourceFactory.h delete mode 100644 kdejava/koala/kdejava/KMimeType.cpp delete mode 100644 kdejava/koala/kdejava/KMimeType.h delete mode 100644 kdejava/koala/kdejava/KMimeTypeResolverBase.cpp delete mode 100644 kdejava/koala/kdejava/KMimeTypeResolverBase.h delete mode 100644 kdejava/koala/kdejava/KMimeTypeResolverHelper.cpp delete mode 100644 kdejava/koala/kdejava/KMimeTypeResolverHelper.h delete mode 100644 kdejava/koala/kdejava/KMimeTypeValidator.cpp delete mode 100644 kdejava/koala/kdejava/KMimeTypeValidator.h delete mode 100644 kdejava/koala/kdejava/KMountPoint.cpp delete mode 100644 kdejava/koala/kdejava/KMountPoint.h delete mode 100644 kdejava/koala/kdejava/KMultiTabBar.cpp delete mode 100644 kdejava/koala/kdejava/KMultiTabBar.h delete mode 100644 kdejava/koala/kdejava/KMultiTabBarButton.cpp delete mode 100644 kdejava/koala/kdejava/KMultiTabBarButton.h delete mode 100644 kdejava/koala/kdejava/KMultiTabBarTab.cpp delete mode 100644 kdejava/koala/kdejava/KMultiTabBarTab.h delete mode 100644 kdejava/koala/kdejava/KMultipleDrag.cpp delete mode 100644 kdejava/koala/kdejava/KMultipleDrag.h delete mode 100644 kdejava/koala/kdejava/KNamedCommand.cpp delete mode 100644 kdejava/koala/kdejava/KNamedCommand.h delete mode 100644 kdejava/koala/kdejava/KNotifyClient.cpp delete mode 100644 kdejava/koala/kdejava/KNotifyClient.h delete mode 100644 kdejava/koala/kdejava/KNumInput.cpp delete mode 100644 kdejava/koala/kdejava/KNumInput.h delete mode 100644 kdejava/koala/kdejava/KOCRDialog.cpp delete mode 100644 kdejava/koala/kdejava/KOCRDialog.h delete mode 100644 kdejava/koala/kdejava/KOpenWithDlg.cpp delete mode 100644 kdejava/koala/kdejava/KOpenWithDlg.h delete mode 100644 kdejava/koala/kdejava/KPalette.cpp delete mode 100644 kdejava/koala/kdejava/KPalette.h delete mode 100644 kdejava/koala/kdejava/KPaletteTable.cpp delete mode 100644 kdejava/koala/kdejava/KPaletteTable.h delete mode 100644 kdejava/koala/kdejava/KPanelAppMenu.cpp delete mode 100644 kdejava/koala/kdejava/KPanelAppMenu.h delete mode 100644 kdejava/koala/kdejava/KPanelApplet.cpp delete mode 100644 kdejava/koala/kdejava/KPanelApplet.h delete mode 100644 kdejava/koala/kdejava/KPanelExtension.cpp delete mode 100644 kdejava/koala/kdejava/KPanelExtension.h delete mode 100644 kdejava/koala/kdejava/KPanelMenu.cpp delete mode 100644 kdejava/koala/kdejava/KPanelMenu.h delete mode 100644 kdejava/koala/kdejava/KPassivePopup.cpp delete mode 100644 kdejava/koala/kdejava/KPassivePopup.h delete mode 100644 kdejava/koala/kdejava/KPasswordDialog.cpp delete mode 100644 kdejava/koala/kdejava/KPasswordDialog.h delete mode 100644 kdejava/koala/kdejava/KPasswordEdit.cpp delete mode 100644 kdejava/koala/kdejava/KPasswordEdit.h delete mode 100644 kdejava/koala/kdejava/KPixmap.cpp delete mode 100644 kdejava/koala/kdejava/KPixmap.h delete mode 100644 kdejava/koala/kdejava/KPixmapEffect.cpp delete mode 100644 kdejava/koala/kdejava/KPixmapEffect.h delete mode 100644 kdejava/koala/kdejava/KPixmapIO.cpp delete mode 100644 kdejava/koala/kdejava/KPixmapIO.h delete mode 100644 kdejava/koala/kdejava/KPixmapProvider.cpp delete mode 100644 kdejava/koala/kdejava/KPixmapProvider.h delete mode 100644 kdejava/koala/kdejava/KPixmapSplitter.cpp delete mode 100644 kdejava/koala/kdejava/KPixmapSplitter.h delete mode 100644 kdejava/koala/kdejava/KPluginSelector.cpp delete mode 100644 kdejava/koala/kdejava/KPluginSelector.h delete mode 100644 kdejava/koala/kdejava/KPreviewWidgetBase.cpp delete mode 100644 kdejava/koala/kdejava/KPreviewWidgetBase.h delete mode 100644 kdejava/koala/kdejava/KPrintAction.cpp delete mode 100644 kdejava/koala/kdejava/KPrintAction.h delete mode 100644 kdejava/koala/kdejava/KProcIO.cpp delete mode 100644 kdejava/koala/kdejava/KProcIO.h delete mode 100644 kdejava/koala/kdejava/KProgress.cpp delete mode 100644 kdejava/koala/kdejava/KProgress.h delete mode 100644 kdejava/koala/kdejava/KProgressDialog.cpp delete mode 100644 kdejava/koala/kdejava/KProgressDialog.h delete mode 100644 kdejava/koala/kdejava/KProtocolInfo.cpp delete mode 100644 kdejava/koala/kdejava/KProtocolInfo.h delete mode 100644 kdejava/koala/kdejava/KProtocolManager.cpp delete mode 100644 kdejava/koala/kdejava/KProtocolManager.h delete mode 100644 kdejava/koala/kdejava/KPushButton.cpp delete mode 100644 kdejava/koala/kdejava/KPushButton.h delete mode 100644 kdejava/koala/kdejava/KRFCDate.cpp delete mode 100644 kdejava/koala/kdejava/KRFCDate.h delete mode 100644 kdejava/koala/kdejava/KRandomSequence.cpp delete mode 100644 kdejava/koala/kdejava/KRandomSequence.h delete mode 100644 kdejava/koala/kdejava/KRegExpEditorInterface.cpp delete mode 100644 kdejava/koala/kdejava/KRegExpEditorInterface.h delete mode 100644 kdejava/koala/kdejava/KReplace.cpp delete mode 100644 kdejava/koala/kdejava/KReplace.h delete mode 100644 kdejava/koala/kdejava/KReplaceDialog.cpp delete mode 100644 kdejava/koala/kdejava/KReplaceDialog.h delete mode 100644 kdejava/koala/kdejava/KRestrictedLine.cpp delete mode 100644 kdejava/koala/kdejava/KRestrictedLine.h delete mode 100644 kdejava/koala/kdejava/KRootPermsIcon.cpp delete mode 100644 kdejava/koala/kdejava/KRootPermsIcon.h delete mode 100644 kdejava/koala/kdejava/KRootPixmap.cpp delete mode 100644 kdejava/koala/kdejava/KRootPixmap.h delete mode 100644 kdejava/koala/kdejava/KRootProp.cpp delete mode 100644 kdejava/koala/kdejava/KRootProp.h delete mode 100644 kdejava/koala/kdejava/KRuler.cpp delete mode 100644 kdejava/koala/kdejava/KRuler.h delete mode 100644 kdejava/koala/kdejava/KRun.cpp delete mode 100644 kdejava/koala/kdejava/KRun.h delete mode 100644 kdejava/koala/kdejava/KSMIMECrypto.cpp delete mode 100644 kdejava/koala/kdejava/KSMIMECrypto.h delete mode 100644 kdejava/koala/kdejava/KSSL.cpp delete mode 100644 kdejava/koala/kdejava/KSSL.h delete mode 100644 kdejava/koala/kdejava/KSSLCertBox.cpp delete mode 100644 kdejava/koala/kdejava/KSSLCertBox.h delete mode 100644 kdejava/koala/kdejava/KSSLCertChain.cpp delete mode 100644 kdejava/koala/kdejava/KSSLCertChain.h delete mode 100644 kdejava/koala/kdejava/KSSLCertDlg.cpp delete mode 100644 kdejava/koala/kdejava/KSSLCertDlg.h delete mode 100644 kdejava/koala/kdejava/KSSLCertDlgRet.cpp delete mode 100644 kdejava/koala/kdejava/KSSLCertDlgRet.h delete mode 100644 kdejava/koala/kdejava/KSSLCertificate.cpp delete mode 100644 kdejava/koala/kdejava/KSSLCertificate.h delete mode 100644 kdejava/koala/kdejava/KSSLCertificateCache.cpp delete mode 100644 kdejava/koala/kdejava/KSSLCertificateCache.h delete mode 100644 kdejava/koala/kdejava/KSSLCertificateFactory.cpp delete mode 100644 kdejava/koala/kdejava/KSSLCertificateFactory.h delete mode 100644 kdejava/koala/kdejava/KSSLCertificateHome.cpp delete mode 100644 kdejava/koala/kdejava/KSSLCertificateHome.h delete mode 100644 kdejava/koala/kdejava/KSSLConnectionInfo.cpp delete mode 100644 kdejava/koala/kdejava/KSSLConnectionInfo.h delete mode 100644 kdejava/koala/kdejava/KSSLInfoDlg.cpp delete mode 100644 kdejava/koala/kdejava/KSSLInfoDlg.h delete mode 100644 kdejava/koala/kdejava/KSSLKeyGen.cpp delete mode 100644 kdejava/koala/kdejava/KSSLKeyGen.h delete mode 100644 kdejava/koala/kdejava/KSSLPKCS12.cpp delete mode 100644 kdejava/koala/kdejava/KSSLPKCS12.h delete mode 100644 kdejava/koala/kdejava/KSSLPKCS7.cpp delete mode 100644 kdejava/koala/kdejava/KSSLPKCS7.h delete mode 100644 kdejava/koala/kdejava/KSSLPeerInfo.cpp delete mode 100644 kdejava/koala/kdejava/KSSLPeerInfo.h delete mode 100644 kdejava/koala/kdejava/KSSLSession.cpp delete mode 100644 kdejava/koala/kdejava/KSSLSession.h delete mode 100644 kdejava/koala/kdejava/KSSLSettings.cpp delete mode 100644 kdejava/koala/kdejava/KSSLSettings.h delete mode 100644 kdejava/koala/kdejava/KSSLSigners.cpp delete mode 100644 kdejava/koala/kdejava/KSSLSigners.h delete mode 100644 kdejava/koala/kdejava/KSSLX509Map.cpp delete mode 100644 kdejava/koala/kdejava/KSSLX509Map.h delete mode 100644 kdejava/koala/kdejava/KSSLX509V3.cpp delete mode 100644 kdejava/koala/kdejava/KSSLX509V3.h delete mode 100644 kdejava/koala/kdejava/KSaveFile.cpp delete mode 100644 kdejava/koala/kdejava/KSaveFile.h delete mode 100644 kdejava/koala/kdejava/KScanDialog.cpp delete mode 100644 kdejava/koala/kdejava/KScanDialog.h delete mode 100644 kdejava/koala/kdejava/KSeparator.cpp delete mode 100644 kdejava/koala/kdejava/KSeparator.h delete mode 100644 kdejava/koala/kdejava/KService.cpp delete mode 100644 kdejava/koala/kdejava/KService.h delete mode 100644 kdejava/koala/kdejava/KServiceGroup.cpp delete mode 100644 kdejava/koala/kdejava/KServiceGroup.h delete mode 100644 kdejava/koala/kdejava/KServiceOffer.cpp delete mode 100644 kdejava/koala/kdejava/KServiceOffer.h delete mode 100644 kdejava/koala/kdejava/KServiceSeparator.cpp delete mode 100644 kdejava/koala/kdejava/KServiceSeparator.h delete mode 100644 kdejava/koala/kdejava/KServiceType.cpp delete mode 100644 kdejava/koala/kdejava/KServiceType.h delete mode 100644 kdejava/koala/kdejava/KServiceTypeProfile.cpp delete mode 100644 kdejava/koala/kdejava/KServiceTypeProfile.h delete mode 100644 kdejava/koala/kdejava/KSessionManaged.cpp delete mode 100644 kdejava/koala/kdejava/KSessionManaged.h delete mode 100644 kdejava/koala/kdejava/KShell.cpp delete mode 100644 kdejava/koala/kdejava/KShell.h delete mode 100644 kdejava/koala/kdejava/KShellCompletion.cpp delete mode 100644 kdejava/koala/kdejava/KShellCompletion.h delete mode 100644 kdejava/koala/kdejava/KShellProcess.cpp delete mode 100644 kdejava/koala/kdejava/KShellProcess.h delete mode 100644 kdejava/koala/kdejava/KShred.cpp delete mode 100644 kdejava/koala/kdejava/KShred.h delete mode 100644 kdejava/koala/kdejava/KSimpleConfig.cpp delete mode 100644 kdejava/koala/kdejava/KSimpleConfig.h delete mode 100644 kdejava/koala/kdejava/KSimpleFileFilter.cpp delete mode 100644 kdejava/koala/kdejava/KSimpleFileFilter.h delete mode 100644 kdejava/koala/kdejava/KSpell.cpp delete mode 100644 kdejava/koala/kdejava/KSpell.h delete mode 100644 kdejava/koala/kdejava/KSpellConfig.cpp delete mode 100644 kdejava/koala/kdejava/KSpellConfig.h delete mode 100644 kdejava/koala/kdejava/KSpellDlg.cpp delete mode 100644 kdejava/koala/kdejava/KSpellDlg.h delete mode 100644 kdejava/koala/kdejava/KSpellingHighlighter.cpp delete mode 100644 kdejava/koala/kdejava/KSpellingHighlighter.h delete mode 100644 kdejava/koala/kdejava/KSqueezedTextLabel.cpp delete mode 100644 kdejava/koala/kdejava/KSqueezedTextLabel.h delete mode 100644 kdejava/koala/kdejava/KStaticDeleterBase.cpp delete mode 100644 kdejava/koala/kdejava/KStaticDeleterBase.h delete mode 100644 kdejava/koala/kdejava/KStatusBar.cpp delete mode 100644 kdejava/koala/kdejava/KStatusBar.h delete mode 100644 kdejava/koala/kdejava/KStatusBarLabel.cpp delete mode 100644 kdejava/koala/kdejava/KStatusBarLabel.h delete mode 100644 kdejava/koala/kdejava/KStdAction.cpp delete mode 100644 kdejava/koala/kdejava/KStdAction.h delete mode 100644 kdejava/koala/kdejava/KStdGuiItem.cpp delete mode 100644 kdejava/koala/kdejava/KStdGuiItem.h delete mode 100644 kdejava/koala/kdejava/KStringHandler.cpp delete mode 100644 kdejava/koala/kdejava/KStringHandler.h delete mode 100644 kdejava/koala/kdejava/KStringListValidator.cpp delete mode 100644 kdejava/koala/kdejava/KStringListValidator.h delete mode 100644 kdejava/koala/kdejava/KSycoca.cpp delete mode 100644 kdejava/koala/kdejava/KSycoca.h delete mode 100644 kdejava/koala/kdejava/KSycocaEntry.cpp delete mode 100644 kdejava/koala/kdejava/KSycocaEntry.h delete mode 100644 kdejava/koala/kdejava/KSyntaxHighlighter.cpp delete mode 100644 kdejava/koala/kdejava/KSyntaxHighlighter.h delete mode 100644 kdejava/koala/kdejava/KSystemTray.cpp delete mode 100644 kdejava/koala/kdejava/KSystemTray.h delete mode 100644 kdejava/koala/kdejava/KTabBar.cpp delete mode 100644 kdejava/koala/kdejava/KTabBar.h delete mode 100644 kdejava/koala/kdejava/KTabCtl.cpp delete mode 100644 kdejava/koala/kdejava/KTabCtl.h delete mode 100644 kdejava/koala/kdejava/KTabWidget.cpp delete mode 100644 kdejava/koala/kdejava/KTabWidget.h delete mode 100644 kdejava/koala/kdejava/KTar.cpp delete mode 100644 kdejava/koala/kdejava/KTar.h delete mode 100644 kdejava/koala/kdejava/KTempDir.cpp delete mode 100644 kdejava/koala/kdejava/KTempDir.h delete mode 100644 kdejava/koala/kdejava/KTempFile.cpp delete mode 100644 kdejava/koala/kdejava/KTempFile.h delete mode 100644 kdejava/koala/kdejava/KTextBrowser.cpp delete mode 100644 kdejava/koala/kdejava/KTextBrowser.h delete mode 100644 kdejava/koala/kdejava/KTextEdit.cpp delete mode 100644 kdejava/koala/kdejava/KTextEdit.h delete mode 100644 kdejava/koala/kdejava/KTimeWidget.cpp delete mode 100644 kdejava/koala/kdejava/KTimeWidget.h delete mode 100644 kdejava/koala/kdejava/KTipDatabase.cpp delete mode 100644 kdejava/koala/kdejava/KTipDatabase.h delete mode 100644 kdejava/koala/kdejava/KTipDialog.cpp delete mode 100644 kdejava/koala/kdejava/KTipDialog.h delete mode 100644 kdejava/koala/kdejava/KURIFilter.cpp delete mode 100644 kdejava/koala/kdejava/KURIFilter.h delete mode 100644 kdejava/koala/kdejava/KURIFilterData.cpp delete mode 100644 kdejava/koala/kdejava/KURIFilterData.h delete mode 100644 kdejava/koala/kdejava/KURIFilterPlugin.cpp delete mode 100644 kdejava/koala/kdejava/KURIFilterPlugin.h delete mode 100644 kdejava/koala/kdejava/KURL.cpp delete mode 100644 kdejava/koala/kdejava/KURL.h delete mode 100644 kdejava/koala/kdejava/KURLBar.cpp delete mode 100644 kdejava/koala/kdejava/KURLBar.h delete mode 100644 kdejava/koala/kdejava/KURLBarItem.cpp delete mode 100644 kdejava/koala/kdejava/KURLBarItem.h delete mode 100644 kdejava/koala/kdejava/KURLBarItemDialog.cpp delete mode 100644 kdejava/koala/kdejava/KURLBarItemDialog.h delete mode 100644 kdejava/koala/kdejava/KURLBarListBox.cpp delete mode 100644 kdejava/koala/kdejava/KURLBarListBox.h delete mode 100644 kdejava/koala/kdejava/KURLComboBox.cpp delete mode 100644 kdejava/koala/kdejava/KURLComboBox.h delete mode 100644 kdejava/koala/kdejava/KURLComboRequester.cpp delete mode 100644 kdejava/koala/kdejava/KURLComboRequester.h delete mode 100644 kdejava/koala/kdejava/KURLCompletion.cpp delete mode 100644 kdejava/koala/kdejava/KURLCompletion.h delete mode 100644 kdejava/koala/kdejava/KURLDrag.cpp delete mode 100644 kdejava/koala/kdejava/KURLDrag.h delete mode 100644 kdejava/koala/kdejava/KURLLabel.cpp delete mode 100644 kdejava/koala/kdejava/KURLLabel.h delete mode 100644 kdejava/koala/kdejava/KURLPixmapProvider.cpp delete mode 100644 kdejava/koala/kdejava/KURLPixmapProvider.h delete mode 100644 kdejava/koala/kdejava/KURLRequester.cpp delete mode 100644 kdejava/koala/kdejava/KURLRequester.h delete mode 100644 kdejava/koala/kdejava/KURLRequesterDlg.cpp delete mode 100644 kdejava/koala/kdejava/KURLRequesterDlg.h delete mode 100644 kdejava/koala/kdejava/KUniqueApplication.cpp delete mode 100644 kdejava/koala/kdejava/KUniqueApplication.h delete mode 100644 kdejava/koala/kdejava/KValueSelector.cpp delete mode 100644 kdejava/koala/kdejava/KValueSelector.h delete mode 100644 kdejava/koala/kdejava/KWidgetAction.cpp delete mode 100644 kdejava/koala/kdejava/KWidgetAction.h delete mode 100644 kdejava/koala/kdejava/KWindowInfo.cpp delete mode 100644 kdejava/koala/kdejava/KWindowInfo.h delete mode 100644 kdejava/koala/kdejava/KWizard.cpp delete mode 100644 kdejava/koala/kdejava/KWizard.h delete mode 100644 kdejava/koala/kdejava/KWordWrap.cpp delete mode 100644 kdejava/koala/kdejava/KWordWrap.h delete mode 100644 kdejava/koala/kdejava/KWritePermsIcon.cpp delete mode 100644 kdejava/koala/kdejava/KWritePermsIcon.h delete mode 100644 kdejava/koala/kdejava/KXMLGUI.cpp delete mode 100644 kdejava/koala/kdejava/KXMLGUI.h delete mode 100644 kdejava/koala/kdejava/KXMLGUIBuilder.cpp delete mode 100644 kdejava/koala/kdejava/KXMLGUIBuilder.h delete mode 100644 kdejava/koala/kdejava/KXMLGUIClient.cpp delete mode 100644 kdejava/koala/kdejava/KXMLGUIClient.h delete mode 100644 kdejava/koala/kdejava/KXMLGUIFactory.cpp delete mode 100644 kdejava/koala/kdejava/KXMLGUIFactory.h delete mode 100644 kdejava/koala/kdejava/KXYSelector.cpp delete mode 100644 kdejava/koala/kdejava/KXYSelector.h delete mode 100644 kdejava/koala/kdejava/KZip.cpp delete mode 100644 kdejava/koala/kdejava/KZip.h delete mode 100644 kdejava/koala/kdejava/KZipFileEntry.cpp delete mode 100644 kdejava/koala/kdejava/KZipFileEntry.h delete mode 100644 kdejava/koala/kdejava/LinkStyle.cpp delete mode 100644 kdejava/koala/kdejava/LinkStyle.h delete mode 100644 kdejava/koala/kdejava/ListJob.cpp delete mode 100644 kdejava/koala/kdejava/ListJob.h delete mode 100644 kdejava/koala/kdejava/LiveConnectExtension.cpp delete mode 100644 kdejava/koala/kdejava/LiveConnectExtension.h delete mode 100644 kdejava/koala/kdejava/MainWindow.cpp delete mode 100644 kdejava/koala/kdejava/MainWindow.h delete mode 100644 kdejava/koala/kdejava/Makefile.am delete mode 100644 kdejava/koala/kdejava/MetaInfoJob.cpp delete mode 100644 kdejava/koala/kdejava/MetaInfoJob.h delete mode 100644 kdejava/koala/kdejava/MimetypeJob.cpp delete mode 100644 kdejava/koala/kdejava/MimetypeJob.h delete mode 100644 kdejava/koala/kdejava/MouseEvent.cpp delete mode 100644 kdejava/koala/kdejava/MouseEvent.h delete mode 100644 kdejava/koala/kdejava/MultiGetJob.cpp delete mode 100644 kdejava/koala/kdejava/MultiGetJob.h delete mode 100644 kdejava/koala/kdejava/MutationEvent.cpp delete mode 100644 kdejava/koala/kdejava/MutationEvent.h delete mode 100644 kdejava/koala/kdejava/NamedNodeMap.cpp delete mode 100644 kdejava/koala/kdejava/NamedNodeMap.h delete mode 100644 kdejava/koala/kdejava/NetAccess.cpp delete mode 100644 kdejava/koala/kdejava/NetAccess.h delete mode 100644 kdejava/koala/kdejava/Node.cpp delete mode 100644 kdejava/koala/kdejava/Node.h delete mode 100644 kdejava/koala/kdejava/NodeFilter.cpp delete mode 100644 kdejava/koala/kdejava/NodeFilter.h delete mode 100644 kdejava/koala/kdejava/NodeIterator.cpp delete mode 100644 kdejava/koala/kdejava/NodeIterator.h delete mode 100644 kdejava/koala/kdejava/Notation.cpp delete mode 100644 kdejava/koala/kdejava/Notation.h delete mode 100644 kdejava/koala/kdejava/Observer.cpp delete mode 100644 kdejava/koala/kdejava/Observer.h delete mode 100644 kdejava/koala/kdejava/OpenURLEvent.cpp delete mode 100644 kdejava/koala/kdejava/OpenURLEvent.h delete mode 100644 kdejava/koala/kdejava/Part.cpp delete mode 100644 kdejava/koala/kdejava/Part.h delete mode 100644 kdejava/koala/kdejava/PartActivateEvent.cpp delete mode 100644 kdejava/koala/kdejava/PartActivateEvent.h delete mode 100644 kdejava/koala/kdejava/PartBase.cpp delete mode 100644 kdejava/koala/kdejava/PartBase.h delete mode 100644 kdejava/koala/kdejava/PartManager.cpp delete mode 100644 kdejava/koala/kdejava/PartManager.h delete mode 100644 kdejava/koala/kdejava/PartSelectEvent.cpp delete mode 100644 kdejava/koala/kdejava/PartSelectEvent.h delete mode 100644 kdejava/koala/kdejava/PasswordDialog.cpp delete mode 100644 kdejava/koala/kdejava/PasswordDialog.h delete mode 100644 kdejava/koala/kdejava/Plugin.cpp delete mode 100644 kdejava/koala/kdejava/Plugin.h delete mode 100644 kdejava/koala/kdejava/PreviewJob.cpp delete mode 100644 kdejava/koala/kdejava/PreviewJob.h delete mode 100644 kdejava/koala/kdejava/ProcessingInstruction.cpp delete mode 100644 kdejava/koala/kdejava/ProcessingInstruction.h delete mode 100644 kdejava/koala/kdejava/ProgressBase.cpp delete mode 100644 kdejava/koala/kdejava/ProgressBase.h delete mode 100644 kdejava/koala/kdejava/RGBColor.cpp delete mode 100644 kdejava/koala/kdejava/RGBColor.h delete mode 100644 kdejava/koala/kdejava/Range.cpp delete mode 100644 kdejava/koala/kdejava/Range.h delete mode 100644 kdejava/koala/kdejava/RangeException.cpp delete mode 100644 kdejava/koala/kdejava/RangeException.h delete mode 100644 kdejava/koala/kdejava/ReadOnlyPart.cpp delete mode 100644 kdejava/koala/kdejava/ReadOnlyPart.h delete mode 100644 kdejava/koala/kdejava/ReadWritePart.cpp delete mode 100644 kdejava/koala/kdejava/ReadWritePart.h delete mode 100644 kdejava/koala/kdejava/Rect.cpp delete mode 100644 kdejava/koala/kdejava/Rect.h delete mode 100644 kdejava/koala/kdejava/RenameDlg.cpp delete mode 100644 kdejava/koala/kdejava/RenameDlg.h delete mode 100644 kdejava/koala/kdejava/Scheduler.cpp delete mode 100644 kdejava/koala/kdejava/Scheduler.h delete mode 100644 kdejava/koala/kdejava/SessionData.cpp delete mode 100644 kdejava/koala/kdejava/SessionData.h delete mode 100644 kdejava/koala/kdejava/SimpleJob.cpp delete mode 100644 kdejava/koala/kdejava/SimpleJob.h delete mode 100644 kdejava/koala/kdejava/SkipDlg.cpp delete mode 100644 kdejava/koala/kdejava/SkipDlg.h delete mode 100644 kdejava/koala/kdejava/Slave.cpp delete mode 100644 kdejava/koala/kdejava/Slave.h delete mode 100644 kdejava/koala/kdejava/SlaveBase.cpp delete mode 100644 kdejava/koala/kdejava/SlaveBase.h delete mode 100644 kdejava/koala/kdejava/SlaveInterface.cpp delete mode 100644 kdejava/koala/kdejava/SlaveInterface.h delete mode 100644 kdejava/koala/kdejava/StatJob.cpp delete mode 100644 kdejava/koala/kdejava/StatJob.h delete mode 100644 kdejava/koala/kdejava/StatusBarExtension.cpp delete mode 100644 kdejava/koala/kdejava/StatusBarExtension.h delete mode 100644 kdejava/koala/kdejava/StatusbarProgress.cpp delete mode 100644 kdejava/koala/kdejava/StatusbarProgress.h delete mode 100644 kdejava/koala/kdejava/StoredTransferJob.cpp delete mode 100644 kdejava/koala/kdejava/StoredTransferJob.h delete mode 100644 kdejava/koala/kdejava/StyleSheet.cpp delete mode 100644 kdejava/koala/kdejava/StyleSheet.h delete mode 100644 kdejava/koala/kdejava/TDEAboutApplication.cpp delete mode 100644 kdejava/koala/kdejava/TDEAboutApplication.h delete mode 100644 kdejava/koala/kdejava/TDEAboutContainer.cpp delete mode 100644 kdejava/koala/kdejava/TDEAboutContainer.h delete mode 100644 kdejava/koala/kdejava/TDEAboutContributor.cpp delete mode 100644 kdejava/koala/kdejava/TDEAboutContributor.h delete mode 100644 kdejava/koala/kdejava/TDEAboutData.cpp delete mode 100644 kdejava/koala/kdejava/TDEAboutData.h delete mode 100644 kdejava/koala/kdejava/TDEAboutDialog.cpp delete mode 100644 kdejava/koala/kdejava/TDEAboutDialog.h delete mode 100644 kdejava/koala/kdejava/TDEAboutKDE.cpp delete mode 100644 kdejava/koala/kdejava/TDEAboutKDE.h delete mode 100644 kdejava/koala/kdejava/TDEAboutPerson.cpp delete mode 100644 kdejava/koala/kdejava/TDEAboutPerson.h delete mode 100644 kdejava/koala/kdejava/TDEAboutTranslator.cpp delete mode 100644 kdejava/koala/kdejava/TDEAboutTranslator.h delete mode 100644 kdejava/koala/kdejava/TDEAboutWidget.cpp delete mode 100644 kdejava/koala/kdejava/TDEAboutWidget.h delete mode 100644 kdejava/koala/kdejava/TDEAccel.cpp delete mode 100644 kdejava/koala/kdejava/TDEAccel.h delete mode 100644 kdejava/koala/kdejava/TDEAccelShortcutList.cpp delete mode 100644 kdejava/koala/kdejava/TDEAccelShortcutList.h delete mode 100644 kdejava/koala/kdejava/TDEAction.cpp delete mode 100644 kdejava/koala/kdejava/TDEAction.h delete mode 100644 kdejava/koala/kdejava/TDEActionCollection.cpp delete mode 100644 kdejava/koala/kdejava/TDEActionCollection.h delete mode 100644 kdejava/koala/kdejava/TDEActionMenu.cpp delete mode 100644 kdejava/koala/kdejava/TDEActionMenu.h delete mode 100644 kdejava/koala/kdejava/TDEActionSeparator.cpp delete mode 100644 kdejava/koala/kdejava/TDEActionSeparator.h delete mode 100644 kdejava/koala/kdejava/TDEActionShortcutList.cpp delete mode 100644 kdejava/koala/kdejava/TDEActionShortcutList.h delete mode 100644 kdejava/koala/kdejava/TDEApplication.cpp delete mode 100644 kdejava/koala/kdejava/TDEApplication.h delete mode 100644 kdejava/koala/kdejava/TDEBufferedIO.cpp delete mode 100644 kdejava/koala/kdejava/TDEBufferedIO.h delete mode 100644 kdejava/koala/kdejava/TDECModule.cpp delete mode 100644 kdejava/koala/kdejava/TDECModule.h delete mode 100644 kdejava/koala/kdejava/TDECModuleInfo.cpp delete mode 100644 kdejava/koala/kdejava/TDECModuleInfo.h delete mode 100644 kdejava/koala/kdejava/TDECModuleLoader.cpp delete mode 100644 kdejava/koala/kdejava/TDECModuleLoader.h delete mode 100644 kdejava/koala/kdejava/TDECmdLineArgs.cpp delete mode 100644 kdejava/koala/kdejava/TDECmdLineArgs.h delete mode 100644 kdejava/koala/kdejava/TDECompletion.cpp delete mode 100644 kdejava/koala/kdejava/TDECompletion.h delete mode 100644 kdejava/koala/kdejava/TDECompletionBase.cpp delete mode 100644 kdejava/koala/kdejava/TDECompletionBase.h delete mode 100644 kdejava/koala/kdejava/TDECompletionBox.cpp delete mode 100644 kdejava/koala/kdejava/TDECompletionBox.h delete mode 100644 kdejava/koala/kdejava/TDEConfig.cpp delete mode 100644 kdejava/koala/kdejava/TDEConfig.h delete mode 100644 kdejava/koala/kdejava/TDEConfigBackEnd.cpp delete mode 100644 kdejava/koala/kdejava/TDEConfigBackEnd.h delete mode 100644 kdejava/koala/kdejava/TDEConfigBase.cpp delete mode 100644 kdejava/koala/kdejava/TDEConfigBase.h delete mode 100644 kdejava/koala/kdejava/TDEConfigGroup.cpp delete mode 100644 kdejava/koala/kdejava/TDEConfigGroup.h delete mode 100644 kdejava/koala/kdejava/TDEConfigGroupSaver.cpp delete mode 100644 kdejava/koala/kdejava/TDEConfigGroupSaver.h delete mode 100644 kdejava/koala/kdejava/TDEConfigINIBackEnd.cpp delete mode 100644 kdejava/koala/kdejava/TDEConfigINIBackEnd.h delete mode 100644 kdejava/koala/kdejava/TDEFontAction.cpp delete mode 100644 kdejava/koala/kdejava/TDEFontAction.h delete mode 100644 kdejava/koala/kdejava/TDEFontChooser.cpp delete mode 100644 kdejava/koala/kdejava/TDEFontChooser.h delete mode 100644 kdejava/koala/kdejava/TDEFontCombo.cpp delete mode 100644 kdejava/koala/kdejava/TDEFontCombo.h delete mode 100644 kdejava/koala/kdejava/TDEFontDialog.cpp delete mode 100644 kdejava/koala/kdejava/TDEFontDialog.h delete mode 100644 kdejava/koala/kdejava/TDEFontRequester.cpp delete mode 100644 kdejava/koala/kdejava/TDEFontRequester.h delete mode 100644 kdejava/koala/kdejava/TDEFontSizeAction.cpp delete mode 100644 kdejava/koala/kdejava/TDEFontSizeAction.h delete mode 100644 kdejava/koala/kdejava/TDEGlobal.cpp delete mode 100644 kdejava/koala/kdejava/TDEGlobal.h delete mode 100644 kdejava/koala/kdejava/TDEGlobalAccel.cpp delete mode 100644 kdejava/koala/kdejava/TDEGlobalAccel.h delete mode 100644 kdejava/koala/kdejava/TDEGlobalSettings.cpp delete mode 100644 kdejava/koala/kdejava/TDEGlobalSettings.h delete mode 100644 kdejava/koala/kdejava/TDEHTMLPart.cpp delete mode 100644 kdejava/koala/kdejava/TDEHTMLPart.h delete mode 100644 kdejava/koala/kdejava/TDEHTMLSettings.cpp delete mode 100644 kdejava/koala/kdejava/TDEHTMLSettings.h delete mode 100644 kdejava/koala/kdejava/TDEHTMLView.cpp delete mode 100644 kdejava/koala/kdejava/TDEHTMLView.h delete mode 100644 kdejava/koala/kdejava/TDEIO.cpp delete mode 100644 kdejava/koala/kdejava/TDEIO.h delete mode 100644 kdejava/koala/kdejava/TDEIconButton.cpp delete mode 100644 kdejava/koala/kdejava/TDEIconButton.h delete mode 100644 kdejava/koala/kdejava/TDEIconCanvas.cpp delete mode 100644 kdejava/koala/kdejava/TDEIconCanvas.h delete mode 100644 kdejava/koala/kdejava/TDEIconDialog.cpp delete mode 100644 kdejava/koala/kdejava/TDEIconDialog.h delete mode 100644 kdejava/koala/kdejava/TDEIconEffect.cpp delete mode 100644 kdejava/koala/kdejava/TDEIconEffect.h delete mode 100644 kdejava/koala/kdejava/TDEIconLoader.cpp delete mode 100644 kdejava/koala/kdejava/TDEIconLoader.h delete mode 100644 kdejava/koala/kdejava/TDEIconView.cpp delete mode 100644 kdejava/koala/kdejava/TDEIconView.h delete mode 100644 kdejava/koala/kdejava/TDEIconViewItem.cpp delete mode 100644 kdejava/koala/kdejava/TDEIconViewItem.h delete mode 100644 kdejava/koala/kdejava/TDEInstance.cpp delete mode 100644 kdejava/koala/kdejava/TDEInstance.h delete mode 100644 kdejava/koala/kdejava/TDEListAction.cpp delete mode 100644 kdejava/koala/kdejava/TDEListAction.h delete mode 100644 kdejava/koala/kdejava/TDEListBox.cpp delete mode 100644 kdejava/koala/kdejava/TDEListBox.h delete mode 100644 kdejava/koala/kdejava/TDEListView.cpp delete mode 100644 kdejava/koala/kdejava/TDEListView.h delete mode 100644 kdejava/koala/kdejava/TDEListViewItem.cpp delete mode 100644 kdejava/koala/kdejava/TDEListViewItem.h delete mode 100644 kdejava/koala/kdejava/TDELocale.cpp delete mode 100644 kdejava/koala/kdejava/TDELocale.h delete mode 100644 kdejava/koala/kdejava/TDEMainWindow.cpp delete mode 100644 kdejava/koala/kdejava/TDEMainWindow.h delete mode 100644 kdejava/koala/kdejava/TDEPasteTextAction.cpp delete mode 100644 kdejava/koala/kdejava/TDEPasteTextAction.h delete mode 100644 kdejava/koala/kdejava/TDEPopupFrame.cpp delete mode 100644 kdejava/koala/kdejava/TDEPopupFrame.h delete mode 100644 kdejava/koala/kdejava/TDEPopupMenu.cpp delete mode 100644 kdejava/koala/kdejava/TDEPopupMenu.h delete mode 100644 kdejava/koala/kdejava/TDEPopupTitle.cpp delete mode 100644 kdejava/koala/kdejava/TDEPopupTitle.h delete mode 100644 kdejava/koala/kdejava/TDEProcess.cpp delete mode 100644 kdejava/koala/kdejava/TDEProcess.h delete mode 100644 kdejava/koala/kdejava/TDEProcessController.cpp delete mode 100644 kdejava/koala/kdejava/TDEProcessController.h delete mode 100644 kdejava/koala/kdejava/TDEProcessRunner.cpp delete mode 100644 kdejava/koala/kdejava/TDEProcessRunner.h delete mode 100644 kdejava/koala/kdejava/TDERadioAction.cpp delete mode 100644 kdejava/koala/kdejava/TDERadioAction.h delete mode 100644 kdejava/koala/kdejava/TDERecentDocument.cpp delete mode 100644 kdejava/koala/kdejava/TDERecentDocument.h delete mode 100644 kdejava/koala/kdejava/TDERecentFilesAction.cpp delete mode 100644 kdejava/koala/kdejava/TDERecentFilesAction.h delete mode 100644 kdejava/koala/kdejava/TDESelectAction.cpp delete mode 100644 kdejava/koala/kdejava/TDESelectAction.h delete mode 100644 kdejava/koala/kdejava/TDESelector.cpp delete mode 100644 kdejava/koala/kdejava/TDESelector.h delete mode 100644 kdejava/koala/kdejava/TDEShared.cpp delete mode 100644 kdejava/koala/kdejava/TDEShared.h delete mode 100644 kdejava/koala/kdejava/TDESharedConfig.cpp delete mode 100644 kdejava/koala/kdejava/TDESharedConfig.h delete mode 100644 kdejava/koala/kdejava/TDEShortcut.cpp delete mode 100644 kdejava/koala/kdejava/TDEShortcut.h delete mode 100644 kdejava/koala/kdejava/TDEShortcutList.cpp delete mode 100644 kdejava/koala/kdejava/TDEShortcutList.h delete mode 100644 kdejava/koala/kdejava/TDEStandardDirs.cpp delete mode 100644 kdejava/koala/kdejava/TDEStandardDirs.h delete mode 100644 kdejava/koala/kdejava/TDEStdAccel.cpp delete mode 100644 kdejava/koala/kdejava/TDEStdAccel.h delete mode 100644 kdejava/koala/kdejava/TDEToggleAction.cpp delete mode 100644 kdejava/koala/kdejava/TDEToggleAction.h delete mode 100644 kdejava/koala/kdejava/TDEToggleFullScreenAction.cpp delete mode 100644 kdejava/koala/kdejava/TDEToggleFullScreenAction.h delete mode 100644 kdejava/koala/kdejava/TDEToggleToolBarAction.cpp delete mode 100644 kdejava/koala/kdejava/TDEToggleToolBarAction.h delete mode 100644 kdejava/koala/kdejava/TDEToolBar.cpp delete mode 100644 kdejava/koala/kdejava/TDEToolBar.h delete mode 100644 kdejava/koala/kdejava/TDEToolBarButton.cpp delete mode 100644 kdejava/koala/kdejava/TDEToolBarButton.h delete mode 100644 kdejava/koala/kdejava/TDEToolBarPopupAction.cpp delete mode 100644 kdejava/koala/kdejava/TDEToolBarPopupAction.h delete mode 100644 kdejava/koala/kdejava/TDEToolBarRadioGroup.cpp delete mode 100644 kdejava/koala/kdejava/TDEToolBarRadioGroup.h delete mode 100644 kdejava/koala/kdejava/TDEToolBarSeparator.cpp delete mode 100644 kdejava/koala/kdejava/TDEToolBarSeparator.h delete mode 100644 kdejava/koala/kdejava/TDETrader.cpp delete mode 100644 kdejava/koala/kdejava/TDETrader.h delete mode 100644 kdejava/koala/kdejava/Text.cpp delete mode 100644 kdejava/koala/kdejava/Text.h delete mode 100644 kdejava/koala/kdejava/TextEvent.cpp delete mode 100644 kdejava/koala/kdejava/TextEvent.h delete mode 100644 kdejava/koala/kdejava/TransferJob.cpp delete mode 100644 kdejava/koala/kdejava/TransferJob.h delete mode 100644 kdejava/koala/kdejava/TreeWalker.cpp delete mode 100644 kdejava/koala/kdejava/TreeWalker.h delete mode 100644 kdejava/koala/kdejava/UIEvent.cpp delete mode 100644 kdejava/koala/kdejava/UIEvent.h delete mode 100644 kdejava/koala/kdejava/URLArgs.cpp delete mode 100644 kdejava/koala/kdejava/URLArgs.h delete mode 100644 kdejava/koala/kdejava/WindowArgs.cpp delete mode 100644 kdejava/koala/kdejava/WindowArgs.h delete mode 100644 kdejava/koala/main.cpp delete mode 100644 kdejava/koala/org/Makefile.am delete mode 100644 kdejava/koala/org/kde/Makefile.am delete mode 100644 kdejava/koala/org/kde/koala/AbstractView.java delete mode 100644 kdejava/koala/org/kde/koala/Attr.java delete mode 100644 kdejava/koala/org/kde/koala/AuthInfo.java delete mode 100644 kdejava/koala/org/kde/koala/BrowserExtension.java delete mode 100644 kdejava/koala/org/kde/koala/BrowserExtensionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/BrowserHostExtension.java delete mode 100644 kdejava/koala/org/kde/koala/BrowserInterface.java delete mode 100644 kdejava/koala/org/kde/koala/BrowserRun.java delete mode 100644 kdejava/koala/org/kde/koala/CDATASection.java delete mode 100644 kdejava/koala/org/kde/koala/CSSCharsetRule.java delete mode 100644 kdejava/koala/org/kde/koala/CSSException.java delete mode 100644 kdejava/koala/org/kde/koala/CSSFontFaceRule.java delete mode 100644 kdejava/koala/org/kde/koala/CSSImportRule.java delete mode 100644 kdejava/koala/org/kde/koala/CSSMediaRule.java delete mode 100644 kdejava/koala/org/kde/koala/CSSPageRule.java delete mode 100644 kdejava/koala/org/kde/koala/CSSPrimitiveValue.java delete mode 100644 kdejava/koala/org/kde/koala/CSSRule.java delete mode 100644 kdejava/koala/org/kde/koala/CSSRuleList.java delete mode 100644 kdejava/koala/org/kde/koala/CSSStyleDeclaration.java delete mode 100644 kdejava/koala/org/kde/koala/CSSStyleRule.java delete mode 100644 kdejava/koala/org/kde/koala/CSSStyleSheet.java delete mode 100644 kdejava/koala/org/kde/koala/CSSUnknownRule.java delete mode 100644 kdejava/koala/org/kde/koala/CSSValue.java delete mode 100644 kdejava/koala/org/kde/koala/CSSValueList.java delete mode 100644 kdejava/koala/org/kde/koala/CharacterData.java delete mode 100644 kdejava/koala/org/kde/koala/Comment.java delete mode 100644 kdejava/koala/org/kde/koala/Connection.java delete mode 100644 kdejava/koala/org/kde/koala/CopyJob.java delete mode 100644 kdejava/koala/org/kde/koala/CopyJobSignals.java delete mode 100644 kdejava/koala/org/kde/koala/Counter.java delete mode 100644 kdejava/koala/org/kde/koala/CustomNodeFilter.java delete mode 100644 kdejava/koala/org/kde/koala/DCOPAnswer.java delete mode 100644 kdejava/koala/org/kde/koala/DCOPClient.java delete mode 100644 kdejava/koala/org/kde/koala/DCOPClientSignals.java delete mode 100644 kdejava/koala/org/kde/koala/DCOPObject.java delete mode 100644 kdejava/koala/org/kde/koala/DCOPObjectInterface.java delete mode 100644 kdejava/koala/org/kde/koala/DCOPObjectProxy.java delete mode 100644 kdejava/koala/org/kde/koala/DOMException.java delete mode 100644 kdejava/koala/org/kde/koala/DOMImplementation.java delete mode 100644 kdejava/koala/org/kde/koala/DavJob.java delete mode 100644 kdejava/koala/org/kde/koala/DefaultProgress.java delete mode 100644 kdejava/koala/org/kde/koala/DeleteJob.java delete mode 100644 kdejava/koala/org/kde/koala/DeleteJobSignals.java delete mode 100644 kdejava/koala/org/kde/koala/DockMainWindow.java delete mode 100644 kdejava/koala/org/kde/koala/Document.java delete mode 100644 kdejava/koala/org/kde/koala/DocumentFragment.java delete mode 100644 kdejava/koala/org/kde/koala/DocumentStyle.java delete mode 100644 kdejava/koala/org/kde/koala/DocumentType.java delete mode 100644 kdejava/koala/org/kde/koala/DomShared.java delete mode 100644 kdejava/koala/org/kde/koala/Element.java delete mode 100644 kdejava/koala/org/kde/koala/Entity.java delete mode 100644 kdejava/koala/org/kde/koala/EntityReference.java delete mode 100644 kdejava/koala/org/kde/koala/Event.java delete mode 100644 kdejava/koala/org/kde/koala/EventException.java delete mode 100644 kdejava/koala/org/kde/koala/EventListener.java delete mode 100644 kdejava/koala/org/kde/koala/Factory.java delete mode 100644 kdejava/koala/org/kde/koala/FileCopyJob.java delete mode 100644 kdejava/koala/org/kde/koala/GUIActivateEvent.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLAnchorElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLAppletElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLAreaElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLBRElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLBaseElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLBaseFontElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLBlockquoteElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLBodyElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLButtonElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLCollection.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLDListElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLDirectoryElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLDivElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLDocument.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLFieldSetElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLFontElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLFormCollection.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLFormElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLFrameElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLFrameSetElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLHRElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLHeadElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLHeadingElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLHtmlElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLIFrameElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLImageElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLInputElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLIsIndexElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLLIElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLLabelElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLLegendElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLLinkElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLMapElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLMenuElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLMetaElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLModElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLOListElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLObjectElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLOptGroupElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLOptionElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLParagraphElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLParamElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLPreElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLQuoteElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLScriptElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLSelectElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLStyleElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLTableCaptionElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLTableCellElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLTableColElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLTableElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLTableRowElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLTableSectionElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLTextAreaElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLTitleElement.java delete mode 100644 kdejava/koala/org/kde/koala/HTMLUListElement.java delete mode 100644 kdejava/koala/org/kde/koala/HistoryProvider.java delete mode 100644 kdejava/koala/org/kde/koala/HistoryProviderSignals.java delete mode 100644 kdejava/koala/org/kde/koala/Invocation.java delete mode 100644 kdejava/koala/org/kde/koala/Job.java delete mode 100644 kdejava/koala/org/kde/koala/JobSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KActiveLabel.java delete mode 100644 kdejava/koala/org/kde/koala/KAnimWidget.java delete mode 100644 kdejava/koala/org/kde/koala/KAnimWidgetSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KAr.java delete mode 100644 kdejava/koala/org/kde/koala/KArchive.java delete mode 100644 kdejava/koala/org/kde/koala/KArchiveDirectory.java delete mode 100644 kdejava/koala/org/kde/koala/KArchiveEntry.java delete mode 100644 kdejava/koala/org/kde/koala/KArchiveFile.java delete mode 100644 kdejava/koala/org/kde/koala/KArrowButton.java delete mode 100644 kdejava/koala/org/kde/koala/KAsyncIO.java delete mode 100644 kdejava/koala/org/kde/koala/KAsyncIOSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KAudioPlayer.java delete mode 100644 kdejava/koala/org/kde/koala/KAuthIcon.java delete mode 100644 kdejava/koala/org/kde/koala/KAuthIconSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KBugReport.java delete mode 100644 kdejava/koala/org/kde/koala/KButtonBox.java delete mode 100644 kdejava/koala/org/kde/koala/KCMultiDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KCMultiDialogSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KCPUInfo.java delete mode 100644 kdejava/koala/org/kde/koala/KCalendarSystem.java delete mode 100644 kdejava/koala/org/kde/koala/KCalendarSystemFactory.java delete mode 100644 kdejava/koala/org/kde/koala/KCatalogue.java delete mode 100644 kdejava/koala/org/kde/koala/KCharSelect.java delete mode 100644 kdejava/koala/org/kde/koala/KCharSelectSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KCharSelectTable.java delete mode 100644 kdejava/koala/org/kde/koala/KCharSelectTableSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KCharsets.java delete mode 100644 kdejava/koala/org/kde/koala/KCodecs.java delete mode 100644 kdejava/koala/org/kde/koala/KColor.java delete mode 100644 kdejava/koala/org/kde/koala/KColorButton.java delete mode 100644 kdejava/koala/org/kde/koala/KColorButtonSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KColorCells.java delete mode 100644 kdejava/koala/org/kde/koala/KColorCellsSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KColorCombo.java delete mode 100644 kdejava/koala/org/kde/koala/KColorComboSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KColorDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KColorDialogSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KColorDrag.java delete mode 100644 kdejava/koala/org/kde/koala/KColorPatch.java delete mode 100644 kdejava/koala/org/kde/koala/KColorPatchSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KCombiView.java delete mode 100644 kdejava/koala/org/kde/koala/KComboBox.java delete mode 100644 kdejava/koala/org/kde/koala/KComboBoxSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KCommand.java delete mode 100644 kdejava/koala/org/kde/koala/KCommandHistory.java delete mode 100644 kdejava/koala/org/kde/koala/KCommandHistorySignals.java delete mode 100644 kdejava/koala/org/kde/koala/KContextMenuManager.java delete mode 100644 kdejava/koala/org/kde/koala/KCursor.java delete mode 100644 kdejava/koala/org/kde/koala/KCustomMenuEditor.java delete mode 100644 kdejava/koala/org/kde/koala/KDCOPActionProxy.java delete mode 100644 kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java delete mode 100644 kdejava/koala/org/kde/koala/KDCOPServiceStarter.java delete mode 100644 kdejava/koala/org/kde/koala/KDE.java delete mode 100644 kdejava/koala/org/kde/koala/KDEDesktopMimeType.java delete mode 100644 kdejava/koala/org/kde/koala/KDataTool.java delete mode 100644 kdejava/koala/org/kde/koala/KDataToolAction.java delete mode 100644 kdejava/koala/org/kde/koala/KDataToolActionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDataToolInfo.java delete mode 100644 kdejava/koala/org/kde/koala/KDatePicker.java delete mode 100644 kdejava/koala/org/kde/koala/KDatePickerSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDateTable.java delete mode 100644 kdejava/koala/org/kde/koala/KDateTableSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDateTimeWidget.java delete mode 100644 kdejava/koala/org/kde/koala/KDateTimeWidgetSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDateValidator.java delete mode 100644 kdejava/koala/org/kde/koala/KDateWidget.java delete mode 100644 kdejava/koala/org/kde/koala/KDateWidgetSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDesktopFile.java delete mode 100644 kdejava/koala/org/kde/koala/KDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KDialogBase.java delete mode 100644 kdejava/koala/org/kde/koala/KDialogBaseSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDialogQueue.java delete mode 100644 kdejava/koala/org/kde/koala/KDialogSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDirLister.java delete mode 100644 kdejava/koala/org/kde/koala/KDirListerSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDirNotify.java delete mode 100644 kdejava/koala/org/kde/koala/KDirNotifyInterface.java delete mode 100644 kdejava/koala/org/kde/koala/KDirOperator.java delete mode 100644 kdejava/koala/org/kde/koala/KDirOperatorSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDirSelectDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KDirSize.java delete mode 100644 kdejava/koala/org/kde/koala/KDirWatch.java delete mode 100644 kdejava/koala/org/kde/koala/KDirWatchSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDiskFreeSp.java delete mode 100644 kdejava/koala/org/kde/koala/KDiskFreeSpSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDockArea.java delete mode 100644 kdejava/koala/org/kde/koala/KDockAreaSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDockMainWindow.java delete mode 100644 kdejava/koala/org/kde/koala/KDockMainWindowSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDockManager.java delete mode 100644 kdejava/koala/org/kde/koala/KDockManagerSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDockTabGroup.java delete mode 100644 kdejava/koala/org/kde/koala/KDockWidget.java delete mode 100644 kdejava/koala/org/kde/koala/KDockWidgetAbstractHeader.java delete mode 100644 kdejava/koala/org/kde/koala/KDockWidgetAbstractHeaderDrag.java delete mode 100644 kdejava/koala/org/kde/koala/KDockWidgetHeader.java delete mode 100644 kdejava/koala/org/kde/koala/KDockWidgetHeaderDrag.java delete mode 100644 kdejava/koala/org/kde/koala/KDockWidgetSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDoubleNumInput.java delete mode 100644 kdejava/koala/org/kde/koala/KDoubleNumInputSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KDoubleValidator.java delete mode 100644 kdejava/koala/org/kde/koala/KDualColorButton.java delete mode 100644 kdejava/koala/org/kde/koala/KDualColorButtonSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KEMailSettings.java delete mode 100644 kdejava/koala/org/kde/koala/KEdFind.java delete mode 100644 kdejava/koala/org/kde/koala/KEdFindSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KEdGotoLine.java delete mode 100644 kdejava/koala/org/kde/koala/KEdReplace.java delete mode 100644 kdejava/koala/org/kde/koala/KEdReplaceSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KEdit.java delete mode 100644 kdejava/koala/org/kde/koala/KEditListBox.java delete mode 100644 kdejava/koala/org/kde/koala/KEditListBoxSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KEditSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KEditToolbar.java delete mode 100644 kdejava/koala/org/kde/koala/KEditToolbarSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KEditToolbarWidget.java delete mode 100644 kdejava/koala/org/kde/koala/KEditToolbarWidgetSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KEntry.java delete mode 100644 kdejava/koala/org/kde/koala/KEntryKey.java delete mode 100644 kdejava/koala/org/kde/koala/KExecMimeType.java delete mode 100644 kdejava/koala/org/kde/koala/KFile.java delete mode 100644 kdejava/koala/org/kde/koala/KFileDetailView.java delete mode 100644 kdejava/koala/org/kde/koala/KFileDetailViewSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KFileDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KFileDialogSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KFileFilter.java delete mode 100644 kdejava/koala/org/kde/koala/KFileFilterCombo.java delete mode 100644 kdejava/koala/org/kde/koala/KFileFilterComboSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KFileIconView.java delete mode 100644 kdejava/koala/org/kde/koala/KFileIconViewItem.java delete mode 100644 kdejava/koala/org/kde/koala/KFileIconViewSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KFileItem.java delete mode 100644 kdejava/koala/org/kde/koala/KFileListViewItem.java delete mode 100644 kdejava/koala/org/kde/koala/KFileMetaInfo.java delete mode 100644 kdejava/koala/org/kde/koala/KFileMetaInfoGroup.java delete mode 100644 kdejava/koala/org/kde/koala/KFileMetaInfoItem.java delete mode 100644 kdejava/koala/org/kde/koala/KFilePlugin.java delete mode 100644 kdejava/koala/org/kde/koala/KFilePreview.java delete mode 100644 kdejava/koala/org/kde/koala/KFilePreviewSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KFileShare.java delete mode 100644 kdejava/koala/org/kde/koala/KFileTreeBranch.java delete mode 100644 kdejava/koala/org/kde/koala/KFileTreeBranchSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KFileTreeView.java delete mode 100644 kdejava/koala/org/kde/koala/KFileTreeViewItem.java delete mode 100644 kdejava/koala/org/kde/koala/KFileTreeViewSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KFileTreeViewToolTip.java delete mode 100644 kdejava/koala/org/kde/koala/KFileView.java delete mode 100644 kdejava/koala/org/kde/koala/KFileViewInterface.java delete mode 100644 kdejava/koala/org/kde/koala/KFileViewSignaler.java delete mode 100644 kdejava/koala/org/kde/koala/KFileViewSignalerSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KFilterBase.java delete mode 100644 kdejava/koala/org/kde/koala/KFilterDev.java delete mode 100644 kdejava/koala/org/kde/koala/KFind.java delete mode 100644 kdejava/koala/org/kde/koala/KFindDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KFindSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KFloatValidator.java delete mode 100644 kdejava/koala/org/kde/koala/KFolderType.java delete mode 100644 kdejava/koala/org/kde/koala/KGradientSelector.java delete mode 100644 kdejava/koala/org/kde/koala/KGuiItem.java delete mode 100644 kdejava/koala/org/kde/koala/KHSSelector.java delete mode 100644 kdejava/koala/org/kde/koala/KHelpMenu.java delete mode 100644 kdejava/koala/org/kde/koala/KHelpMenuSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KHistoryCombo.java delete mode 100644 kdejava/koala/org/kde/koala/KHistoryComboSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KIDNA.java delete mode 100644 kdejava/koala/org/kde/koala/KIPC.java delete mode 100644 kdejava/koala/org/kde/koala/KImageEffect.java delete mode 100644 kdejava/koala/org/kde/koala/KImageIO.java delete mode 100644 kdejava/koala/org/kde/koala/KInputDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KIntNumInput.java delete mode 100644 kdejava/koala/org/kde/koala/KIntNumInputSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KIntSpinBox.java delete mode 100644 kdejava/koala/org/kde/koala/KIntValidator.java delete mode 100644 kdejava/koala/org/kde/koala/KJanusWidget.java delete mode 100644 kdejava/koala/org/kde/koala/KJanusWidgetSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KKey.java delete mode 100644 kdejava/koala/org/kde/koala/KKeyButton.java delete mode 100644 kdejava/koala/org/kde/koala/KKeyButtonSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KKeyChooser.java delete mode 100644 kdejava/koala/org/kde/koala/KKeyChooserSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KKeyDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KKeyNative.java delete mode 100644 kdejava/koala/org/kde/koala/KKeySequence.java delete mode 100644 kdejava/koala/org/kde/koala/KLed.java delete mode 100644 kdejava/koala/org/kde/koala/KLibFactory.java delete mode 100644 kdejava/koala/org/kde/koala/KLibFactorySignals.java delete mode 100644 kdejava/koala/org/kde/koala/KLibLoader.java delete mode 100644 kdejava/koala/org/kde/koala/KLineEdit.java delete mode 100644 kdejava/koala/org/kde/koala/KLineEditSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KMD5.java delete mode 100644 kdejava/koala/org/kde/koala/KMacroCommand.java delete mode 100644 kdejava/koala/org/kde/koala/KMdi.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiChildArea.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiChildAreaSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiChildFrm.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiChildFrmCaption.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiChildFrmDragBeginEvent.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiChildFrmDragEndEvent.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiChildFrmMoveEvent.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiChildFrmResizeBeginEvent.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiChildFrmResizeEndEvent.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiChildView.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiChildViewSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiMainFrm.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiMainFrmSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiTaskBar.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiTaskBarButton.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiTaskBarButtonSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiToolViewAccessor.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiViewCloseEvent.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiWin32IconButton.java delete mode 100644 kdejava/koala/org/kde/koala/KMdiWin32IconButtonSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KMenuBar.java delete mode 100644 kdejava/koala/org/kde/koala/KMessageBox.java delete mode 100644 kdejava/koala/org/kde/koala/KMimeMagic.java delete mode 100644 kdejava/koala/org/kde/koala/KMimeMagicResult.java delete mode 100644 kdejava/koala/org/kde/koala/KMimeSourceFactory.java delete mode 100644 kdejava/koala/org/kde/koala/KMimeType.java delete mode 100644 kdejava/koala/org/kde/koala/KMimeTypeResolverBase.java delete mode 100644 kdejava/koala/org/kde/koala/KMimeTypeResolverHelper.java delete mode 100644 kdejava/koala/org/kde/koala/KMimeTypeValidator.java delete mode 100644 kdejava/koala/org/kde/koala/KMountPoint.java delete mode 100644 kdejava/koala/org/kde/koala/KMultiTabBar.java delete mode 100644 kdejava/koala/org/kde/koala/KMultiTabBarButton.java delete mode 100644 kdejava/koala/org/kde/koala/KMultiTabBarButtonSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KMultiTabBarTab.java delete mode 100644 kdejava/koala/org/kde/koala/KMultipleDrag.java delete mode 100644 kdejava/koala/org/kde/koala/KNamedCommand.java delete mode 100644 kdejava/koala/org/kde/koala/KNotifyClient.java delete mode 100644 kdejava/koala/org/kde/koala/KNumInput.java delete mode 100644 kdejava/koala/org/kde/koala/KOCRDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KOCRDialogSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KOpenWithDlg.java delete mode 100644 kdejava/koala/org/kde/koala/KPalette.java delete mode 100644 kdejava/koala/org/kde/koala/KPaletteTable.java delete mode 100644 kdejava/koala/org/kde/koala/KPaletteTableSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KPanelAppMenu.java delete mode 100644 kdejava/koala/org/kde/koala/KPanelAppMenuSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KPanelApplet.java delete mode 100644 kdejava/koala/org/kde/koala/KPanelAppletSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KPanelExtension.java delete mode 100644 kdejava/koala/org/kde/koala/KPanelExtensionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KPanelMenu.java delete mode 100644 kdejava/koala/org/kde/koala/KPassivePopup.java delete mode 100644 kdejava/koala/org/kde/koala/KPassivePopupSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KPasswordDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KPasswordEdit.java delete mode 100644 kdejava/koala/org/kde/koala/KPixmap.java delete mode 100644 kdejava/koala/org/kde/koala/KPixmapEffect.java delete mode 100644 kdejava/koala/org/kde/koala/KPixmapIO.java delete mode 100644 kdejava/koala/org/kde/koala/KPixmapProvider.java delete mode 100644 kdejava/koala/org/kde/koala/KPixmapSplitter.java delete mode 100644 kdejava/koala/org/kde/koala/KPluginSelector.java delete mode 100644 kdejava/koala/org/kde/koala/KPluginSelectorSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KPreviewWidgetBase.java delete mode 100644 kdejava/koala/org/kde/koala/KPrintAction.java delete mode 100644 kdejava/koala/org/kde/koala/KPrintActionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KProcIO.java delete mode 100644 kdejava/koala/org/kde/koala/KProcIOSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KProgress.java delete mode 100644 kdejava/koala/org/kde/koala/KProgressDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KProgressSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KProtocolInfo.java delete mode 100644 kdejava/koala/org/kde/koala/KProtocolManager.java delete mode 100644 kdejava/koala/org/kde/koala/KPushButton.java delete mode 100644 kdejava/koala/org/kde/koala/KRFCDate.java delete mode 100644 kdejava/koala/org/kde/koala/KRandomSequence.java delete mode 100644 kdejava/koala/org/kde/koala/KRegExpEditorInterface.java delete mode 100644 kdejava/koala/org/kde/koala/KReplace.java delete mode 100644 kdejava/koala/org/kde/koala/KReplaceDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KReplaceSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KRestrictedLine.java delete mode 100644 kdejava/koala/org/kde/koala/KRestrictedLineSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KRootPermsIcon.java delete mode 100644 kdejava/koala/org/kde/koala/KRootPixmap.java delete mode 100644 kdejava/koala/org/kde/koala/KRootPixmapSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KRootProp.java delete mode 100644 kdejava/koala/org/kde/koala/KRuler.java delete mode 100644 kdejava/koala/org/kde/koala/KRun.java delete mode 100644 kdejava/koala/org/kde/koala/KRunSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KSMIMECrypto.java delete mode 100644 kdejava/koala/org/kde/koala/KSSL.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLCertBox.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLCertChain.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLCertDlg.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLCertDlgRet.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLCertificate.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLCertificateCache.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLCertificateFactory.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLCertificateHome.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLConnectionInfo.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLInfoDlg.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLKeyGen.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLPKCS12.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLPKCS7.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLPeerInfo.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLSession.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLSettings.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLSigners.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLX509Map.java delete mode 100644 kdejava/koala/org/kde/koala/KSSLX509V3.java delete mode 100644 kdejava/koala/org/kde/koala/KSaveFile.java delete mode 100644 kdejava/koala/org/kde/koala/KScanDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KScanDialogSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KSeparator.java delete mode 100644 kdejava/koala/org/kde/koala/KService.java delete mode 100644 kdejava/koala/org/kde/koala/KServiceGroup.java delete mode 100644 kdejava/koala/org/kde/koala/KServiceOffer.java delete mode 100644 kdejava/koala/org/kde/koala/KServiceSeparator.java delete mode 100644 kdejava/koala/org/kde/koala/KServiceType.java delete mode 100644 kdejava/koala/org/kde/koala/KServiceTypeProfile.java delete mode 100644 kdejava/koala/org/kde/koala/KSessionManaged.java delete mode 100644 kdejava/koala/org/kde/koala/KShell.java delete mode 100644 kdejava/koala/org/kde/koala/KShellCompletion.java delete mode 100644 kdejava/koala/org/kde/koala/KShellProcess.java delete mode 100644 kdejava/koala/org/kde/koala/KShred.java delete mode 100644 kdejava/koala/org/kde/koala/KShredSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KSimpleConfig.java delete mode 100644 kdejava/koala/org/kde/koala/KSimpleFileFilter.java delete mode 100644 kdejava/koala/org/kde/koala/KSpell.java delete mode 100644 kdejava/koala/org/kde/koala/KSpellConfig.java delete mode 100644 kdejava/koala/org/kde/koala/KSpellConfigSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KSpellDlg.java delete mode 100644 kdejava/koala/org/kde/koala/KSpellDlgSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KSpellSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KSpellingHighlighter.java delete mode 100644 kdejava/koala/org/kde/koala/KSqueezedTextLabel.java delete mode 100644 kdejava/koala/org/kde/koala/KStaticDeleterBase.java delete mode 100644 kdejava/koala/org/kde/koala/KStatusBar.java delete mode 100644 kdejava/koala/org/kde/koala/KStatusBarLabel.java delete mode 100644 kdejava/koala/org/kde/koala/KStatusBarLabelSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KStatusBarSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KStdAction.java delete mode 100644 kdejava/koala/org/kde/koala/KStdGuiItem.java delete mode 100644 kdejava/koala/org/kde/koala/KStringHandler.java delete mode 100644 kdejava/koala/org/kde/koala/KStringListValidator.java delete mode 100644 kdejava/koala/org/kde/koala/KSycoca.java delete mode 100644 kdejava/koala/org/kde/koala/KSycocaEntry.java delete mode 100644 kdejava/koala/org/kde/koala/KSycocaSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KSyntaxHighlighter.java delete mode 100644 kdejava/koala/org/kde/koala/KSystemTray.java delete mode 100644 kdejava/koala/org/kde/koala/KSystemTraySignals.java delete mode 100644 kdejava/koala/org/kde/koala/KTabBar.java delete mode 100644 kdejava/koala/org/kde/koala/KTabBarSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KTabCtl.java delete mode 100644 kdejava/koala/org/kde/koala/KTabCtlSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KTabWidget.java delete mode 100644 kdejava/koala/org/kde/koala/KTabWidgetSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KTar.java delete mode 100644 kdejava/koala/org/kde/koala/KTempDir.java delete mode 100644 kdejava/koala/org/kde/koala/KTempFile.java delete mode 100644 kdejava/koala/org/kde/koala/KTextBrowser.java delete mode 100644 kdejava/koala/org/kde/koala/KTextBrowserSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KTextEdit.java delete mode 100644 kdejava/koala/org/kde/koala/KTimeWidget.java delete mode 100644 kdejava/koala/org/kde/koala/KTimeWidgetSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KTipDatabase.java delete mode 100644 kdejava/koala/org/kde/koala/KTipDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KURIFilter.java delete mode 100644 kdejava/koala/org/kde/koala/KURIFilterData.java delete mode 100644 kdejava/koala/org/kde/koala/KURIFilterPlugin.java delete mode 100644 kdejava/koala/org/kde/koala/KURL.java delete mode 100644 kdejava/koala/org/kde/koala/KURLBar.java delete mode 100644 kdejava/koala/org/kde/koala/KURLBarItem.java delete mode 100644 kdejava/koala/org/kde/koala/KURLBarItemDialog.java delete mode 100644 kdejava/koala/org/kde/koala/KURLBarListBox.java delete mode 100644 kdejava/koala/org/kde/koala/KURLBarListBoxSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KURLBarSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KURLComboBox.java delete mode 100644 kdejava/koala/org/kde/koala/KURLComboBoxSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KURLComboRequester.java delete mode 100644 kdejava/koala/org/kde/koala/KURLCompletion.java delete mode 100644 kdejava/koala/org/kde/koala/KURLDrag.java delete mode 100644 kdejava/koala/org/kde/koala/KURLLabel.java delete mode 100644 kdejava/koala/org/kde/koala/KURLLabelSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KURLPixmapProvider.java delete mode 100644 kdejava/koala/org/kde/koala/KURLRequester.java delete mode 100644 kdejava/koala/org/kde/koala/KURLRequesterDlg.java delete mode 100644 kdejava/koala/org/kde/koala/KURLRequesterSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KUniqueApplication.java delete mode 100644 kdejava/koala/org/kde/koala/KValueSelector.java delete mode 100644 kdejava/koala/org/kde/koala/KWidgetAction.java delete mode 100644 kdejava/koala/org/kde/koala/KWindowInfo.java delete mode 100644 kdejava/koala/org/kde/koala/KWizard.java delete mode 100644 kdejava/koala/org/kde/koala/KWordWrap.java delete mode 100644 kdejava/koala/org/kde/koala/KWritePermsIcon.java delete mode 100644 kdejava/koala/org/kde/koala/KXMLGUI.java delete mode 100644 kdejava/koala/org/kde/koala/KXMLGUIBuilder.java delete mode 100644 kdejava/koala/org/kde/koala/KXMLGUIBuilderInterface.java delete mode 100644 kdejava/koala/org/kde/koala/KXMLGUIClient.java delete mode 100644 kdejava/koala/org/kde/koala/KXMLGUIClientInterface.java delete mode 100644 kdejava/koala/org/kde/koala/KXMLGUIFactory.java delete mode 100644 kdejava/koala/org/kde/koala/KXMLGUIFactorySignals.java delete mode 100644 kdejava/koala/org/kde/koala/KXYSelector.java delete mode 100644 kdejava/koala/org/kde/koala/KXYSelectorSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KZip.java delete mode 100644 kdejava/koala/org/kde/koala/KZipFileEntry.java delete mode 100644 kdejava/koala/org/kde/koala/LinkStyle.java delete mode 100644 kdejava/koala/org/kde/koala/ListJob.java delete mode 100644 kdejava/koala/org/kde/koala/ListJobSignals.java delete mode 100644 kdejava/koala/org/kde/koala/LiveConnectExtension.java delete mode 100644 kdejava/koala/org/kde/koala/LiveConnectExtensionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/MainWindow.java delete mode 100644 kdejava/koala/org/kde/koala/Makefile.am delete mode 100644 kdejava/koala/org/kde/koala/Marchaller.java delete mode 100644 kdejava/koala/org/kde/koala/MetaInfoJob.java delete mode 100644 kdejava/koala/org/kde/koala/MetaInfoJobSignals.java delete mode 100644 kdejava/koala/org/kde/koala/MimetypeJob.java delete mode 100644 kdejava/koala/org/kde/koala/MouseEvent.java delete mode 100644 kdejava/koala/org/kde/koala/MultiGetJob.java delete mode 100644 kdejava/koala/org/kde/koala/MultiGetJobSignals.java delete mode 100644 kdejava/koala/org/kde/koala/MutationEvent.java delete mode 100644 kdejava/koala/org/kde/koala/NamedNodeMap.java delete mode 100644 kdejava/koala/org/kde/koala/NetAccess.java delete mode 100644 kdejava/koala/org/kde/koala/Node.java delete mode 100644 kdejava/koala/org/kde/koala/NodeFilter.java delete mode 100644 kdejava/koala/org/kde/koala/NodeIterator.java delete mode 100644 kdejava/koala/org/kde/koala/Notation.java delete mode 100644 kdejava/koala/org/kde/koala/Observer.java delete mode 100644 kdejava/koala/org/kde/koala/OpenURLEvent.java delete mode 100644 kdejava/koala/org/kde/koala/Part.java delete mode 100644 kdejava/koala/org/kde/koala/PartActivateEvent.java delete mode 100644 kdejava/koala/org/kde/koala/PartBase.java delete mode 100644 kdejava/koala/org/kde/koala/PartBaseInterface.java delete mode 100644 kdejava/koala/org/kde/koala/PartManager.java delete mode 100644 kdejava/koala/org/kde/koala/PartManagerSignals.java delete mode 100644 kdejava/koala/org/kde/koala/PartSelectEvent.java delete mode 100644 kdejava/koala/org/kde/koala/PartSignals.java delete mode 100644 kdejava/koala/org/kde/koala/PasswordDialog.java delete mode 100644 kdejava/koala/org/kde/koala/Plugin.java delete mode 100644 kdejava/koala/org/kde/koala/PreviewJob.java delete mode 100644 kdejava/koala/org/kde/koala/PreviewJobSignals.java delete mode 100644 kdejava/koala/org/kde/koala/ProcessingInstruction.java delete mode 100644 kdejava/koala/org/kde/koala/ProgressBase.java delete mode 100644 kdejava/koala/org/kde/koala/ProgressBaseSignals.java delete mode 100644 kdejava/koala/org/kde/koala/RGBColor.java delete mode 100644 kdejava/koala/org/kde/koala/Range.java delete mode 100644 kdejava/koala/org/kde/koala/RangeException.java delete mode 100644 kdejava/koala/org/kde/koala/ReadOnlyPart.java delete mode 100644 kdejava/koala/org/kde/koala/ReadOnlyPartSignals.java delete mode 100644 kdejava/koala/org/kde/koala/ReadWritePart.java delete mode 100644 kdejava/koala/org/kde/koala/ReadWritePartSignals.java delete mode 100644 kdejava/koala/org/kde/koala/Rect.java delete mode 100644 kdejava/koala/org/kde/koala/RenameDlg.java delete mode 100644 kdejava/koala/org/kde/koala/Scheduler.java delete mode 100644 kdejava/koala/org/kde/koala/SchedulerSignals.java delete mode 100644 kdejava/koala/org/kde/koala/SessionData.java delete mode 100644 kdejava/koala/org/kde/koala/SimpleJob.java delete mode 100644 kdejava/koala/org/kde/koala/SkipDlg.java delete mode 100644 kdejava/koala/org/kde/koala/SkipDlgSignals.java delete mode 100644 kdejava/koala/org/kde/koala/Slave.java delete mode 100644 kdejava/koala/org/kde/koala/SlaveBase.java delete mode 100644 kdejava/koala/org/kde/koala/SlaveConfigSignals.java delete mode 100644 kdejava/koala/org/kde/koala/SlaveInterface.java delete mode 100644 kdejava/koala/org/kde/koala/SlaveInterfaceSignals.java delete mode 100644 kdejava/koala/org/kde/koala/SlaveSignals.java delete mode 100644 kdejava/koala/org/kde/koala/StatJob.java delete mode 100644 kdejava/koala/org/kde/koala/StatJobSignals.java delete mode 100644 kdejava/koala/org/kde/koala/StatusBarExtension.java delete mode 100644 kdejava/koala/org/kde/koala/StatusbarProgress.java delete mode 100644 kdejava/koala/org/kde/koala/StoredTransferJob.java delete mode 100644 kdejava/koala/org/kde/koala/StyleSheet.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutApplication.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutContainer.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutContainerSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutContributor.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutContributorSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutData.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutDialog.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutDialogSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutKDE.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutPerson.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutTranslator.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutWidget.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAboutWidgetSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAccel.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAccelAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAccelActions.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAccelShortcutList.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAccelSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDEActionCollection.java delete mode 100644 kdejava/koala/org/kde/koala/TDEActionCollectionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEActionMenu.java delete mode 100644 kdejava/koala/org/kde/koala/TDEActionSeparator.java delete mode 100644 kdejava/koala/org/kde/koala/TDEActionShortcutList.java delete mode 100644 kdejava/koala/org/kde/koala/TDEActionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEApplication.java delete mode 100644 kdejava/koala/org/kde/koala/TDEApplicationSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEBufferedIO.java delete mode 100644 kdejava/koala/org/kde/koala/TDEBufferedIOSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDECModule.java delete mode 100644 kdejava/koala/org/kde/koala/TDECModuleInfo.java delete mode 100644 kdejava/koala/org/kde/koala/TDECModuleLoader.java delete mode 100644 kdejava/koala/org/kde/koala/TDECModuleSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDECmdLineArgs.java delete mode 100644 kdejava/koala/org/kde/koala/TDECompletion.java delete mode 100644 kdejava/koala/org/kde/koala/TDECompletionBase.java delete mode 100644 kdejava/koala/org/kde/koala/TDECompletionBaseInterface.java delete mode 100644 kdejava/koala/org/kde/koala/TDECompletionBox.java delete mode 100644 kdejava/koala/org/kde/koala/TDECompletionBoxSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDECompletionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEConfig.java delete mode 100644 kdejava/koala/org/kde/koala/TDEConfigBackEnd.java delete mode 100644 kdejava/koala/org/kde/koala/TDEConfigBase.java delete mode 100644 kdejava/koala/org/kde/koala/TDEConfigGroup.java delete mode 100644 kdejava/koala/org/kde/koala/TDEConfigGroupSaver.java delete mode 100644 kdejava/koala/org/kde/koala/TDEConfigINIBackEnd.java delete mode 100644 kdejava/koala/org/kde/koala/TDEFontAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDEFontChooser.java delete mode 100644 kdejava/koala/org/kde/koala/TDEFontChooserSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEFontCombo.java delete mode 100644 kdejava/koala/org/kde/koala/TDEFontDialog.java delete mode 100644 kdejava/koala/org/kde/koala/TDEFontDialogSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEFontRequester.java delete mode 100644 kdejava/koala/org/kde/koala/TDEFontRequesterSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEFontSizeAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDEFontSizeActionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEGlobal.java delete mode 100644 kdejava/koala/org/kde/koala/TDEGlobalAccel.java delete mode 100644 kdejava/koala/org/kde/koala/TDEGlobalSettings.java delete mode 100644 kdejava/koala/org/kde/koala/TDEHTMLPart.java delete mode 100644 kdejava/koala/org/kde/koala/TDEHTMLPartSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEHTMLSettings.java delete mode 100644 kdejava/koala/org/kde/koala/TDEHTMLView.java delete mode 100644 kdejava/koala/org/kde/koala/TDEHTMLViewSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIO.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIconButton.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIconButtonSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIconCanvas.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIconCanvasSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIconDialog.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIconDialogSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIconEffect.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIconLoader.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIconView.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIconViewItem.java delete mode 100644 kdejava/koala/org/kde/koala/TDEIconViewSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEInstance.java delete mode 100644 kdejava/koala/org/kde/koala/TDEInstanceInterface.java delete mode 100644 kdejava/koala/org/kde/koala/TDEListAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDEListBox.java delete mode 100644 kdejava/koala/org/kde/koala/TDEListBoxSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEListView.java delete mode 100644 kdejava/koala/org/kde/koala/TDEListViewItem.java delete mode 100644 kdejava/koala/org/kde/koala/TDEListViewSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDELocale.java delete mode 100644 kdejava/koala/org/kde/koala/TDEMainWindow.java delete mode 100644 kdejava/koala/org/kde/koala/TDEPasteTextAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDEPopupFrame.java delete mode 100644 kdejava/koala/org/kde/koala/TDEPopupMenu.java delete mode 100644 kdejava/koala/org/kde/koala/TDEPopupMenuSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEPopupTitle.java delete mode 100644 kdejava/koala/org/kde/koala/TDEProcess.java delete mode 100644 kdejava/koala/org/kde/koala/TDEProcessController.java delete mode 100644 kdejava/koala/org/kde/koala/TDEProcessRunner.java delete mode 100644 kdejava/koala/org/kde/koala/TDEProcessSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDERadioAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDERecentDocument.java delete mode 100644 kdejava/koala/org/kde/koala/TDERecentFilesAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDERecentFilesActionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDESelectAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDESelectActionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDESelector.java delete mode 100644 kdejava/koala/org/kde/koala/TDESelectorSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEShared.java delete mode 100644 kdejava/koala/org/kde/koala/TDESharedConfig.java delete mode 100644 kdejava/koala/org/kde/koala/TDEShortcut.java delete mode 100644 kdejava/koala/org/kde/koala/TDEShortcutList.java delete mode 100644 kdejava/koala/org/kde/koala/TDEStandardDirs.java delete mode 100644 kdejava/koala/org/kde/koala/TDEStdAccel.java delete mode 100644 kdejava/koala/org/kde/koala/TDEToggleAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDEToggleActionSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEToggleFullScreenAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDEToggleToolBarAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDEToolBar.java delete mode 100644 kdejava/koala/org/kde/koala/TDEToolBarButton.java delete mode 100644 kdejava/koala/org/kde/koala/TDEToolBarButtonSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDEToolBarPopupAction.java delete mode 100644 kdejava/koala/org/kde/koala/TDEToolBarRadioGroup.java delete mode 100644 kdejava/koala/org/kde/koala/TDEToolBarSeparator.java delete mode 100644 kdejava/koala/org/kde/koala/TDEToolBarSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TDETrader.java delete mode 100644 kdejava/koala/org/kde/koala/Text.java delete mode 100644 kdejava/koala/org/kde/koala/TextEvent.java delete mode 100644 kdejava/koala/org/kde/koala/TransferJob.java delete mode 100644 kdejava/koala/org/kde/koala/TransferJobSignals.java delete mode 100644 kdejava/koala/org/kde/koala/TreeWalker.java delete mode 100644 kdejava/koala/org/kde/koala/UIEvent.java delete mode 100644 kdejava/koala/org/kde/koala/URLArgs.java delete mode 100644 kdejava/koala/org/kde/koala/WindowArgs.java delete mode 100644 kdejava/koala/org/kde/koala/kdejava.java delete mode 100644 kdejava/koala/test/dcop/JavaDCOPObject.java delete mode 100644 kdejava/koala/test/dcop/README delete mode 100644 kdejava/koala/test/dcop/Test.java delete mode 100644 kdejava/koala/test/kbase/KBase.java delete mode 100644 kdejava/koala/test/kbase/KBaseDoc.java delete mode 100644 kdejava/koala/test/kbase/KBaseView.java delete mode 100644 kdejava/koala/test/kbase/kbase.desktop delete mode 100644 kdejava/koala/test/kbase/kbaseui.rc delete mode 100644 kdejava/koala/test/kblend/KBlendTest.java delete mode 100644 kdejava/koala/test/kblend/testimage.png delete mode 100644 kdejava/koala/test/kcharselect/KCharSelectTest.java delete mode 100644 kdejava/koala/test/kcombobox/KComboBoxTest.java delete mode 100644 kdejava/koala/test/kdatepicker/KDatePickTest.java delete mode 100644 kdejava/koala/test/khelpers/KHelpers.java delete mode 100644 kdejava/koala/test/khelpers/Main.java delete mode 100644 kdejava/koala/test/kmenu/KdeMenuSample.java delete mode 100644 kdejava/koala/test/kprogress/KProgressTest.java delete mode 100644 kdejava/koala/test/ksystemtray/Test.java delete mode 100644 kdejava/koala/test/simplebrowser/KSimpleBrowser.java delete mode 100644 kdejava/koala/test/simplebrowser/Main.java delete mode 100644 kdejava/koala/test/tdefontdialog/TDEFontDialogTest.java delete mode 100644 kdejava/koala/test/tdeioslave/KioslaveTest.java (limited to 'kdejava/koala') diff --git a/kdejava/koala/Makefile.am b/kdejava/koala/Makefile.am deleted file mode 100644 index 2122d2fb..00000000 --- a/kdejava/koala/Makefile.am +++ /dev/null @@ -1,51 +0,0 @@ -####### tdevelop will overwrite this part!!! (begin)########## -noinst_PROGRAMS = koala - -## INCLUDES were found outside tdevelop specific part - -koala_SOURCES = main.cpp -koala_LDADD = ./kdejava/libkdejava.la ../../qtjava/javalib/qtjava/libqtjava.la $(LIB_TDESPELL) -ltdeparts $(LIB_TDEIO) -lXext -lX11 $(LIBSOCKET) - -SUBDIRS = org kdejava - -EXTRA_DIST = main.cpp - -####### tdevelop will overwrite this part!!! (end)############ -# this 10 paths are KDE specific. Use them: -# kde_htmldir Where your docs should go to. (contains lang subdirs) -# kde_appsdir Where your application file (.kdelnk) should go to. -# kde_icondir Where your icon should go to. -# kde_minidir Where your mini icon should go to. -# kde_datadir Where you install application data. (Use a subdir) -# kde_locale Where translation files should go to.(contains lang subdirs) -# kde_cgidir Where cgi-bin executables should go to. -# kde_confdir Where config files should go to. -# kde_mimedir Where mimetypes should go to. -# kde_toolbardir Where general toolbar icons should go to. -# kde_wallpaperdir Where general wallpapers should go to. - -data_DATA = koala.jar -datadir = $(kde_libraries)/java - -koala.jar: org/kde/koala/classnoinst.stamp - $(JAR) cf koala.jar org/kde/koala/*.class - -# set the include path for X, qt and KDE -INCLUDES= $(all_includes) - -koala_METASOURCES = AUTO - -# the library search path. -koala_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor - -# them while "make clean", use CLEANFILES -CLEANFILES = koala.jar - -# make messages.po. Move this one to ../po/ and "make merge" in po -# the -x is for skipping messages already translated in tdelibs -messages: - LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \ - if test -n "$$LIST"; then \ - $(XGETTEXT) -C -ki18n -x $(kde_includes)/kde.pot $$LIST -o ../po/koala.pot; \ - fi - diff --git a/kdejava/koala/examples/kscribble/KPenBrushDlg.java b/kdejava/koala/examples/kscribble/KPenBrushDlg.java deleted file mode 100644 index a1fb0502..00000000 --- a/kdejava/koala/examples/kscribble/KPenBrushDlg.java +++ /dev/null @@ -1,82 +0,0 @@ -import java.util.*; - -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * The base class for JavaApiTest application windows. It sets up the main - * window and reads the config file as well as providing a menubar, toolbar - * and statusbar. An instance of KBaseView creates your center view, which is connected - * to the window's Doc object. - * KBase reimplements the methods that TDEMainWindow provides for main window handling and supports - * full session management as well as using TDEActions. - * @see TDEMainWindow - * @see TDEApplication - * @see TDEConfig - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 1.2 code generation - */ -public class KPenBrushDlg extends TQDialog { - - private TQSpinBox width_spbox; - private TQLabel width_label; - private TQPushButton default_btn; - private TQPushButton ok_btn; - private TQPushButton cancel_btn; - - public KPenBrushDlg(int curr, TQWidget parent, String name) { - super (parent,name,true,WStyle_ContextHelp); - initDialog(); - TQWhatsThis.add(width_spbox,i18n("Select brush width")); - - width_spbox.setValue(curr); - connect(default_btn, SIGNAL("clicked()"), this, SLOT("slotDefault()")); - connect(ok_btn, SIGNAL("clicked()"), this, SLOT("accept()")); - connect(cancel_btn, SIGNAL("clicked()"), this, SLOT("reject()")); - - - } - - int getPenWidth() { - return width_spbox.value(); - }; - - void initDialog(){ - this.resize(370,210); - this.setMinimumSize(0,0); - width_spbox= new TQSpinBox(this,"width_spbox"); - width_spbox.setGeometry(150,50,100,25); - width_spbox.setMinimumSize(0,0); - width_spbox.setValue(1); - width_spbox.setRange(1,99); - - width_label= new TQLabel(this,"width_label"); - width_label.setGeometry(20,50,120,25); - width_label.setMinimumSize(0,0); - width_label.setText(i18n("Pen width:")); - - default_btn= new TQPushButton(this,"default"); - default_btn.setGeometry(30,160,100,30); - default_btn.setMinimumSize(0,0); - default_btn.setText(i18n("&Default")); - default_btn.setAutoDefault(true); - - ok_btn= new TQPushButton(this,"ok"); - ok_btn.setGeometry(140,160,100,30); - ok_btn.setMinimumSize(0,0); - ok_btn.setText(i18n("&OK")); - ok_btn.setAutoDefault(true); - - cancel_btn= new TQPushButton(this,"cancel"); - cancel_btn.setGeometry(250,160,100,30); - cancel_btn.setMinimumSize(0,0); - cancel_btn.setText(i18n("&Cancel")); - cancel_btn.setAutoDefault(true); - - } - - void slotDefault(){ - width_spbox.setValue(3); - } -} diff --git a/kdejava/koala/examples/kscribble/KScribbleApp.java b/kdejava/koala/examples/kscribble/KScribbleApp.java deleted file mode 100644 index 00be368e..00000000 --- a/kdejava/koala/examples/kscribble/KScribbleApp.java +++ /dev/null @@ -1,1039 +0,0 @@ -import java.util.*; -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * The base class for KScribble application windows. It sets up the main - * window and reads the config file as well as providing a menubar, toolbar - * and statusbar. In initView(), your main view is created as the MDI child window manager. - * Child windows are created in createClient(), which gets a document instance as it's document to - * display whereby one document can have several views.The MDI child is an instance of KScribbleView, - * the document an instance of KScribbleDoc. - * KScribbleApp reimplements the methods that TDEMainWindow provides for main window handling and supports - * full session management as well as keyboard accelerator configuration by using TDEAccel. - * @see TDEMainWindow - * @see TDEApplication - * @see TDEConfig - * @see TDEAccel - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 1.1 code generation - */ -public class KScribbleApp extends TDEMainWindow implements Resource { - - /** the configuration object of the application */ - private TDEConfig config; - /** view is the main widget which represents your working area. The View - * class should handle all events of the view widget. It is kept empty so - * you can create your view according to your application's needs by - * changing the view class. - */ - private KScribbleView view; - /** doc represents your actual document and is created only once. It keeps - * information such as filename and does the serialization of your files. - */ - private KScribbleDoc doc; - - /** contains the recently used filenames */ - ArrayList recentFiles = null; - - // menus - private TQPopupMenu pFileMenu; - private TQPopupMenu pEditMenu; - private TQPopupMenu pPenMenu; - private TQPopupMenu pViewMenu; - private TQPopupMenu pWindowMenu; - private TQPopupMenu pHelpMenu; - private TQPopupMenu pRecentFileMenu; - - private TQWorkspace pWorkspace; - private TQPrinter printer; - private int untitledCount = 0; - private ArrayList pDocList; - private TDEApplication kapp; - private TDEIconLoader k = new TDEIconLoader(); - - /** construtor of KScribbleApp, calls all init functions to create the application. - */ - public KScribbleApp(TQWidget parent, String name) { - super(parent,name, 0); - kapp = TDEApplication.kApplication(); - config=kapp.config(); - - printer = new TQPrinter(); - untitledCount=0; - pDocList = new ArrayList(); - setAcceptDrops(true); - /////////////////////////////////////////////////////////////////// - // call inits to invoke all other construction parts - initMenuBar(); - initToolBar(); - initStatusBar(); - initKeyAccel(); - initView(); - - readOptions(); - - /////////////////////////////////////////////////////////////////// - // disable menu and toolbar items at startup - disableCommand(ID_EDIT_UNDO); - - } - - public KScribbleApp() { - this(null, null); - } - - /** initializes the TDEActions of the application */ - protected void initKeyAccel() { - - TDEAccel keyAccel = new TDEAccel(this); - - // fileMenu accelerators - keyAccel.insert(TDEStdAccel.New, this, SLOT("slotFileNew()")); - keyAccel.insert(TDEStdAccel.Open, this, SLOT("slotFileOpen()")); - keyAccel.insert(TDEStdAccel.Save, this, SLOT("slotFileSave()")); - keyAccel.insert(TDEStdAccel.Close, this, SLOT("slotFileClose()")); - keyAccel.insert(TDEStdAccel.Print, this, SLOT("slotFilePrint()")); - keyAccel.insert(TDEStdAccel.Quit, this, SLOT("slotFileQuit()")); - - // editMenu accelerators - keyAccel.insert(TDEStdAccel.Cut, this, SLOT("slotEditCut()")); - keyAccel.insert(TDEStdAccel.Copy, this, SLOT("slotEditCopy()")); - keyAccel.insert(TDEStdAccel.Paste, this, SLOT("slotEditPaste()")); - - // help accelerator - keyAccel.insert(TDEStdAccel.Help, this, SLOT("appHelpActivated()")); - - keyAccel.readSettings(); - - } - - - void initMenuBar() { - /////////////////////////////////////////////////////////////////// - // MENUBAR - - pRecentFileMenu = new TQPopupMenu(this); - connect(pRecentFileMenu, SIGNAL("activated(int)"), SLOT("slotFileOpenRecent(int)")); - - - /////////////////////////////////////////////////////////////////// - // menuBar entry file-Menu - pFileMenu = new TQPopupMenu(this); - - - pFileMenu.insertItem(KDE.BarIconSet("filenew"),i18n("&New"), ID_FILE_NEW,-1); - pFileMenu.insertItem(KDE.BarIconSet("fileopen"),i18n("&Open..."), ID_FILE_OPEN,-1); - pFileMenu.insertItem(i18n("Open &recent"), pRecentFileMenu, ID_FILE_OPEN_RECENT,-1); - - pFileMenu.insertItem(i18n("&Close"), ID_FILE_CLOSE,-1); - pFileMenu.insertSeparator(); - pFileMenu.insertItem(KDE.BarIconSet("filefloppy") ,i18n("&Save"), ID_FILE_SAVE,-1); - pFileMenu.insertItem(i18n("Save &As..."), ID_FILE_SAVE_AS,-1); - pFileMenu.insertSeparator(); - pFileMenu.insertItem(KDE.BarIconSet("fileprint"), i18n("&Print..."), ID_FILE_PRINT,-1); - pFileMenu.insertSeparator(); - pFileMenu.insertItem(i18n("E&xit"), ID_FILE_QUIT,-1); - - /////////////////////////////////////////////////////////////////// - // menuBar entry edit-Menu - pEditMenu = new TQPopupMenu(this); - pEditMenu.insertItem(KDE.BarIconSet("undo"), i18n("&Undo"), ID_EDIT_UNDO,-1); - pEditMenu.insertSeparator(); - pEditMenu.insertItem(KDE.BarIconSet("editcut"), i18n("Cu&t"), ID_EDIT_CUT,-1); - pEditMenu.insertItem(KDE.BarIconSet("editcopy"), i18n("&Copy"), ID_EDIT_COPY,-1); - pEditMenu.insertItem(KDE.BarIconSet("editpaste"), i18n("&Paste"), ID_EDIT_PASTE,-1); - pEditMenu.insertItem(KDE.BarIconSet("delete"),i18n("&Clear All"), ID_EDIT_CLEAR_ALL,-1); - - /////////////////////////////////////////////////////////////////// - // menuBar entry pen-Menu - pPenMenu = new TQPopupMenu(); - pPenMenu.insertItem(i18n("&Color"), ID_PEN_COLOR,-1); - pPenMenu.insertItem(i18n("&Brush"), ID_PEN_BRUSH,-1); - - /////////////////////////////////////////////////////////////////// - // menuBar entry view-Menu - pViewMenu = new TQPopupMenu(this); - pViewMenu.setCheckable(true); - pViewMenu.insertItem(i18n("&Toolbar"), ID_VIEW_TOOLBAR,-1); - pViewMenu.insertItem(i18n("&Statusbar"), ID_VIEW_STATUSBAR,-1); - - /////////////////////////////////////////////////////////////////// - // menuBar entry window-Menu - pWindowMenu = new TQPopupMenu(this); - pWindowMenu.setCheckable(true); - - - /////////////////////////////////////////////////////////////////// - // menuBar entry helpMenu - - TQPopupMenu pHelpMenu = helpMenu(i18n("Java KScribble " + Main.VERSION + "\n\n(c) 2002 by\n" + - "Ralf Nolden\nRalf.Nolden@post.rwth-aachen.de"),true); - - /////////////////////////////////////////////////////////////////// - // MENUBAR CONFIGURATION - // insert your popup menus with the according menubar entries in the order - // they will appear later from left to right - menuBar().insertItem(i18n("&File"), pFileMenu); - menuBar().insertItem(i18n("&Edit"), pEditMenu); - menuBar().insertItem(i18n("&Pen"), pPenMenu); - menuBar().insertItem(i18n("&View"), pViewMenu); - menuBar().insertItem(i18n("&Window"), pWindowMenu ); - menuBar().insertItem(i18n("&Help"), pHelpMenu); - - /////////////////////////////////////////////////////////////////// - // CONNECT THE MENU SLOTS WITH SIGNALS - // for execution slots and statusbar messages - connect(pFileMenu, SIGNAL("activated(int)"), SLOT("commandCallback(int)")); - connect(pFileMenu, SIGNAL("highlighted(int)"), SLOT("statusCallback(int)")); - - connect(pEditMenu, SIGNAL("activated(int)"), SLOT("commandCallback(int)")); - connect(pEditMenu, SIGNAL("highlighted(int)"), SLOT("statusCallback(int)")); - - connect(pPenMenu, SIGNAL("activated(int)"), SLOT("commandCallback(int)")); - connect(pPenMenu, SIGNAL("highlighted(int)"), SLOT("statusCallback(int)")); - - connect(pViewMenu, SIGNAL("activated(int)"), SLOT("commandCallback(int)")); - connect(pViewMenu, SIGNAL("highlighted(int)"), SLOT("statusCallback(int)")); - - connect(pWindowMenu, SIGNAL("aboutToShow()" ), SLOT( "windowMenuAboutToShow()" ) ); - connect(pWindowMenu, SIGNAL("activated(int)"), SLOT("commandCallback(int)")); - connect(pWindowMenu, SIGNAL("highlighted(int)"), SLOT("statusCallback(int)")); - - } - - - private void initToolBar() { - - /////////////////////////////////////////////////////////////////// - // TOOLBAR - - toolBar().insertButton(KDE.BarIcon("filenew"), ID_FILE_NEW, true, i18n("New File"),-1); - toolBar().insertButton(KDE.BarIcon("fileopen"), ID_FILE_OPEN, true, i18n("Open File"),-1); - toolBar().insertButton(KDE.BarIcon("filefloppy"), ID_FILE_SAVE, true, i18n("Save File"),-1); - toolBar().insertButton(KDE.BarIcon("fileprint"), ID_FILE_PRINT, true, i18n("Print"),-1); - toolBar().insertSeparator(); - toolBar().insertButton(KDE.BarIcon("editcut"), ID_EDIT_CUT, true, i18n("Cut"),-1); - toolBar().insertButton(KDE.BarIcon("editcopy"), ID_EDIT_COPY, true, i18n("Copy"),-1); - toolBar().insertButton(KDE.BarIcon("editpaste"), ID_EDIT_PASTE, true, i18n("Paste"),-1); - toolBar().insertSeparator(); - toolBar().insertButton(KDE.BarIcon("pencolor"), ID_PEN_COLOR, true, i18n("Color"),-1 ); - toolBar().insertButton(KDE.BarIcon("penwidth"), ID_PEN_BRUSH, true, i18n("Width"),-1 ); - toolBar().insertSeparator(); - toolBar().insertButton(KDE.BarIcon("help"), ID_HELP_CONTENTS, SIGNAL("clicked()"), - this, SLOT("appHelpActivated()"), true,i18n("Help"),-1); - - TQToolButton btnwhat = TQWhatsThis.whatsThisButton(toolBar()); - TQToolTip.add(btnwhat, i18n("What's this...?")); - toolBar().insertWidget(ID_HELP_WHATS_THIS, btnwhat.sizeHint().width(), btnwhat); - - /////////////////////////////////////////////////////////////////// - // INSERT YOUR APPLICATION SPECIFIC TOOLBARS HERE WITH toolBar(n) - - - /////////////////////////////////////////////////////////////////// - // CONNECT THE TOOLBAR SLOTS WITH SIGNALS - add new created toolbars by their according number - // connect for invoking the slot actions - connect(toolBar(), SIGNAL("clicked(int)"), SLOT("commandCallback(int)")); - // connect for the status help on holing icons pressed with the mouse button - connect(toolBar(), SIGNAL("pressed(int)"), SLOT("statusCallback(int)")); - - } - - - /** sets up the kstatusBar for the main window by initialzing a statuslabel. - */ - protected void initStatusBar() { - /////////////////////////////////////////////////////////////////// - // STATUSBAR - // TODO: add your own items you need for displaying current application status. - kstatusBar().insertItem(i18n("Ready."), ID_STATUS_MSG); - } - - /** creates the centerwidget of the KTMainWindow instance and sets it as the view - */ - protected void initView() { - - //////////////////////////////////////////////////////////////////// - // here the main view of the KTMainWindow is created by a background box and - // the TQWorkspace instance for MDI view. - TQVBox view_back = new TQVBox( this ); - view_back.setFrameStyle( TQFrame.StyledPanel | TQFrame.Sunken ); - pWorkspace = new TQWorkspace( view_back, "" ); - connect(pWorkspace, SIGNAL("windowActivated(TQWidget)"), this, SLOT("setWndTitle(TQWidget)")); -// setView(view_back); - setCentralWidget(view_back); - } - - void createClient(KScribbleDoc doc) { - KScribbleView w = new KScribbleView(doc, pWorkspace,null,WDestructiveClose); - w.installEventFilter(this); - doc.addView(w); - w.setIcon(kapp.miniIcon()); - if ( pWorkspace.windowList().isEmpty() ) // show the very first window in maximized mode - w.showMaximized(); - else - w.show(); - } - - void addRecentFile(String file) { - - - if(recentFiles != null && recentFiles.contains(file)) - return; // it's already there - - if( recentFiles.size() < 5) - recentFiles.add(0,file); - else{ - recentFiles.remove(recentFiles.remove(recentFiles.size()-1)); - recentFiles.add(0,file); - } - - pRecentFileMenu.clear(); - - Iterator it = recentFiles.iterator(); - while (it.hasNext()) { - pRecentFileMenu.insertItem((String)it.next()); - } - - } - - /** opens a file specified by commandline option - */ - public void openDocumentFile(KURL url) { - slotStatusMsg(i18n("Opening file...")); - - KScribbleDoc doc; - String file = url.directory(false,true) + url.fileName(); - - Iterator it = pDocList.iterator(); - - while (it.hasNext()) { - - doc = (KScribbleDoc)it.next(); - // check, if document already open. If yes, set the focus to the first view - if(doc.pathName().equals(file)) { - - KScribbleView view=doc.firstView(); - view.setFocus(); - return; - } - } - doc = new KScribbleDoc(); - pDocList.add(doc); - doc.newDocument(); - // Creates an untitled window if file is 0 - if(file == null || file.length() == 0) { - untitledCount+=1; - String fileName= i18n("Untitled" +untitledCount); - doc.setPathName(fileName); - doc.setTitle(fileName); - } - // Open the file - else { - - String format= TQImageIO.imageFormat(file); - if(!doc.openDocument(file,format)) - KMessageBox.error (this,i18n("Could not open document !"), i18n("Error !"),KMessageBox.Notify); - addRecentFile(file); - } - // create the window - createClient(doc); - slotStatusMsg(i18n("Ready.")); - - } - - - public void openDocumentFile() { - openDocumentFile(new KURL()); - return; - } - - void windowMenuAboutToShow() { - pWindowMenu.clear(); - - pWindowMenu.insertItem(i18n("&New Window"), ID_WINDOW_NEW_WINDOW); - pWindowMenu.insertItem(i18n("&Cascade"), - pWorkspace, SLOT("cascade()" ),new TQKeySequence(0) , ID_WINDOW_CASCADE ); - pWindowMenu.insertItem(i18n("&Tile"), - pWorkspace, SLOT("tile()" ),new TQKeySequence(0) , ID_WINDOW_TILE ); - - if ( pWorkspace.windowList().isEmpty() ) { - - disableCommand(ID_WINDOW_NEW_WINDOW); - disableCommand(ID_WINDOW_CASCADE); - disableCommand(ID_WINDOW_TILE); - } - - pWindowMenu.insertSeparator(); - - ArrayList windows = pWorkspace.windowList(); - - for ( int i = 0; i < windows.size(); ++i ) { - int id = pWindowMenu.insertItem((i+1)+ ((TQWidget)windows.get(i)).caption(), - this, SLOT( "windowMenuActivated( int )" ) ); - pWindowMenu.setItemParameter( id, i ); - pWindowMenu.setItemChecked( id, pWorkspace.activeWindow() == (TQWidget)windows.get(i) ); - } - } - - void windowMenuActivated( int id ) { - TQWidget w = (TQWidget)pWorkspace.windowList().get( id ); - if ( w != null ) - w.setFocus(); - } - - void setWndTitle(TQWidget qw){ - setCaption(pWorkspace.activeWindow() != null ? pWorkspace.activeWindow().caption() : ""); - } - - void enableCommand(int id_) { - /////////////////////////////////////////////////////////////////// - // enable menu and toolbar functions by their ID's - menuBar().setItemEnabled(id_, true); - toolBar().setItemEnabled(id_, true); - } - - void disableCommand(int id_) { - /////////////////////////////////////////////////////////////////// - // disable menu and toolbar functions by their ID's - menuBar().setItemEnabled(id_, false); - toolBar().setItemEnabled(id_, false); - } - - void commandCallback(int id_) { - switch (id_) { - case ID_FILE_NEW: - slotFileNew(); - break; - - case ID_FILE_OPEN: - slotFileOpen(); - break; - - case ID_FILE_SAVE: - slotFileSave(); - break; - - case ID_FILE_SAVE_AS: - slotFileSaveAs(); - break; - - case ID_FILE_CLOSE: - slotFileClose(); - break; - - case ID_FILE_PRINT: - slotFilePrint(); - break; - - case ID_FILE_QUIT: - slotFileQuit(); - break; - - case ID_EDIT_CUT: - slotEditCut(); - break; - - case ID_EDIT_COPY: - slotEditCopy(); - break; - - case ID_EDIT_PASTE: - slotEditPaste(); - break; - - case ID_EDIT_CLEAR_ALL: - slotEditClearAll(); - break; - - case ID_PEN_BRUSH: - slotPenBrush(); - break; - - case ID_PEN_COLOR: - slotPenColor(); - break; - - case ID_VIEW_TOOLBAR: - slotViewToolBar(); - break; - - case ID_VIEW_STATUSBAR: - slotViewStatusBar(); - break; - - case ID_WINDOW_NEW_WINDOW: - slotWindowNewWindow(); - break; - - default: - break; - } - } - - void statusCallback(int id_) { - switch (id_) { - case ID_FILE_NEW: - slotStatusHelpMsg(i18n("Creates a new document")); - break; - - case ID_FILE_OPEN: - slotStatusHelpMsg(i18n("Opens an existing document")); - break; - - case ID_FILE_OPEN_RECENT: - slotStatusHelpMsg(i18n("Opens a recently used file")); - break; - - case ID_FILE_SAVE: - slotStatusHelpMsg(i18n("Saves the currently active document")); - break; - - case ID_FILE_SAVE_AS: - slotStatusHelpMsg(i18n("Saves the currently active document as under a new filename")); - break; - - case ID_FILE_CLOSE: - slotStatusHelpMsg(i18n("Closes the currently active document")); - break; - - case ID_FILE_PRINT: - slotStatusHelpMsg(i18n("Prints out the actual document")); - break; - - case ID_FILE_QUIT: - slotStatusHelpMsg(i18n("Quits the application")); - break; - - case ID_EDIT_UNDO: - slotStatusHelpMsg(i18n("Reverts the last editing action")); - break; - - case ID_EDIT_CUT: - slotStatusHelpMsg(i18n("Cuts the selected section and puts it to the clipboard")); - break; - - case ID_EDIT_COPY: - slotStatusHelpMsg(i18n("Copies the selected section to the clipboard")); - break; - - case ID_EDIT_PASTE: - slotStatusHelpMsg(i18n("Pastes the clipboard contents to actual position")); - break; - - case ID_EDIT_CLEAR_ALL: - slotStatusHelpMsg(i18n("Clears the document contents")); - break; - - case ID_PEN_BRUSH: - slotStatusHelpMsg(i18n("Sets the pen width")); - break; - - case ID_PEN_COLOR: - slotStatusHelpMsg(i18n("Sets the current pen color")); - break; - - case ID_VIEW_TOOLBAR: - slotStatusHelpMsg(i18n("Enables/disables the toolbar")); - break; - - case ID_VIEW_STATUSBAR: - slotStatusHelpMsg(i18n("Enables/disables the statusbar")); - break; - - case ID_WINDOW_NEW_WINDOW: - slotStatusHelpMsg(i18n("Opens a new view for the current document")); - break; - - case ID_WINDOW_CASCADE: - slotStatusHelpMsg(i18n("Cascades all windows")); - break; - - case ID_WINDOW_TILE: - slotStatusHelpMsg(i18n("Tiles all windows")); - break; - - default: - break; - } - } - - void slotStatusHelpMsg(String text) { - /////////////////////////////////////////////////////////////////// - // change status message of whole statusbar temporary (text, msec) - statusBar().message(text, 2000); - } - - - /** returns a pointer to the current document connected to the KTMainWindow instance and is used by - * the View class to access the document object's methods - */ - public KScribbleDoc getDocument() { - return doc; - } - - /** save general Options like all bar positions and status as well as the geometry and the recent file list to the configuration - * file - */ - protected void saveOptions() { - config.setGroup("General Options"); - config.writeEntry("Geometry", size()); - config.writeEntry("Show Toolbar", toolBar().isVisible()); - config.writeEntry("Show Statusbar",statusBar().isVisible()); - config.writeEntry("ToolBarPos", (int) toolBar().barPos()); - String[] rf = new String[recentFiles.size()]; - rf = (String[]) recentFiles.toArray(rf); - if (rf != null) - config.writeEntry("Recent Files", rf); - } - - - - /** read general Options again and initialize all variables like the recent file list - */ - private void readOptions() { - - config.setGroup("General Options"); - - // bar status settings - boolean bViewToolbar = config.readBoolEntry("Show Toolbar", true); - menuBar().setItemChecked(ID_VIEW_TOOLBAR, bViewToolbar); - if(!bViewToolbar) { - toolBar("mainToolBar").hide(); - } - - boolean bViewStatusbar = config.readBoolEntry("Show Statusbar", true); - menuBar().setItemChecked(ID_VIEW_STATUSBAR, bViewStatusbar); - if(!bViewStatusbar) { - toolBar("mainToolBar").hide(); - } - - // bar position settings - int toolBarPos = TDEToolBar.Top; - toolBarPos = config.readUnsignedNumEntry("ToolBarPos", TDEToolBar.Top); - toolBar().setBarPos(toolBarPos); - - // initialize the recent file list - // commented out until fix is applied. - recentFiles = config.readListEntry("Recent Files"); - Iterator it = recentFiles.iterator(); - while (it.hasNext()) { - pRecentFileMenu.insertItem((String) it.next()); - } - - // Read the size information and resize from settings. - TQSize size = new TQSize(); - config.readSizeEntry("Geometry",size); - if(!size.isEmpty()) { - resize(size); - } - else - resize(400,350); - - } - - /** saves the window properties for each open window during session end to the session config file, including saving the currently - * opened file by a temporary filename provided by TDEApplication. - * @see KTMainWindow#saveProperties - */ - protected void saveProperties(TDEConfig _cfg) { - - } - - - /** reads the session config file and restores the application's state including the last opened files and documents by reading the - * temporary files saved by saveProperties() - * @see KTMainWindow#readProperties - */ - protected void readProperties(TDEConfig _cfg) { - } - - /** queryClose is called by KTMainWindow on each closeEvent of a window. Against the - * default implementation (only returns true), this calles saveModified() on the document object to ask if the document shall - * be saved if Modified; on cancel the closeEvent is rejected. - * @see KTMainWindow#queryClose - * @see KTMainWindow#closeEvent - */ - protected boolean queryClose() { - - ArrayList saveFiles = new ArrayList(); - KScribbleDoc doc; - - if(pDocList.isEmpty()) - return true; - - Iterator it = pDocList.iterator(); - - while (it.hasNext()) { - doc = (KScribbleDoc)it.next(); - if(doc.isModified()) - saveFiles.add(doc.title()); - - } - - if(saveFiles.isEmpty()) - return true; - - // lets load up a String array with the documents to save. - String[] sf = new String[saveFiles.size()]; - for (int x = 0; x < saveFiles.size(); x++) { - sf[x] = (String)saveFiles.get(x); - } - switch (KMessageBox.questionYesNoList(this, - i18n("One or more documents have been modified.\nSave changes before exiting?"),sf)) - { - case KMessageBox.Yes: - - Iterator itr = pDocList.iterator(); - - while (itr.hasNext()) { - doc = (KScribbleDoc)itr.next(); - if(doc.title().indexOf(i18n("Untitled")) > 0) { - - slotFileSaveAs(); - } - else { - if(!doc.saveDocument(doc.pathName())){ - KMessageBox.error (this,i18n("Could not save the current document !"), i18n("I/O Error !"),KMessageBox.Notify); - return false; - } - - } - - - } - return true; - case KMessageBox.No: - default: - return true; - } - - } - - /** queryExit is called by KTMainWindow when the last window of the application is going to be closed during the closeEvent(). - * Against the default implementation that just returns true, this calls saveOptions() to save the settings of the last window's - * properties. - * @see KTMainWindow#queryExit - * @see KTMainWindow#closeEvent - */ - protected boolean queryExit() { - saveOptions(); - return true; - } - -///////////////////////////////////////////////////////////////////// -// SLOT IMPLEMENTATION -///////////////////////////////////////////////////////////////////// - - - void slotFileNew() { - slotStatusMsg(i18n("Creating new document...")); - - openDocumentFile(); - - slotStatusMsg(i18n("Ready.")); - } - - void slotFileOpen() { - slotStatusMsg(i18n("Opening file...")); - - String fileToOpen=KFileDialog.getOpenFileName(TQDir.currentDirPath(), - KImageIO.pattern(KImageIO.Reading), this, i18n("Open File...")); - if(fileToOpen != null && fileToOpen.length() > 0) { - openDocumentFile(new KURL(fileToOpen)); - } - - slotStatusMsg(i18n("Ready.")); - } - - - void slotFileSave() { - slotStatusMsg(i18n("Saving file...")); - KScribbleView m = (KScribbleView)pWorkspace.activeWindow(); - if( m != null) { - KScribbleDoc doc = m.getDocument(); - if(doc.title().indexOf(i18n("Untitled")) > 0) - slotFileSaveAs(); - else - if(!doc.saveDocument(doc.pathName())) - KMessageBox.error (this,i18n("Could not save the current document !"), i18n("I/O Error !"),KMessageBox.Notify); } - - - slotStatusMsg(i18n("Ready.")); - } - - void slotFileSaveAs() { - slotStatusMsg(i18n("Saving file with a new filename...")); - - String newName=KFileDialog.getSaveFileName(TQDir.currentDirPath(), - KImageIO.pattern(KImageIO.Writing), this, i18n("Save as...")); - - if(newName != null) { - KScribbleView m = (KScribbleView)pWorkspace.activeWindow(); - if( m != null ) { - KScribbleDoc doc = m.getDocument(); - - String format=new TQFileInfo(newName).extension(); - format=format.toUpperCase(); - - if(!doc.saveDocument(newName,format)) { - KMessageBox.error (this,i18n("Could not save the current document !"), i18n("I/O Error !"),KMessageBox.Notify); - return; - } - doc.changedViewList(); - setWndTitle(m); - } - - } - - slotStatusMsg(i18n("Ready.")); - } - - void slotFileClose() { - slotStatusMsg(i18n("Closing file...")); - - KScribbleView m = (KScribbleView)pWorkspace.activeWindow(); - if( m != null ) { - KScribbleDoc doc=m.getDocument(); - doc.closeDocument(); - } - - - slotStatusMsg(i18n("Ready.")); - } - - void slotFilePrint() { - slotStatusMsg(i18n("Printing...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null) - m.print( printer ); - - slotStatusMsg(i18n("Ready.")); - } - - void slotFileQuit() { - slotStatusMsg(i18n("Exiting...")); - saveOptions(); - // close the first window, the list makes the next one the first again. - // This ensures that queryClose() is called on each window to ask for closing - TDEMainWindow w; - - ArrayList memberlist = memberList(); - if(memberlist != null) { - Iterator it = memberlist.iterator(); - while (it.hasNext()) { - w = (TDEMainWindow)it.next(); - // only close the window if the closeEvent is accepted. If the user - // presses Cancel on the saveModified() dialog, - // the window and the application stay open. - if(!w.close()) - break; - } - } - slotStatusMsg(i18n("Ready.")); - } - - void slotFileOpenRecent(int id_) { - slotStatusMsg(i18n("Opening file...")); - - KURL kurl = new KURL(pRecentFileMenu.text(id_)); -// openDocumentFile(pRecentFileMenu.text(id_)); - openDocumentFile(kurl); - slotStatusMsg(i18n("Ready.")); - } - - void slotEditClearAll() { - slotStatusMsg(i18n("Clearing the document contents...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null ){ - KScribbleDoc pDoc = m.getDocument(); - pDoc.editClearAll(); - } - slotStatusMsg(i18n("Ready.")); - } - - void slotPenBrush() { - slotStatusMsg(i18n("Setting brush width...")); - - // get one window with document for a current pen width - ArrayList windows = pWorkspace.windowList(); - KScribbleView m = (KScribbleView)windows.get(0); - KScribbleDoc pDoc = m.getDocument(); - int curr_width=pDoc.penWidth(); - - // create the dialog, get the new width and set the pen width for all documents - KPenBrushDlg dlg= new KPenBrushDlg(curr_width,this,""); - if(dlg.exec() > 0){ - int width=dlg.getPenWidth(); - for ( int i = 0; i < windows.size(); ++i ) { - m = (KScribbleView)windows.get(i); - if ( m != null ) { - pDoc = m.getDocument(); - pDoc.setPenWidth(width); - } - } - } - slotStatusMsg(i18n("Ready.")); - } - - void slotPenColor() { - slotStatusMsg(i18n("Selecting pen color...")); - - TQColor myColor = new TQColor(); - int result = KColorDialog.getColor( myColor, this ); - if ( result == KColorDialog.Accepted ) - { - ArrayList windows = pWorkspace.windowList(); - KScribbleDoc pDoc; - KScribbleView m; - for ( int i = 0; i < windows.size(); ++i ) { - m = (KScribbleView)windows.get(i); - if ( m != null) { - pDoc = m.getDocument(); - pDoc.setPenColor(myColor); - } - } - } - slotStatusMsg(i18n("Ready.")); - } - - void slotEditUndo() { - slotStatusMsg(i18n("Reverting last action...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); -// if ( m != null ) -// m.undo(); - - slotStatusMsg(i18n("Ready.")); - } - - /** put the marked object into the clipboard and remove - * it from the document - */ - void slotEditCut() { - slotStatusMsg(i18n("Cutting selection...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null ) - m.cutSelection(); - - slotStatusMsg(i18n("Ready.")); - } - - /** put the marked text/object into the clipboard - */ - public void slotEditCopy() { - slotStatusMsg(i18n("Copying selection to clipboard...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null) - m.copySelection(); - - slotStatusMsg(i18n("Ready.")); - } - - /** paste the clipboard into the document - */ - public void slotEditPaste() { - slotStatusMsg(i18n("Inserting clipboard contents...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null ) { - m.pasteSelection(); - } - slotStatusMsg(i18n("Ready.")); - } - - /** toggles the toolbar - */ - - void slotViewToolBar() { - slotStatusMsg(i18n("Toggle the toolbar...")); - /////////////////////////////////////////////////////////////////// - // turn Toolbar on or off - if( menuBar().isItemChecked(ID_VIEW_TOOLBAR)) { - menuBar().setItemChecked(ID_VIEW_TOOLBAR, false); - toolBar("mainToolBar").hide(); - - } - else { - menuBar().setItemChecked(ID_VIEW_TOOLBAR, true); - toolBar("mainToolBar").show(); - } - - slotStatusMsg(i18n("Ready.")); - } - - /** toggles the statusbar - */ - void slotViewStatusBar() { - slotStatusMsg(i18n("Toggle the statusbar...")); - /////////////////////////////////////////////////////////////////// - //turn Statusbar on or off - if( menuBar().isItemChecked(ID_VIEW_STATUSBAR)) { - menuBar().setItemChecked(ID_VIEW_STATUSBAR, false); - kstatusBar().hide(); - - } - else { - menuBar().setItemChecked(ID_VIEW_STATUSBAR, true); - kstatusBar().show(); - } - - slotStatusMsg(i18n("Ready.")); - } - - void slotWindowNewWindow() { - slotStatusMsg(i18n("Opening a new application window...")); - - KScribbleView m = (KScribbleView) pWorkspace.activeWindow(); - if ( m != null ){ - KScribbleDoc doc = m.getDocument(); - createClient(doc); - } - - slotStatusMsg(i18n("Ready.")); - } - - /** changes the statusbar contents for the standard label permanently, used to indicate current actions. - * @param text the text that is displayed in the statusbar - */ - public void slotStatusMsg(String text) { - /////////////////////////////////////////////////////////////////// - // change status message permanently - kstatusBar().clear(); - kstatusBar().changeItem(text, ID_STATUS_MSG); - } - - /** accepts drops and opens a new document - for each drop */ - protected void dropEvent( TQDropEvent e){ - TQImage img = new TQImage(); - if ( TQImageDrag.decode(e, img) ) { - KScribbleDoc doc = new KScribbleDoc(); - untitledCount+=1; - String fileName= i18n("Untitled") + untitledCount; - doc.setPathName(fileName); - doc.setTitle(fileName); - doc.newDocument(); - pDocList.add(doc); - KPixmap tmp = new KPixmap(); - tmp.resize(img.size()); - tmp.convertFromImage(img); - doc.setPixmap(tmp); - doc.resizeDocument(tmp.size()); - doc.setModified(); - createClient(doc); - } - } - /** accepts drag events for images */ - protected void dragEnterEvent( TQDragEnterEvent e){ - e.accept(TQImageDrag.canDecode(e)); - } - - -} diff --git a/kdejava/koala/examples/kscribble/KScribbleDoc.java b/kdejava/koala/examples/kscribble/KScribbleDoc.java deleted file mode 100644 index 089a3adb..00000000 --- a/kdejava/koala/examples/kscribble/KScribbleDoc.java +++ /dev/null @@ -1,300 +0,0 @@ -import java.util.*; - -import org.kde.qt.*; -import org.kde.koala.*; - -/** KScribbleDoc provides a document object for a document-view model. - * - * The KScribbleDoc class provides a document object that can be used in conjunction with the classes JavaApiTestApp and KScribbleView - * to create a document-view model for standard KDE applications based on TDEApplication and TDEMainWindow. Thereby, the document object - * is created by the JavaApiTestApp instance and contains the document structure with the according methods for manipulation of the document - * data by KScribbleView objects. Also, KScribbleDoc contains the methods for serialization of the document data from and to files. - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 1.2 code generation - */ -public class KScribbleDoc extends TQObject { - - /** the list of the views currently connected to the document */ - private ArrayList pViewList; - private String m_title; - private String m_filename; - private TQSize size; - private TQPen pen; - public TQPointArray polyline; - public KPixmap buffer; - - /** the modified flag of the current document */ - private boolean modified; - private KURL doc_url; - - - public KScribbleDoc() { - - pViewList = new ArrayList(); - } - - void addView(KScribbleView view) { - pViewList.add(view); - changedViewList(); - } - - void removeView(KScribbleView view) { - pViewList.remove(view); - if(!pViewList.isEmpty()) - changedViewList(); - else - deleteContents(); - } - - void changedViewList(){ - - KScribbleView w; - if(pViewList.size() == 1){ - w=(KScribbleView)pViewList.get(0); - w.setCaption(m_title); - } - else{ - int i = 1; - Iterator it = pViewList.iterator(); - while(it.hasNext()) { - w = (KScribbleView)it.next(); - w.setCaption(m_title + ":"+ i++); - - } - } - } - - boolean isLastView() { - return (pViewList.size() == 1); - } - - - void updateAllViews(KScribbleView sender) { - KScribbleView w; - Iterator it = pViewList.iterator(); - while(it.hasNext()) { - w = (KScribbleView)it.next(); - w.update(sender); - - } - - } - - void setPathName(String name) { - m_filename=name; - m_title= new TQFileInfo(name).fileName(); - } - - String pathName() { - return m_filename; - } - - /** returns the current pen in use */ - TQPen currentPen() { - return pen; - } - - /** returns the pen color */ - int penWidth() { - return pen.width(); - } - - /** returns the pen color */ - TQColor penColor(){ - return pen.color(); - } - - /** sets the pen width */ - void setPenWidth( int w ){ - pen.setWidth( w ); - } - - /** sets the pen color */ - void setPenColor( TQColor c ){ - pen.setColor( c ); - } - - /** sets the pen style by a second toolbar */ -// void setPenStyle( PenStyle s) { -// pen.setStyle(s); -// } - - void setTitle(String title) { - - m_title=title; - } - - String title() { - return m_title; - } - - /** sets the pixmap contents. Used by KScribbleApp - to create a new document by drop events */ - void setPixmap(KPixmap pix) { - buffer=pix; - }; - void resizeDocument(TQSize m_size) { - size=m_size; - }; - - void closeDocument() { - KScribbleView w; - if(!isLastView()) { - Iterator it = pViewList.iterator(); - while(it.hasNext()) { - w = (KScribbleView)it.next(); - if (!w.close()) - break; - - } - - } - if(isLastView()) { - w= (KScribbleView)pViewList.get(0); - w.close(); - } - } - - boolean newDocument() { - ///////////////////////////////////////////////// - // TODO: Add your document initialization code here - size=new TQSize(300,200 ); - pen= new TQPen(); - pen.setColor(Qt.black()); - pen.setWidth(3); - polyline= new TQPointArray(3); - if (buffer == null) { - buffer = new KPixmap(); - } - buffer.resize(size); - buffer.fill( Qt.white() ); - ///////////////////////////////////////////////// - modified=false; - return true; - } - - public boolean openDocument(String filename, String format) { - - TQFile f = new TQFile( filename ); - // if ( !f.open( IO_ReadOnly ) ) - // return false; - ///////////////////////////////////////////////// - // TODO: Add your document opening code here - if(!buffer.load( filename, format, 0)) - return false; - size=buffer.size(); - ///////////////////////////////////////////////// - // f.close(); - - modified=false; - m_filename=filename; - m_title=new TQFileInfo(f).fileName(); - return true; - } - - boolean saveDocument(String filename) { - return saveDocument(filename,"") ; - } - - /** returns the first view instance */ - KScribbleView firstView(){ - return (KScribbleView) pViewList.get(0); - }; - - boolean saveDocument(String filename, String format /*=0*/) { - TQFile f = new TQFile( filename ); - // if ( !f.open( IO_WriteOnly ) ) - // return false; - - ///////////////////////////////////////////////// - // TODO: Add your document saving code here - if(!buffer.save( filename, format )) - return false; - ///////////////////////////////////////////////// - - // f.close(); - - modified=false; - m_filename=filename; - m_title=new TQFileInfo(f).fileName(); - return true; - } - - void deleteContents() { - ///////////////////////////////////////////////// - // TODO: Add implementation to delete the document contents - buffer.fill( Qt.white() ); - ///////////////////////////////////////////////// - - } - - boolean isModified() { - return modified; - } - - void setModified() { - modified = true; - } - - boolean canCloseFrame(KScribbleView pFrame) { - if(!isLastView()) - return true; - - boolean ret=false; - if(isModified()) { - String saveName = new String(); - switch(KMessageBox.warningYesNoCancel(pFrame, i18n("The current file has been modified.\n" + - "Do you want to save it?"),title())) - { - case KMessageBox.Yes: - if(title().indexOf(i18n("Untitled")) > 0) { - saveName= KFileDialog.getSaveFileName(TQDir.currentDirPath(), - i18n("*|All files"), pFrame, i18n("Save as...")); - if(saveName == null || saveName.length() == 0) - return false; - } - else - saveName=pathName(); - - if(!saveDocument(saveName)) { - switch(KMessageBox.warningYesNo(pFrame,i18n("Could not save the current document !\n" + - "Close anyway ?"), i18n("I/O Error !"))) - { - case KMessageBox.Yes: - ret=true; - case KMessageBox.No: - ret=false; - } - } - else - ret=true; - break; - case KMessageBox.No: - ret=true; - break; - case KMessageBox.Cancel: - default: - ret=false; - break; - } - } - else - ret=true; - - return ret; - } - - /** get the document size */ - TQSize docSize() { - return size; - } - - void editClearAll() { - deleteContents(); - setModified(); - updateAllViews(null); - - } - -} diff --git a/kdejava/koala/examples/kscribble/KScribbleView.java b/kdejava/koala/examples/kscribble/KScribbleView.java deleted file mode 100644 index 7fe3f94c..00000000 --- a/kdejava/koala/examples/kscribble/KScribbleView.java +++ /dev/null @@ -1,342 +0,0 @@ -import org.kde.qt.*; -import org.kde.koala.*; - -/** The KScribbleView class provides the view widget for the KScribble instance. - * The View instance inherits TQWidget as a base class and represents the view object of a TDEMainWindow. As KScribbleView is part of the - * docuement-view model, it needs a reference to the document object connected with it by the KScribble class to manipulate and display - * the document structure provided by the KScribbleDoc class. - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 0.4 code generation - */ -public class KScribbleView extends TQScrollView { - - private TQClipboard cb; - private KScribbleDoc doc; - private static final int IDLE = 0; - private static final int DRAW = 1; - private static final int SELECT = 2; - private static final int PASTE = 3; - private static final int DRAG = 4; - - private TQPixmap tmp = new TQPixmap(); - - private int action = IDLE; - private TQRect select = new TQRect(); - - private TDEIconLoader k = new TDEIconLoader(); - private TQImageDrag qid; - - public KScribbleView(KScribbleDoc pDoc, TQWidget parent, String name, int wflags) { - super(parent, name,wflags | WPaintClever | WNorthWestGravity | WRepaintNoErase); - setBackgroundMode(PaletteBase); - cb = TQApplication.clipboard(); - viewport().setAcceptDrops(true); - setDragAutoScroll(true); - doc=pDoc; - action=IDLE; - viewport().setCursor( Qt.crossCursor() ); - - TQSize size=doc.docSize(); - resizeContents(size.width(), size.height()); - resize(size); - - } - - void update(KScribbleView pSender){ - if(pSender != this) - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - - public KScribbleDoc getDocument() { - return doc; - } - - protected void keyPressEvent( TQKeyEvent e ) { - switch (e.key()) { - case Key_Right: - scrollBy( 10, 0 ); - break; - case Key_Left: - scrollBy( -10,0); - break; - case Key_Up: - scrollBy( 0, -10 ); - break; - case Key_Down: - scrollBy( 0, 10 ); - break; - case Key_Home: - setContentsPos(0,0); - break; - case Key_End: - setContentsPos(0,viewport().height()-viewport().height()); - break; - case Key_PageUp: - scrollBy( 0, -viewport().height() ); - break; - case Key_PageDown: - scrollBy( 0, viewport().height() ); - break; - } - - } - - /** cuts out a selection */ - void cutSelection() { - select=select.normalize(); - TQPixmap cb_pix = new TQPixmap(); - cb_pix.resize(select.size()); - // copy selection to cb_pix and copy to clipboard - bitBlt(cb_pix,0, 0, doc.buffer, select.x()+contentsX(), select.y()+contentsY(), cb_pix.width(),cb_pix.height()); - cb.setPixmap(cb_pix); - // fill cb_pix with white and copy to selection area - cb_pix.fill(Qt.white()); - bitBlt(doc.buffer, select.x()+contentsX(), select.y()+contentsY(),cb_pix, 0, 0, cb_pix.width(), cb_pix.height()); - action = IDLE; - doc.setModified(); - doc.updateAllViews(this); - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - - /** pastes the clipboard contents to a selection that can be inserted into the picture */ - void pasteSelection(){ - select=cb.pixmap().rect(); - action = PASTE; - viewport().setCursor( Qt.sizeAllCursor() ); - } - - /** copies a selection to the clipboard */ - void copySelection(){ - select=select.normalize(); - TQPixmap cb_pix = new TQPixmap(); - cb_pix.resize(select.size()); - // copy selection to cb_pix and copy to clipboard - bitBlt(cb_pix, 0, 0,doc.buffer, select.x()+contentsX(), select.y()+contentsY(), cb_pix.width(),cb_pix.height()); - cb.setPixmap(cb_pix); - action = IDLE; - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - - public void print(TQPrinter pPrinter) { - if (pPrinter.setup(this)) { - TQPainter p = new TQPainter(); - p.begin(pPrinter); - - /////////////////////////////// - // TODO: add your printing code here - p.drawPixmap(0,0,doc.buffer); - /////////////////////////////// - p.end(); - } - } - - protected void viewportMousePressEvent( TQMouseEvent e ) { - if ( e.button() == LeftButton && action == IDLE) { - action=DRAW; - doc.polyline.setPoint(0,viewportToContents(e.pos())); - doc.polyline.setPoint(1,viewportToContents(e.pos())); - doc.polyline.setPoint(2,viewportToContents(e.pos())); - doc.updateAllViews(this); - } - else if ( e.button() == RightButton && action == IDLE) { - action = SELECT; - TQPoint pt=e.pos(); - int x = pt.x() > contentsWidth() ? contentsWidth() : pt.x(); - int y = pt.y() > contentsHeight() ? contentsHeight() : pt.y(); - select.setLeft(x-1); - select.setTop(y-1); - select.setRight(x-1); - select.setBottom(y-1); - } - else if( action == SELECT ) { - action = IDLE; - - select=select.normalize(); - // drag - if(select.contains(e.pos(), true)) { // point inside the selection - tmp.resize(select.size()); - bitBlt(tmp, 0, 0, doc.buffer, select.x()+contentsX(), select.y()+contentsY(), tmp.width(),tmp.height()); - TQImage img =tmp.convertToImage(); - TQDragObject d = new TQImageDrag( img, viewport(), "" ); - d.setPixmap(KDE.BarIcon("filenew")); - d.drag(); - } - // remove selection - else - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - else if( action == PASTE ) { - if ( e.button() == RightButton ) { - action = IDLE; - viewport().setCursor( Qt.crossCursor() ); - } - TQPoint mv_pt = new TQPoint(viewport().height(), viewport().width()); - if(new TQRect(0,0,mv_pt.x(),mv_pt.y()).contains(e.pos())) - select.moveCenter(e.pos()); - else { - select.moveBottomRight(mv_pt); - } - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - } - - protected void viewportMouseReleaseEvent( TQMouseEvent e ) { - if ( action == DRAW ) { - action = IDLE; - doc.updateAllViews(this); - } - if ( action == SELECT) { - TQPoint pt=e.pos(); - int x = pt.x() > 0 ? pt.x() : 0; - int y = pt.y() > 0 ? pt.y() : 0; - select.setRight(x); - select.setBottom(y); - TQSize size=doc.docSize(); - select = select.intersect(new TQRect(0,0,size.width(), size.height())); - } - } - - /** On paste actions inserts the pasted clipboard contents - */ - protected void viewportMouseDoubleClickEvent(TQMouseEvent e) { - if( action == PASTE ) { - action = IDLE; - select.moveCenter(e.pos()); - viewport().setCursor( Qt.crossCursor() ); - TQPixmap cb_pix = new TQPixmap(); - cb_pix.resize(cb.pixmap().size()); - cb_pix=cb.pixmap(); - bitBlt( doc.buffer,contentsX()+select.x(), contentsY()+select.y(),cb_pix, 0, 0, select.width(), select.height()); - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - doc.setModified(); - doc.updateAllViews(this); - } - - } - - protected void viewportMouseMoveEvent( TQMouseEvent e ) { - if ( action == DRAW ) { - TQPainter painter = new TQPainter(); - painter.begin( doc.buffer ); - painter.setPen( doc.currentPen() ); - doc.polyline.setPoint(2, doc.polyline.at(1)); - doc.polyline.setPoint(1, doc.polyline.at(0)); - doc.polyline.setPoint(0, viewportToContents(e.pos())); - painter.drawPolyline( doc.polyline ); - painter.end(); - - TQRect r = doc.polyline.boundingRect(); - r = r.normalize(); - r.setLeft( r.left() - doc.penWidth() ); - r.setTop( r.top() - doc.penWidth() ); - r.setRight( r.right() + doc.penWidth() ); - r.setBottom( r.bottom() + doc.penWidth() ); - - bitBlt(viewport(), r.x()-contentsX(), r.y()-contentsY(), doc.buffer, r.x(), r.y(), r.width(),r.height()); - doc.setModified(); - doc.updateAllViews(this); - } - if ( action == SELECT ) { - TQPoint pt=e.pos(); - select.setWidth(select.x()+pt.x()); - select.setHeight(select.y()+pt.y()); - select.setRight(pt.x()); - select.setBottom(pt.y()); - TQSize size=doc.docSize(); - select = select.intersect(new TQRect(0,0,size.width(), size.height())); - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - if( action == PASTE ) { - TQPoint mv_pt = new TQPoint(viewport().height(), viewport().width()); - if(new TQRect(0,0,mv_pt.x(),mv_pt.y()).contains(e.pos())) - select.moveCenter(e.pos()); - else { - select.moveBottomRight(mv_pt); - } - TQRect pm_rect=cb.pixmap().rect(); - select.setWidth(pm_rect.width()); - select.setHeight(pm_rect.height()); - TQSize size=doc.docSize(); - select = select.intersect(new TQRect(0,0,size.width(), size.height())); - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - doc.setModified(); - doc.updateAllViews(this); - } - } - - //void KScribbleView::viewportResizeEvent( TQResizeEvent *e ) - //{ - //} - - protected void viewportPaintEvent( TQPaintEvent e ) { - bitBlt( viewport(),0, 0, doc.buffer, contentsX(), contentsY(), doc.buffer.width(),doc.buffer.width()); - - if( action == PASTE ) - { - tmp.resize(cb.pixmap().size()); - tmp=cb.pixmap(); - } - if( action == PASTE || action == DRAG ) - { - TQSize size=doc.docSize(); - select = select.intersect(new TQRect(0,0,size.width(), size.height())); - if(select.intersects(e.rect())) - bitBlt(viewport(), select.x(), select.y(), tmp, 0, 0, select.width(), select.height()); - } - if( action == PASTE || action == DRAG || action == SELECT ) { - if(select.intersects(e.rect())) { - TQPainter paint_area = new TQPainter(); - paint_area.begin(viewport()); - paint_area.setPen(new TQPen(Qt.black(), 0, DashLine)); - paint_area.drawRect( select ); - paint_area.end(); - } - } - - // not implemented for TQScrollView yet -// super.viewportPaintEvent(e); - } - - protected void viewportDragEnterEvent ( TQDragEnterEvent e) { - e.accept(TQImageDrag.canDecode(e)); - action = DRAG; - } - - protected void viewportDragMoveEvent ( TQDragMoveEvent e) { - TQImage img = new TQImage(); - - if ( TQImageDrag.canDecode(e) ){ - TQImageDrag.decode(e, img); - tmp.resize(img.size()); - tmp.convertFromImage(img); - select.setWidth(tmp.width()); - select.setHeight(tmp.height()); - select.moveCenter(e.pos()); - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - } - - protected void viewportDragLeaveEvent ( TQDragLeaveEvent e ) { - action = IDLE; - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - - protected void viewportDropEvent ( TQDropEvent e) { - TQImage img = new TQImage(); - if ( TQImageDrag.canDecode(e) ) { - TQImageDrag.decode(e, img); - tmp.resize(img.size()); - tmp.convertFromImage(img); - select.setWidth(tmp.width()); - select.setHeight(tmp.height()); - select.moveCenter(e.pos()); - bitBlt(doc.buffer, select.x()+contentsX(), select.y()+contentsY(), tmp,0,0,tmp.width(), tmp.height()); - doc.setModified(); - doc.updateAllViews(this); - } - action = IDLE; - viewport().repaint(0,0,visibleWidth(), visibleHeight(), false); - } - -} diff --git a/kdejava/koala/examples/kscribble/Main.java b/kdejava/koala/examples/kscribble/Main.java deleted file mode 100644 index b797f8a5..00000000 --- a/kdejava/koala/examples/kscribble/Main.java +++ /dev/null @@ -1,78 +0,0 @@ -/*************************************************************************** - KScribble.java - KScribble using java bindings - ------------------- - begin : Mon Jan 31 11:05:05 CET 2000 - copyright : (C) 2000 by Ralf Nolden - email : Ralf.Nolden@post.rwth-aachen.de - java translation : Kenneth J. Pouncey - email : kjpou@hotmail.com - ***************************************************************************/ - - -import java.util.*; -import org.kde.qt.*; -import org.kde.koala.*; - -/** - * The base class for JavaApiTest application windows. It sets up the main - * window and reads the config file as well as providing a menubar, toolbar - * and statusbar. An instance of KBaseView creates your center view, which is connected - * to the window's Doc object. - * KBase reimplements the methods that TDEMainWindow provides for main window handling and supports - * full session management as well as using TDEActions. - * @see TDEMainWindow - * @see TDEApplication - * @see TDEConfig - * - * @author Source Framework Automatically Generated by KDevelop, (c) The KDevelop Team. - * @version KDevelop version 1.2 code generation - */ -public class Main { - - static String description = "java KDE 3 example application"; - - - static String[][] options = { - { "+[File]", "image file to open", null } - }; - -static String VERSION = "0.1"; - - public static void main(String[] cmdLineArgs) { - - TDEAboutData aboutData = new TDEAboutData( "kscribble", "KScribble", - VERSION, description, TDEAboutData.License_GPL, - "(C) 2000 by Ralf Nolden"); - TDECmdLineArgs.init( cmdLineArgs, aboutData ); - TDECmdLineArgs.addCmdLineOptions( options ); // Add our own options. - - TDEApplication app = new TDEApplication(); - KImageIO.registerFormats(); - KScribbleApp kscribbleapp = new KScribbleApp(); - - if (app.isRestored()) { - kscribbleapp.RESTORE("kscribbleapp"); - } - else { - kscribbleapp.show(); - TDECmdLineArgs args = TDECmdLineArgs.parsedArgs(); - - if (args.count() > 0) { - kscribbleapp.openDocumentFile(new KURL(args.arg(0))); - } - else { - kscribbleapp.openDocumentFile(); - } - args.clear(); - } - - app.exec(); - return; - } - - static { - qtjava.initialize(); - kdejava.initialize(); - } - -} diff --git a/kdejava/koala/examples/kscribble/Resource.java b/kdejava/koala/examples/kscribble/Resource.java deleted file mode 100644 index 8277dea6..00000000 --- a/kdejava/koala/examples/kscribble/Resource.java +++ /dev/null @@ -1,71 +0,0 @@ - - /////////////////////////////////////////////////////////////////// - // resource.h -- contains macros used for commands -public interface Resource { - - /////////////////////////////////////////////////////////////////// - // COMMAND VALUES FOR MENUBAR AND TOOLBAR ENTRIES - - - /////////////////////////////////////////////////////////////////// - // File-menu entries - static final int ID_FILE_NEW = 10010; - static final int ID_FILE_OPEN = 10020; - static final int ID_FILE_OPEN_RECENT = 10030; - static final int ID_FILE_CLOSE = 10040; - - static final int ID_FILE_SAVE = 10050; - static final int ID_FILE_SAVE_AS = 10060; - - static final int ID_FILE_PRINT = 10070; - - static final int ID_FILE_QUIT = 10080; - - /////////////////////////////////////////////////////////////////// - // Edit-menu entries - static final int ID_EDIT_UNDO = 11010; - static final int ID_EDIT_COPY = 11020; - static final int ID_EDIT_CUT = 11030; - static final int ID_EDIT_PASTE = 11040; - static final int ID_EDIT_CLEAR_ALL = 11050; - - /////////////////////////////////////////////////////////////////// - // Pen-menu entries - static final int ID_PEN_COLOR = 14010; - static final int ID_PEN_BRUSH = 14020; - - /////////////////////////////////////////////////////////////////// - // Draw-menu entries - static final int ID_DRAW_FIND = 15010; - static final int ID_DRAW_FREEHAND = 15020; - static final int ID_DRAW_LINE = 15030; - static final int ID_DRAW_RECT = 15040; - static final int ID_DRAW_RECT_FILL = 15050; - static final int ID_DRAW_CIRCLE = 15060; - static final int ID_DRAW_CIRCLE_FILL = 15070; - static final int ID_DRAW_ELLIPSE = 15080; - static final int ID_DRAW_ELLIPSE_FILL = 15090; - static final int ID_DRAW_SPRAY = 15100; - static final int ID_DRAW_FILL = 15110; - static final int ID_DRAW_ERASE = 15120; - - /////////////////////////////////////////////////////////////////// - // View-menu entries - static final int ID_VIEW_TOOLBAR = 12010; - static final int ID_VIEW_STATUSBAR = 12020; - - /////////////////////////////////////////////////////////////////// - // Window-menu entries - static final int ID_WINDOW_NEW_WINDOW = 13010; - static final int ID_WINDOW_CASCADE = 13020; - static final int ID_WINDOW_TILE = 13030; - - /////////////////////////////////////////////////////////////////// - // Help-menu entries - static final int ID_HELP_CONTENTS = 1002; - static final int ID_HELP_WHATS_THIS = 1003; - /////////////////////////////////////////////////////////////////// - // General application values - static final int ID_STATUS_MSG = 1001; - static final int TOOLS_TOOLBAR = 1; -} \ No newline at end of file diff --git a/kdejava/koala/examples/simplemail/MailHelper.java b/kdejava/koala/examples/simplemail/MailHelper.java deleted file mode 100644 index b7fa8aba..00000000 --- a/kdejava/koala/examples/simplemail/MailHelper.java +++ /dev/null @@ -1,220 +0,0 @@ -//package com.werpu.simplemail; - - -import java.util.Iterator; -import java.util.LinkedList; -import java.util.Properties; - -import javax.mail.Address; -import javax.mail.Message; -import javax.mail.MessagingException; -import javax.mail.Session; -import javax.mail.Transport; -import javax.mail.internet.InternetAddress; -import javax.mail.internet.MimeMessage; - -/** - * - * @author Werner Punz werpu@gmx.at - * @version 1.0 - * This is a basic Mailer class built upon the JavaMail API - * it only does SMTP. - */ -public class MailHelper -{ - - private String message = ""; - - private String recipient = ""; - - private String server = ""; - - private String password = ""; - - private String sender = ""; - - private String subject = ""; - - private String username = ""; - - private LinkedList ccAddresses = new LinkedList(); - - /** Creates a new instance of LC_Mailer */ - public MailHelper() - { - } - - /** Getter for property message. - * @return Value of property message. - */ - public String getMessage() - { - return message; - } - - /** Setter for property message. - * @param message New value of property message. - */ - public void setMessage(String message) - { - this.message = message; - } - - /** Getter for property password. - * @return Value of property password. - */ - public String getPassword() - { - return password; - } - - /** Setter for property password. - * @param password New value of property password. - */ - public void setPassword(String password) - { - this.password = password; - } - - /** Getter for property recipient. - * @return Value of property recipient. - */ - public String getRecipient() - { - return recipient; - } - - /** Setter for property recipient. - * @param recipient New value of property recipient. - */ - public void setRecipient(String recipient) - { - this.recipient = recipient; - } - - /** Getter for property sender. - * @return Value of property sender. - */ - public String getSender() - { - return sender; - } - - /** Setter for property sender. - * @param sender New value of property sender. - */ - public void setSender(String sender) - { - this.sender = sender; - } - - /** Getter for property server. - * @return Value of property server. - */ - public String getServer() - { - return server; - } - - /** Setter for property server. - * @param server New value of property server. - */ - public void setServer(String server) - { - this.server = server; - } - - /** Getter for property subject. - * @return Value of property subject. - */ - public String getSubject() - { - return subject; - } - - /** Setter for property subject. - * @param subject New value of property subject. - */ - public void setSubject(String subject) - { - this.subject = subject; - } - - /** - * Method setUsername. - * @param username - */ - public void setUsername(String username) - { - this.username = username; - } - - /** - * Method addCCAddress. - * @param ccAddresses - * Adds a single CC Adress to the current CC Addresses - */ - public void addCCAddress(String ccAddresses) - { - if (!ccAddresses.equalsIgnoreCase("null")) - this.ccAddresses.add(ccAddresses); - } - - /** - * Method addCCAddress. - * @param ccAddresses - * adds the ccAddresses to the current messaging parameters - */ - public void addCCAddress(Iterator ccAddresses) - { - - while (ccAddresses.hasNext()) - addCCAddress((String) ccAddresses.next()); - } - - /** - * Method send. - * @throws MessagingException - * sends out the mail with the set messaging parameters - */ - public void send() throws MessagingException - { - Properties props = new Properties(); - Session session = Session.getDefaultInstance(props, null); - - - Address to = new InternetAddress(getRecipient()); - Address from = new InternetAddress(getSender()); - - //only one from address - Address[] froms = new Address[1]; - froms[0] = from; - - MimeMessage message = new MimeMessage(session); - message.setText(getMessage()); - message.setSubject(getSubject()); - message.addRecipient(Message.RecipientType.TO, to); - - //Add CCs to the recipient list - Iterator i = ccAddresses.iterator(); - while (i.hasNext()) - { - to = new InternetAddress((String) i.next()); - message.addRecipient(Message.RecipientType.BCC, to); - } - - message.addFrom(froms); - message.saveChanges(); - - - //set smtp - Transport myTransport = session.getTransport("smtp"); - - //send mail - myTransport.connect(getServer(), username.trim(), password.trim()); - - myTransport.sendMessage(message,message.getAllRecipients()); - myTransport.close(); - } - -} diff --git a/kdejava/koala/examples/simplemail/README b/kdejava/koala/examples/simplemail/README deleted file mode 100644 index b48e131d..00000000 --- a/kdejava/koala/examples/simplemail/README +++ /dev/null @@ -1,29 +0,0 @@ -Werner Punz writes: - -A simple send the email app I hacked together today in 2 hours, feel - free to add it to the repository... - - This time I used the QT designer and the provided sed script to convert - the files into near-java files and then started from there. - -First you need JDK 1.2+ since a LinkedList ist used. - Secondly you have to have the javamail and activation jar files in the - classpath otherwise it won?t work! Those are not part of the standard JDK - distro, and haven? t made it into 1.4 yet, but nevertheless are great APIs - to access email and nntp systems easily (actually activation isn? t but - javamail depends on it). - - Both can be obtained from the Sun java website. - - Here are the links to these api's taken from one of my readme's - - 1. Download the e-mail api's from sun.  You will need two packages. - -    http://java.sun.com/products/javamail/ -    http://java.sun.com/products/javabeans/glasgow/jaf.html - - Ah yes you can add multiple BCCs simply by separating them with a ',' or a - ';'. - - Thats all have much fun with it :-). - diff --git a/kdejava/koala/examples/simplemail/SimpleMailFrm.java b/kdejava/koala/examples/simplemail/SimpleMailFrm.java deleted file mode 100644 index 93b3d4e0..00000000 --- a/kdejava/koala/examples/simplemail/SimpleMailFrm.java +++ /dev/null @@ -1,240 +0,0 @@ -// package com.werpu.simplemail; - - -/** - * SimpleMailFrm - * This is the main window from of the simple mail application - * @author Werner Punz werpu@gmx.at - * This class was generated by Qt Designer and then converted to Java and - * redesigned to fit into the KDE Framework - */ - -import org.kde.qt.*; -import org.kde.koala.*; -import java.util.StringTokenizer; -import java.util.LinkedList; - - - -class SimpleMailFrm extends TDEMainWindow { - - - TQGroupBox groupBox1; - KLineEdit txtServer; - KLineEdit txtUserName; - KPasswordEdit txtPassword; - TQLabel textLabel1; - TQLabel textLabel2; - TQLabel textLabel3; - KLineEdit txtFrom; - KLineEdit txtTo; - KLineEdit txtBCC; - TQLabel textLabel4; - TQLabel textLabel6; - TQLabel textLabel5; - KPushButton btSend; - KPushButton btCancel; - TQMultiLineEdit txtMessage; - - - TQGridLayout form1Layout; - TQGridLayout groupBox1Layout; - - TDEApplication parentApp = null; - - public SimpleMailFrm(TDEApplication kApp) - - { - super( null, null,0); - parentApp = kApp; - - - resize( 582, 486 ); - setCaption( trUtf8( "Simple Mailer" ) ); - - TQGroupBox centralBox = new TQGroupBox((TQWidget) this,""); - - form1Layout = new TQGridLayout(centralBox, 1, 1, 11, 6, "form1Layout"); - - groupBox1 = new TQGroupBox( centralBox, "groupBox1" ); - groupBox1.setTitle( trUtf8( "Mailserver data" ) ); - groupBox1.setColumnLayout(0, Qt.Vertical ); - groupBox1.layout().setSpacing( 6 ); - groupBox1.layout().setMargin( 11 ); - groupBox1Layout = new TQGridLayout( groupBox1.layout() ); - groupBox1Layout.setAlignment( Qt.AlignTop ); - - txtServer = new KLineEdit( groupBox1, "txtServer" ); - - groupBox1Layout.addWidget( txtServer, 0, 1 ); - - txtUserName = new KLineEdit( groupBox1, "txtUserName" ); - - groupBox1Layout.addWidget( txtUserName, 1, 1 ); - - txtPassword = new KPasswordEdit( groupBox1, "txtPassword" ); - - groupBox1Layout.addWidget( txtPassword, 2, 1 ); - - textLabel1 = new TQLabel( groupBox1, "textLabel1" ); - textLabel1.setText( trUtf8( "Server" ) ); - - groupBox1Layout.addWidget( textLabel1, 0, 0 ); - - textLabel2 = new TQLabel( groupBox1, "textLabel2" ); - textLabel2.setText( trUtf8( "Username" ) ); - - groupBox1Layout.addWidget( textLabel2, 1, 0 ); - - textLabel3 = new TQLabel( groupBox1, "textLabel3" ); - textLabel3.setText( trUtf8( "Password" ) ); - - groupBox1Layout.addWidget( textLabel3, 2, 0 ); - - txtFrom = new KLineEdit( groupBox1, "txtFrom" ); - - groupBox1Layout.addWidget( txtFrom, 0, 3 ); - - txtTo = new KLineEdit( groupBox1, "txtTo" ); - - groupBox1Layout.addWidget( txtTo, 1, 3 ); - - txtBCC = new KLineEdit( groupBox1, "txtBCC" ); - - groupBox1Layout.addWidget( txtBCC, 2, 3 ); - - textLabel4 = new TQLabel( groupBox1, "textLabel4" ); - textLabel4.setText( trUtf8( "From" ) ); - - groupBox1Layout.addWidget( textLabel4, 0, 2 ); - - textLabel6 = new TQLabel( groupBox1, "textLabel6" ); - textLabel6.setText( trUtf8( "BCC" ) ); - - groupBox1Layout.addWidget( textLabel6, 2, 2 ); - - textLabel5 = new TQLabel( groupBox1, "textLabel5" ); - textLabel5.setText( trUtf8( "To" ) ); - - groupBox1Layout.addWidget( textLabel5, 1, 2 ); - - form1Layout.addMultiCellWidget( groupBox1, 0, 0, 0, 1 ); - - btSend = new KPushButton( centralBox, "btSend" ); - btSend.setText( trUtf8( "Send" ) ); - - form1Layout.addWidget( btSend, 2, 0 ); - - btCancel = new KPushButton( centralBox, "btCancel" ); - btCancel.setText( trUtf8( "Cancel" ) ); - - form1Layout.addWidget( btCancel, 2, 1 ); - - txtMessage = new TQMultiLineEdit(centralBox, "txtMessage" ); - - form1Layout.addMultiCellWidget( txtMessage, 1, 1, 0, 1 ); - - setCentralWidget(centralBox); - // tab order - setTabOrder( txtServer, txtUserName ); - setTabOrder( txtUserName, txtPassword ); - setTabOrder( txtPassword, txtFrom ); - setTabOrder( txtFrom, txtTo ); - setTabOrder( txtTo, txtBCC ); - setTabOrder( txtBCC, txtMessage ); - setTabOrder( txtMessage, btSend ); - setTabOrder( btSend, btCancel ); - - setEventHandlers(); - } - - //---------------------------------------------------------- - // Getter Methods to access the data outside of the - // current class - //---------------------------------------------------------- - - public String getServer() { - return txtServer.text(); - } - - public String getUserName() { - return txtUserName.text(); - } - - public String getPassword() { - return txtPassword.text(); - } - - public String getFrom() { - return txtFrom.text(); - } - - public String getTo() { - return txtTo.text(); - } - - public String getBCC() { - return txtBCC.text(); - } - - public String getMessage() { - return txtMessage.text(); - } - - void setEventHandlers() { - connect( btCancel, SIGNAL("clicked()"), parentApp, SLOT("quit()")); - connect( btSend,SIGNAL("clicked()"),this,SLOT("sendMail()")); - } - - - //-------------------------------------------- - // Slots - //------------------------------------------- - public void sendMail() { - String server = getServer(); - String userName = getUserName(); - String password = getPassword(); - String from = getFrom(); - String to = getTo(); - String message = getMessage(); - LinkedList bccs = getBCCs(); - - try { - MailHelper mailer = new MailHelper(); - mailer.setMessage(message); - mailer.setSubject("Simple Mail"); - mailer.setSender(from); - mailer.setRecipient(to); - mailer.addCCAddress(bccs.iterator()); - mailer.setServer(server); - mailer.setUsername(userName); - mailer.setPassword(password); - mailer.send(); - } - catch (Exception ex) { - KMessageBox.error(this , ex.getMessage()); - return; - } - KMessageBox.information(this,"Mail was successfully sent!"); - } - - //------------------------------------- - //Helpers - //------------------------------------- - - /** - * Split the BCCs into single entries if nedded - */ - LinkedList getBCCs() { - LinkedList retVal = new LinkedList(); - - String bcc = getBCC(); - StringTokenizer splitter = new StringTokenizer(bcc,",;"); - - while(splitter.hasMoreTokens()) - retVal.add(splitter.nextToken()); - - return retVal; - } -} - diff --git a/kdejava/koala/examples/simplemail/SimpleMailer.java b/kdejava/koala/examples/simplemail/SimpleMailer.java deleted file mode 100644 index 8236d875..00000000 --- a/kdejava/koala/examples/simplemail/SimpleMailer.java +++ /dev/null @@ -1,39 +0,0 @@ -//package com.werpu.simplemail; - -import org.kde.qt.*; -import org.kde.koala.*; - - -/** - * - * @author Werner Punz werpu@gmx.at - * This is a simple mailer to demonstrate the connection - * of KDE Java with java packages. - * It demonstrates the connection between KDEJava and the javamail API - * to send mails from a KDE Application box via the SMTP protocol - * Note:The javamail and activation jar files have to be in your classpath! - * - */ -public class SimpleMailer extends TDEApplication{ - static { - qtjava.initialize(); - kdejava.initialize(); - } - - public SimpleMailer() { - super(); - SimpleMailFrm mainWidget = new SimpleMailFrm(this); - this.setMainWidget(mainWidget); - mainWidget.show(); - this.exec(); - } - - /** - * Entry point for the program - */ - public static void main(String [] argv) { - TDECmdLineArgs.init(argv, "simplemailer", "SimpleMailer", - "Simple Mailing Application", "0.1"); - SimpleMailer mailClnt = new SimpleMailer(); - } -} diff --git a/kdejava/koala/kdejava/AbstractView.cpp b/kdejava/koala/kdejava/AbstractView.cpp deleted file mode 100644 index 352780e5..00000000 --- a/kdejava/koala/kdejava/AbstractView.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class AbstractViewJBridge : public DOM::AbstractView -{ -public: - AbstractViewJBridge() : DOM::AbstractView() {}; - AbstractViewJBridge(const DOM::AbstractView& arg1) : DOM::AbstractView(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_AbstractView_document(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::AbstractView*) QtSupport::getQt(env, obj))->document()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_AbstractView_getComputedStyle(JNIEnv* env, jobject obj, jobject elt, jstring pseudoElt) -{ -static DOM::DOMString* _domstring_pseudoElt = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::AbstractView*) QtSupport::getQt(env, obj))->getComputedStyle((const DOM::Element&)*(const DOM::Element*) QtSupport::getQt(env, elt), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, pseudoElt, &_domstring_pseudoElt))), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_AbstractView_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::AbstractView*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_AbstractView_newAbstractView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AbstractViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_AbstractView_newAbstractView__Lorg_kde_koala_AbstractView_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AbstractViewJBridge((const DOM::AbstractView&)*(const DOM::AbstractView*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/AbstractView.h b/kdejava/koala/kdejava/AbstractView.h deleted file mode 100644 index b992625e..00000000 --- a/kdejava/koala/kdejava/AbstractView.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_AbstractView__ -#define __org_kde_koala_AbstractView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_AbstractView_newAbstractView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_AbstractView_newAbstractView__Lorg_kde_koala_AbstractView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_AbstractView_document (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_AbstractView_getComputedStyle (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_AbstractView_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_AbstractView__ */ diff --git a/kdejava/koala/kdejava/Attr.cpp b/kdejava/koala/kdejava/Attr.cpp deleted file mode 100644 index ec5f8619..00000000 --- a/kdejava/koala/kdejava/Attr.cpp +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class AttrJBridge : public DOM::Attr -{ -public: - AttrJBridge() : DOM::Attr() {}; - AttrJBridge(const DOM::Node& arg1) : DOM::Attr(arg1) {}; - AttrJBridge(const DOM::Attr& arg1) : DOM::Attr(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Attr_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Attr*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Attr_newAttr__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AttrJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Attr_newAttr__Lorg_kde_koala_Attr_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AttrJBridge((const DOM::Attr&)*(const DOM::Attr*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Attr_newAttr__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AttrJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Attr_ownerElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Attr*) QtSupport::getQt(env, obj))->ownerElement()), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Attr_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::Attr*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Attr_specified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Attr*) QtSupport::getQt(env, obj))->specified(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Attr_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Attr*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Attr.h b/kdejava/koala/kdejava/Attr.h deleted file mode 100644 index 5e350f7b..00000000 --- a/kdejava/koala/kdejava/Attr.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Attr__ -#define __org_kde_koala_Attr__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Attr_newAttr__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Attr_newAttr__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Attr_newAttr__Lorg_kde_koala_Attr_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Attr_name (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Attr_specified (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Attr_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Attr_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Attr_ownerElement (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Attr__ */ diff --git a/kdejava/koala/kdejava/AuthInfo.cpp b/kdejava/koala/kdejava/AuthInfo.cpp deleted file mode 100644 index a5f5d078..00000000 --- a/kdejava/koala/kdejava/AuthInfo.cpp +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class AuthInfoJBridge : public TDEIO::AuthInfo -{ -public: - AuthInfoJBridge() : TDEIO::AuthInfo() {}; - AuthInfoJBridge(const TDEIO::AuthInfo& arg1) : TDEIO::AuthInfo(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_AuthInfo_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::AuthInfo*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_AuthInfo_newAuthInfo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AuthInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_AuthInfo_newAuthInfo__Lorg_kde_koala_AuthInfo_2(JNIEnv* env, jobject obj, jobject info) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new AuthInfoJBridge((const TDEIO::AuthInfo&)*(const TDEIO::AuthInfo*) QtSupport::getQt(env, info))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_AuthInfo_setModified(JNIEnv* env, jobject obj, jboolean flag) -{ - ((TDEIO::AuthInfo*) QtSupport::getQt(env, obj))->setModified((bool) flag); - return; -} - diff --git a/kdejava/koala/kdejava/AuthInfo.h b/kdejava/koala/kdejava/AuthInfo.h deleted file mode 100644 index b4f9f27f..00000000 --- a/kdejava/koala/kdejava/AuthInfo.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_AuthInfo__ -#define __org_kde_koala_AuthInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_AuthInfo_newAuthInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_AuthInfo_newAuthInfo__Lorg_kde_koala_AuthInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_AuthInfo_isModified (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_AuthInfo_setModified (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_AuthInfo__ */ diff --git a/kdejava/koala/kdejava/BrowserExtension.cpp b/kdejava/koala/kdejava/BrowserExtension.cpp deleted file mode 100644 index 5be10ce9..00000000 --- a/kdejava/koala/kdejava/BrowserExtension.cpp +++ /dev/null @@ -1,211 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class BrowserExtensionJBridge : public KParts::BrowserExtension -{ -public: - BrowserExtensionJBridge(KParts::ReadOnlyPart* arg1,const char* arg2) : KParts::BrowserExtension(arg1,arg2) {}; - BrowserExtensionJBridge(KParts::ReadOnlyPart* arg1) : KParts::BrowserExtension(arg1) {}; - void setURLArgs(const KParts::URLArgs& arg1) { - if (!QtSupport::eventDelegate(this,"setURLArgs",(void*)&arg1,"org.kde.koala.URLArgs")) { - BrowserExtension::setURLArgs(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void restoreState(TQDataStream& arg1) { - if (!QtSupport::eventDelegate(this,"restoreState",(void*)&arg1,"org.kde.qt.TQDataStream")) { - BrowserExtension::restoreState(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void saveState(TQDataStream& arg1) { - if (!QtSupport::eventDelegate(this,"saveState",(void*)&arg1,"org.kde.qt.TQDataStream")) { - BrowserExtension::saveState(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.BrowserExtension",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_BrowserExtension_actionText(JNIEnv* env, jobject obj, jstring name) -{ - TQString _qstring; -static TQCString* _qstring_name = 0; - _qstring = ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->actionText((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserExtension_browserInterface(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->browserInterface(), "org.kde.koala.BrowserInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserExtension_childObject(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)BrowserExtensionJBridge::childObject((TQObject*) QtSupport::getQt(env, arg1)), "org.kde.koala.BrowserExtension"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_BrowserExtension_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserExtension_isActionEnabled(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jboolean xret = (jboolean) ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->isActionEnabled((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserExtension_isURLDropHandlingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->isURLDropHandlingEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserExtension_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_newBrowserExtension__Lorg_kde_koala_ReadOnlyPart_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new BrowserExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_newBrowserExtension__Lorg_kde_koala_ReadOnlyPart_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 BrowserExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_pasteRequest(JNIEnv* env, jobject obj) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->pasteRequest(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_restoreState(JNIEnv* env, jobject obj, jobject stream) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->restoreState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_saveState(JNIEnv* env, jobject obj, jobject stream) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->saveState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_setBrowserInterface(JNIEnv* env, jobject obj, jobject impl) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->setBrowserInterface((KParts::BrowserInterface*) QtSupport::getQt(env, impl)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_setURLArgs(JNIEnv* env, jobject obj, jobject args) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->setURLArgs((const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, args)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserExtension_setURLDropHandlingEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->setURLDropHandlingEnabled((bool) enable); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserExtension_urlArgs(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KParts::URLArgs(((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->urlArgs()), "org.kde.koala.URLArgs", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_BrowserExtension_xOffset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->xOffset(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_BrowserExtension_yOffset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KParts::BrowserExtension*) QtSupport::getQt(env, obj))->yOffset(); - return xret; -} - diff --git a/kdejava/koala/kdejava/BrowserExtension.h b/kdejava/koala/kdejava/BrowserExtension.h deleted file mode 100644 index 725014a6..00000000 --- a/kdejava/koala/kdejava/BrowserExtension.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_BrowserExtension__ -#define __org_kde_koala_BrowserExtension__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserExtension_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_BrowserExtension_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_newBrowserExtension__Lorg_kde_koala_ReadOnlyPart_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_newBrowserExtension__Lorg_kde_koala_ReadOnlyPart_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_setURLArgs (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserExtension_urlArgs (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_BrowserExtension_xOffset (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_BrowserExtension_yOffset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_saveState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_restoreState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserExtension_isURLDropHandlingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_setURLDropHandlingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_setBrowserInterface (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserExtension_browserInterface (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserExtension_isActionEnabled (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_BrowserExtension_actionText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserExtension_pasteRequest (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserExtension_childObject (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_BrowserExtension__ */ diff --git a/kdejava/koala/kdejava/BrowserHostExtension.cpp b/kdejava/koala/kdejava/BrowserHostExtension.cpp deleted file mode 100644 index 7391bd68..00000000 --- a/kdejava/koala/kdejava/BrowserHostExtension.cpp +++ /dev/null @@ -1,121 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class BrowserHostExtensionJBridge : public KParts::BrowserHostExtension -{ -public: - BrowserHostExtensionJBridge(KParts::ReadOnlyPart* arg1,const char* arg2) : KParts::BrowserHostExtension(arg1,arg2) {}; - BrowserHostExtensionJBridge(KParts::ReadOnlyPart* arg1) : KParts::BrowserHostExtension(arg1) {}; - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.BrowserHostExtension",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserHostExtension_childObject(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)BrowserHostExtensionJBridge::childObject((TQObject*) QtSupport::getQt(env, arg1)), "org.kde.koala.BrowserHostExtension"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_BrowserHostExtension_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::BrowserHostExtension*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserHostExtension_findFrameParent(JNIEnv* env, jobject obj, jobject callingPart, jstring frame) -{ -static TQString* _qstring_frame = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::BrowserHostExtension*) QtSupport::getQt(env, obj))->findFrameParent((KParts::ReadOnlyPart*) QtSupport::getQt(env, callingPart), (const TQString&)*(TQString*) QtSupport::toTQString(env, frame, &_qstring_frame)), "org.kde.koala.BrowserHostExtension"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserHostExtension_frameNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KParts::BrowserHostExtension*) QtSupport::getQt(env, obj))->frameNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserHostExtension_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::BrowserHostExtension*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserHostExtension_newBrowserHostExtension__Lorg_kde_koala_ReadOnlyPart_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new BrowserHostExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserHostExtension_newBrowserHostExtension__Lorg_kde_koala_ReadOnlyPart_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 BrowserHostExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserHostExtension_openURLInFrame(JNIEnv* env, jobject obj, jobject url, jobject urlArgs) -{ - jboolean xret = (jboolean) ((KParts::BrowserHostExtension*) QtSupport::getQt(env, obj))->openURLInFrame((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, urlArgs)); - return xret; -} - diff --git a/kdejava/koala/kdejava/BrowserHostExtension.h b/kdejava/koala/kdejava/BrowserHostExtension.h deleted file mode 100644 index 7db58f50..00000000 --- a/kdejava/koala/kdejava/BrowserHostExtension.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_BrowserHostExtension__ -#define __org_kde_koala_BrowserHostExtension__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserHostExtension_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_BrowserHostExtension_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserHostExtension_newBrowserHostExtension__Lorg_kde_koala_ReadOnlyPart_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserHostExtension_newBrowserHostExtension__Lorg_kde_koala_ReadOnlyPart_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserHostExtension_frameNames (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserHostExtension_findFrameParent (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserHostExtension_openURLInFrame (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserHostExtension_childObject (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_BrowserHostExtension__ */ diff --git a/kdejava/koala/kdejava/BrowserRun.cpp b/kdejava/koala/kdejava/BrowserRun.cpp deleted file mode 100644 index 01501670..00000000 --- a/kdejava/koala/kdejava/BrowserRun.cpp +++ /dev/null @@ -1,273 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class BrowserRunJBridge : public KParts::BrowserRun -{ -public: - BrowserRunJBridge(const KURL& arg1,const KParts::URLArgs& arg2,KParts::ReadOnlyPart* arg3,TQWidget* arg4,bool arg5,bool arg6) : KParts::BrowserRun(arg1,arg2,arg3,arg4,arg5,arg6) {}; - BrowserRunJBridge(const KURL& arg1,const KParts::URLArgs& arg2,KParts::ReadOnlyPart* arg3,TQWidget* arg4,bool arg5,bool arg6,bool arg7) : KParts::BrowserRun(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - void protected_scanFile() { - KParts::BrowserRun::scanFile(); - return; - } - void protected_init() { - KParts::BrowserRun::init(); - return; - } - void protected_handleError(TDEIO::Job* arg1) { - KParts::BrowserRun::handleError(arg1); - return; - } - void protected_slotBrowserScanFinished(TDEIO::Job* arg1) { - KParts::BrowserRun::slotBrowserScanFinished(arg1); - return; - } - void protected_slotBrowserMimetype(TDEIO::Job* arg1,const TQString& arg2) { - KParts::BrowserRun::slotBrowserMimetype(arg1,arg2); - return; - } - void protected_slotCopyToTempFileResult(TDEIO::Job* arg1) { - KParts::BrowserRun::slotCopyToTempFileResult(arg1); - return; - } - void protected_slotStatResult(TDEIO::Job* arg1) { - KParts::BrowserRun::slotStatResult(arg1); - return; - } - void slotStatResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotStatResult",(void*)arg1,"org.kde.koala.Job")) { - BrowserRun::slotStatResult(arg1); - } - return; - } - void scanFile() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.BrowserRun","scanFile")) { - BrowserRun::scanFile(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void init() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.BrowserRun","init")) { - BrowserRun::init(); - } - return; - } - void killJob() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.BrowserRun","killJob")) { - KRun::killJob(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void handleError(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"handleError",(void*)arg1,"org.kde.koala.Job")) { - BrowserRun::handleError(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.BrowserRun",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserRun_allowExecution(JNIEnv* env, jclass cls, jstring serviceType, jobject url) -{ - (void) cls; -static TQString* _qstring_serviceType = 0; - jboolean xret = (jboolean) BrowserRunJBridge::allowExecution((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_BrowserRun_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::BrowserRun*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_handleError(JNIEnv* env, jobject obj, jobject job) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_handleError((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserRun_hideErrorDialog(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::BrowserRun*) QtSupport::getQt(env, obj))->hideErrorDialog(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_init(JNIEnv* env, jobject obj) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserRun_isExecutable(JNIEnv* env, jclass cls, jstring serviceType) -{ - (void) cls; -static TQString* _qstring_serviceType = 0; - jboolean xret = (jboolean) BrowserRunJBridge::isExecutable((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_BrowserRun_isTextExecutable(JNIEnv* env, jclass cls, jstring serviceType) -{ - (void) cls; -static TQString* _qstring_serviceType = 0; - jboolean xret = (jboolean) BrowserRunJBridge::isTextExecutable((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserRun_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::BrowserRun*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_newBrowserRun__Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_qt_QWidget_2ZZ(JNIEnv* env, jobject obj, jobject url, jobject args, jobject part, jobject window, jboolean removeReferrer, jboolean trustedSource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new BrowserRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, args), (KParts::ReadOnlyPart*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, window), (bool) removeReferrer, (bool) trustedSource)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_newBrowserRun__Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_qt_QWidget_2ZZZ(JNIEnv* env, jobject obj, jobject url, jobject args, jobject part, jobject window, jboolean removeReferrer, jboolean trustedSource, jboolean hideErrorDialog) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new BrowserRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, args), (KParts::ReadOnlyPart*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, window), (bool) removeReferrer, (bool) trustedSource, (bool) hideErrorDialog)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_save(JNIEnv* env, jobject obj, jobject url, jstring suggestedFilename) -{ -static TQString* _qstring_suggestedFilename = 0; - ((KParts::BrowserRun*) QtSupport::getQt(env, obj))->save((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedFilename, &_qstring_suggestedFilename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_scanFile(JNIEnv* env, jobject obj) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_scanFile(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_simpleSave__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject url, jstring suggestedFilename) -{ - (void) cls; -static TQString* _qstring_suggestedFilename = 0; - BrowserRunJBridge::simpleSave((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedFilename, &_qstring_suggestedFilename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_simpleSave__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject url, jstring suggestedFilename, jobject window) -{ - (void) cls; -static TQString* _qstring_suggestedFilename = 0; - BrowserRunJBridge::simpleSave((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedFilename, &_qstring_suggestedFilename), (TQWidget*) QtSupport::getQt(env, window)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_slotBrowserMimetype(JNIEnv* env, jobject obj, jobject job, jstring type) -{ -static TQString* _qstring_type = 0; - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_slotBrowserMimetype((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_slotBrowserScanFinished(JNIEnv* env, jobject obj, jobject job) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_slotBrowserScanFinished((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_slotCopyToTempFileResult(JNIEnv* env, jobject obj, jobject job) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_slotCopyToTempFileResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_BrowserRun_slotStatResult(JNIEnv* env, jobject obj, jobject job) -{ - ((BrowserRunJBridge*) QtSupport::getQt(env, obj))->protected_slotStatResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_BrowserRun_suggestedFilename(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KParts::BrowserRun*) QtSupport::getQt(env, obj))->suggestedFilename(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_BrowserRun_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KParts::BrowserRun*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/BrowserRun.h b/kdejava/koala/kdejava/BrowserRun.h deleted file mode 100644 index f0b00fbf..00000000 --- a/kdejava/koala/kdejava/BrowserRun.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_BrowserRun__ -#define __org_kde_koala_BrowserRun__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserRun_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_BrowserRun_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_newBrowserRun__Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_qt_QWidget_2ZZ (JNIEnv *env, jobject, jobject, jobject, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_newBrowserRun__Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_qt_QWidget_2ZZZ (JNIEnv *env, jobject, jobject, jobject, jobject, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_BrowserRun_url (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserRun_hideErrorDialog (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_BrowserRun_suggestedFilename (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_save (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_simpleSave__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_simpleSave__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserRun_allowExecution (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserRun_isExecutable (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_BrowserRun_isTextExecutable (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_scanFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_handleError (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_slotBrowserScanFinished (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_slotBrowserMimetype (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_slotCopyToTempFileResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_BrowserRun_slotStatResult (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_BrowserRun__ */ diff --git a/kdejava/koala/kdejava/CDATASection.cpp b/kdejava/koala/kdejava/CDATASection.cpp deleted file mode 100644 index 3360bad0..00000000 --- a/kdejava/koala/kdejava/CDATASection.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class CDATASectionJBridge : public DOM::CDATASection -{ -public: - CDATASectionJBridge() : DOM::CDATASection() {}; - CDATASectionJBridge(const DOM::CDATASection& arg1) : DOM::CDATASection(arg1) {}; - CDATASectionJBridge(const DOM::Node& arg1) : DOM::CDATASection(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CDATASection_newCDATASection__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CDATASectionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CDATASection_newCDATASection__Lorg_kde_koala_CDATASection_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CDATASectionJBridge((const DOM::CDATASection&)*(const DOM::CDATASection*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CDATASection_newCDATASection__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CDATASectionJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CDATASection.h b/kdejava/koala/kdejava/CDATASection.h deleted file mode 100644 index d7957fbd..00000000 --- a/kdejava/koala/kdejava/CDATASection.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CDATASection__ -#define __org_kde_koala_CDATASection__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CDATASection_newCDATASection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CDATASection_newCDATASection__Lorg_kde_koala_CDATASection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CDATASection_newCDATASection__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CDATASection__ */ diff --git a/kdejava/koala/kdejava/CSSCharsetRule.cpp b/kdejava/koala/kdejava/CSSCharsetRule.cpp deleted file mode 100644 index 4efe54b9..00000000 --- a/kdejava/koala/kdejava/CSSCharsetRule.cpp +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class CSSCharsetRuleJBridge : public DOM::CSSCharsetRule -{ -public: - CSSCharsetRuleJBridge() : DOM::CSSCharsetRule() {}; - CSSCharsetRuleJBridge(const DOM::CSSCharsetRule& arg1) : DOM::CSSCharsetRule(arg1) {}; - CSSCharsetRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSCharsetRule(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSCharsetRule_encoding(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSCharsetRule*) QtSupport::getQt(env, obj))->encoding(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSCharsetRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__Lorg_kde_koala_CSSCharsetRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSCharsetRuleJBridge((const DOM::CSSCharsetRule&)*(const DOM::CSSCharsetRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSCharsetRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSCharsetRule_setEncoding(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSCharsetRule*) QtSupport::getQt(env, obj))->setEncoding((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/CSSCharsetRule.h b/kdejava/koala/kdejava/CSSCharsetRule.h deleted file mode 100644 index aebcf62c..00000000 --- a/kdejava/koala/kdejava/CSSCharsetRule.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSCharsetRule__ -#define __org_kde_koala_CSSCharsetRule__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__Lorg_kde_koala_CSSCharsetRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSCharsetRule_newCSSCharsetRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSCharsetRule_encoding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSCharsetRule_setEncoding (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSCharsetRule__ */ diff --git a/kdejava/koala/kdejava/CSSException.cpp b/kdejava/koala/kdejava/CSSException.cpp deleted file mode 100644 index de9fe7e5..00000000 --- a/kdejava/koala/kdejava/CSSException.cpp +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class CSSExceptionJBridge : public DOM::CSSException -{ -public: - CSSExceptionJBridge(unsigned short arg1) : DOM::CSSException(arg1) {}; - CSSExceptionJBridge(const DOM::CSSException& arg1) : DOM::CSSException(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSException_newCSSException__Lorg_kde_koala_CSSException_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSExceptionJBridge((const DOM::CSSException&)*(const DOM::CSSException*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSException_newCSSException__S(JNIEnv* env, jobject obj, jshort _code) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSExceptionJBridge((unsigned short) _code)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CSSException.h b/kdejava/koala/kdejava/CSSException.h deleted file mode 100644 index d4058ca5..00000000 --- a/kdejava/koala/kdejava/CSSException.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSException__ -#define __org_kde_koala_CSSException__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSException_newCSSException__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSException_newCSSException__Lorg_kde_koala_CSSException_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSException__ */ diff --git a/kdejava/koala/kdejava/CSSFontFaceRule.cpp b/kdejava/koala/kdejava/CSSFontFaceRule.cpp deleted file mode 100644 index 64a9e5f4..00000000 --- a/kdejava/koala/kdejava/CSSFontFaceRule.cpp +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class CSSFontFaceRuleJBridge : public DOM::CSSFontFaceRule -{ -public: - CSSFontFaceRuleJBridge() : DOM::CSSFontFaceRule() {}; - CSSFontFaceRuleJBridge(const DOM::CSSFontFaceRule& arg1) : DOM::CSSFontFaceRule(arg1) {}; - CSSFontFaceRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSFontFaceRule(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSFontFaceRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__Lorg_kde_koala_CSSFontFaceRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSFontFaceRuleJBridge((const DOM::CSSFontFaceRule&)*(const DOM::CSSFontFaceRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSFontFaceRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSFontFaceRule_style(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::CSSFontFaceRule*) QtSupport::getQt(env, obj))->style()), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSFontFaceRule.h b/kdejava/koala/kdejava/CSSFontFaceRule.h deleted file mode 100644 index 7e0387b0..00000000 --- a/kdejava/koala/kdejava/CSSFontFaceRule.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSFontFaceRule__ -#define __org_kde_koala_CSSFontFaceRule__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__Lorg_kde_koala_CSSFontFaceRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSFontFaceRule_newCSSFontFaceRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSFontFaceRule_style (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSFontFaceRule__ */ diff --git a/kdejava/koala/kdejava/CSSImportRule.cpp b/kdejava/koala/kdejava/CSSImportRule.cpp deleted file mode 100644 index e745d979..00000000 --- a/kdejava/koala/kdejava/CSSImportRule.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class CSSImportRuleJBridge : public DOM::CSSImportRule -{ -public: - CSSImportRuleJBridge() : DOM::CSSImportRule() {}; - CSSImportRuleJBridge(const DOM::CSSImportRule& arg1) : DOM::CSSImportRule(arg1) {}; - CSSImportRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSImportRule(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSImportRule_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSImportRule*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSImportRule_media(JNIEnv* env, jobject obj) -{ - DOM::MediaList _qlist; - _qlist = ((DOM::CSSImportRule*) QtSupport::getQt(env, obj))->media(); - return (jobject) KDESupport::arrayWithMediaList(env, (DOM::MediaList *) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSImportRule_newCSSImportRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSImportRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSImportRule_newCSSImportRule__Lorg_kde_koala_CSSImportRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSImportRuleJBridge((const DOM::CSSImportRule&)*(const DOM::CSSImportRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSImportRule_newCSSImportRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSImportRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSImportRule_styleSheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleSheet(((DOM::CSSImportRule*) QtSupport::getQt(env, obj))->styleSheet()), "org.kde.koala.CSSStyleSheet", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSImportRule.h b/kdejava/koala/kdejava/CSSImportRule.h deleted file mode 100644 index 25b38f91..00000000 --- a/kdejava/koala/kdejava/CSSImportRule.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSImportRule__ -#define __org_kde_koala_CSSImportRule__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSImportRule_newCSSImportRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSImportRule_newCSSImportRule__Lorg_kde_koala_CSSImportRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSImportRule_newCSSImportRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSImportRule_href (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSImportRule_media (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSImportRule_styleSheet (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSImportRule__ */ diff --git a/kdejava/koala/kdejava/CSSMediaRule.cpp b/kdejava/koala/kdejava/CSSMediaRule.cpp deleted file mode 100644 index dfaf3aab..00000000 --- a/kdejava/koala/kdejava/CSSMediaRule.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class CSSMediaRuleJBridge : public DOM::CSSMediaRule -{ -public: - CSSMediaRuleJBridge() : DOM::CSSMediaRule() {}; - CSSMediaRuleJBridge(const DOM::CSSMediaRule& arg1) : DOM::CSSMediaRule(arg1) {}; - CSSMediaRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSMediaRule(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSMediaRule_cssRules(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRuleList(((DOM::CSSMediaRule*) QtSupport::getQt(env, obj))->cssRules()), "org.kde.koala.CSSRuleList", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSMediaRule_deleteRule(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::CSSMediaRule*) QtSupport::getQt(env, obj))->deleteRule((unsigned long) index); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CSSMediaRule_insertRule(JNIEnv* env, jobject obj, jstring rule, jlong index) -{ -static DOM::DOMString* _domstring_rule = 0; - jlong xret = (jlong) ((DOM::CSSMediaRule*) QtSupport::getQt(env, obj))->insertRule((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, rule, &_domstring_rule), (unsigned long) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSMediaRule_media(JNIEnv* env, jobject obj) -{ - DOM::MediaList _qlist; - _qlist = ((DOM::CSSMediaRule*) QtSupport::getQt(env, obj))->media(); - return (jobject) KDESupport::arrayWithMediaList(env, (DOM::MediaList *) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSMediaRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__Lorg_kde_koala_CSSMediaRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSMediaRuleJBridge((const DOM::CSSMediaRule&)*(const DOM::CSSMediaRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSMediaRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CSSMediaRule.h b/kdejava/koala/kdejava/CSSMediaRule.h deleted file mode 100644 index e487e633..00000000 --- a/kdejava/koala/kdejava/CSSMediaRule.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSMediaRule__ -#define __org_kde_koala_CSSMediaRule__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__Lorg_kde_koala_CSSMediaRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSMediaRule_newCSSMediaRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSMediaRule_media (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSMediaRule_cssRules (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CSSMediaRule_insertRule (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSMediaRule_deleteRule (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSMediaRule__ */ diff --git a/kdejava/koala/kdejava/CSSPageRule.cpp b/kdejava/koala/kdejava/CSSPageRule.cpp deleted file mode 100644 index 669b1078..00000000 --- a/kdejava/koala/kdejava/CSSPageRule.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class CSSPageRuleJBridge : public DOM::CSSPageRule -{ -public: - CSSPageRuleJBridge() : DOM::CSSPageRule() {}; - CSSPageRuleJBridge(const DOM::CSSPageRule& arg1) : DOM::CSSPageRule(arg1) {}; - CSSPageRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSPageRule(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPageRule_newCSSPageRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPageRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPageRule_newCSSPageRule__Lorg_kde_koala_CSSPageRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPageRuleJBridge((const DOM::CSSPageRule&)*(const DOM::CSSPageRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPageRule_newCSSPageRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPageRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSPageRule_selectorText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSPageRule*) QtSupport::getQt(env, obj))->selectorText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPageRule_setSelectorText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSPageRule*) QtSupport::getQt(env, obj))->setSelectorText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSPageRule_style(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::CSSPageRule*) QtSupport::getQt(env, obj))->style()), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSPageRule.h b/kdejava/koala/kdejava/CSSPageRule.h deleted file mode 100644 index 77224a99..00000000 --- a/kdejava/koala/kdejava/CSSPageRule.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSPageRule__ -#define __org_kde_koala_CSSPageRule__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPageRule_newCSSPageRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPageRule_newCSSPageRule__Lorg_kde_koala_CSSPageRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPageRule_newCSSPageRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSPageRule_selectorText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPageRule_setSelectorText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSPageRule_style (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSPageRule__ */ diff --git a/kdejava/koala/kdejava/CSSPrimitiveValue.cpp b/kdejava/koala/kdejava/CSSPrimitiveValue.cpp deleted file mode 100644 index 776b92b1..00000000 --- a/kdejava/koala/kdejava/CSSPrimitiveValue.cpp +++ /dev/null @@ -1,104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class CSSPrimitiveValueJBridge : public DOM::CSSPrimitiveValue -{ -public: - CSSPrimitiveValueJBridge() : DOM::CSSPrimitiveValue() {}; - CSSPrimitiveValueJBridge(const DOM::CSSPrimitiveValue& arg1) : DOM::CSSPrimitiveValue(arg1) {}; - CSSPrimitiveValueJBridge(const DOM::CSSValue& arg1) : DOM::CSSPrimitiveValue(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSPrimitiveValue_getCounterValue(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Counter(((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->getCounterValue()), "org.kde.koala.Counter", TRUE); - return xret; -} - -JNIEXPORT jfloat JNICALL -Java_org_kde_koala_CSSPrimitiveValue_getFloatValue(JNIEnv* env, jobject obj, jshort unitType) -{ - jfloat xret = (jfloat) ((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->getFloatValue((unsigned short) unitType); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSPrimitiveValue_getRGBColorValue(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::RGBColor(((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->getRGBColorValue()), "org.kde.koala.RGBColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSPrimitiveValue_getRectValue(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Rect(((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->getRectValue()), "org.kde.koala.Rect", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSPrimitiveValue_getStringValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->getStringValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPrimitiveValueJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__Lorg_kde_koala_CSSPrimitiveValue_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPrimitiveValueJBridge((const DOM::CSSPrimitiveValue&)*(const DOM::CSSPrimitiveValue*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__Lorg_kde_koala_CSSValue_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSPrimitiveValueJBridge((const DOM::CSSValue&)*(const DOM::CSSValue*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_CSSPrimitiveValue_primitiveType(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->primitiveType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPrimitiveValue_setFloatValue(JNIEnv* env, jobject obj, jshort unitType, jfloat floatValue) -{ - ((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->setFloatValue((unsigned short) unitType, (float) floatValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSPrimitiveValue_setStringValue(JNIEnv* env, jobject obj, jshort stringType, jstring stringValue) -{ -static DOM::DOMString* _domstring_stringValue = 0; - ((DOM::CSSPrimitiveValue*) QtSupport::getQt(env, obj))->setStringValue((unsigned short) stringType, (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, stringValue, &_domstring_stringValue)); - return; -} - diff --git a/kdejava/koala/kdejava/CSSPrimitiveValue.h b/kdejava/koala/kdejava/CSSPrimitiveValue.h deleted file mode 100644 index a7dee392..00000000 --- a/kdejava/koala/kdejava/CSSPrimitiveValue.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSPrimitiveValue__ -#define __org_kde_koala_CSSPrimitiveValue__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__Lorg_kde_koala_CSSPrimitiveValue_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPrimitiveValue_newCSSPrimitiveValue__Lorg_kde_koala_CSSValue_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_CSSPrimitiveValue_primitiveType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPrimitiveValue_setFloatValue (JNIEnv *env, jobject, jshort, jfloat); -extern JNIEXPORT jfloat JNICALL Java_org_kde_koala_CSSPrimitiveValue_getFloatValue (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSPrimitiveValue_setStringValue (JNIEnv *env, jobject, jshort, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSPrimitiveValue_getStringValue (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSPrimitiveValue_getCounterValue (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSPrimitiveValue_getRectValue (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSPrimitiveValue_getRGBColorValue (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSPrimitiveValue__ */ diff --git a/kdejava/koala/kdejava/CSSRule.cpp b/kdejava/koala/kdejava/CSSRule.cpp deleted file mode 100644 index 699dbf1f..00000000 --- a/kdejava/koala/kdejava/CSSRule.cpp +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class CSSRuleJBridge : public DOM::CSSRule -{ -public: - CSSRuleJBridge() : DOM::CSSRule() {}; - CSSRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSRule(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSRule_cssText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSRule*) QtSupport::getQt(env, obj))->cssText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSRule_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSRule*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSRule_newCSSRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSRule_newCSSRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSRule_parentRule(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRule(((DOM::CSSRule*) QtSupport::getQt(env, obj))->parentRule()), "org.kde.koala.CSSRule", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSRule_parentStyleSheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleSheet(((DOM::CSSRule*) QtSupport::getQt(env, obj))->parentStyleSheet()), "org.kde.koala.CSSStyleSheet", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSRule_setCssText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSRule*) QtSupport::getQt(env, obj))->setCssText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_CSSRule_type(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::CSSRule*) QtSupport::getQt(env, obj))->type(); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSRule.h b/kdejava/koala/kdejava/CSSRule.h deleted file mode 100644 index d5eb59c0..00000000 --- a/kdejava/koala/kdejava/CSSRule.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSRule__ -#define __org_kde_koala_CSSRule__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSRule_newCSSRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSRule_newCSSRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_CSSRule_type (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSRule_cssText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSRule_setCssText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSRule_parentStyleSheet (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSRule_parentRule (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSRule_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSRule__ */ diff --git a/kdejava/koala/kdejava/CSSRuleList.cpp b/kdejava/koala/kdejava/CSSRuleList.cpp deleted file mode 100644 index 05b76f1e..00000000 --- a/kdejava/koala/kdejava/CSSRuleList.cpp +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class CSSRuleListJBridge : public DOM::CSSRuleList -{ -public: - CSSRuleListJBridge() : DOM::CSSRuleList() {}; - CSSRuleListJBridge(const DOM::CSSRuleList& arg1) : DOM::CSSRuleList(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSRuleList_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSRuleList*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSRuleList_item(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRule(((DOM::CSSRuleList*) QtSupport::getQt(env, obj))->item((unsigned long) index)), "org.kde.koala.CSSRule", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CSSRuleList_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::CSSRuleList*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSRuleList_newCSSRuleList__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSRuleListJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSRuleList_newCSSRuleList__Lorg_kde_koala_CSSRuleList_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSRuleListJBridge((const DOM::CSSRuleList&)*(const DOM::CSSRuleList*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CSSRuleList.h b/kdejava/koala/kdejava/CSSRuleList.h deleted file mode 100644 index 2c8a0efc..00000000 --- a/kdejava/koala/kdejava/CSSRuleList.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSRuleList__ -#define __org_kde_koala_CSSRuleList__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSRuleList_newCSSRuleList__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSRuleList_newCSSRuleList__Lorg_kde_koala_CSSRuleList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CSSRuleList_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSRuleList_item (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSRuleList_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSRuleList__ */ diff --git a/kdejava/koala/kdejava/CSSStyleDeclaration.cpp b/kdejava/koala/kdejava/CSSStyleDeclaration.cpp deleted file mode 100644 index 387b3fb7..00000000 --- a/kdejava/koala/kdejava/CSSStyleDeclaration.cpp +++ /dev/null @@ -1,126 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class CSSStyleDeclarationJBridge : public DOM::CSSStyleDeclaration -{ -public: - CSSStyleDeclarationJBridge() : DOM::CSSStyleDeclaration() {}; - CSSStyleDeclarationJBridge(const DOM::CSSStyleDeclaration& arg1) : DOM::CSSStyleDeclaration(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleDeclaration_cssText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->cssText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSStyleDeclaration_getPropertyCSSValue(JNIEnv* env, jobject obj, jstring propertyName) -{ -static DOM::DOMString* _domstring_propertyName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSValue(((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->getPropertyCSSValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName))), "org.kde.koala.CSSValue", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleDeclaration_getPropertyPriority(JNIEnv* env, jobject obj, jstring propertyName) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_propertyName = 0; - _qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->getPropertyPriority((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleDeclaration_getPropertyValue(JNIEnv* env, jobject obj, jstring propertyName) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_propertyName = 0; - _qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->getPropertyValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSStyleDeclaration_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleDeclaration_item(JNIEnv* env, jobject obj, jlong index) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->item((unsigned long) index); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CSSStyleDeclaration_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleDeclaration_newCSSStyleDeclaration__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleDeclarationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleDeclaration_newCSSStyleDeclaration__Lorg_kde_koala_CSSStyleDeclaration_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleDeclarationJBridge((const DOM::CSSStyleDeclaration&)*(const DOM::CSSStyleDeclaration*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSStyleDeclaration_parentRule(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRule(((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->parentRule()), "org.kde.koala.CSSRule", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleDeclaration_removeProperty(JNIEnv* env, jobject obj, jstring propertyName) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_propertyName = 0; - _qstring = ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->removeProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleDeclaration_setCssText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->setCssText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleDeclaration_setProperty(JNIEnv* env, jobject obj, jstring propertyName, jstring value, jstring priority) -{ -static DOM::DOMString* _domstring_propertyName = 0; -static DOM::DOMString* _domstring_value = 0; -static DOM::DOMString* _domstring_priority = 0; - ((DOM::CSSStyleDeclaration*) QtSupport::getQt(env, obj))->setProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, propertyName, &_domstring_propertyName), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, priority, &_domstring_priority)); - return; -} - diff --git a/kdejava/koala/kdejava/CSSStyleDeclaration.h b/kdejava/koala/kdejava/CSSStyleDeclaration.h deleted file mode 100644 index ce30e40f..00000000 --- a/kdejava/koala/kdejava/CSSStyleDeclaration.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSStyleDeclaration__ -#define __org_kde_koala_CSSStyleDeclaration__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleDeclaration_newCSSStyleDeclaration__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleDeclaration_newCSSStyleDeclaration__Lorg_kde_koala_CSSStyleDeclaration_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleDeclaration_cssText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleDeclaration_setCssText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CSSStyleDeclaration_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSStyleDeclaration_parentRule (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleDeclaration_getPropertyValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSStyleDeclaration_getPropertyCSSValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleDeclaration_removeProperty (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleDeclaration_getPropertyPriority (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleDeclaration_setProperty (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleDeclaration_item (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSStyleDeclaration_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSStyleDeclaration__ */ diff --git a/kdejava/koala/kdejava/CSSStyleRule.cpp b/kdejava/koala/kdejava/CSSStyleRule.cpp deleted file mode 100644 index df49bcd5..00000000 --- a/kdejava/koala/kdejava/CSSStyleRule.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class CSSStyleRuleJBridge : public DOM::CSSStyleRule -{ -public: - CSSStyleRuleJBridge() : DOM::CSSStyleRule() {}; - CSSStyleRuleJBridge(const DOM::CSSStyleRule& arg1) : DOM::CSSStyleRule(arg1) {}; - CSSStyleRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSStyleRule(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__Lorg_kde_koala_CSSStyleRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleRuleJBridge((const DOM::CSSStyleRule&)*(const DOM::CSSStyleRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSStyleRule_selectorText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSStyleRule*) QtSupport::getQt(env, obj))->selectorText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleRule_setSelectorText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSStyleRule*) QtSupport::getQt(env, obj))->setSelectorText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSStyleRule_style(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::CSSStyleRule*) QtSupport::getQt(env, obj))->style()), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSStyleRule.h b/kdejava/koala/kdejava/CSSStyleRule.h deleted file mode 100644 index a2733a8f..00000000 --- a/kdejava/koala/kdejava/CSSStyleRule.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSStyleRule__ -#define __org_kde_koala_CSSStyleRule__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__Lorg_kde_koala_CSSStyleRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleRule_newCSSStyleRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSStyleRule_selectorText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleRule_setSelectorText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSStyleRule_style (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSStyleRule__ */ diff --git a/kdejava/koala/kdejava/CSSStyleSheet.cpp b/kdejava/koala/kdejava/CSSStyleSheet.cpp deleted file mode 100644 index 2705f9ed..00000000 --- a/kdejava/koala/kdejava/CSSStyleSheet.cpp +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class CSSStyleSheetJBridge : public DOM::CSSStyleSheet -{ -public: - CSSStyleSheetJBridge() : DOM::CSSStyleSheet() {}; - CSSStyleSheetJBridge(const DOM::CSSStyleSheet& arg1) : DOM::CSSStyleSheet(arg1) {}; - CSSStyleSheetJBridge(const DOM::StyleSheet& arg1) : DOM::CSSStyleSheet(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSStyleSheet_cssRules(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRuleList(((DOM::CSSStyleSheet*) QtSupport::getQt(env, obj))->cssRules()), "org.kde.koala.CSSRuleList", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleSheet_deleteRule(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::CSSStyleSheet*) QtSupport::getQt(env, obj))->deleteRule((unsigned long) index); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CSSStyleSheet_insertRule(JNIEnv* env, jobject obj, jstring rule, jlong index) -{ -static DOM::DOMString* _domstring_rule = 0; - jlong xret = (jlong) ((DOM::CSSStyleSheet*) QtSupport::getQt(env, obj))->insertRule((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, rule, &_domstring_rule), (unsigned long) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleSheetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__Lorg_kde_koala_CSSStyleSheet_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleSheetJBridge((const DOM::CSSStyleSheet&)*(const DOM::CSSStyleSheet*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__Lorg_kde_koala_StyleSheet_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSStyleSheetJBridge((const DOM::StyleSheet&)*(const DOM::StyleSheet*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSStyleSheet_ownerRule(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSRule(((DOM::CSSStyleSheet*) QtSupport::getQt(env, obj))->ownerRule()), "org.kde.koala.CSSRule", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/CSSStyleSheet.h b/kdejava/koala/kdejava/CSSStyleSheet.h deleted file mode 100644 index 1280285d..00000000 --- a/kdejava/koala/kdejava/CSSStyleSheet.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSStyleSheet__ -#define __org_kde_koala_CSSStyleSheet__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__Lorg_kde_koala_CSSStyleSheet_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleSheet_newCSSStyleSheet__Lorg_kde_koala_StyleSheet_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSStyleSheet_ownerRule (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSStyleSheet_cssRules (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CSSStyleSheet_insertRule (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSStyleSheet_deleteRule (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSStyleSheet__ */ diff --git a/kdejava/koala/kdejava/CSSUnknownRule.cpp b/kdejava/koala/kdejava/CSSUnknownRule.cpp deleted file mode 100644 index be1dee92..00000000 --- a/kdejava/koala/kdejava/CSSUnknownRule.cpp +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class CSSUnknownRuleJBridge : public DOM::CSSUnknownRule -{ -public: - CSSUnknownRuleJBridge() : DOM::CSSUnknownRule() {}; - CSSUnknownRuleJBridge(const DOM::CSSUnknownRule& arg1) : DOM::CSSUnknownRule(arg1) {}; - CSSUnknownRuleJBridge(const DOM::CSSRule& arg1) : DOM::CSSUnknownRule(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSUnknownRuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__Lorg_kde_koala_CSSRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSUnknownRuleJBridge((const DOM::CSSRule&)*(const DOM::CSSRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__Lorg_kde_koala_CSSUnknownRule_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSUnknownRuleJBridge((const DOM::CSSUnknownRule&)*(const DOM::CSSUnknownRule*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CSSUnknownRule.h b/kdejava/koala/kdejava/CSSUnknownRule.h deleted file mode 100644 index f0bbd28b..00000000 --- a/kdejava/koala/kdejava/CSSUnknownRule.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSUnknownRule__ -#define __org_kde_koala_CSSUnknownRule__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__Lorg_kde_koala_CSSUnknownRule_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSUnknownRule_newCSSUnknownRule__Lorg_kde_koala_CSSRule_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSUnknownRule__ */ diff --git a/kdejava/koala/kdejava/CSSValue.cpp b/kdejava/koala/kdejava/CSSValue.cpp deleted file mode 100644 index 814b15fd..00000000 --- a/kdejava/koala/kdejava/CSSValue.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class CSSValueJBridge : public DOM::CSSValue -{ -public: - CSSValueJBridge() : DOM::CSSValue() {}; - CSSValueJBridge(const DOM::CSSValue& arg1) : DOM::CSSValue(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CSSValue_cssText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CSSValue*) QtSupport::getQt(env, obj))->cssText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_CSSValue_cssValueType(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::CSSValue*) QtSupport::getQt(env, obj))->cssValueType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSValue_isCSSPrimitiveValue(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSValue*) QtSupport::getQt(env, obj))->isCSSPrimitiveValue(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSValue_isCSSValueList(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSValue*) QtSupport::getQt(env, obj))->isCSSValueList(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CSSValue_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CSSValue*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValue_newCSSValue__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSValueJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValue_newCSSValue__Lorg_kde_koala_CSSValue_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSValueJBridge((const DOM::CSSValue&)*(const DOM::CSSValue*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValue_setCssText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CSSValue*) QtSupport::getQt(env, obj))->setCssText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/CSSValue.h b/kdejava/koala/kdejava/CSSValue.h deleted file mode 100644 index ea7002f8..00000000 --- a/kdejava/koala/kdejava/CSSValue.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSValue__ -#define __org_kde_koala_CSSValue__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValue_newCSSValue__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValue_newCSSValue__Lorg_kde_koala_CSSValue_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CSSValue_cssText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValue_setCssText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_CSSValue_cssValueType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSValue_isCSSValueList (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSValue_isCSSPrimitiveValue (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CSSValue_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSValue__ */ diff --git a/kdejava/koala/kdejava/CSSValueList.cpp b/kdejava/koala/kdejava/CSSValueList.cpp deleted file mode 100644 index e0ad4366..00000000 --- a/kdejava/koala/kdejava/CSSValueList.cpp +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class CSSValueListJBridge : public DOM::CSSValueList -{ -public: - CSSValueListJBridge() : DOM::CSSValueList() {}; - CSSValueListJBridge(const DOM::CSSValueList& arg1) : DOM::CSSValueList(arg1) {}; - CSSValueListJBridge(const DOM::CSSValue& arg1) : DOM::CSSValueList(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CSSValueList_item(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSValue(((DOM::CSSValueList*) QtSupport::getQt(env, obj))->item((unsigned long) index)), "org.kde.koala.CSSValue", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CSSValueList_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::CSSValueList*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValueList_newCSSValueList__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSValueListJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValueList_newCSSValueList__Lorg_kde_koala_CSSValueList_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSValueListJBridge((const DOM::CSSValueList&)*(const DOM::CSSValueList*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CSSValueList_newCSSValueList__Lorg_kde_koala_CSSValue_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CSSValueListJBridge((const DOM::CSSValue&)*(const DOM::CSSValue*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CSSValueList.h b/kdejava/koala/kdejava/CSSValueList.h deleted file mode 100644 index d75951e9..00000000 --- a/kdejava/koala/kdejava/CSSValueList.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CSSValueList__ -#define __org_kde_koala_CSSValueList__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValueList_newCSSValueList__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValueList_newCSSValueList__Lorg_kde_koala_CSSValueList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CSSValueList_newCSSValueList__Lorg_kde_koala_CSSValue_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CSSValueList_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CSSValueList_item (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CSSValueList__ */ diff --git a/kdejava/koala/kdejava/CharacterData.cpp b/kdejava/koala/kdejava/CharacterData.cpp deleted file mode 100644 index ef17c92a..00000000 --- a/kdejava/koala/kdejava/CharacterData.cpp +++ /dev/null @@ -1,109 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class CharacterDataJBridge : public DOM::CharacterData -{ -public: - CharacterDataJBridge() : DOM::CharacterData() {}; - CharacterDataJBridge(const DOM::CharacterData& arg1) : DOM::CharacterData(arg1) {}; - CharacterDataJBridge(const DOM::Node& arg1) : DOM::CharacterData(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_appendData(JNIEnv* env, jobject obj, jstring arg) -{ -static DOM::DOMString* _domstring_arg = 0; - ((DOM::CharacterData*) QtSupport::getQt(env, obj))->appendData((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg, &_domstring_arg)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CharacterData_data(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CharacterData*) QtSupport::getQt(env, obj))->data(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_deleteData(JNIEnv* env, jobject obj, jlong offset, jlong count) -{ - ((DOM::CharacterData*) QtSupport::getQt(env, obj))->deleteData((const unsigned long) offset, (const unsigned long) count); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_insertData(JNIEnv* env, jobject obj, jlong offset, jstring arg) -{ -static DOM::DOMString* _domstring_arg = 0; - ((DOM::CharacterData*) QtSupport::getQt(env, obj))->insertData((const unsigned long) offset, (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg, &_domstring_arg)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_CharacterData_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::CharacterData*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_newCharacterData__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CharacterDataJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_newCharacterData__Lorg_kde_koala_CharacterData_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CharacterDataJBridge((const DOM::CharacterData&)*(const DOM::CharacterData*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_newCharacterData__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CharacterDataJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_replaceData(JNIEnv* env, jobject obj, jlong offset, jlong count, jstring arg) -{ -static DOM::DOMString* _domstring_arg = 0; - ((DOM::CharacterData*) QtSupport::getQt(env, obj))->replaceData((const unsigned long) offset, (const unsigned long) count, (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg, &_domstring_arg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CharacterData_setData(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::CharacterData*) QtSupport::getQt(env, obj))->setData((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CharacterData_substringData(JNIEnv* env, jobject obj, jlong offset, jlong count) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CharacterData*) QtSupport::getQt(env, obj))->substringData((const unsigned long) offset, (const unsigned long) count); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/CharacterData.h b/kdejava/koala/kdejava/CharacterData.h deleted file mode 100644 index 27ff2441..00000000 --- a/kdejava/koala/kdejava/CharacterData.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CharacterData__ -#define __org_kde_koala_CharacterData__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_newCharacterData__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_newCharacterData__Lorg_kde_koala_CharacterData_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_newCharacterData__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CharacterData_data (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_setData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_CharacterData_length (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CharacterData_substringData (JNIEnv *env, jobject, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_appendData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_insertData (JNIEnv *env, jobject, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_deleteData (JNIEnv *env, jobject, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CharacterData_replaceData (JNIEnv *env, jobject, jlong, jlong, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CharacterData__ */ diff --git a/kdejava/koala/kdejava/Comment.cpp b/kdejava/koala/kdejava/Comment.cpp deleted file mode 100644 index 553ef2cb..00000000 --- a/kdejava/koala/kdejava/Comment.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class CommentJBridge : public DOM::Comment -{ -public: - CommentJBridge() : DOM::Comment() {}; - CommentJBridge(const DOM::Comment& arg1) : DOM::Comment(arg1) {}; - CommentJBridge(const DOM::Node& arg1) : DOM::Comment(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Comment_newComment__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CommentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Comment_newComment__Lorg_kde_koala_Comment_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CommentJBridge((const DOM::Comment&)*(const DOM::Comment*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Comment_newComment__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CommentJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/Comment.h b/kdejava/koala/kdejava/Comment.h deleted file mode 100644 index a45367e0..00000000 --- a/kdejava/koala/kdejava/Comment.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Comment__ -#define __org_kde_koala_Comment__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Comment_newComment__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Comment_newComment__Lorg_kde_koala_Comment_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Comment_newComment__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Comment__ */ diff --git a/kdejava/koala/kdejava/Connection.cpp b/kdejava/koala/kdejava/Connection.cpp deleted file mode 100644 index 92616fe2..00000000 --- a/kdejava/koala/kdejava/Connection.cpp +++ /dev/null @@ -1,197 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class ConnectionJBridge : public TDEIO::Connection -{ -public: - ConnectionJBridge() : TDEIO::Connection() {}; - void protected_dequeue() { - TDEIO::Connection::dequeue(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Connection",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Connection_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::Connection*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_close(JNIEnv* env, jobject obj) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_connect__(JNIEnv* env, jobject obj) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->connect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_connect__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject receiver) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->connect((TQObject*) QtSupport::getQt(env, receiver)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject receiver, jstring member) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->connect((TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_dequeue(JNIEnv* env, jobject obj) -{ - ((ConnectionJBridge*) QtSupport::getQt(env, obj))->protected_dequeue(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Connection_fd_1from(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->fd_from(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Connection_fd_1to(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->fd_to(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_init(JNIEnv* env, jobject obj, jint fd_in, jint fd_out) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->init((int) fd_in, (int) fd_out); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Connection_inited(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->inited(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Connection_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Connection*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_newConnection(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ConnectionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Connection_read(JNIEnv* env, jobject obj, jintArray _cmd, jbyteArray data) -{ - int* _int__cmd = QtSupport::toIntPtr(env, _cmd); -static TQByteArray* _qbyteArray_data = 0; - jint xret = (jint) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->read( (int*) _int__cmd, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - env->SetIntArrayRegion(_cmd, 0, 1, (jint *) _int__cmd); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_resume(JNIEnv* env, jobject obj) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->resume(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_send__I(JNIEnv* env, jobject obj, jint cmd) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->send((int) cmd); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_send__I_3B(JNIEnv* env, jobject obj, jint cmd, jbyteArray arr) -{ -static TQByteArray* _qbyteArray_arr = 0; - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->send((int) cmd, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arr, &_qbyteArray_arr)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Connection_sendnow(JNIEnv* env, jobject obj, jint _cmd, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->sendnow((int) _cmd, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Connection_suspend(JNIEnv* env, jobject obj) -{ - ((TDEIO::Connection*) QtSupport::getQt(env, obj))->suspend(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Connection_suspended(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Connection*) QtSupport::getQt(env, obj))->suspended(); - return xret; -} - diff --git a/kdejava/koala/kdejava/Connection.h b/kdejava/koala/kdejava/Connection.h deleted file mode 100644 index 51699bb6..00000000 --- a/kdejava/koala/kdejava/Connection.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Connection__ -#define __org_kde_koala_Connection__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Connection_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Connection_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_newConnection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_init (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_connect__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_connect__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_close (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Connection_fd_1from (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Connection_fd_1to (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Connection_inited (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_send__I_3B (JNIEnv *env, jobject, jint, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_send__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Connection_sendnow (JNIEnv *env, jobject, jint, jbyteArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Connection_read (JNIEnv *env, jobject, jintArray, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_suspend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_resume (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Connection_suspended (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Connection_dequeue (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Connection__ */ diff --git a/kdejava/koala/kdejava/CopyJob.cpp b/kdejava/koala/kdejava/CopyJob.cpp deleted file mode 100644 index 43297aff..00000000 --- a/kdejava/koala/kdejava/CopyJob.cpp +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CopyJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CopyJob_destURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->destURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CopyJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CopyJob_setDefaultPermissions(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->setDefaultPermissions((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CopyJob_setInteractive(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->setInteractive((bool) b); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_CopyJob_srcURLs(JNIEnv* env, jobject obj) -{ - KURL::List _qlist; - _qlist = ((TDEIO::CopyJob*) QtSupport::getQt(env, obj))->srcURLs(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/CopyJob.h b/kdejava/koala/kdejava/CopyJob.h deleted file mode 100644 index c4782a34..00000000 --- a/kdejava/koala/kdejava/CopyJob.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CopyJob__ -#define __org_kde_koala_CopyJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CopyJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CopyJob_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CopyJob_srcURLs (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_CopyJob_destURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CopyJob_setDefaultPermissions (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_CopyJob_setInteractive (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CopyJob__ */ diff --git a/kdejava/koala/kdejava/Counter.cpp b/kdejava/koala/kdejava/Counter.cpp deleted file mode 100644 index 4ebc48f4..00000000 --- a/kdejava/koala/kdejava/Counter.cpp +++ /dev/null @@ -1,66 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class CounterJBridge : public DOM::Counter -{ -public: - CounterJBridge() : DOM::Counter() {}; - CounterJBridge(const DOM::Counter& arg1) : DOM::Counter(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Counter_identifier(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Counter*) QtSupport::getQt(env, obj))->identifier(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Counter_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Counter*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Counter_listStyle(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Counter*) QtSupport::getQt(env, obj))->listStyle(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Counter_newCounter__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CounterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Counter_newCounter__Lorg_kde_koala_Counter_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CounterJBridge((const DOM::Counter&)*(const DOM::Counter*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Counter_separator(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Counter*) QtSupport::getQt(env, obj))->separator(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Counter.h b/kdejava/koala/kdejava/Counter.h deleted file mode 100644 index f744e81a..00000000 --- a/kdejava/koala/kdejava/Counter.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Counter__ -#define __org_kde_koala_Counter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Counter_newCounter__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Counter_newCounter__Lorg_kde_koala_Counter_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Counter_identifier (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Counter_listStyle (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Counter_separator (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Counter_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Counter__ */ diff --git a/kdejava/koala/kdejava/CustomNodeFilter.cpp b/kdejava/koala/kdejava/CustomNodeFilter.cpp deleted file mode 100644 index fa87732a..00000000 --- a/kdejava/koala/kdejava/CustomNodeFilter.cpp +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class CustomNodeFilterJBridge : public DOM::CustomNodeFilter -{ -public: - CustomNodeFilterJBridge() : DOM::CustomNodeFilter() {}; -}; - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_CustomNodeFilter_acceptNode(JNIEnv* env, jobject obj, jobject n) -{ - jshort xret = (jshort) ((DOM::CustomNodeFilter*) QtSupport::getQt(env, obj))->acceptNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, n)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_CustomNodeFilter_customNodeFilterType(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::CustomNodeFilter*) QtSupport::getQt(env, obj))->customNodeFilterType(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_CustomNodeFilter_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::CustomNodeFilter*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_CustomNodeFilter_newCustomNodeFilter(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new CustomNodeFilterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/CustomNodeFilter.h b/kdejava/koala/kdejava/CustomNodeFilter.h deleted file mode 100644 index aaf527fd..00000000 --- a/kdejava/koala/kdejava/CustomNodeFilter.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_CustomNodeFilter__ -#define __org_kde_koala_CustomNodeFilter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_CustomNodeFilter_newCustomNodeFilter (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_CustomNodeFilter_acceptNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_CustomNodeFilter_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_CustomNodeFilter_customNodeFilterType (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_CustomNodeFilter__ */ diff --git a/kdejava/koala/kdejava/DCOPClient.cpp b/kdejava/koala/kdejava/DCOPClient.cpp deleted file mode 100644 index db18b2d5..00000000 --- a/kdejava/koala/kdejava/DCOPClient.cpp +++ /dev/null @@ -1,641 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class DCOPClientJBridge : public DCOPClient -{ -public: - DCOPClientJBridge() : DCOPClient() {}; - void protected_processSocketData(int arg1) { - DCOPClient::processSocketData(arg1); - return; - } - ~DCOPClientJBridge() {QtSupport::qtKeyDeleted(this);} - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.DCOPClient",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_acceptCalls(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->acceptCalls(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_appId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->appId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_attach(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->attach(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_bindToApp(JNIEnv* env, jobject obj) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->bindToApp(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_DCOPClient_callAsync(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jstring remFun, jbyteArray data, jobject callBackObj, jstring callBackSlot) -{ -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; -static TQCString* _qcstring_remFun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qstring_callBackSlot = 0; - jint xret = (jint) ((DCOPClient*) QtSupport::getQt(env, obj))->callAsync((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remFun, &_qcstring_remFun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQObject*) QtSupport::getQt(env, callBackObj), (const char*) QtSupport::toCharString(env, callBackSlot, &_qstring_callBackSlot)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_call(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jstring remFun, jbyteArray data, jobject replyType, jbyteArray replyData, jboolean useEventLoop, jint timeout) -{ -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; -static TQCString* _qcstring_remFun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->call((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remFun, &_qcstring_remFun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData), (bool) useEventLoop, (int) timeout); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring receiverObj, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_receiverObj = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, receiverObj, &_qcstring_receiverObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_dcopServerFile__(JNIEnv* env, jclass cls) -{ - TQCString _qstring; - (void) cls; - _qstring = DCOPClientJBridge::dcopServerFile(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_dcopServerFile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring hostname) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_hostname = 0; - _qstring = DCOPClientJBridge::dcopServerFile((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, hostname, &_qcstring_hostname)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_defaultObject(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->defaultObject(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_detach(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->detach(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring receiverObj, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_receiverObj = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, receiverObj, &_qcstring_receiverObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_DCOPClient_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_emergencyClose(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - DCOPClientJBridge::emergencyClose(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_emitDCOPSignal__Ljava_lang_String_2Ljava_lang_String_2_3B(JNIEnv* env, jobject obj, jstring object, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_object = 0; -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPClient*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, object, &_qcstring_object), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_emitDCOPSignal__Ljava_lang_String_2_3B(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPClient*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((DCOPClient*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (DCOPClient*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_findLocalClient(JNIEnv* env, jclass cls, jstring _appId) -{ - (void) cls; -static TQCString* _qcstring__appId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)DCOPClientJBridge::findLocalClient((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, _appId, &_qcstring__appId)), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_findObject(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jstring remFun, jbyteArray data, jobject foundApp, jobject foundObj, jboolean useEventLoop, jint timeout) -{ -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; -static TQCString* _qcstring_remFun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_foundApp = 0; - if (_qcstring_foundApp == 0) { - _qcstring_foundApp = new TQCString(); - } -static TQCString* _qcstring_foundObj = 0; - if (_qcstring_foundObj == 0) { - _qcstring_foundObj = new TQCString(); - } - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->findObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remFun, &_qcstring_remFun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_foundApp, (TQCString&)*(TQCString*) _qcstring_foundObj, (bool) useEventLoop, (int) timeout); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_foundApp, foundApp); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_foundObj, foundObj); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_find(JNIEnv* env, jobject obj, jstring app, jstring arg2, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_app = 0; -static TQCString* _qcstring_arg2 = 0; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, app, &_qcstring_app), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg2, &_qcstring_arg2), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_iceauthPath(JNIEnv* env, jclass cls) -{ - TQCString _qstring; - (void) cls; - _qstring = DCOPClientJBridge::iceauthPath(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isApplicationRegistered(JNIEnv* env, jobject obj, jstring remApp) -{ -static TQCString* _qcstring_remApp = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->isApplicationRegistered((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isAttachedToForeignServer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->isAttachedToForeignServer(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isAttached(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->isAttached(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isRegistered(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->isRegistered(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_isSuspended(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->isSuspended(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_mainClient(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)DCOPClientJBridge::mainClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPClient*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_newDCOPClient(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPClientJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_normalizeFunctionSignature(JNIEnv* env, jclass cls, jstring fun) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_fun = 0; - _qstring = DCOPClientJBridge::normalizeFunctionSignature((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_postMortemFunction(JNIEnv* env, jclass cls) -{ - const char* _qstring; - (void) cls; - _qstring = DCOPClientJBridge::postMortemFunction(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_postMortemObject(JNIEnv* env, jclass cls) -{ - const char* _qstring; - (void) cls; - _qstring = DCOPClientJBridge::postMortemObject(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_postMortemSender(JNIEnv* env, jclass cls) -{ - const char* _qstring; - (void) cls; - _qstring = DCOPClientJBridge::postMortemSender(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_processSocketData(JNIEnv* env, jobject obj, jint socknum) -{ - ((DCOPClientJBridge*) QtSupport::getQt(env, obj))->protected_processSocketData((int) socknum); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_qtBridgeEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->qtBridgeEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_receive(JNIEnv* env, jobject obj, jstring app, jstring arg2, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_app = 0; -static TQCString* _qcstring_arg2 = 0; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->receive((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, app, &_qcstring_app), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg2, &_qcstring_arg2), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_registerAs__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appId) -{ - TQCString _qstring; -static TQCString* _qcstring_appId = 0; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->registerAs((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, appId, &_qcstring_appId)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_registerAs__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring appId, jboolean addPID) -{ - TQCString _qstring; -static TQCString* _qcstring_appId = 0; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->registerAs((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, appId, &_qcstring_appId), (bool) addPID); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_registeredApplications(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->registeredApplications(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteFunctions((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj)); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jbooleanArray ok) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteFunctions((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteInterfaces((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj)); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jbooleanArray ok) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteInterfaces((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteObjects((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp)); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring remApp, jbooleanArray ok) -{ - QCStringList _qlist; -static TQCString* _qcstring_remApp = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qlist = ((DCOPClient*) QtSupport::getQt(env, obj))->remoteObjects((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_resume(JNIEnv* env, jobject obj) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->resume(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jstring remFun, jstring data) -{ -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; -static TQCString* _qcstring_remFun = 0; -static TQString* _qstring_data = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->send((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remFun, &_qcstring_remFun), (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPClient_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3B(JNIEnv* env, jobject obj, jstring remApp, jstring remObj, jstring remFun, jbyteArray data) -{ -static TQCString* _qcstring_remApp = 0; -static TQCString* _qcstring_remObj = 0; -static TQCString* _qcstring_remFun = 0; -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((DCOPClient*) QtSupport::getQt(env, obj))->send((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remApp, &_qcstring_remApp), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remObj, &_qcstring_remObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, remFun, &_qcstring_remFun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPClient_senderId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPClient*) QtSupport::getQt(env, obj))->senderId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setAcceptCalls(JNIEnv* env, jobject obj, jboolean b) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->setAcceptCalls((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setDaemonMode(JNIEnv* env, jobject obj, jboolean daemonMode) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->setDaemonMode((bool) daemonMode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setDefaultObject(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - ((DCOPClient*) QtSupport::getQt(env, obj))->setDefaultObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setMainClient(JNIEnv* env, jclass cls, jobject mainClient) -{ - (void) cls; - DCOPClientJBridge::setMainClient((DCOPClient*) QtSupport::getQt(env, mainClient)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setNotifications(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->setNotifications((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setPriorityCall(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->setPriorityCall((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setQtBridgeEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->setQtBridgeEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_setServerAddress(JNIEnv* env, jclass cls, jstring addr) -{ - (void) cls; -static TQCString* _qcstring_addr = 0; - DCOPClientJBridge::setServerAddress((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, addr, &_qcstring_addr)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_DCOPClient_socket(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DCOPClient*) QtSupport::getQt(env, obj))->socket(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPClient_suspend(JNIEnv* env, jobject obj) -{ - ((DCOPClient*) QtSupport::getQt(env, obj))->suspend(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_DCOPClient_transactionId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DCOPClient*) QtSupport::getQt(env, obj))->transactionId(); - return xret; -} - diff --git a/kdejava/koala/kdejava/DCOPClient.h b/kdejava/koala/kdejava/DCOPClient.h deleted file mode 100644 index 11e79383..00000000 --- a/kdejava/koala/kdejava/DCOPClient.h +++ /dev/null @@ -1,81 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DCOPClient__ -#define __org_kde_koala_DCOPClient__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_newDCOPClient (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_attach (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_bindToApp (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_detach (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isAttached (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isAttachedToForeignServer (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_acceptCalls (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setAcceptCalls (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_qtBridgeEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setQtBridgeEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_registerAs__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_registerAs__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isRegistered (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_appId (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_DCOPClient_socket (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_suspend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_resume (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isSuspended (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3B (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_send__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_call (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray, jobject, jbyteArray, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_DCOPClient_callAsync (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_findObject (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray, jobject, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_emitDCOPSignal__Ljava_lang_String_2Ljava_lang_String_2_3B (JNIEnv *env, jobject, jstring, jstring, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_emitDCOPSignal__Ljava_lang_String_2_3B (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_DCOPClient_transactionId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isApplicationRegistered (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_registeredApplications (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteObjects__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteInterfaces__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_remoteFunctions__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_receive (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_find (JNIEnv *env, jobject, jstring, jstring, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_senderId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setDefaultObject (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_defaultObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setNotifications (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setDaemonMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setPriorityCall (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setServerAddress (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_normalizeFunctionSignature (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_mainClient (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_setMainClient (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPClient_findLocalClient (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_emergencyClose (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_postMortemSender (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_postMortemObject (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_postMortemFunction (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_dcopServerFile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_dcopServerFile__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPClient_iceauthPath (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_processSocketData (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPClient_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPClient_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DCOPClient__ */ diff --git a/kdejava/koala/kdejava/DCOPObject.cpp b/kdejava/koala/kdejava/DCOPObject.cpp deleted file mode 100644 index bfce1f72..00000000 --- a/kdejava/koala/kdejava/DCOPObject.cpp +++ /dev/null @@ -1,222 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class DCOPObjectJBridge : public DCOPObject -{ -public: - DCOPObjectJBridge() : DCOPObject() {}; - DCOPObjectJBridge(TQObject* arg1) : DCOPObject(arg1) {}; - DCOPObjectJBridge(const TQCString& arg1) : DCOPObject(arg1) {}; - ~DCOPObjectJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_DCOPObject_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (DCOPObject*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)DCOPObjectJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) DCOPObjectJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DCOPObject_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_newDCOPObject__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPObjectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_newDCOPObject__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPObjectJBridge((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_newDCOPObject__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPObjectJBridge((TQObject*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPObject_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DCOPObject_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = DCOPObjectJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObject_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObject_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - diff --git a/kdejava/koala/kdejava/DCOPObject.h b/kdejava/koala/kdejava/DCOPObject.h deleted file mode 100644 index d3a89329..00000000 --- a/kdejava/koala/kdejava/DCOPObject.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DCOPObject__ -#define __org_kde_koala_DCOPObject__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_newDCOPObject__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_newDCOPObject__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_newDCOPObject__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPObject_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DCOPObject_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DCOPObject_objectName (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObject_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObject_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DCOPObject__ */ diff --git a/kdejava/koala/kdejava/DCOPObjectProxy.cpp b/kdejava/koala/kdejava/DCOPObjectProxy.cpp deleted file mode 100644 index 7f4058e5..00000000 --- a/kdejava/koala/kdejava/DCOPObjectProxy.cpp +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class DCOPObjectProxyJBridge : public DCOPObjectProxy -{ -public: - DCOPObjectProxyJBridge() : DCOPObjectProxy() {}; - ~DCOPObjectProxyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObjectProxy_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_DCOPObjectProxy_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObjectProxy_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (DCOPObjectProxy*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObjectProxy_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DCOPObjectProxy_newDCOPObjectProxy(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DCOPObjectProxyJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DCOPObjectProxy_process(JNIEnv* env, jobject obj, jstring arg1, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_arg1 = 0; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObjectProxy*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - diff --git a/kdejava/koala/kdejava/DCOPObjectProxy.h b/kdejava/koala/kdejava/DCOPObjectProxy.h deleted file mode 100644 index 754f8602..00000000 --- a/kdejava/koala/kdejava/DCOPObjectProxy.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DCOPObjectProxy__ -#define __org_kde_koala_DCOPObjectProxy__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObjectProxy_newDCOPObjectProxy (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObjectProxy_process (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObjectProxy_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DCOPObjectProxy_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DCOPObjectProxy_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DCOPObjectProxy__ */ diff --git a/kdejava/koala/kdejava/DOMException.cpp b/kdejava/koala/kdejava/DOMException.cpp deleted file mode 100644 index f0d7ea30..00000000 --- a/kdejava/koala/kdejava/DOMException.cpp +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class DOMExceptionJBridge : public DOM::DOMException -{ -public: - DOMExceptionJBridge(unsigned short arg1) : DOM::DOMException(arg1) {}; - DOMExceptionJBridge(const DOM::DOMException& arg1) : DOM::DOMException(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_DOMException_newDOMException__Lorg_kde_koala_DOMException_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DOMExceptionJBridge((const DOM::DOMException&)*(const DOM::DOMException*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DOMException_newDOMException__S(JNIEnv* env, jobject obj, jshort _code) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DOMExceptionJBridge((unsigned short) _code)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/DOMException.h b/kdejava/koala/kdejava/DOMException.h deleted file mode 100644 index 65bb4139..00000000 --- a/kdejava/koala/kdejava/DOMException.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DOMException__ -#define __org_kde_koala_DOMException__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DOMException_newDOMException__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DOMException_newDOMException__Lorg_kde_koala_DOMException_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DOMException__ */ diff --git a/kdejava/koala/kdejava/DOMImplementation.cpp b/kdejava/koala/kdejava/DOMImplementation.cpp deleted file mode 100644 index f49c1634..00000000 --- a/kdejava/koala/kdejava/DOMImplementation.cpp +++ /dev/null @@ -1,97 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class DOMImplementationJBridge : public DOM::DOMImplementation -{ -public: - DOMImplementationJBridge() : DOM::DOMImplementation() {}; - DOMImplementationJBridge(const DOM::DOMImplementation& arg1) : DOM::DOMImplementation(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DOMImplementation_createCSSStyleSheet(JNIEnv* env, jobject obj, jstring title, jstring media) -{ -static DOM::DOMString* _domstring_title = 0; -static DOM::DOMString* _domstring_media = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleSheet(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createCSSStyleSheet((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, title, &_domstring_title), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, media, &_domstring_media))), "org.kde.koala.CSSStyleSheet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DOMImplementation_createDocumentType(JNIEnv* env, jobject obj, jstring qualifiedName, jstring publicId, jstring systemId) -{ -static DOM::DOMString* _domstring_qualifiedName = 0; -static DOM::DOMString* _domstring_publicId = 0; -static DOM::DOMString* _domstring_systemId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentType(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createDocumentType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, publicId, &_domstring_publicId), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, systemId, &_domstring_systemId))), "org.kde.koala.DocumentType", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DOMImplementation_createDocument(JNIEnv* env, jobject obj, jstring namespaceURI, jstring qualifiedName, jobject doctype) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_qualifiedName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createDocument((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName), (const DOM::DocumentType&)*(const DOM::DocumentType*) QtSupport::getQt(env, doctype))), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DOMImplementation_createHTMLDocument(JNIEnv* env, jobject obj, jstring title) -{ -static DOM::DOMString* _domstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLDocument(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->createHTMLDocument((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, title, &_domstring_title))), "org.kde.koala.HTMLDocument", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DOMImplementation_getInterface(JNIEnv* env, jobject obj, jstring feature) -{ -static DOM::DOMString* _domstring_feature = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DOMImplementation(((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->getInterface((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, feature, &_domstring_feature))), "org.kde.koala.DOMImplementation", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DOMImplementation_hasFeature(JNIEnv* env, jobject obj, jstring feature, jstring version) -{ -static DOM::DOMString* _domstring_feature = 0; -static DOM::DOMString* _domstring_version = 0; - jboolean xret = (jboolean) ((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->hasFeature((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, feature, &_domstring_feature), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, version, &_domstring_version)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DOMImplementation_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::DOMImplementation*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DOMImplementation_newDOMImplementation__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DOMImplementationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DOMImplementation_newDOMImplementation__Lorg_kde_koala_DOMImplementation_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DOMImplementationJBridge((const DOM::DOMImplementation&)*(const DOM::DOMImplementation*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/DOMImplementation.h b/kdejava/koala/kdejava/DOMImplementation.h deleted file mode 100644 index d7df30f0..00000000 --- a/kdejava/koala/kdejava/DOMImplementation.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DOMImplementation__ -#define __org_kde_koala_DOMImplementation__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DOMImplementation_newDOMImplementation__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DOMImplementation_newDOMImplementation__Lorg_kde_koala_DOMImplementation_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DOMImplementation_hasFeature (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DOMImplementation_createDocumentType (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DOMImplementation_createDocument (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DOMImplementation_getInterface (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DOMImplementation_createCSSStyleSheet (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DOMImplementation_createHTMLDocument (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DOMImplementation_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DOMImplementation__ */ diff --git a/kdejava/koala/kdejava/DavJob.cpp b/kdejava/koala/kdejava/DavJob.cpp deleted file mode 100644 index cfa1da70..00000000 --- a/kdejava/koala/kdejava/DavJob.cpp +++ /dev/null @@ -1,152 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class DavJobJBridge : public TDEIO::DavJob -{ -public: - DavJobJBridge(const KURL& arg1,int arg2,const TQString& arg3,bool arg4) : TDEIO::DavJob(arg1,arg2,arg3,arg4) {}; - void protected_slotFinished() { - TDEIO::DavJob::slotFinished(); - return; - } - void protected_slotData(const TQByteArray& arg1) { - TDEIO::DavJob::slotData(arg1); - return; - } - void slotRedirection(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotRedirection",(void*)&arg1,"org.kde.koala.KURL")) { - TransferJob::slotRedirection(arg1); - } - return; - } - void slotNeedSubURLData() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","slotNeedSubURLData")) { - TransferJob::slotNeedSubURLData(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","slotFinished")) { - DavJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - TransferJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - TransferJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotDataReq() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","slotDataReq")) { - TransferJob::slotDataReq(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.DavJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DavJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DavJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::DavJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DavJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::DavJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DavJob_newDavJob(JNIEnv* env, jobject obj, jobject url, jint method, jstring request, jboolean showProgressInfo) -{ -static TQString* _qstring_request = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DavJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) method, (const TQString&)*(TQString*) QtSupport::toTQString(env, request, &_qstring_request), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DavJob_response(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDomDocument *) &((TDEIO::DavJob*) QtSupport::getQt(env, obj))->response(), "org.kde.qt.TQDomDocument"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DavJob_slotData(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((DavJobJBridge*) QtSupport::getQt(env, obj))->protected_slotData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DavJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((DavJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - diff --git a/kdejava/koala/kdejava/DavJob.h b/kdejava/koala/kdejava/DavJob.h deleted file mode 100644 index ef140a92..00000000 --- a/kdejava/koala/kdejava/DavJob.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DavJob__ -#define __org_kde_koala_DavJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DavJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DavJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DavJob_newDavJob (JNIEnv *env, jobject, jobject, jint, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DavJob_response (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DavJob_slotFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DavJob_slotData (JNIEnv *env, jobject, jbyteArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DavJob__ */ diff --git a/kdejava/koala/kdejava/DefaultProgress.cpp b/kdejava/koala/kdejava/DefaultProgress.cpp deleted file mode 100644 index 3d2d4dcc..00000000 --- a/kdejava/koala/kdejava/DefaultProgress.cpp +++ /dev/null @@ -1,618 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class DefaultProgressJBridge : public TDEIO::DefaultProgress -{ -public: - DefaultProgressJBridge(bool arg1) : TDEIO::DefaultProgress(arg1) {}; - DefaultProgressJBridge() : TDEIO::DefaultProgress() {}; - DefaultProgressJBridge(TQWidget* arg1,const char* arg2) : TDEIO::DefaultProgress(arg1,arg2) {}; - DefaultProgressJBridge(TQWidget* arg1) : TDEIO::DefaultProgress(arg1) {}; - void protected_init() { - TDEIO::DefaultProgress::init(); - return; - } - void protected_showTotals() { - TDEIO::DefaultProgress::showTotals(); - return; - } - void protected_setDestVisible(bool arg1) { - TDEIO::DefaultProgress::setDestVisible(arg1); - return; - } - void protected_checkDestination(const KURL& arg1) { - TDEIO::DefaultProgress::checkDestination(arg1); - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.DefaultProgress","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - ProgressBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.DefaultProgress",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DefaultProgress","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_checkDestination(JNIEnv* env, jobject obj, jobject dest) -{ - ((DefaultProgressJBridge*) QtSupport::getQt(env, obj))->protected_checkDestination((const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DefaultProgress_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_init(JNIEnv* env, jobject obj) -{ - ((DefaultProgressJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DefaultProgress_keepOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->keepOpen(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DefaultProgress_makePercentString(JNIEnv* env, jclass cls, jlong percent, jlong totalSize, jlong totalFiles) -{ - TQString _qstring; - (void) cls; - _qstring = DefaultProgressJBridge::makePercentString((unsigned long) percent, (TDEIO::filesize_t) totalSize, (unsigned long) totalFiles); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DefaultProgress_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_newDefaultProgress__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DefaultProgressJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_newDefaultProgress__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DefaultProgressJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_newDefaultProgress__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 DefaultProgressJBridge((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_koala_DefaultProgress_newDefaultProgress__Z(JNIEnv* env, jobject obj, jboolean showNow) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DefaultProgressJBridge((bool) showNow)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_setDestVisible(JNIEnv* env, jobject obj, jboolean visible) -{ - ((DefaultProgressJBridge*) QtSupport::getQt(env, obj))->protected_setDestVisible((bool) visible); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_showTotals(JNIEnv* env, jobject obj) -{ - ((DefaultProgressJBridge*) QtSupport::getQt(env, obj))->protected_showTotals(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotCanResume(JNIEnv* env, jobject obj, jobject arg1, jlong arg2) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotCanResume((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotClean(JNIEnv* env, jobject obj) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotClean(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotCopying(JNIEnv* env, jobject obj, jobject arg1, jobject src, jobject dest) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotCopying((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotCreatingDir(JNIEnv* env, jobject obj, jobject arg1, jobject dir) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotCreatingDir((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotDeleting(JNIEnv* env, jobject obj, jobject arg1, jobject url) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotDeleting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotInfoMessage(JNIEnv* env, jobject obj, jobject job, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotInfoMessage((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotMounting(JNIEnv* env, jobject obj, jobject arg1, jstring dev, jstring point) -{ -static TQString* _qstring_dev = 0; -static TQString* _qstring_point = 0; - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotMounting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, dev, &_qstring_dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotMoving(JNIEnv* env, jobject obj, jobject arg1, jobject src, jobject dest) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotMoving((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotPercent(JNIEnv* env, jobject obj, jobject arg1, jlong percent) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotPercent((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotProcessedDirs(JNIEnv* env, jobject obj, jobject arg1, jlong dirs) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotProcessedDirs((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotProcessedFiles(JNIEnv* env, jobject obj, jobject arg1, jlong files) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotProcessedFiles((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotProcessedSize(JNIEnv* env, jobject obj, jobject arg1, jlong bytes) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotProcessedSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) bytes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotSpeed(JNIEnv* env, jobject obj, jobject arg1, jlong speed) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotSpeed((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) speed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotStating(JNIEnv* env, jobject obj, jobject arg1, jobject dir) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotStating((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotTotalDirs(JNIEnv* env, jobject obj, jobject arg1, jlong dirs) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotTotalDirs((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotTotalFiles(JNIEnv* env, jobject obj, jobject arg1, jlong files) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotTotalFiles((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotTotalSize(JNIEnv* env, jobject obj, jobject arg1, jlong size) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotTotalSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotTransferring(JNIEnv* env, jobject obj, jobject arg1, jobject url) -{ - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotTransferring((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DefaultProgress_slotUnmounting(JNIEnv* env, jobject obj, jobject arg1, jstring point) -{ -static TQString* _qstring_point = 0; - ((TDEIO::DefaultProgress*) QtSupport::getQt(env, obj))->slotUnmounting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)); - return; -} - diff --git a/kdejava/koala/kdejava/DefaultProgress.h b/kdejava/koala/kdejava/DefaultProgress.h deleted file mode 100644 index cfff24b7..00000000 --- a/kdejava/koala/kdejava/DefaultProgress.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DefaultProgress__ -#define __org_kde_koala_DefaultProgress__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DefaultProgress_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DefaultProgress_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_newDefaultProgress__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_newDefaultProgress__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_newDefaultProgress__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_newDefaultProgress__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DefaultProgress_keepOpen (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotTotalSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotTotalFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotTotalDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotProcessedSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotProcessedFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotProcessedDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotSpeed (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotPercent (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotInfoMessage (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotCopying (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotMoving (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotDeleting (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotTransferring (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotCreatingDir (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotStating (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotMounting (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotUnmounting (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotCanResume (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_slotClean (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DefaultProgress_makePercentString (JNIEnv *env, jclass, jlong, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_showTotals (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_setDestVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DefaultProgress_checkDestination (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DefaultProgress__ */ diff --git a/kdejava/koala/kdejava/DeleteJob.cpp b/kdejava/koala/kdejava/DeleteJob.cpp deleted file mode 100644 index 8c017c7c..00000000 --- a/kdejava/koala/kdejava/DeleteJob.cpp +++ /dev/null @@ -1,136 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class DeleteJobJBridge : public TDEIO::DeleteJob -{ -public: - DeleteJobJBridge(const KURL::List& arg1,bool arg2,bool arg3) : TDEIO::DeleteJob(arg1,arg2,arg3) {}; - void protected_slotStart() { - TDEIO::DeleteJob::slotStart(); - return; - } - void protected_slotResult(TDEIO::Job* arg1) { - TDEIO::DeleteJob::slotResult(arg1); - return; - } - void protected_slotProcessedSize(TDEIO::Job* arg1,TDEIO::filesize_t arg2) { - TDEIO::DeleteJob::slotProcessedSize(arg1,arg2); - return; - } - void protected_slotReport() { - TDEIO::DeleteJob::slotReport(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - DeleteJob::slotResult(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.DeleteJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DeleteJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::DeleteJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DeleteJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::DeleteJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DeleteJob_newDeleteJob(JNIEnv* env, jobject obj, jobjectArray src, jboolean shred, jboolean showProgressInfo) -{ -static KURL::List* _qlist_src = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DeleteJobJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) shred, (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DeleteJob_slotProcessedSize(JNIEnv* env, jobject obj, jobject arg1, jlong data_size) -{ - ((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotProcessedSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) data_size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DeleteJob_slotReport(JNIEnv* env, jobject obj) -{ - ((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotReport(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DeleteJob_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DeleteJob_slotStart(JNIEnv* env, jobject obj) -{ - ((DeleteJobJBridge*) QtSupport::getQt(env, obj))->protected_slotStart(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DeleteJob_urls(JNIEnv* env, jobject obj) -{ - KURL::List _qlist; - _qlist = ((TDEIO::DeleteJob*) QtSupport::getQt(env, obj))->urls(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/DeleteJob.h b/kdejava/koala/kdejava/DeleteJob.h deleted file mode 100644 index e307af24..00000000 --- a/kdejava/koala/kdejava/DeleteJob.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DeleteJob__ -#define __org_kde_koala_DeleteJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DeleteJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DeleteJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DeleteJob_newDeleteJob (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DeleteJob_urls (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DeleteJob_slotStart (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DeleteJob_slotResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DeleteJob_slotProcessedSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DeleteJob_slotReport (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DeleteJob__ */ diff --git a/kdejava/koala/kdejava/DockMainWindow.cpp b/kdejava/koala/kdejava/DockMainWindow.cpp deleted file mode 100644 index a1ef9413..00000000 --- a/kdejava/koala/kdejava/DockMainWindow.cpp +++ /dev/null @@ -1,576 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class DockMainWindowJBridge : public KParts::DockMainWindow -{ -public: - DockMainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KParts::DockMainWindow(arg1,arg2,arg3) {}; - DockMainWindowJBridge(TQWidget* arg1,const char* arg2) : KParts::DockMainWindow(arg1,arg2) {}; - DockMainWindowJBridge(TQWidget* arg1) : KParts::DockMainWindow(arg1) {}; - DockMainWindowJBridge() : KParts::DockMainWindow() {}; - void protected_createShellGUI(bool arg1) { - KParts::DockMainWindow::createShellGUI(arg1); - return; - } - void protected_createShellGUI() { - KParts::DockMainWindow::createShellGUI(); - return; - } - void protected_createGUI(KParts::Part* arg1) { - KParts::DockMainWindow::createGUI(arg1); - return; - } - void protected_slotSetStatusBarText(const TQString& arg1) { - KParts::DockMainWindow::slotSetStatusBarText(arg1); - return; - } - void protected_setInstance(TDEInstance* arg1) { - KParts::PartBase::setInstance(arg1); - return; - } - void protected_setInstance(TDEInstance* arg1,bool arg2) { - KParts::PartBase::setInstance(arg1,arg2); - return; - } - void protected_loadPlugins(TQObject* arg1,KXMLGUIClient* arg2,TDEInstance* arg3) { - KParts::PartBase::loadPlugins(arg1,arg2,arg3); - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEMainWindow::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - bool queryClose() { - return QtSupport::booleanDelegate(this,"queryClose"); - } - void setCentralWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCentralWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQMainWindow::setCentralWidget(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","show")) { - TDEMainWindow::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","hide")) { - TDEMainWindow::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEMainWindow::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void removeDockWindow(TQDockWindow* arg1) { - if (!QtSupport::eventDelegate(this,"removeDockWindow",(void*)arg1,"org.kde.qt.TQDockWindow")) { - TQMainWindow::removeDockWindow(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void showAboutApplication() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","showAboutApplication")) { - TDEMainWindow::showAboutApplication(); - } - return; - } - void readGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readGlobalProperties(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - bool queryExit() { - return QtSupport::booleanDelegate(this,"queryExit"); - } - void saveProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveProperties(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.koala.DockMainWindow","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TDEMainWindow::closeEvent(arg1); - } - return; - } - void readProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readProperties(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void setUpLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","setUpLayout")) { - TQMainWindow::setUpLayout(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TDEMainWindow::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")) { - TDEMainWindow::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void whatsThis() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","whatsThis")) { - TQMainWindow::whatsThis(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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; - } - bool isCustomizable() { - return QtSupport::booleanDelegate(this,"isCustomizable"); - } - void customize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","customize")) { - TQMainWindow::customize(); - } - return; - } - void saveGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveGlobalProperties(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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.DockMainWindow","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DockMainWindow_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::DockMainWindow*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_createGUI(JNIEnv* env, jobject obj, jobject part) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createGUI((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_createShellGUI__(JNIEnv* env, jobject obj) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createShellGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_createShellGUI__Z(JNIEnv* env, jobject obj, jboolean create) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createShellGUI((bool) create); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_loadPlugins(JNIEnv* env, jobject obj, jobject parent, jobject parentGUIClient, jobject instance) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DockMainWindow_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::DockMainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_newDockMainWindow__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DockMainWindowJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_newDockMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DockMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_newDockMainWindow__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 DockMainWindowJBridge((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_koala_DockMainWindow_newDockMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DockMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DockMainWindow_partObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartBase*)(KParts::DockMainWindow*) QtSupport::getQt(env, obj))->partObject(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z(JNIEnv* env, jobject obj, jobject instance, jboolean loadPlugins) -{ - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance), (bool) loadPlugins); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_setPartObject(JNIEnv* env, jobject obj, jobject object) -{ - ((KParts::PartBase*)(KParts::DockMainWindow*) QtSupport::getQt(env, obj))->setPartObject((TQObject*) QtSupport::getQt(env, object)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DockMainWindow_slotSetStatusBarText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((DockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_slotSetStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/DockMainWindow.h b/kdejava/koala/kdejava/DockMainWindow.h deleted file mode 100644 index 61cf596a..00000000 --- a/kdejava/koala/kdejava/DockMainWindow.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DockMainWindow__ -#define __org_kde_koala_DockMainWindow__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DockMainWindow_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DockMainWindow_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_newDockMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_newDockMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_newDockMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_newDockMainWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_createShellGUI__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_createShellGUI__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_createGUI (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_slotSetStatusBarText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_setPartObject (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DockMainWindow_partObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DockMainWindow_loadPlugins (JNIEnv *env, jobject, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DockMainWindow__ */ diff --git a/kdejava/koala/kdejava/Document.cpp b/kdejava/koala/kdejava/Document.cpp deleted file mode 100644 index de24863f..00000000 --- a/kdejava/koala/kdejava/Document.cpp +++ /dev/null @@ -1,383 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class DocumentJBridge : public DOM::Document -{ -public: - DocumentJBridge() : DOM::Document() {}; - DocumentJBridge(bool arg1) : DOM::Document(arg1) {}; - DocumentJBridge(const DOM::Document& arg1) : DOM::Document(arg1) {}; - DocumentJBridge(const DOM::Node& arg1) : DOM::Document(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_abort(JNIEnv* env, jobject obj) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->abort(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_addStyleSheet(JNIEnv* env, jobject obj, jobject sheet) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->addStyleSheet((const DOM::StyleSheet&)*(const DOM::StyleSheet*) QtSupport::getQt(env, sheet)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Document_async(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Document*) QtSupport::getQt(env, obj))->async(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Document_completeURL(JNIEnv* env, jobject obj, jstring url) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_url = 0; - _qstring = ((DOM::Document*) QtSupport::getQt(env, obj))->completeURL((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, url, &_domstring_url)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createAttributeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring qualifiedName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_qualifiedName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Document*) QtSupport::getQt(env, obj))->createAttributeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createAttribute(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Document*) QtSupport::getQt(env, obj))->createAttribute((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createCDATASection(JNIEnv* env, jobject obj, jstring data) -{ -static DOM::DOMString* _domstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CDATASection(((DOM::Document*) QtSupport::getQt(env, obj))->createCDATASection((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, data, &_domstring_data))), "org.kde.koala.CDATASection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createComment(JNIEnv* env, jobject obj, jstring data) -{ -static DOM::DOMString* _domstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Comment(((DOM::Document*) QtSupport::getQt(env, obj))->createComment((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, data, &_domstring_data))), "org.kde.koala.Comment", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createDocumentFragment(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentFragment(((DOM::Document*) QtSupport::getQt(env, obj))->createDocumentFragment()), "org.kde.koala.DocumentFragment", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createElementNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring qualifiedName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_qualifiedName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Document*) QtSupport::getQt(env, obj))->createElementNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName))), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createElement(JNIEnv* env, jobject obj, jstring tagName) -{ -static DOM::DOMString* _domstring_tagName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Document*) QtSupport::getQt(env, obj))->createElement((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, tagName, &_domstring_tagName))), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createEntityReference(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::EntityReference(((DOM::Document*) QtSupport::getQt(env, obj))->createEntityReference((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.EntityReference", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createEvent(JNIEnv* env, jobject obj, jstring eventType) -{ -static DOM::DOMString* _domstring_eventType = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Event(((DOM::Document*) QtSupport::getQt(env, obj))->createEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, eventType, &_domstring_eventType))), "org.kde.koala.Event", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createNodeIterator(JNIEnv* env, jobject obj, jobject root, jlong whatToShow, jobject filter, jboolean entityReferenceExpansion) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NodeIterator(((DOM::Document*) QtSupport::getQt(env, obj))->createNodeIterator((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, root), (unsigned long) whatToShow, (DOM::NodeFilter)*(DOM::NodeFilter*) QtSupport::getQt(env, filter), (bool) entityReferenceExpansion)), "org.kde.koala.NodeIterator", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createProcessingInstruction(JNIEnv* env, jobject obj, jstring target, jstring data) -{ -static DOM::DOMString* _domstring_target = 0; -static DOM::DOMString* _domstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::ProcessingInstruction(((DOM::Document*) QtSupport::getQt(env, obj))->createProcessingInstruction((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, target, &_domstring_target), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, data, &_domstring_data))), "org.kde.koala.ProcessingInstruction", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createRange(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Range(((DOM::Document*) QtSupport::getQt(env, obj))->createRange()), "org.kde.koala.Range", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createTextNode(JNIEnv* env, jobject obj, jstring data) -{ -static DOM::DOMString* _domstring_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Text(((DOM::Document*) QtSupport::getQt(env, obj))->createTextNode((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, data, &_domstring_data))), "org.kde.koala.Text", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_createTreeWalker(JNIEnv* env, jobject obj, jobject root, jlong whatToShow, jobject filter, jboolean entityReferenceExpansion) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::TreeWalker(((DOM::Document*) QtSupport::getQt(env, obj))->createTreeWalker((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, root), (unsigned long) whatToShow, (DOM::NodeFilter)*(DOM::NodeFilter*) QtSupport::getQt(env, filter), (bool) entityReferenceExpansion)), "org.kde.koala.TreeWalker", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_defaultView(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::AbstractView(((DOM::Document*) QtSupport::getQt(env, obj))->defaultView()), "org.kde.koala.AbstractView", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Document_designMode(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Document*) QtSupport::getQt(env, obj))->designMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_doctype(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentType(((DOM::Document*) QtSupport::getQt(env, obj))->doctype()), "org.kde.koala.DocumentType", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_documentElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Document*) QtSupport::getQt(env, obj))->documentElement()), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_getElementById(JNIEnv* env, jobject obj, jstring elementId) -{ -static DOM::DOMString* _domstring_elementId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Document*) QtSupport::getQt(env, obj))->getElementById((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, elementId, &_domstring_elementId))), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_getElementsByTagNameNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ - DOM::NodeList _qlist; -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - _qlist = ((DOM::Document*) QtSupport::getQt(env, obj))->getElementsByTagNameNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName)); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_getElementsByTagName(JNIEnv* env, jobject obj, jstring tagname) -{ - DOM::NodeList _qlist; -static DOM::DOMString* _domstring_tagname = 0; - _qlist = ((DOM::Document*) QtSupport::getQt(env, obj))->getElementsByTagName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, tagname, &_domstring_tagname)); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_getOverrideStyle(JNIEnv* env, jobject obj, jobject elt, jstring pseudoElt) -{ -static DOM::DOMString* _domstring_pseudoElt = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::Document*) QtSupport::getQt(env, obj))->getOverrideStyle((const DOM::Element&)*(const DOM::Element*) QtSupport::getQt(env, elt), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, pseudoElt, &_domstring_pseudoElt))), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_implementation(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DOMImplementation(((DOM::Document*) QtSupport::getQt(env, obj))->implementation()), "org.kde.koala.DOMImplementation", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_importNode(JNIEnv* env, jobject obj, jobject importedNode, jboolean deep) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Document*) QtSupport::getQt(env, obj))->importNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, importedNode), (bool) deep)), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Document_isHTMLDocument(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Document*) QtSupport::getQt(env, obj))->isHTMLDocument(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_loadXML(JNIEnv* env, jobject obj, jstring source) -{ -static DOM::DOMString* _domstring_source = 0; - ((DOM::Document*) QtSupport::getQt(env, obj))->loadXML((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, source, &_domstring_source)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_load(JNIEnv* env, jobject obj, jstring uri) -{ -static DOM::DOMString* _domstring_uri = 0; - ((DOM::Document*) QtSupport::getQt(env, obj))->load((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, uri, &_domstring_uri)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_newDocument__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_newDocument__Lorg_kde_koala_Document_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentJBridge((const DOM::Document&)*(const DOM::Document*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_newDocument__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_newDocument__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentJBridge((bool) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Document_preferredStylesheetSet(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Document*) QtSupport::getQt(env, obj))->preferredStylesheetSet(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_removeStyleSheet(JNIEnv* env, jobject obj, jobject sheet) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->removeStyleSheet((const DOM::StyleSheet&)*(const DOM::StyleSheet*) QtSupport::getQt(env, sheet)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Document_selectedStylesheetSet(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Document*) QtSupport::getQt(env, obj))->selectedStylesheetSet(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_setAsync(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->setAsync((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_setDesignMode(JNIEnv* env, jobject obj, jboolean enable) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->setDesignMode((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_setSelectedStylesheetSet(JNIEnv* env, jobject obj, jstring aString) -{ -static DOM::DOMString* _domstring_aString = 0; - ((DOM::Document*) QtSupport::getQt(env, obj))->setSelectedStylesheetSet((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, aString, &_domstring_aString)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_styleSheets(JNIEnv* env, jobject obj) -{ - DOM::StyleSheetList _qlist; - _qlist = ((DOM::Document*) QtSupport::getQt(env, obj))->styleSheets(); - return (jobject) KDESupport::arrayWithStyleSheetList(env, (DOM::StyleSheetList *) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Document_toString(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Document*) QtSupport::getQt(env, obj))->toString(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Document_updateRendering(JNIEnv* env, jobject obj) -{ - ((DOM::Document*) QtSupport::getQt(env, obj))->updateRendering(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Document_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DOM::Document*) QtSupport::getQt(env, obj))->view(), "org.kde.koala.TDEHTMLView"); - return xret; -} - diff --git a/kdejava/koala/kdejava/Document.h b/kdejava/koala/kdejava/Document.h deleted file mode 100644 index 1334ddeb..00000000 --- a/kdejava/koala/kdejava/Document.h +++ /dev/null @@ -1,63 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Document__ -#define __org_kde_koala_Document__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_newDocument__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_newDocument__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_newDocument__Lorg_kde_koala_Document_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_newDocument__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_doctype (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_implementation (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_documentElement (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createElement (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createElementNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createDocumentFragment (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createTextNode (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createComment (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createCDATASection (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createProcessingInstruction (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createAttribute (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createAttributeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createEntityReference (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_getElementById (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_getElementsByTagName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_getElementsByTagNameNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_importNode (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Document_isHTMLDocument (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createRange (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createNodeIterator (JNIEnv *env, jobject, jobject, jlong, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createTreeWalker (JNIEnv *env, jobject, jobject, jlong, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_createEvent (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_defaultView (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_styleSheets (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Document_preferredStylesheetSet (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Document_selectedStylesheetSet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_setSelectedStylesheetSet (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_addStyleSheet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_removeStyleSheet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_view (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Document_getOverrideStyle (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Document_async (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_setAsync (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_abort (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_load (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_loadXML (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Document_designMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_setDesignMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Document_completeURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Document_toString (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Document_updateRendering (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Document__ */ diff --git a/kdejava/koala/kdejava/DocumentFragment.cpp b/kdejava/koala/kdejava/DocumentFragment.cpp deleted file mode 100644 index d7882645..00000000 --- a/kdejava/koala/kdejava/DocumentFragment.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class DocumentFragmentJBridge : public DOM::DocumentFragment -{ -public: - DocumentFragmentJBridge() : DOM::DocumentFragment() {}; - DocumentFragmentJBridge(const DOM::DocumentFragment& arg1) : DOM::DocumentFragment(arg1) {}; - DocumentFragmentJBridge(const DOM::Node& arg1) : DOM::DocumentFragment(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentFragment_newDocumentFragment__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentFragmentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentFragment_newDocumentFragment__Lorg_kde_koala_DocumentFragment_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentFragmentJBridge((const DOM::DocumentFragment&)*(const DOM::DocumentFragment*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentFragment_newDocumentFragment__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentFragmentJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/DocumentFragment.h b/kdejava/koala/kdejava/DocumentFragment.h deleted file mode 100644 index 6aba2fed..00000000 --- a/kdejava/koala/kdejava/DocumentFragment.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DocumentFragment__ -#define __org_kde_koala_DocumentFragment__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentFragment_newDocumentFragment__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentFragment_newDocumentFragment__Lorg_kde_koala_DocumentFragment_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentFragment_newDocumentFragment__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DocumentFragment__ */ diff --git a/kdejava/koala/kdejava/DocumentStyle.cpp b/kdejava/koala/kdejava/DocumentStyle.cpp deleted file mode 100644 index 86a13517..00000000 --- a/kdejava/koala/kdejava/DocumentStyle.cpp +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class DocumentStyleJBridge : public DOM::DocumentStyle -{ -public: - DocumentStyleJBridge() : DOM::DocumentStyle() {}; - DocumentStyleJBridge(const DOM::DocumentStyle& arg1) : DOM::DocumentStyle(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DocumentStyle_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::DocumentStyle*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentStyle_newDocumentStyle__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentStyleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentStyle_newDocumentStyle__Lorg_kde_koala_DocumentStyle_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentStyleJBridge((const DOM::DocumentStyle&)*(const DOM::DocumentStyle*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentStyle_preferredStylesheetSet(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentStyle*) QtSupport::getQt(env, obj))->preferredStylesheetSet(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentStyle_selectedStylesheetSet(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentStyle*) QtSupport::getQt(env, obj))->selectedStylesheetSet(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentStyle_setSelectedStylesheetSet(JNIEnv* env, jobject obj, jstring aString) -{ -static DOM::DOMString* _domstring_aString = 0; - ((DOM::DocumentStyle*) QtSupport::getQt(env, obj))->setSelectedStylesheetSet((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, aString, &_domstring_aString)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DocumentStyle_styleSheets(JNIEnv* env, jobject obj) -{ - DOM::StyleSheetList _qlist; - _qlist = ((DOM::DocumentStyle*) QtSupport::getQt(env, obj))->styleSheets(); - return (jobject) KDESupport::arrayWithStyleSheetList(env, (DOM::StyleSheetList *) &_qlist); -} - diff --git a/kdejava/koala/kdejava/DocumentStyle.h b/kdejava/koala/kdejava/DocumentStyle.h deleted file mode 100644 index 8e2e569f..00000000 --- a/kdejava/koala/kdejava/DocumentStyle.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DocumentStyle__ -#define __org_kde_koala_DocumentStyle__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentStyle_newDocumentStyle__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentStyle_newDocumentStyle__Lorg_kde_koala_DocumentStyle_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DocumentStyle_styleSheets (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentStyle_preferredStylesheetSet (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentStyle_selectedStylesheetSet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentStyle_setSelectedStylesheetSet (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DocumentStyle_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DocumentStyle__ */ diff --git a/kdejava/koala/kdejava/DocumentType.cpp b/kdejava/koala/kdejava/DocumentType.cpp deleted file mode 100644 index c258534f..00000000 --- a/kdejava/koala/kdejava/DocumentType.cpp +++ /dev/null @@ -1,93 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class DocumentTypeJBridge : public DOM::DocumentType -{ -public: - DocumentTypeJBridge() : DOM::DocumentType() {}; - DocumentTypeJBridge(const DOM::DocumentType& arg1) : DOM::DocumentType(arg1) {}; - DocumentTypeJBridge(const DOM::Node& arg1) : DOM::DocumentType(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DocumentType_entities(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NamedNodeMap(((DOM::DocumentType*) QtSupport::getQt(env, obj))->entities()), "org.kde.koala.NamedNodeMap", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentType_internalSubset(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->internalSubset(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentType_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentType_newDocumentType__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentTypeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentType_newDocumentType__Lorg_kde_koala_DocumentType_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentTypeJBridge((const DOM::DocumentType&)*(const DOM::DocumentType*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DocumentType_newDocumentType__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DocumentTypeJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_DocumentType_notations(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NamedNodeMap(((DOM::DocumentType*) QtSupport::getQt(env, obj))->notations()), "org.kde.koala.NamedNodeMap", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentType_publicId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->publicId(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_DocumentType_systemId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::DocumentType*) QtSupport::getQt(env, obj))->systemId(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/DocumentType.h b/kdejava/koala/kdejava/DocumentType.h deleted file mode 100644 index d5c33476..00000000 --- a/kdejava/koala/kdejava/DocumentType.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DocumentType__ -#define __org_kde_koala_DocumentType__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentType_newDocumentType__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentType_newDocumentType__Lorg_kde_koala_DocumentType_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DocumentType_newDocumentType__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentType_name (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DocumentType_entities (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_DocumentType_notations (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentType_publicId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentType_systemId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_DocumentType_internalSubset (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DocumentType__ */ diff --git a/kdejava/koala/kdejava/DomShared.cpp b/kdejava/koala/kdejava/DomShared.cpp deleted file mode 100644 index 5946d477..00000000 --- a/kdejava/koala/kdejava/DomShared.cpp +++ /dev/null @@ -1,58 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class DomSharedJBridge : public DOM::DomShared -{ -public: - DomSharedJBridge() : DOM::DomShared() {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DomShared_deleteMe(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::DomShared*) QtSupport::getQt(env, obj))->deleteMe(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DomShared_deref(JNIEnv* env, jobject obj) -{ - ((DOM::DomShared*) QtSupport::getQt(env, obj))->deref(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_DomShared_hasOneRef(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::DomShared*) QtSupport::getQt(env, obj))->hasOneRef(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DomShared_newDomShared(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new DomSharedJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_DomShared_refCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::DomShared*) QtSupport::getQt(env, obj))->refCount(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_DomShared_ref(JNIEnv* env, jobject obj) -{ - ((DOM::DomShared*) QtSupport::getQt(env, obj))->ref(); - return; -} - diff --git a/kdejava/koala/kdejava/DomShared.h b/kdejava/koala/kdejava/DomShared.h deleted file mode 100644 index 45bbefc7..00000000 --- a/kdejava/koala/kdejava/DomShared.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_DomShared__ -#define __org_kde_koala_DomShared__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_DomShared_newDomShared (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DomShared_deleteMe (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DomShared_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_DomShared_deref (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_DomShared_hasOneRef (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_DomShared_refCount (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_DomShared__ */ diff --git a/kdejava/koala/kdejava/Element.cpp b/kdejava/koala/kdejava/Element.cpp deleted file mode 100644 index d54c7e0a..00000000 --- a/kdejava/koala/kdejava/Element.cpp +++ /dev/null @@ -1,265 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class ElementJBridge : public DOM::Element -{ -public: - ElementJBridge() : DOM::Element() {}; - ElementJBridge(const DOM::Node& arg1) : DOM::Element(arg1) {}; - ElementJBridge(const DOM::Element& arg1) : DOM::Element(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_contentEditable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Element*) QtSupport::getQt(env, obj))->contentEditable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_form(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Element(((DOM::Element*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.Element", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Element_getAttributeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - _qstring = ((DOM::Element*) QtSupport::getQt(env, obj))->getAttributeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_getAttributeNodeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Element*) QtSupport::getQt(env, obj))->getAttributeNodeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_getAttributeNode(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Element*) QtSupport::getQt(env, obj))->getAttributeNode((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Element_getAttribute(JNIEnv* env, jobject obj, jstring name) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_name = 0; - _qstring = ((DOM::Element*) QtSupport::getQt(env, obj))->getAttribute((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_getElementsByTagNameNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ - DOM::NodeList _qlist; -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - _qlist = ((DOM::Element*) QtSupport::getQt(env, obj))->getElementsByTagNameNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName)); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_getElementsByTagName(JNIEnv* env, jobject obj, jstring name) -{ - DOM::NodeList _qlist; -static DOM::DOMString* _domstring_name = 0; - _qlist = ((DOM::Element*) QtSupport::getQt(env, obj))->getElementsByTagName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_hasAttributeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - jboolean xret = (jboolean) ((DOM::Element*) QtSupport::getQt(env, obj))->hasAttributeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_hasAttribute(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ((DOM::Element*) QtSupport::getQt(env, obj))->hasAttribute((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_isHTMLElement(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Element*) QtSupport::getQt(env, obj))->isHTMLElement(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_tdehtmlMalformedPrefix(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ElementJBridge::tdehtmlMalformedPrefix((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_tdehtmlMalformedQualifiedName(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ElementJBridge::tdehtmlMalformedQualifiedName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_tdehtmlValidAttrName(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ElementJBridge::tdehtmlValidAttrName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_tdehtmlValidPrefix(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ElementJBridge::tdehtmlValidPrefix((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Element_tdehtmlValidQualifiedName(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static DOM::DOMString* _domstring_name = 0; - jboolean xret = (jboolean) ElementJBridge::tdehtmlValidQualifiedName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_newElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_newElement__Lorg_kde_koala_Element_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ElementJBridge((const DOM::Element&)*(const DOM::Element*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_newElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_removeAttributeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - ((DOM::Element*) QtSupport::getQt(env, obj))->removeAttributeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_removeAttributeNode(JNIEnv* env, jobject obj, jobject oldAttr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Element*) QtSupport::getQt(env, obj))->removeAttributeNode((const DOM::Attr&)*(const DOM::Attr*) QtSupport::getQt(env, oldAttr))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_removeAttribute(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - ((DOM::Element*) QtSupport::getQt(env, obj))->removeAttribute((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_setAttributeNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring qualifiedName, jstring value) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_qualifiedName = 0; -static DOM::DOMString* _domstring_value = 0; - ((DOM::Element*) QtSupport::getQt(env, obj))->setAttributeNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, qualifiedName, &_domstring_qualifiedName), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_setAttributeNodeNS(JNIEnv* env, jobject obj, jobject newAttr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Element*) QtSupport::getQt(env, obj))->setAttributeNodeNS((const DOM::Attr&)*(const DOM::Attr*) QtSupport::getQt(env, newAttr))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_setAttributeNode(JNIEnv* env, jobject obj, jobject newAttr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Attr(((DOM::Element*) QtSupport::getQt(env, obj))->setAttributeNode((const DOM::Attr&)*(const DOM::Attr*) QtSupport::getQt(env, newAttr))), "org.kde.koala.Attr", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_setAttribute(JNIEnv* env, jobject obj, jstring name, jstring value) -{ -static DOM::DOMString* _domstring_name = 0; -static DOM::DOMString* _domstring_value = 0; - ((DOM::Element*) QtSupport::getQt(env, obj))->setAttribute((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Element_setContentEditable(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((DOM::Element*) QtSupport::getQt(env, obj))->setContentEditable((bool) enabled); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Element_style(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSStyleDeclaration(((DOM::Element*) QtSupport::getQt(env, obj))->style()), "org.kde.koala.CSSStyleDeclaration", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Element_tagName(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Element*) QtSupport::getQt(env, obj))->tagName(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Element.h b/kdejava/koala/kdejava/Element.h deleted file mode 100644 index cdd5e4be..00000000 --- a/kdejava/koala/kdejava/Element.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Element__ -#define __org_kde_koala_Element__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_newElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_newElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_newElement__Lorg_kde_koala_Element_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Element_tagName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Element_getAttribute (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_setAttribute (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_removeAttribute (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_getAttributeNode (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_setAttributeNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_removeAttributeNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_getElementsByTagName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_getElementsByTagNameNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Element_getAttributeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_setAttributeNS (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_removeAttributeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_getAttributeNodeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_setAttributeNodeNS (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_hasAttribute (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_hasAttributeNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_style (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_contentEditable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Element_setContentEditable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_isHTMLElement (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Element_form (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_tdehtmlValidAttrName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_tdehtmlValidPrefix (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_tdehtmlValidQualifiedName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_tdehtmlMalformedQualifiedName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Element_tdehtmlMalformedPrefix (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Element__ */ diff --git a/kdejava/koala/kdejava/Entity.cpp b/kdejava/koala/kdejava/Entity.cpp deleted file mode 100644 index 1ee412f3..00000000 --- a/kdejava/koala/kdejava/Entity.cpp +++ /dev/null @@ -1,71 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class EntityJBridge : public DOM::Entity -{ -public: - EntityJBridge() : DOM::Entity() {}; - EntityJBridge(const DOM::Entity& arg1) : DOM::Entity(arg1) {}; - EntityJBridge(const DOM::Node& arg1) : DOM::Entity(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Entity_newEntity__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Entity_newEntity__Lorg_kde_koala_Entity_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityJBridge((const DOM::Entity&)*(const DOM::Entity*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Entity_newEntity__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Entity_notationName(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Entity*) QtSupport::getQt(env, obj))->notationName(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Entity_publicId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Entity*) QtSupport::getQt(env, obj))->publicId(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Entity_systemId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Entity*) QtSupport::getQt(env, obj))->systemId(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Entity.h b/kdejava/koala/kdejava/Entity.h deleted file mode 100644 index 78bc80cd..00000000 --- a/kdejava/koala/kdejava/Entity.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Entity__ -#define __org_kde_koala_Entity__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Entity_newEntity__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Entity_newEntity__Lorg_kde_koala_Entity_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Entity_newEntity__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Entity_publicId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Entity_systemId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Entity_notationName (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Entity__ */ diff --git a/kdejava/koala/kdejava/EntityReference.cpp b/kdejava/koala/kdejava/EntityReference.cpp deleted file mode 100644 index ef699684..00000000 --- a/kdejava/koala/kdejava/EntityReference.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class EntityReferenceJBridge : public DOM::EntityReference -{ -public: - EntityReferenceJBridge() : DOM::EntityReference() {}; - EntityReferenceJBridge(const DOM::EntityReference& arg1) : DOM::EntityReference(arg1) {}; - EntityReferenceJBridge(const DOM::Node& arg1) : DOM::EntityReference(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_EntityReference_newEntityReference__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityReferenceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_EntityReference_newEntityReference__Lorg_kde_koala_EntityReference_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityReferenceJBridge((const DOM::EntityReference&)*(const DOM::EntityReference*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_EntityReference_newEntityReference__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EntityReferenceJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/EntityReference.h b/kdejava/koala/kdejava/EntityReference.h deleted file mode 100644 index 53c7fb17..00000000 --- a/kdejava/koala/kdejava/EntityReference.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_EntityReference__ -#define __org_kde_koala_EntityReference__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_EntityReference_newEntityReference__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_EntityReference_newEntityReference__Lorg_kde_koala_EntityReference_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_EntityReference_newEntityReference__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_EntityReference__ */ diff --git a/kdejava/koala/kdejava/Event.cpp b/kdejava/koala/kdejava/Event.cpp deleted file mode 100644 index 7305e287..00000000 --- a/kdejava/koala/kdejava/Event.cpp +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class EventJBridge : public KParts::Event -{ -public: - EventJBridge(const char* arg1) : KParts::Event(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Event_eventName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::Event*) QtSupport::getQt(env, obj))->eventName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Event_newEvent(JNIEnv* env, jobject obj, jstring eventName) -{ -static TQCString* _qstring_eventName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EventJBridge((const char*) QtSupport::toCharString(env, eventName, &_qstring_eventName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2(JNIEnv* env, jclass cls, jobject event) -{ - (void) cls; - jboolean xret = (jboolean) EventJBridge::test((const TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject event, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jboolean xret = (jboolean) EventJBridge::test((const TQEvent*) QtSupport::getQt(env, event), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return xret; -} - diff --git a/kdejava/koala/kdejava/Event.h b/kdejava/koala/kdejava/Event.h deleted file mode 100644 index 22830d18..00000000 --- a/kdejava/koala/kdejava/Event.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Event__ -#define __org_kde_koala_Event__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Event_newEvent (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Event_eventName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Event__ */ diff --git a/kdejava/koala/kdejava/EventException.cpp b/kdejava/koala/kdejava/EventException.cpp deleted file mode 100644 index 579faaf4..00000000 --- a/kdejava/koala/kdejava/EventException.cpp +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class EventExceptionJBridge : public DOM::EventException -{ -public: - EventExceptionJBridge(unsigned short arg1) : DOM::EventException(arg1) {}; - EventExceptionJBridge(const DOM::EventException& arg1) : DOM::EventException(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_EventException_newEventException__Lorg_kde_koala_EventException_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EventExceptionJBridge((const DOM::EventException&)*(const DOM::EventException*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_EventException_newEventException__S(JNIEnv* env, jobject obj, jshort _code) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EventExceptionJBridge((unsigned short) _code)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/EventException.h b/kdejava/koala/kdejava/EventException.h deleted file mode 100644 index 12e8bf97..00000000 --- a/kdejava/koala/kdejava/EventException.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_EventException__ -#define __org_kde_koala_EventException__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_EventException_newEventException__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_EventException_newEventException__Lorg_kde_koala_EventException_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_EventException__ */ diff --git a/kdejava/koala/kdejava/EventListener.cpp b/kdejava/koala/kdejava/EventListener.cpp deleted file mode 100644 index 8db32e5c..00000000 --- a/kdejava/koala/kdejava/EventListener.cpp +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class EventListenerJBridge : public DOM::EventListener -{ -public: - EventListenerJBridge() : DOM::EventListener() {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_EventListener_eventListenerType(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::EventListener*) QtSupport::getQt(env, obj))->eventListenerType(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_EventListener_handleEvent(JNIEnv* env, jobject obj, jobject evt) -{ - ((DOM::EventListener*) QtSupport::getQt(env, obj))->handleEvent((DOM::Event&)*(DOM::Event*) QtSupport::getQt(env, evt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_EventListener_newEventListener(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new EventListenerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/EventListener.h b/kdejava/koala/kdejava/EventListener.h deleted file mode 100644 index e14d3eb9..00000000 --- a/kdejava/koala/kdejava/EventListener.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_EventListener__ -#define __org_kde_koala_EventListener__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_EventListener_newEventListener (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_EventListener_handleEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_EventListener_eventListenerType (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_EventListener__ */ diff --git a/kdejava/koala/kdejava/Factory.cpp b/kdejava/koala/kdejava/Factory.cpp deleted file mode 100644 index 44a75ad0..00000000 --- a/kdejava/koala/kdejava/Factory.cpp +++ /dev/null @@ -1,100 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Factory_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::Factory*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart(), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWidget) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName) -{ -static TQCString* _qstring_widgetName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent) -{ -static TQCString* _qstring_widgetName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent, jstring name) -{ -static TQCString* _qstring_widgetName = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent, jstring name, jstring classname) -{ -static TQCString* _qstring_widgetName = 0; -static TQCString* _qstring_name = 0; -static TQCString* _qstring_classname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent, jstring name, jstring classname, jobjectArray args) -{ -static TQCString* _qstring_widgetName = 0; -static TQCString* _qstring_name = 0; -static TQCString* _qstring_classname = 0; -static TQStringList* _qlist_args = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_partInstanceFromLibrary(JNIEnv* env, jclass cls, jstring libraryName) -{ - (void) cls; -static TQCString* _qcstring_libraryName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KParts::Factory::partInstanceFromLibrary((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, libraryName, &_qcstring_libraryName)), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Factory_partInstance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Factory*) QtSupport::getQt(env, obj))->partInstance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - diff --git a/kdejava/koala/kdejava/Factory.h b/kdejava/koala/kdejava/Factory.h deleted file mode 100644 index f68767e8..00000000 --- a/kdejava/koala/kdejava/Factory.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Factory__ -#define __org_kde_koala_Factory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Factory_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_createPart__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_partInstance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Factory_partInstanceFromLibrary (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Factory__ */ diff --git a/kdejava/koala/kdejava/FileCopyJob.cpp b/kdejava/koala/kdejava/FileCopyJob.cpp deleted file mode 100644 index 0a7520e7..00000000 --- a/kdejava/koala/kdejava/FileCopyJob.cpp +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_FileCopyJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_FileCopyJob_destURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->destURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_FileCopyJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_FileCopyJob_setSourceSize64(JNIEnv* env, jobject obj, jlong size) -{ - ((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->setSourceSize64((TDEIO::filesize_t) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_FileCopyJob_slotDataReq(JNIEnv* env, jobject obj, jobject arg1, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotDataReq((TDEIO::Job*) QtSupport::getQt(env, arg1), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_FileCopyJob_slotData(JNIEnv* env, jobject obj, jobject arg1, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotData((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_FileCopyJob_slotStart(JNIEnv* env, jobject obj) -{ - ((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->slotStart(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_FileCopyJob_srcURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEIO::FileCopyJob*) QtSupport::getQt(env, obj))->srcURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/FileCopyJob.h b/kdejava/koala/kdejava/FileCopyJob.h deleted file mode 100644 index 4e7bac53..00000000 --- a/kdejava/koala/kdejava/FileCopyJob.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_FileCopyJob__ -#define __org_kde_koala_FileCopyJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_FileCopyJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_FileCopyJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_FileCopyJob_setSourceSize64 (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_FileCopyJob_srcURL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_FileCopyJob_destURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_FileCopyJob_slotStart (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_FileCopyJob_slotData (JNIEnv *env, jobject, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_FileCopyJob_slotDataReq (JNIEnv *env, jobject, jobject, jbyteArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_FileCopyJob__ */ diff --git a/kdejava/koala/kdejava/GUIActivateEvent.cpp b/kdejava/koala/kdejava/GUIActivateEvent.cpp deleted file mode 100644 index 2fc9ef6b..00000000 --- a/kdejava/koala/kdejava/GUIActivateEvent.cpp +++ /dev/null @@ -1,38 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class GUIActivateEventJBridge : public KParts::GUIActivateEvent -{ -public: - GUIActivateEventJBridge(bool arg1) : KParts::GUIActivateEvent(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_GUIActivateEvent_activated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::GUIActivateEvent*) QtSupport::getQt(env, obj))->activated(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_GUIActivateEvent_newGUIActivateEvent(JNIEnv* env, jobject obj, jboolean activated) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new GUIActivateEventJBridge((bool) activated)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_GUIActivateEvent_test(JNIEnv* env, jclass cls, jobject event) -{ - (void) cls; - jboolean xret = (jboolean) GUIActivateEventJBridge::test((const TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - diff --git a/kdejava/koala/kdejava/GUIActivateEvent.h b/kdejava/koala/kdejava/GUIActivateEvent.h deleted file mode 100644 index c1c384a0..00000000 --- a/kdejava/koala/kdejava/GUIActivateEvent.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_GUIActivateEvent__ -#define __org_kde_koala_GUIActivateEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_GUIActivateEvent_newGUIActivateEvent (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_GUIActivateEvent_activated (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_GUIActivateEvent_test (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_GUIActivateEvent__ */ diff --git a/kdejava/koala/kdejava/HTMLAnchorElement.cpp b/kdejava/koala/kdejava/HTMLAnchorElement.cpp deleted file mode 100644 index e73be14f..00000000 --- a/kdejava/koala/kdejava/HTMLAnchorElement.cpp +++ /dev/null @@ -1,251 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLAnchorElementJBridge : public DOM::HTMLAnchorElement -{ -public: - HTMLAnchorElementJBridge() : DOM::HTMLAnchorElement() {}; - HTMLAnchorElementJBridge(const DOM::HTMLAnchorElement& arg1) : DOM::HTMLAnchorElement(arg1) {}; - HTMLAnchorElementJBridge(const DOM::Node& arg1) : DOM::HTMLAnchorElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_blur(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->blur(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_charset(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->charset(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_coords(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->coords(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_focus(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->focus(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_hreflang(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->hreflang(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAnchorElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__Lorg_kde_koala_HTMLAnchorElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAnchorElementJBridge((const DOM::HTMLAnchorElement&)*(const DOM::HTMLAnchorElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAnchorElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_rel(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->rel(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_rev(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->rev(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setCharset(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setCharset((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setCoords(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setCoords((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setHref(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setHref((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setHreflang(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setHreflang((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setRel(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setRel((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setRev(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setRev((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setShape(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setShape((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setTarget(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setTarget((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAnchorElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_shape(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->shape(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLAnchorElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAnchorElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAnchorElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLAnchorElement.h b/kdejava/koala/kdejava/HTMLAnchorElement.h deleted file mode 100644 index f818f8fd..00000000 --- a/kdejava/koala/kdejava/HTMLAnchorElement.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLAnchorElement__ -#define __org_kde_koala_HTMLAnchorElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__Lorg_kde_koala_HTMLAnchorElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_newHTMLAnchorElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_charset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setCharset (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_coords (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setCoords (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_href (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setHref (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_hreflang (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setHreflang (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_rel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setRel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_rev (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setRev (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_shape (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setShape (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLAnchorElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_target (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setTarget (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAnchorElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_blur (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAnchorElement_focus (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLAnchorElement__ */ diff --git a/kdejava/koala/kdejava/HTMLAppletElement.cpp b/kdejava/koala/kdejava/HTMLAppletElement.cpp deleted file mode 100644 index 051c67e6..00000000 --- a/kdejava/koala/kdejava/HTMLAppletElement.cpp +++ /dev/null @@ -1,219 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLAppletElementJBridge : public DOM::HTMLAppletElement -{ -public: - HTMLAppletElementJBridge() : DOM::HTMLAppletElement() {}; - HTMLAppletElementJBridge(const DOM::HTMLAppletElement& arg1) : DOM::HTMLAppletElement(arg1) {}; - HTMLAppletElementJBridge(const DOM::Node& arg1) : DOM::HTMLAppletElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_alt(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->alt(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_archive(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->archive(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_codeBase(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->codeBase(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_code(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->code(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLAppletElement_getHspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->getHspace(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLAppletElement_getVspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->getVspace(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_height(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->height(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAppletElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__Lorg_kde_koala_HTMLAppletElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAppletElementJBridge((const DOM::HTMLAppletElement&)*(const DOM::HTMLAppletElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAppletElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_object(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->object(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setAlt(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setAlt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setArchive(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setArchive((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setCodeBase(JNIEnv* env, jobject obj, jstring value) -{ -static DOM::DOMString* _domstring_value = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setCodeBase((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setCode(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setCode((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setHspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setHspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setObject(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setObject((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setVspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setVspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAppletElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAppletElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAppletElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLAppletElement.h b/kdejava/koala/kdejava/HTMLAppletElement.h deleted file mode 100644 index 06fc7c25..00000000 --- a/kdejava/koala/kdejava/HTMLAppletElement.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLAppletElement__ -#define __org_kde_koala_HTMLAppletElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__Lorg_kde_koala_HTMLAppletElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_newHTMLAppletElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_alt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setAlt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_archive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setArchive (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_code (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setCode (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_codeBase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setCodeBase (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLAppletElement_getHspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setHspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_object (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setObject (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLAppletElement_getVspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setVspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAppletElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAppletElement_setWidth (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLAppletElement__ */ diff --git a/kdejava/koala/kdejava/HTMLAreaElement.cpp b/kdejava/koala/kdejava/HTMLAreaElement.cpp deleted file mode 100644 index 19a11101..00000000 --- a/kdejava/koala/kdejava/HTMLAreaElement.cpp +++ /dev/null @@ -1,171 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLAreaElementJBridge : public DOM::HTMLAreaElement -{ -public: - HTMLAreaElementJBridge() : DOM::HTMLAreaElement() {}; - HTMLAreaElementJBridge(const DOM::HTMLAreaElement& arg1) : DOM::HTMLAreaElement(arg1) {}; - HTMLAreaElementJBridge(const DOM::Node& arg1) : DOM::HTMLAreaElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_alt(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->alt(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_coords(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->coords(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAreaElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__Lorg_kde_koala_HTMLAreaElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAreaElementJBridge((const DOM::HTMLAreaElement&)*(const DOM::HTMLAreaElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLAreaElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLAreaElement_noHref(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->noHref(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setAlt(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setAlt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setCoords(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setCoords((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setHref(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setHref((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setNoHref(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setNoHref((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setShape(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setShape((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLAreaElement_setTarget(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->setTarget((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_shape(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->shape(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLAreaElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLAreaElement_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLAreaElement*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLAreaElement.h b/kdejava/koala/kdejava/HTMLAreaElement.h deleted file mode 100644 index 9a6e4e42..00000000 --- a/kdejava/koala/kdejava/HTMLAreaElement.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLAreaElement__ -#define __org_kde_koala_HTMLAreaElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__Lorg_kde_koala_HTMLAreaElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_newHTMLAreaElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_alt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setAlt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_coords (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setCoords (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_href (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setHref (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLAreaElement_noHref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setNoHref (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_shape (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setShape (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLAreaElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLAreaElement_target (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLAreaElement_setTarget (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLAreaElement__ */ diff --git a/kdejava/koala/kdejava/HTMLBRElement.cpp b/kdejava/koala/kdejava/HTMLBRElement.cpp deleted file mode 100644 index 72584a58..00000000 --- a/kdejava/koala/kdejava/HTMLBRElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLBRElementJBridge : public DOM::HTMLBRElement -{ -public: - HTMLBRElementJBridge() : DOM::HTMLBRElement() {}; - HTMLBRElementJBridge(const DOM::HTMLBRElement& arg1) : DOM::HTMLBRElement(arg1) {}; - HTMLBRElementJBridge(const DOM::Node& arg1) : DOM::HTMLBRElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBRElement_clear(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBRElement*) QtSupport::getQt(env, obj))->clear(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBRElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__Lorg_kde_koala_HTMLBRElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBRElementJBridge((const DOM::HTMLBRElement&)*(const DOM::HTMLBRElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBRElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBRElement_setClear(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBRElement*) QtSupport::getQt(env, obj))->setClear((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLBRElement.h b/kdejava/koala/kdejava/HTMLBRElement.h deleted file mode 100644 index 59653acc..00000000 --- a/kdejava/koala/kdejava/HTMLBRElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLBRElement__ -#define __org_kde_koala_HTMLBRElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__Lorg_kde_koala_HTMLBRElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBRElement_newHTMLBRElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBRElement_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBRElement_setClear (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLBRElement__ */ diff --git a/kdejava/koala/kdejava/HTMLBaseElement.cpp b/kdejava/koala/kdejava/HTMLBaseElement.cpp deleted file mode 100644 index 817afbe0..00000000 --- a/kdejava/koala/kdejava/HTMLBaseElement.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLBaseElementJBridge : public DOM::HTMLBaseElement -{ -public: - HTMLBaseElementJBridge() : DOM::HTMLBaseElement() {}; - HTMLBaseElementJBridge(const DOM::HTMLBaseElement& arg1) : DOM::HTMLBaseElement(arg1) {}; - HTMLBaseElementJBridge(const DOM::Node& arg1) : DOM::HTMLBaseElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBaseElement_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBaseElement*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__Lorg_kde_koala_HTMLBaseElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseElementJBridge((const DOM::HTMLBaseElement&)*(const DOM::HTMLBaseElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseElement_setHref(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBaseElement*) QtSupport::getQt(env, obj))->setHref((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseElement_setTarget(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBaseElement*) QtSupport::getQt(env, obj))->setTarget((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBaseElement_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBaseElement*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLBaseElement.h b/kdejava/koala/kdejava/HTMLBaseElement.h deleted file mode 100644 index 402a6f7f..00000000 --- a/kdejava/koala/kdejava/HTMLBaseElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLBaseElement__ -#define __org_kde_koala_HTMLBaseElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__Lorg_kde_koala_HTMLBaseElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseElement_newHTMLBaseElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBaseElement_href (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseElement_setHref (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBaseElement_target (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseElement_setTarget (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLBaseElement__ */ diff --git a/kdejava/koala/kdejava/HTMLBaseFontElement.cpp b/kdejava/koala/kdejava/HTMLBaseFontElement.cpp deleted file mode 100644 index a0d2bd10..00000000 --- a/kdejava/koala/kdejava/HTMLBaseFontElement.cpp +++ /dev/null @@ -1,93 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLBaseFontElementJBridge : public DOM::HTMLBaseFontElement -{ -public: - HTMLBaseFontElementJBridge() : DOM::HTMLBaseFontElement() {}; - HTMLBaseFontElementJBridge(const DOM::HTMLBaseFontElement& arg1) : DOM::HTMLBaseFontElement(arg1) {}; - HTMLBaseFontElementJBridge(const DOM::Node& arg1) : DOM::HTMLBaseFontElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBaseFontElement_color(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->color(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBaseFontElement_face(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->face(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLBaseFontElement_getSize(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->getSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseFontElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__Lorg_kde_koala_HTMLBaseFontElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseFontElementJBridge((const DOM::HTMLBaseFontElement&)*(const DOM::HTMLBaseFontElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBaseFontElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_setColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->setColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_setFace(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->setFace((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBaseFontElement_setSize(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLBaseFontElement*) QtSupport::getQt(env, obj))->setSize((long) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLBaseFontElement.h b/kdejava/koala/kdejava/HTMLBaseFontElement.h deleted file mode 100644 index e6f6f31a..00000000 --- a/kdejava/koala/kdejava/HTMLBaseFontElement.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLBaseFontElement__ -#define __org_kde_koala_HTMLBaseFontElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__Lorg_kde_koala_HTMLBaseFontElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_newHTMLBaseFontElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBaseFontElement_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_setColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBaseFontElement_face (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_setFace (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLBaseFontElement_getSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBaseFontElement_setSize (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLBaseFontElement__ */ diff --git a/kdejava/koala/kdejava/HTMLBlockquoteElement.cpp b/kdejava/koala/kdejava/HTMLBlockquoteElement.cpp deleted file mode 100644 index b3281f3e..00000000 --- a/kdejava/koala/kdejava/HTMLBlockquoteElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLBlockquoteElementJBridge : public DOM::HTMLBlockquoteElement -{ -public: - HTMLBlockquoteElementJBridge() : DOM::HTMLBlockquoteElement() {}; - HTMLBlockquoteElementJBridge(const DOM::HTMLBlockquoteElement& arg1) : DOM::HTMLBlockquoteElement(arg1) {}; - HTMLBlockquoteElementJBridge(const DOM::Node& arg1) : DOM::HTMLBlockquoteElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBlockquoteElement_cite(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBlockquoteElement*) QtSupport::getQt(env, obj))->cite(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBlockquoteElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__Lorg_kde_koala_HTMLBlockquoteElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBlockquoteElementJBridge((const DOM::HTMLBlockquoteElement&)*(const DOM::HTMLBlockquoteElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBlockquoteElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBlockquoteElement_setCite(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBlockquoteElement*) QtSupport::getQt(env, obj))->setCite((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLBlockquoteElement.h b/kdejava/koala/kdejava/HTMLBlockquoteElement.h deleted file mode 100644 index dd311972..00000000 --- a/kdejava/koala/kdejava/HTMLBlockquoteElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLBlockquoteElement__ -#define __org_kde_koala_HTMLBlockquoteElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__Lorg_kde_koala_HTMLBlockquoteElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBlockquoteElement_newHTMLBlockquoteElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBlockquoteElement_cite (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBlockquoteElement_setCite (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLBlockquoteElement__ */ diff --git a/kdejava/koala/kdejava/HTMLBodyElement.cpp b/kdejava/koala/kdejava/HTMLBodyElement.cpp deleted file mode 100644 index 157f807a..00000000 --- a/kdejava/koala/kdejava/HTMLBodyElement.cpp +++ /dev/null @@ -1,143 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLBodyElementJBridge : public DOM::HTMLBodyElement -{ -public: - HTMLBodyElementJBridge() : DOM::HTMLBodyElement() {}; - HTMLBodyElementJBridge(const DOM::HTMLBodyElement& arg1) : DOM::HTMLBodyElement(arg1) {}; - HTMLBodyElementJBridge(const DOM::Node& arg1) : DOM::HTMLBodyElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_aLink(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->aLink(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_background(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->background(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_bgColor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->bgColor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_link(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->link(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBodyElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__Lorg_kde_koala_HTMLBodyElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBodyElementJBridge((const DOM::HTMLBodyElement&)*(const DOM::HTMLBodyElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLBodyElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setALink(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setALink((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setBackground(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setBackground((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setBgColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setBgColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setLink(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setLink((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLBodyElement_setVLink(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->setVLink((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_text(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->text(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLBodyElement_vLink(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLBodyElement*) QtSupport::getQt(env, obj))->vLink(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLBodyElement.h b/kdejava/koala/kdejava/HTMLBodyElement.h deleted file mode 100644 index cf2647e6..00000000 --- a/kdejava/koala/kdejava/HTMLBodyElement.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLBodyElement__ -#define __org_kde_koala_HTMLBodyElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__Lorg_kde_koala_HTMLBodyElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_newHTMLBodyElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_aLink (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setALink (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_background (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setBackground (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_bgColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setBgColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_link (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setLink (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLBodyElement_vLink (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLBodyElement_setVLink (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLBodyElement__ */ diff --git a/kdejava/koala/kdejava/HTMLButtonElement.cpp b/kdejava/koala/kdejava/HTMLButtonElement.cpp deleted file mode 100644 index d77d977a..00000000 --- a/kdejava/koala/kdejava/HTMLButtonElement.cpp +++ /dev/null @@ -1,152 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLButtonElementJBridge : public DOM::HTMLButtonElement -{ -public: - HTMLButtonElementJBridge() : DOM::HTMLButtonElement() {}; - HTMLButtonElementJBridge(const DOM::HTMLButtonElement& arg1) : DOM::HTMLButtonElement(arg1) {}; - HTMLButtonElementJBridge(const DOM::Node& arg1) : DOM::HTMLButtonElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLButtonElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_blur(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->blur(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLButtonElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_focus(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->focus(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLButtonElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLButtonElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLButtonElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__Lorg_kde_koala_HTMLButtonElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLButtonElementJBridge((const DOM::HTMLButtonElement&)*(const DOM::HTMLButtonElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLButtonElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLButtonElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLButtonElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLButtonElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLButtonElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLButtonElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLButtonElement.h b/kdejava/koala/kdejava/HTMLButtonElement.h deleted file mode 100644 index 1575943b..00000000 --- a/kdejava/koala/kdejava/HTMLButtonElement.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLButtonElement__ -#define __org_kde_koala_HTMLButtonElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__Lorg_kde_koala_HTMLButtonElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_newHTMLButtonElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLButtonElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLButtonElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLButtonElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLButtonElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLButtonElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLButtonElement_type (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLButtonElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_blur (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLButtonElement_focus (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLButtonElement__ */ diff --git a/kdejava/koala/kdejava/HTMLCollection.cpp b/kdejava/koala/kdejava/HTMLCollection.cpp deleted file mode 100644 index a0c60a4a..00000000 --- a/kdejava/koala/kdejava/HTMLCollection.cpp +++ /dev/null @@ -1,94 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLCollectionJBridge : public DOM::HTMLCollection -{ -public: - HTMLCollectionJBridge() : DOM::HTMLCollection() {}; - HTMLCollectionJBridge(const DOM::HTMLCollection& arg1) : DOM::HTMLCollection(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_base(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->base()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_firstItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->firstItem()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLCollection_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_item(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->item((unsigned long) index)), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLCollection_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_namedItem(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->namedItem((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLCollection_newHTMLCollection__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLCollectionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLCollection_newHTMLCollection__Lorg_kde_koala_HTMLCollection_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLCollectionJBridge((const DOM::HTMLCollection&)*(const DOM::HTMLCollection*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_nextItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->nextItem()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLCollection_nextNamedItem(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::HTMLCollection*) QtSupport::getQt(env, obj))->nextNamedItem((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Node", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/HTMLCollection.h b/kdejava/koala/kdejava/HTMLCollection.h deleted file mode 100644 index 66cff230..00000000 --- a/kdejava/koala/kdejava/HTMLCollection.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLCollection__ -#define __org_kde_koala_HTMLCollection__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLCollection_newHTMLCollection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLCollection_newHTMLCollection__Lorg_kde_koala_HTMLCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLCollection_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_item (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_namedItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_base (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLCollection_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_firstItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_nextItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLCollection_nextNamedItem (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLCollection__ */ diff --git a/kdejava/koala/kdejava/HTMLDListElement.cpp b/kdejava/koala/kdejava/HTMLDListElement.cpp deleted file mode 100644 index 18317bfe..00000000 --- a/kdejava/koala/kdejava/HTMLDListElement.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class HTMLDListElementJBridge : public DOM::HTMLDListElement -{ -public: - HTMLDListElementJBridge() : DOM::HTMLDListElement() {}; - HTMLDListElementJBridge(const DOM::HTMLDListElement& arg1) : DOM::HTMLDListElement(arg1) {}; - HTMLDListElementJBridge(const DOM::Node& arg1) : DOM::HTMLDListElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLDListElement_compact(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLDListElement*) QtSupport::getQt(env, obj))->compact(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDListElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__Lorg_kde_koala_HTMLDListElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDListElementJBridge((const DOM::HTMLDListElement&)*(const DOM::HTMLDListElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDListElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDListElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLDListElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLDListElement.h b/kdejava/koala/kdejava/HTMLDListElement.h deleted file mode 100644 index cb11b9a7..00000000 --- a/kdejava/koala/kdejava/HTMLDListElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLDListElement__ -#define __org_kde_koala_HTMLDListElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__Lorg_kde_koala_HTMLDListElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDListElement_newHTMLDListElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLDListElement_compact (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDListElement_setCompact (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLDListElement__ */ diff --git a/kdejava/koala/kdejava/HTMLDirectoryElement.cpp b/kdejava/koala/kdejava/HTMLDirectoryElement.cpp deleted file mode 100644 index f5078ecc..00000000 --- a/kdejava/koala/kdejava/HTMLDirectoryElement.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class HTMLDirectoryElementJBridge : public DOM::HTMLDirectoryElement -{ -public: - HTMLDirectoryElementJBridge() : DOM::HTMLDirectoryElement() {}; - HTMLDirectoryElementJBridge(const DOM::HTMLDirectoryElement& arg1) : DOM::HTMLDirectoryElement(arg1) {}; - HTMLDirectoryElementJBridge(const DOM::Node& arg1) : DOM::HTMLDirectoryElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLDirectoryElement_compact(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLDirectoryElement*) QtSupport::getQt(env, obj))->compact(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDirectoryElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__Lorg_kde_koala_HTMLDirectoryElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDirectoryElementJBridge((const DOM::HTMLDirectoryElement&)*(const DOM::HTMLDirectoryElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDirectoryElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDirectoryElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLDirectoryElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLDirectoryElement.h b/kdejava/koala/kdejava/HTMLDirectoryElement.h deleted file mode 100644 index c4e02ba3..00000000 --- a/kdejava/koala/kdejava/HTMLDirectoryElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLDirectoryElement__ -#define __org_kde_koala_HTMLDirectoryElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__Lorg_kde_koala_HTMLDirectoryElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDirectoryElement_newHTMLDirectoryElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLDirectoryElement_compact (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDirectoryElement_setCompact (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLDirectoryElement__ */ diff --git a/kdejava/koala/kdejava/HTMLDivElement.cpp b/kdejava/koala/kdejava/HTMLDivElement.cpp deleted file mode 100644 index adafd5c8..00000000 --- a/kdejava/koala/kdejava/HTMLDivElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLDivElementJBridge : public DOM::HTMLDivElement -{ -public: - HTMLDivElementJBridge() : DOM::HTMLDivElement() {}; - HTMLDivElementJBridge(const DOM::HTMLDivElement& arg1) : DOM::HTMLDivElement(arg1) {}; - HTMLDivElementJBridge(const DOM::Node& arg1) : DOM::HTMLDivElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDivElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDivElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDivElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__Lorg_kde_koala_HTMLDivElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDivElementJBridge((const DOM::HTMLDivElement&)*(const DOM::HTMLDivElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDivElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDivElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLDivElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLDivElement.h b/kdejava/koala/kdejava/HTMLDivElement.h deleted file mode 100644 index be6b139e..00000000 --- a/kdejava/koala/kdejava/HTMLDivElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLDivElement__ -#define __org_kde_koala_HTMLDivElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__Lorg_kde_koala_HTMLDivElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDivElement_newHTMLDivElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDivElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDivElement_setAlign (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLDivElement__ */ diff --git a/kdejava/koala/kdejava/HTMLDocument.cpp b/kdejava/koala/kdejava/HTMLDocument.cpp deleted file mode 100644 index e99a342d..00000000 --- a/kdejava/koala/kdejava/HTMLDocument.cpp +++ /dev/null @@ -1,235 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class HTMLDocumentJBridge : public DOM::HTMLDocument -{ -public: - HTMLDocumentJBridge() : DOM::HTMLDocument() {}; - HTMLDocumentJBridge(TDEHTMLView* arg1) : DOM::HTMLDocument(arg1) {}; - HTMLDocumentJBridge(const DOM::HTMLDocument& arg1) : DOM::HTMLDocument(arg1) {}; - HTMLDocumentJBridge(const DOM::Node& arg1) : DOM::HTMLDocument(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_URL(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->URL(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_all(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->all()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_anchors(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->anchors()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_applets(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->applets()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_body(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->body()), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_close(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_completeURL(JNIEnv* env, jobject obj, jstring url) -{ - DOM::DOMString _qstring; -static DOM::DOMString* _domstring_url = 0; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->completeURL((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, url, &_domstring_url)); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_cookie(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->cookie(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_domain(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->domain(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_forms(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->forms()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_getElementsByName(JNIEnv* env, jobject obj, jstring elementName) -{ - DOM::NodeList _qlist; -static DOM::DOMString* _domstring_elementName = 0; - _qlist = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->getElementsByName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, elementName, &_domstring_elementName)); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_images(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->images()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_lastModified(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->lastModified(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_layers(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->layers()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLDocument_links(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->links()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_newHTMLDocument__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDocumentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_HTMLDocument_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDocumentJBridge((const DOM::HTMLDocument&)*(const DOM::HTMLDocument*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_TDEHTMLView_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDocumentJBridge((TDEHTMLView*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLDocumentJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_open(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->open(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_referrer(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->referrer(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_setBody(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->setBody((const DOM::HTMLElement&)*(const DOM::HTMLElement*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_setCookie(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->setCookie((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_setTitle(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->setTitle((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLDocument_title(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->title(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_write(JNIEnv* env, jobject obj, jstring text) -{ -static DOM::DOMString* _domstring_text = 0; - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->write((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, text, &_domstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLDocument_writeln(JNIEnv* env, jobject obj, jstring text) -{ -static DOM::DOMString* _domstring_text = 0; - ((DOM::HTMLDocument*) QtSupport::getQt(env, obj))->writeln((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, text, &_domstring_text)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLDocument.h b/kdejava/koala/kdejava/HTMLDocument.h deleted file mode 100644 index 0f1c1e6b..00000000 --- a/kdejava/koala/kdejava/HTMLDocument.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLDocument__ -#define __org_kde_koala_HTMLDocument__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_newHTMLDocument__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_TDEHTMLView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_HTMLDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_newHTMLDocument__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_title (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_referrer (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_domain (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_URL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_body (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_setBody (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_images (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_applets (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_links (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_forms (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_layers (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_anchors (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_cookie (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_setCookie (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_open (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_write (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLDocument_writeln (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_getElementsByName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_completeURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLDocument_lastModified (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLDocument_all (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLDocument__ */ diff --git a/kdejava/koala/kdejava/HTMLElement.cpp b/kdejava/koala/kdejava/HTMLElement.cpp deleted file mode 100644 index 2fef0c0d..00000000 --- a/kdejava/koala/kdejava/HTMLElement.cpp +++ /dev/null @@ -1,202 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class HTMLElementJBridge : public DOM::HTMLElement -{ -public: - HTMLElementJBridge() : DOM::HTMLElement() {}; - HTMLElementJBridge(const DOM::HTMLElement& arg1) : DOM::HTMLElement(arg1) {}; - HTMLElementJBridge(const DOM::Node& arg1) : DOM::HTMLElement(arg1) {}; - void protected_assignOther(const DOM::Node& arg1,int arg2) { - DOM::HTMLElement::assignOther(arg1,arg2); - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_addCSSProperty(JNIEnv* env, jobject obj, jstring property, jstring value) -{ -static DOM::DOMString* _domstring_property = 0; -static DOM::DOMString* _domstring_value = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->addCSSProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, property, &_domstring_property), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, value, &_domstring_value)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLElement_all(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLElement*) QtSupport::getQt(env, obj))->all()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_assignOther(JNIEnv* env, jobject obj, jobject other, jint elementId) -{ - ((HTMLElementJBridge*) QtSupport::getQt(env, obj))->protected_assignOther((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other), (int) elementId); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLElement_children(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLElement*) QtSupport::getQt(env, obj))->children()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_className(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->className(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_dir(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->dir(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_id(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->id(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_innerHTML(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->innerHTML(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_innerText(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->innerText(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_lang(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->lang(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_newHTMLElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_newHTMLElement__Lorg_kde_koala_HTMLElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLElementJBridge((const DOM::HTMLElement&)*(const DOM::HTMLElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_newHTMLElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_removeCSSProperty(JNIEnv* env, jobject obj, jstring property) -{ -static DOM::DOMString* _domstring_property = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->removeCSSProperty((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, property, &_domstring_property)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setClassName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setClassName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setDir(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setDir((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setId(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setId((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setInnerHTML(JNIEnv* env, jobject obj, jstring html) -{ -static DOM::DOMString* _domstring_html = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setInnerHTML((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, html, &_domstring_html)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setInnerText(JNIEnv* env, jobject obj, jstring text) -{ -static DOM::DOMString* _domstring_text = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setInnerText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, text, &_domstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setLang(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setLang((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLElement_setTitle(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->setTitle((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLElement_title(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLElement*) QtSupport::getQt(env, obj))->title(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLElement.h b/kdejava/koala/kdejava/HTMLElement.h deleted file mode 100644 index adb70254..00000000 --- a/kdejava/koala/kdejava/HTMLElement.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLElement__ -#define __org_kde_koala_HTMLElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_newHTMLElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_newHTMLElement__Lorg_kde_koala_HTMLElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_newHTMLElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_id (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_title (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_lang (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setLang (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_dir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setClassName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_innerHTML (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setInnerHTML (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLElement_innerText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_setInnerText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLElement_children (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLElement_all (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_removeCSSProperty (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_addCSSProperty (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLElement_assignOther (JNIEnv *env, jobject, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLElement__ */ diff --git a/kdejava/koala/kdejava/HTMLFieldSetElement.cpp b/kdejava/koala/kdejava/HTMLFieldSetElement.cpp deleted file mode 100644 index 751a884b..00000000 --- a/kdejava/koala/kdejava/HTMLFieldSetElement.cpp +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class HTMLFieldSetElementJBridge : public DOM::HTMLFieldSetElement -{ -public: - HTMLFieldSetElementJBridge() : DOM::HTMLFieldSetElement() {}; - HTMLFieldSetElementJBridge(const DOM::HTMLFieldSetElement& arg1) : DOM::HTMLFieldSetElement(arg1) {}; - HTMLFieldSetElementJBridge(const DOM::Node& arg1) : DOM::HTMLFieldSetElement(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLFieldSetElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLFieldSetElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFieldSetElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__Lorg_kde_koala_HTMLFieldSetElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFieldSetElementJBridge((const DOM::HTMLFieldSetElement&)*(const DOM::HTMLFieldSetElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFieldSetElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/HTMLFieldSetElement.h b/kdejava/koala/kdejava/HTMLFieldSetElement.h deleted file mode 100644 index b5e018e1..00000000 --- a/kdejava/koala/kdejava/HTMLFieldSetElement.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFieldSetElement__ -#define __org_kde_koala_HTMLFieldSetElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__Lorg_kde_koala_HTMLFieldSetElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFieldSetElement_newHTMLFieldSetElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLFieldSetElement_formElement (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFieldSetElement__ */ diff --git a/kdejava/koala/kdejava/HTMLFontElement.cpp b/kdejava/koala/kdejava/HTMLFontElement.cpp deleted file mode 100644 index d923354f..00000000 --- a/kdejava/koala/kdejava/HTMLFontElement.cpp +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLFontElementJBridge : public DOM::HTMLFontElement -{ -public: - HTMLFontElementJBridge() : DOM::HTMLFontElement() {}; - HTMLFontElementJBridge(const DOM::HTMLFontElement& arg1) : DOM::HTMLFontElement(arg1) {}; - HTMLFontElementJBridge(const DOM::Node& arg1) : DOM::HTMLFontElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFontElement_color(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->color(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFontElement_face(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->face(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFontElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__Lorg_kde_koala_HTMLFontElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFontElementJBridge((const DOM::HTMLFontElement&)*(const DOM::HTMLFontElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFontElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_setColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->setColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_setFace(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->setFace((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFontElement_setSize(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->setSize((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFontElement_size(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFontElement*) QtSupport::getQt(env, obj))->size(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLFontElement.h b/kdejava/koala/kdejava/HTMLFontElement.h deleted file mode 100644 index efbac3e4..00000000 --- a/kdejava/koala/kdejava/HTMLFontElement.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFontElement__ -#define __org_kde_koala_HTMLFontElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__Lorg_kde_koala_HTMLFontElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_newHTMLFontElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFontElement_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_setColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFontElement_face (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_setFace (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFontElement_size (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFontElement_setSize (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFontElement__ */ diff --git a/kdejava/koala/kdejava/HTMLFormCollection.cpp b/kdejava/koala/kdejava/HTMLFormCollection.cpp deleted file mode 100644 index 3efaa617..00000000 --- a/kdejava/koala/kdejava/HTMLFormCollection.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - diff --git a/kdejava/koala/kdejava/HTMLFormCollection.h b/kdejava/koala/kdejava/HTMLFormCollection.h deleted file mode 100644 index 8a25f6cc..00000000 --- a/kdejava/koala/kdejava/HTMLFormCollection.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFormCollection__ -#define __org_kde_koala_HTMLFormCollection__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFormCollection__ */ diff --git a/kdejava/koala/kdejava/HTMLFormElement.cpp b/kdejava/koala/kdejava/HTMLFormElement.cpp deleted file mode 100644 index a0c5c3e2..00000000 --- a/kdejava/koala/kdejava/HTMLFormElement.cpp +++ /dev/null @@ -1,172 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class HTMLFormElementJBridge : public DOM::HTMLFormElement -{ -public: - HTMLFormElementJBridge() : DOM::HTMLFormElement() {}; - HTMLFormElementJBridge(const DOM::HTMLFormElement& arg1) : DOM::HTMLFormElement(arg1) {}; - HTMLFormElementJBridge(const DOM::Node& arg1) : DOM::HTMLFormElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_acceptCharset(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->acceptCharset(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_action(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->action(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLFormElement_elements(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->elements()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_enctype(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->enctype(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLFormElement_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_method(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->method(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFormElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__Lorg_kde_koala_HTMLFormElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFormElementJBridge((const DOM::HTMLFormElement&)*(const DOM::HTMLFormElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFormElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_reset(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setAcceptCharset(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setAcceptCharset((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setAction(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setAction((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setEnctype(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setEnctype((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setMethod(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setMethod((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_setTarget(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->setTarget((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFormElement_submit(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->submit(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFormElement_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFormElement*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLFormElement.h b/kdejava/koala/kdejava/HTMLFormElement.h deleted file mode 100644 index 72211962..00000000 --- a/kdejava/koala/kdejava/HTMLFormElement.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFormElement__ -#define __org_kde_koala_HTMLFormElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__Lorg_kde_koala_HTMLFormElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_newHTMLFormElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLFormElement_elements (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLFormElement_length (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_acceptCharset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setAcceptCharset (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_action (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setAction (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_enctype (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setEnctype (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_method (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setMethod (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFormElement_target (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_setTarget (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_submit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFormElement_reset (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFormElement__ */ diff --git a/kdejava/koala/kdejava/HTMLFrameElement.cpp b/kdejava/koala/kdejava/HTMLFrameElement.cpp deleted file mode 100644 index 6e64ba8d..00000000 --- a/kdejava/koala/kdejava/HTMLFrameElement.cpp +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class HTMLFrameElementJBridge : public DOM::HTMLFrameElement -{ -public: - HTMLFrameElementJBridge() : DOM::HTMLFrameElement() {}; - HTMLFrameElementJBridge(const DOM::HTMLFrameElement& arg1) : DOM::HTMLFrameElement(arg1) {}; - HTMLFrameElementJBridge(const DOM::Node& arg1) : DOM::HTMLFrameElement(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLFrameElement_contentDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->contentDocument()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_frameBorder(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->frameBorder(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_longDesc(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->longDesc(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_marginHeight(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->marginHeight(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_marginWidth(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->marginWidth(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__Lorg_kde_koala_HTMLFrameElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameElementJBridge((const DOM::HTMLFrameElement&)*(const DOM::HTMLFrameElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLFrameElement_noResize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->noResize(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_scrolling(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->scrolling(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setFrameBorder(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setFrameBorder((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setLongDesc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setLongDesc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setMarginHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setMarginHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setMarginWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setMarginWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setNoResize(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setNoResize((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setScrolling(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setScrolling((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameElement_setSrc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameElement_src(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameElement*) QtSupport::getQt(env, obj))->src(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLFrameElement.h b/kdejava/koala/kdejava/HTMLFrameElement.h deleted file mode 100644 index 8b41b6bf..00000000 --- a/kdejava/koala/kdejava/HTMLFrameElement.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFrameElement__ -#define __org_kde_koala_HTMLFrameElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__Lorg_kde_koala_HTMLFrameElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_newHTMLFrameElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_frameBorder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setFrameBorder (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_longDesc (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setLongDesc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_marginHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setMarginHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_marginWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setMarginWidth (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLFrameElement_noResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setNoResize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_scrolling (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setScrolling (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameElement_src (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameElement_setSrc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLFrameElement_contentDocument (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFrameElement__ */ diff --git a/kdejava/koala/kdejava/HTMLFrameSetElement.cpp b/kdejava/koala/kdejava/HTMLFrameSetElement.cpp deleted file mode 100644 index 7c973e09..00000000 --- a/kdejava/koala/kdejava/HTMLFrameSetElement.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLFrameSetElementJBridge : public DOM::HTMLFrameSetElement -{ -public: - HTMLFrameSetElementJBridge() : DOM::HTMLFrameSetElement() {}; - HTMLFrameSetElementJBridge(const DOM::HTMLFrameSetElement& arg1) : DOM::HTMLFrameSetElement(arg1) {}; - HTMLFrameSetElementJBridge(const DOM::Node& arg1) : DOM::HTMLFrameSetElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameSetElement_cols(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameSetElement*) QtSupport::getQt(env, obj))->cols(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameSetElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__Lorg_kde_koala_HTMLFrameSetElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameSetElementJBridge((const DOM::HTMLFrameSetElement&)*(const DOM::HTMLFrameSetElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLFrameSetElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLFrameSetElement_rows(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLFrameSetElement*) QtSupport::getQt(env, obj))->rows(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameSetElement_setCols(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameSetElement*) QtSupport::getQt(env, obj))->setCols((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLFrameSetElement_setRows(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLFrameSetElement*) QtSupport::getQt(env, obj))->setRows((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLFrameSetElement.h b/kdejava/koala/kdejava/HTMLFrameSetElement.h deleted file mode 100644 index 9bfe315e..00000000 --- a/kdejava/koala/kdejava/HTMLFrameSetElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLFrameSetElement__ -#define __org_kde_koala_HTMLFrameSetElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__Lorg_kde_koala_HTMLFrameSetElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameSetElement_newHTMLFrameSetElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameSetElement_cols (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameSetElement_setCols (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLFrameSetElement_rows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLFrameSetElement_setRows (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLFrameSetElement__ */ diff --git a/kdejava/koala/kdejava/HTMLHRElement.cpp b/kdejava/koala/kdejava/HTMLHRElement.cpp deleted file mode 100644 index c2dd172c..00000000 --- a/kdejava/koala/kdejava/HTMLHRElement.cpp +++ /dev/null @@ -1,109 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLHRElementJBridge : public DOM::HTMLHRElement -{ -public: - HTMLHRElementJBridge() : DOM::HTMLHRElement() {}; - HTMLHRElementJBridge(const DOM::HTMLHRElement& arg1) : DOM::HTMLHRElement(arg1) {}; - HTMLHRElementJBridge(const DOM::Node& arg1) : DOM::HTMLHRElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHRElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHRElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__Lorg_kde_koala_HTMLHRElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHRElementJBridge((const DOM::HTMLHRElement&)*(const DOM::HTMLHRElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHRElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLHRElement_noShade(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->noShade(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_setNoShade(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->setNoShade((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_setSize(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->setSize((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHRElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHRElement_size(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->size(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHRElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHRElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLHRElement.h b/kdejava/koala/kdejava/HTMLHRElement.h deleted file mode 100644 index a1d11bfd..00000000 --- a/kdejava/koala/kdejava/HTMLHRElement.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLHRElement__ -#define __org_kde_koala_HTMLHRElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__Lorg_kde_koala_HTMLHRElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_newHTMLHRElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHRElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLHRElement_noShade (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_setNoShade (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHRElement_size (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_setSize (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHRElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHRElement_setWidth (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLHRElement__ */ diff --git a/kdejava/koala/kdejava/HTMLHeadElement.cpp b/kdejava/koala/kdejava/HTMLHeadElement.cpp deleted file mode 100644 index 1eba1959..00000000 --- a/kdejava/koala/kdejava/HTMLHeadElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLHeadElementJBridge : public DOM::HTMLHeadElement -{ -public: - HTMLHeadElementJBridge() : DOM::HTMLHeadElement() {}; - HTMLHeadElementJBridge(const DOM::HTMLHeadElement& arg1) : DOM::HTMLHeadElement(arg1) {}; - HTMLHeadElementJBridge(const DOM::Node& arg1) : DOM::HTMLHeadElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__Lorg_kde_koala_HTMLHeadElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadElementJBridge((const DOM::HTMLHeadElement&)*(const DOM::HTMLHeadElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHeadElement_profile(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHeadElement*) QtSupport::getQt(env, obj))->profile(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadElement_setProfile(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHeadElement*) QtSupport::getQt(env, obj))->setProfile((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLHeadElement.h b/kdejava/koala/kdejava/HTMLHeadElement.h deleted file mode 100644 index 070fbc09..00000000 --- a/kdejava/koala/kdejava/HTMLHeadElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLHeadElement__ -#define __org_kde_koala_HTMLHeadElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__Lorg_kde_koala_HTMLHeadElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadElement_newHTMLHeadElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHeadElement_profile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadElement_setProfile (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLHeadElement__ */ diff --git a/kdejava/koala/kdejava/HTMLHeadingElement.cpp b/kdejava/koala/kdejava/HTMLHeadingElement.cpp deleted file mode 100644 index 0cfe8c22..00000000 --- a/kdejava/koala/kdejava/HTMLHeadingElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLHeadingElementJBridge : public DOM::HTMLHeadingElement -{ -public: - HTMLHeadingElementJBridge() : DOM::HTMLHeadingElement() {}; - HTMLHeadingElementJBridge(const DOM::HTMLHeadingElement& arg1) : DOM::HTMLHeadingElement(arg1) {}; - HTMLHeadingElementJBridge(const DOM::Node& arg1) : DOM::HTMLHeadingElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHeadingElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHeadingElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadingElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__Lorg_kde_koala_HTMLHeadingElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadingElementJBridge((const DOM::HTMLHeadingElement&)*(const DOM::HTMLHeadingElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHeadingElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHeadingElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHeadingElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLHeadingElement.h b/kdejava/koala/kdejava/HTMLHeadingElement.h deleted file mode 100644 index 0d4ab51c..00000000 --- a/kdejava/koala/kdejava/HTMLHeadingElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLHeadingElement__ -#define __org_kde_koala_HTMLHeadingElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__Lorg_kde_koala_HTMLHeadingElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadingElement_newHTMLHeadingElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHeadingElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHeadingElement_setAlign (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLHeadingElement__ */ diff --git a/kdejava/koala/kdejava/HTMLHtmlElement.cpp b/kdejava/koala/kdejava/HTMLHtmlElement.cpp deleted file mode 100644 index 39e55c6d..00000000 --- a/kdejava/koala/kdejava/HTMLHtmlElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLHtmlElementJBridge : public DOM::HTMLHtmlElement -{ -public: - HTMLHtmlElementJBridge() : DOM::HTMLHtmlElement() {}; - HTMLHtmlElementJBridge(const DOM::HTMLHtmlElement& arg1) : DOM::HTMLHtmlElement(arg1) {}; - HTMLHtmlElementJBridge(const DOM::Node& arg1) : DOM::HTMLHtmlElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHtmlElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__Lorg_kde_koala_HTMLHtmlElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHtmlElementJBridge((const DOM::HTMLHtmlElement&)*(const DOM::HTMLHtmlElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLHtmlElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLHtmlElement_setVersion(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLHtmlElement*) QtSupport::getQt(env, obj))->setVersion((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLHtmlElement_version(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLHtmlElement*) QtSupport::getQt(env, obj))->version(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLHtmlElement.h b/kdejava/koala/kdejava/HTMLHtmlElement.h deleted file mode 100644 index b9e89487..00000000 --- a/kdejava/koala/kdejava/HTMLHtmlElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLHtmlElement__ -#define __org_kde_koala_HTMLHtmlElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__Lorg_kde_koala_HTMLHtmlElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHtmlElement_newHTMLHtmlElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLHtmlElement_version (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLHtmlElement_setVersion (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLHtmlElement__ */ diff --git a/kdejava/koala/kdejava/HTMLIFrameElement.cpp b/kdejava/koala/kdejava/HTMLIFrameElement.cpp deleted file mode 100644 index 6dbb8b74..00000000 --- a/kdejava/koala/kdejava/HTMLIFrameElement.cpp +++ /dev/null @@ -1,215 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class HTMLIFrameElementJBridge : public DOM::HTMLIFrameElement -{ -public: - HTMLIFrameElementJBridge() : DOM::HTMLIFrameElement() {}; - HTMLIFrameElementJBridge(const DOM::HTMLIFrameElement& arg1) : DOM::HTMLIFrameElement(arg1) {}; - HTMLIFrameElementJBridge(const DOM::Node& arg1) : DOM::HTMLIFrameElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLIFrameElement_contentDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->contentDocument()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_frameBorder(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->frameBorder(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_height(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->height(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_longDesc(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->longDesc(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_marginHeight(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->marginHeight(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_marginWidth(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->marginWidth(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIFrameElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__Lorg_kde_koala_HTMLIFrameElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIFrameElementJBridge((const DOM::HTMLIFrameElement&)*(const DOM::HTMLIFrameElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIFrameElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_scrolling(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->scrolling(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setFrameBorder(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setFrameBorder((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setLongDesc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setLongDesc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setMarginHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setMarginHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setMarginWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setMarginWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setScrolling(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setScrolling((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setSrc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIFrameElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_src(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->src(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIFrameElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIFrameElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLIFrameElement.h b/kdejava/koala/kdejava/HTMLIFrameElement.h deleted file mode 100644 index 321afd5d..00000000 --- a/kdejava/koala/kdejava/HTMLIFrameElement.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLIFrameElement__ -#define __org_kde_koala_HTMLIFrameElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__Lorg_kde_koala_HTMLIFrameElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_newHTMLIFrameElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_frameBorder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setFrameBorder (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_longDesc (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setLongDesc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_marginHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setMarginHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_marginWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setMarginWidth (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_scrolling (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setScrolling (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_src (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setSrc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIFrameElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIFrameElement_setWidth (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLIFrameElement_contentDocument (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLIFrameElement__ */ diff --git a/kdejava/koala/kdejava/HTMLImageElement.cpp b/kdejava/koala/kdejava/HTMLImageElement.cpp deleted file mode 100644 index 4f09d053..00000000 --- a/kdejava/koala/kdejava/HTMLImageElement.cpp +++ /dev/null @@ -1,243 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLImageElementJBridge : public DOM::HTMLImageElement -{ -public: - HTMLImageElementJBridge() : DOM::HTMLImageElement() {}; - HTMLImageElementJBridge(const DOM::HTMLImageElement& arg1) : DOM::HTMLImageElement(arg1) {}; - HTMLImageElementJBridge(const DOM::Node& arg1) : DOM::HTMLImageElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_alt(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->alt(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_getBorder(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->getBorder(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_height(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->height(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_hspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->hspace(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLImageElement_isMap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->isMap(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_longDesc(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->longDesc(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLImageElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__Lorg_kde_koala_HTMLImageElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLImageElementJBridge((const DOM::HTMLImageElement&)*(const DOM::HTMLImageElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLImageElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setAlt(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setAlt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setBorder(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setBorder((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setHeight(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setHeight((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setHspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setHspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setIsMap(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setIsMap((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setLongDesc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setLongDesc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setSrc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setUseMap(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setUseMap((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setVspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setVspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLImageElement_setWidth(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->setWidth((long) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_src(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->src(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLImageElement_useMap(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->useMap(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_vspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->vspace(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_width(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->width(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_x(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->x(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLImageElement_y(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLImageElement*) QtSupport::getQt(env, obj))->y(); - return xret; -} - diff --git a/kdejava/koala/kdejava/HTMLImageElement.h b/kdejava/koala/kdejava/HTMLImageElement.h deleted file mode 100644 index f0759e50..00000000 --- a/kdejava/koala/kdejava/HTMLImageElement.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLImageElement__ -#define __org_kde_koala_HTMLImageElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__Lorg_kde_koala_HTMLImageElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_newHTMLImageElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_alt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setAlt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_getBorder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setBorder (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setHeight (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_hspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setHspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLImageElement_isMap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setIsMap (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_longDesc (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setLongDesc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_src (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setSrc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLImageElement_useMap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setUseMap (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_vspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setVspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLImageElement_setWidth (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_x (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLImageElement_y (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLImageElement__ */ diff --git a/kdejava/koala/kdejava/HTMLInputElement.cpp b/kdejava/koala/kdejava/HTMLInputElement.cpp deleted file mode 100644 index 495c2ed0..00000000 --- a/kdejava/koala/kdejava/HTMLInputElement.cpp +++ /dev/null @@ -1,340 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLInputElementJBridge : public DOM::HTMLInputElement -{ -public: - HTMLInputElementJBridge() : DOM::HTMLInputElement() {}; - HTMLInputElementJBridge(const DOM::HTMLInputElement& arg1) : DOM::HTMLInputElement(arg1) {}; - HTMLInputElementJBridge(const DOM::Node& arg1) : DOM::HTMLInputElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_accept(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->accept(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_alt(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->alt(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_blur(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->blur(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLInputElement_checked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->checked(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_click(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->click(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLInputElement_defaultChecked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->defaultChecked(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_defaultValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->defaultValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLInputElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_focus(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->focus(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLInputElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLInputElement_getSize(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->getSize(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLInputElement_maxLength(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->maxLength(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLInputElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__Lorg_kde_koala_HTMLInputElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLInputElementJBridge((const DOM::HTMLInputElement&)*(const DOM::HTMLInputElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLInputElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLInputElement_readOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->readOnly(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_select(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->select(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setAccept(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAccept((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setAlt(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setAlt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setDefaultChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setDefaultChecked((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setDefaultValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setDefaultValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setMaxLength(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setMaxLength((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setSize(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setSize((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setSrc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setUseMap(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setUseMap((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLInputElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_src(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->src(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLInputElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_useMap(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->useMap(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLInputElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLInputElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLInputElement.h b/kdejava/koala/kdejava/HTMLInputElement.h deleted file mode 100644 index 8ae444be..00000000 --- a/kdejava/koala/kdejava/HTMLInputElement.h +++ /dev/null @@ -1,60 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLInputElement__ -#define __org_kde_koala_HTMLInputElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__Lorg_kde_koala_HTMLInputElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_newHTMLInputElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_defaultValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setDefaultValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLInputElement_defaultChecked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setDefaultChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLInputElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setAccept (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_alt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setAlt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLInputElement_checked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLInputElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLInputElement_maxLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setMaxLength (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLInputElement_readOnly (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLInputElement_getSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_src (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setSrc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLInputElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_useMap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setUseMap (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLInputElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_blur (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_focus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_select (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLInputElement_click (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLInputElement__ */ diff --git a/kdejava/koala/kdejava/HTMLIsIndexElement.cpp b/kdejava/koala/kdejava/HTMLIsIndexElement.cpp deleted file mode 100644 index 71558507..00000000 --- a/kdejava/koala/kdejava/HTMLIsIndexElement.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLIsIndexElementJBridge : public DOM::HTMLIsIndexElement -{ -public: - HTMLIsIndexElementJBridge() : DOM::HTMLIsIndexElement() {}; - HTMLIsIndexElementJBridge(const DOM::HTMLIsIndexElement& arg1) : DOM::HTMLIsIndexElement(arg1) {}; - HTMLIsIndexElementJBridge(const DOM::Node& arg1) : DOM::HTMLIsIndexElement(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLIsIndexElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLIsIndexElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIsIndexElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__Lorg_kde_koala_HTMLIsIndexElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIsIndexElementJBridge((const DOM::HTMLIsIndexElement&)*(const DOM::HTMLIsIndexElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLIsIndexElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLIsIndexElement_prompt(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLIsIndexElement*) QtSupport::getQt(env, obj))->prompt(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLIsIndexElement_setPrompt(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLIsIndexElement*) QtSupport::getQt(env, obj))->setPrompt((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLIsIndexElement.h b/kdejava/koala/kdejava/HTMLIsIndexElement.h deleted file mode 100644 index 5ac502e1..00000000 --- a/kdejava/koala/kdejava/HTMLIsIndexElement.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLIsIndexElement__ -#define __org_kde_koala_HTMLIsIndexElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__Lorg_kde_koala_HTMLIsIndexElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIsIndexElement_newHTMLIsIndexElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLIsIndexElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLIsIndexElement_prompt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLIsIndexElement_setPrompt (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLIsIndexElement__ */ diff --git a/kdejava/koala/kdejava/HTMLLIElement.cpp b/kdejava/koala/kdejava/HTMLLIElement.cpp deleted file mode 100644 index 80fe7ead..00000000 --- a/kdejava/koala/kdejava/HTMLLIElement.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLLIElementJBridge : public DOM::HTMLLIElement -{ -public: - HTMLLIElementJBridge() : DOM::HTMLLIElement() {}; - HTMLLIElementJBridge(const DOM::HTMLLIElement& arg1) : DOM::HTMLLIElement(arg1) {}; - HTMLLIElementJBridge(const DOM::Node& arg1) : DOM::HTMLLIElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLIElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__Lorg_kde_koala_HTMLLIElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLIElementJBridge((const DOM::HTMLLIElement&)*(const DOM::HTMLLIElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLIElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLIElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLIElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLIElement_setValue(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLLIElement*) QtSupport::getQt(env, obj))->setValue((long) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLIElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLIElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLLIElement_value(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLLIElement*) QtSupport::getQt(env, obj))->value(); - return xret; -} - diff --git a/kdejava/koala/kdejava/HTMLLIElement.h b/kdejava/koala/kdejava/HTMLLIElement.h deleted file mode 100644 index 6f0adf7f..00000000 --- a/kdejava/koala/kdejava/HTMLLIElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLLIElement__ -#define __org_kde_koala_HTMLLIElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__Lorg_kde_koala_HTMLLIElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLIElement_newHTMLLIElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLIElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLIElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLLIElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLIElement_setValue (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLLIElement__ */ diff --git a/kdejava/koala/kdejava/HTMLLabelElement.cpp b/kdejava/koala/kdejava/HTMLLabelElement.cpp deleted file mode 100644 index 49148800..00000000 --- a/kdejava/koala/kdejava/HTMLLabelElement.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLLabelElementJBridge : public DOM::HTMLLabelElement -{ -public: - HTMLLabelElementJBridge() : DOM::HTMLLabelElement() {}; - HTMLLabelElementJBridge(const DOM::HTMLLabelElement& arg1) : DOM::HTMLLabelElement(arg1) {}; - HTMLLabelElementJBridge(const DOM::Node& arg1) : DOM::HTMLLabelElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLabelElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLabelElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLabelElement_htmlFor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLabelElement*) QtSupport::getQt(env, obj))->htmlFor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLabelElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__Lorg_kde_koala_HTMLLabelElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLabelElementJBridge((const DOM::HTMLLabelElement&)*(const DOM::HTMLLabelElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLabelElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLabelElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLabelElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLabelElement_setHtmlFor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLabelElement*) QtSupport::getQt(env, obj))->setHtmlFor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLLabelElement.h b/kdejava/koala/kdejava/HTMLLabelElement.h deleted file mode 100644 index a8392c2a..00000000 --- a/kdejava/koala/kdejava/HTMLLabelElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLLabelElement__ -#define __org_kde_koala_HTMLLabelElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__Lorg_kde_koala_HTMLLabelElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLabelElement_newHTMLLabelElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLabelElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLabelElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLabelElement_htmlFor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLabelElement_setHtmlFor (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLLabelElement__ */ diff --git a/kdejava/koala/kdejava/HTMLLegendElement.cpp b/kdejava/koala/kdejava/HTMLLegendElement.cpp deleted file mode 100644 index 95e37eb2..00000000 --- a/kdejava/koala/kdejava/HTMLLegendElement.cpp +++ /dev/null @@ -1,86 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLLegendElementJBridge : public DOM::HTMLLegendElement -{ -public: - HTMLLegendElementJBridge() : DOM::HTMLLegendElement() {}; - HTMLLegendElementJBridge(const DOM::HTMLLegendElement& arg1) : DOM::HTMLLegendElement(arg1) {}; - HTMLLegendElementJBridge(const DOM::Node& arg1) : DOM::HTMLLegendElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLegendElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLegendElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLegendElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLegendElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLLegendElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLLegendElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLegendElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__Lorg_kde_koala_HTMLLegendElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLegendElementJBridge((const DOM::HTMLLegendElement&)*(const DOM::HTMLLegendElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLegendElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLegendElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLegendElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLegendElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLegendElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLLegendElement.h b/kdejava/koala/kdejava/HTMLLegendElement.h deleted file mode 100644 index 9e4e6bed..00000000 --- a/kdejava/koala/kdejava/HTMLLegendElement.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLLegendElement__ -#define __org_kde_koala_HTMLLegendElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__Lorg_kde_koala_HTMLLegendElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLegendElement_newHTMLLegendElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLLegendElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLegendElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLegendElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLegendElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLegendElement_setAlign (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLLegendElement__ */ diff --git a/kdejava/koala/kdejava/HTMLLinkElement.cpp b/kdejava/koala/kdejava/HTMLLinkElement.cpp deleted file mode 100644 index d8b72154..00000000 --- a/kdejava/koala/kdejava/HTMLLinkElement.cpp +++ /dev/null @@ -1,197 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class HTMLLinkElementJBridge : public DOM::HTMLLinkElement -{ -public: - HTMLLinkElementJBridge() : DOM::HTMLLinkElement() {}; - HTMLLinkElementJBridge(const DOM::HTMLLinkElement& arg1) : DOM::HTMLLinkElement(arg1) {}; - HTMLLinkElementJBridge(const DOM::Node& arg1) : DOM::HTMLLinkElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_charset(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->charset(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLLinkElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_hreflang(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->hreflang(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_media(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->media(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLinkElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__Lorg_kde_koala_HTMLLinkElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLinkElementJBridge((const DOM::HTMLLinkElement&)*(const DOM::HTMLLinkElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLLinkElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_rel(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->rel(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_rev(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->rev(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setCharset(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setCharset((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setHref(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setHref((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setHreflang(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setHreflang((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setMedia(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setMedia((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setRel(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setRel((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setRev(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setRev((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setTarget(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setTarget((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLLinkElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLLinkElement_sheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::StyleSheet(((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->sheet()), "org.kde.koala.StyleSheet", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLLinkElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLLinkElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLLinkElement.h b/kdejava/koala/kdejava/HTMLLinkElement.h deleted file mode 100644 index 3844aad1..00000000 --- a/kdejava/koala/kdejava/HTMLLinkElement.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLLinkElement__ -#define __org_kde_koala_HTMLLinkElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__Lorg_kde_koala_HTMLLinkElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_newHTMLLinkElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLLinkElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_charset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setCharset (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_href (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setHref (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_hreflang (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setHreflang (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_media (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setMedia (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_rel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setRel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_rev (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setRev (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_target (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setTarget (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLLinkElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLLinkElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLLinkElement_sheet (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLLinkElement__ */ diff --git a/kdejava/koala/kdejava/HTMLMapElement.cpp b/kdejava/koala/kdejava/HTMLMapElement.cpp deleted file mode 100644 index 4aa396b4..00000000 --- a/kdejava/koala/kdejava/HTMLMapElement.cpp +++ /dev/null @@ -1,71 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class HTMLMapElementJBridge : public DOM::HTMLMapElement -{ -public: - HTMLMapElementJBridge() : DOM::HTMLMapElement() {}; - HTMLMapElementJBridge(const DOM::HTMLMapElement& arg1) : DOM::HTMLMapElement(arg1) {}; - HTMLMapElementJBridge(const DOM::Node& arg1) : DOM::HTMLMapElement(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLMapElement_areas(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLMapElement*) QtSupport::getQt(env, obj))->areas()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLMapElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLMapElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMapElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__Lorg_kde_koala_HTMLMapElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMapElementJBridge((const DOM::HTMLMapElement&)*(const DOM::HTMLMapElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMapElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMapElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLMapElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLMapElement.h b/kdejava/koala/kdejava/HTMLMapElement.h deleted file mode 100644 index 1ee55acd..00000000 --- a/kdejava/koala/kdejava/HTMLMapElement.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLMapElement__ -#define __org_kde_koala_HTMLMapElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__Lorg_kde_koala_HTMLMapElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMapElement_newHTMLMapElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLMapElement_areas (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLMapElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMapElement_setName (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLMapElement__ */ diff --git a/kdejava/koala/kdejava/HTMLMenuElement.cpp b/kdejava/koala/kdejava/HTMLMenuElement.cpp deleted file mode 100644 index 505e7d53..00000000 --- a/kdejava/koala/kdejava/HTMLMenuElement.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class HTMLMenuElementJBridge : public DOM::HTMLMenuElement -{ -public: - HTMLMenuElementJBridge() : DOM::HTMLMenuElement() {}; - HTMLMenuElementJBridge(const DOM::HTMLMenuElement& arg1) : DOM::HTMLMenuElement(arg1) {}; - HTMLMenuElementJBridge(const DOM::Node& arg1) : DOM::HTMLMenuElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLMenuElement_compact(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLMenuElement*) QtSupport::getQt(env, obj))->compact(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMenuElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__Lorg_kde_koala_HTMLMenuElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMenuElementJBridge((const DOM::HTMLMenuElement&)*(const DOM::HTMLMenuElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMenuElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMenuElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLMenuElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLMenuElement.h b/kdejava/koala/kdejava/HTMLMenuElement.h deleted file mode 100644 index b65bda6a..00000000 --- a/kdejava/koala/kdejava/HTMLMenuElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLMenuElement__ -#define __org_kde_koala_HTMLMenuElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__Lorg_kde_koala_HTMLMenuElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMenuElement_newHTMLMenuElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLMenuElement_compact (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMenuElement_setCompact (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLMenuElement__ */ diff --git a/kdejava/koala/kdejava/HTMLMetaElement.cpp b/kdejava/koala/kdejava/HTMLMetaElement.cpp deleted file mode 100644 index d455fb61..00000000 --- a/kdejava/koala/kdejava/HTMLMetaElement.cpp +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLMetaElementJBridge : public DOM::HTMLMetaElement -{ -public: - HTMLMetaElementJBridge() : DOM::HTMLMetaElement() {}; - HTMLMetaElementJBridge(const DOM::HTMLMetaElement& arg1) : DOM::HTMLMetaElement(arg1) {}; - HTMLMetaElementJBridge(const DOM::Node& arg1) : DOM::HTMLMetaElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLMetaElement_content(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->content(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLMetaElement_httpEquiv(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->httpEquiv(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLMetaElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMetaElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__Lorg_kde_koala_HTMLMetaElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMetaElementJBridge((const DOM::HTMLMetaElement&)*(const DOM::HTMLMetaElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLMetaElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLMetaElement_scheme(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->scheme(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_setContent(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->setContent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_setHttpEquiv(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->setHttpEquiv((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLMetaElement_setScheme(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLMetaElement*) QtSupport::getQt(env, obj))->setScheme((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLMetaElement.h b/kdejava/koala/kdejava/HTMLMetaElement.h deleted file mode 100644 index 4991784f..00000000 --- a/kdejava/koala/kdejava/HTMLMetaElement.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLMetaElement__ -#define __org_kde_koala_HTMLMetaElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__Lorg_kde_koala_HTMLMetaElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_newHTMLMetaElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLMetaElement_content (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_setContent (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLMetaElement_httpEquiv (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_setHttpEquiv (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLMetaElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLMetaElement_scheme (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLMetaElement_setScheme (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLMetaElement__ */ diff --git a/kdejava/koala/kdejava/HTMLModElement.cpp b/kdejava/koala/kdejava/HTMLModElement.cpp deleted file mode 100644 index 04d48fc9..00000000 --- a/kdejava/koala/kdejava/HTMLModElement.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLModElementJBridge : public DOM::HTMLModElement -{ -public: - HTMLModElementJBridge() : DOM::HTMLModElement() {}; - HTMLModElementJBridge(const DOM::HTMLModElement& arg1) : DOM::HTMLModElement(arg1) {}; - HTMLModElementJBridge(const DOM::Node& arg1) : DOM::HTMLModElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLModElement_cite(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLModElement*) QtSupport::getQt(env, obj))->cite(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLModElement_dateTime(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLModElement*) QtSupport::getQt(env, obj))->dateTime(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLModElement_newHTMLModElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLModElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLModElement_newHTMLModElement__Lorg_kde_koala_HTMLModElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLModElementJBridge((const DOM::HTMLModElement&)*(const DOM::HTMLModElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLModElement_newHTMLModElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLModElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLModElement_setCite(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLModElement*) QtSupport::getQt(env, obj))->setCite((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLModElement_setDateTime(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLModElement*) QtSupport::getQt(env, obj))->setDateTime((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLModElement.h b/kdejava/koala/kdejava/HTMLModElement.h deleted file mode 100644 index cd3c3bfd..00000000 --- a/kdejava/koala/kdejava/HTMLModElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLModElement__ -#define __org_kde_koala_HTMLModElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLModElement_newHTMLModElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLModElement_newHTMLModElement__Lorg_kde_koala_HTMLModElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLModElement_newHTMLModElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLModElement_cite (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLModElement_setCite (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLModElement_dateTime (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLModElement_setDateTime (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLModElement__ */ diff --git a/kdejava/koala/kdejava/HTMLOListElement.cpp b/kdejava/koala/kdejava/HTMLOListElement.cpp deleted file mode 100644 index 0960a330..00000000 --- a/kdejava/koala/kdejava/HTMLOListElement.cpp +++ /dev/null @@ -1,91 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLOListElementJBridge : public DOM::HTMLOListElement -{ -public: - HTMLOListElementJBridge() : DOM::HTMLOListElement() {}; - HTMLOListElementJBridge(const DOM::HTMLOListElement& arg1) : DOM::HTMLOListElement(arg1) {}; - HTMLOListElementJBridge(const DOM::Node& arg1) : DOM::HTMLOListElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLOListElement_compact(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->compact(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOListElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__Lorg_kde_koala_HTMLOListElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOListElementJBridge((const DOM::HTMLOListElement&)*(const DOM::HTMLOListElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOListElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_setStart(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->setStart((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOListElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLOListElement_start(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->start(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLOListElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLOListElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLOListElement.h b/kdejava/koala/kdejava/HTMLOListElement.h deleted file mode 100644 index c5d08660..00000000 --- a/kdejava/koala/kdejava/HTMLOListElement.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLOListElement__ -#define __org_kde_koala_HTMLOListElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__Lorg_kde_koala_HTMLOListElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_newHTMLOListElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLOListElement_compact (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_setCompact (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLOListElement_start (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_setStart (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLOListElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOListElement_setType (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLOListElement__ */ diff --git a/kdejava/koala/kdejava/HTMLObjectElement.cpp b/kdejava/koala/kdejava/HTMLObjectElement.cpp deleted file mode 100644 index bbeab6c0..00000000 --- a/kdejava/koala/kdejava/HTMLObjectElement.cpp +++ /dev/null @@ -1,327 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class HTMLObjectElementJBridge : public DOM::HTMLObjectElement -{ -public: - HTMLObjectElementJBridge() : DOM::HTMLObjectElement() {}; - HTMLObjectElementJBridge(const DOM::HTMLObjectElement& arg1) : DOM::HTMLObjectElement(arg1) {}; - HTMLObjectElementJBridge(const DOM::Node& arg1) : DOM::HTMLObjectElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_archive(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->archive(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_border(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->border(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_codeBase(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->codeBase(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_codeType(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->codeType(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_code(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->code(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLObjectElement_contentDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->contentDocument()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_data(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->data(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLObjectElement_declare(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->declare(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLObjectElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLObjectElement_getHspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->getHspace(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLObjectElement_getVspace(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->getVspace(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_height(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->height(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLObjectElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__Lorg_kde_koala_HTMLObjectElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLObjectElementJBridge((const DOM::HTMLObjectElement&)*(const DOM::HTMLObjectElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLObjectElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setArchive(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setArchive((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setBorder(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setBorder((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setCodeBase(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setCodeBase((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setCodeType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setCodeType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setCode(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setCode((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setData(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setData((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setDeclare(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setDeclare((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setHspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setHspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setStandby(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setStandby((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setUseMap(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setUseMap((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setVspace(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setVspace((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLObjectElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_standby(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->standby(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLObjectElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_useMap(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->useMap(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLObjectElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLObjectElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLObjectElement.h b/kdejava/koala/kdejava/HTMLObjectElement.h deleted file mode 100644 index 0dd634ab..00000000 --- a/kdejava/koala/kdejava/HTMLObjectElement.h +++ /dev/null @@ -1,57 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLObjectElement__ -#define __org_kde_koala_HTMLObjectElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__Lorg_kde_koala_HTMLObjectElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_newHTMLObjectElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLObjectElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_code (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setCode (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_archive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setArchive (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_border (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setBorder (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_codeBase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setCodeBase (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_codeType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setCodeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_data (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLObjectElement_declare (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setDeclare (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLObjectElement_getHspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setHspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_standby (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setStandby (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLObjectElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_useMap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setUseMap (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLObjectElement_getVspace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setVspace (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLObjectElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLObjectElement_setWidth (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLObjectElement_contentDocument (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLObjectElement__ */ diff --git a/kdejava/koala/kdejava/HTMLOptGroupElement.cpp b/kdejava/koala/kdejava/HTMLOptGroupElement.cpp deleted file mode 100644 index 3d5d15bc..00000000 --- a/kdejava/koala/kdejava/HTMLOptGroupElement.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLOptGroupElementJBridge : public DOM::HTMLOptGroupElement -{ -public: - HTMLOptGroupElementJBridge() : DOM::HTMLOptGroupElement() {}; - HTMLOptGroupElementJBridge(const DOM::HTMLOptGroupElement& arg1) : DOM::HTMLOptGroupElement(arg1) {}; - HTMLOptGroupElementJBridge(const DOM::Node& arg1) : DOM::HTMLOptGroupElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLOptGroupElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLOptGroupElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLOptGroupElement_label(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLOptGroupElement*) QtSupport::getQt(env, obj))->label(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptGroupElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__Lorg_kde_koala_HTMLOptGroupElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptGroupElementJBridge((const DOM::HTMLOptGroupElement&)*(const DOM::HTMLOptGroupElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptGroupElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptGroupElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLOptGroupElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptGroupElement_setLabel(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLOptGroupElement*) QtSupport::getQt(env, obj))->setLabel((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLOptGroupElement.h b/kdejava/koala/kdejava/HTMLOptGroupElement.h deleted file mode 100644 index 3ec98610..00000000 --- a/kdejava/koala/kdejava/HTMLOptGroupElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLOptGroupElement__ -#define __org_kde_koala_HTMLOptGroupElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__Lorg_kde_koala_HTMLOptGroupElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptGroupElement_newHTMLOptGroupElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLOptGroupElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptGroupElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLOptGroupElement_label (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptGroupElement_setLabel (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLOptGroupElement__ */ diff --git a/kdejava/koala/kdejava/HTMLOptionElement.cpp b/kdejava/koala/kdejava/HTMLOptionElement.cpp deleted file mode 100644 index a86e8f23..00000000 --- a/kdejava/koala/kdejava/HTMLOptionElement.cpp +++ /dev/null @@ -1,150 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLOptionElementJBridge : public DOM::HTMLOptionElement -{ -public: - HTMLOptionElementJBridge() : DOM::HTMLOptionElement() {}; - HTMLOptionElementJBridge(const DOM::HTMLOptionElement& arg1) : DOM::HTMLOptionElement(arg1) {}; - HTMLOptionElementJBridge(const DOM::Node& arg1) : DOM::HTMLOptionElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLOptionElement_defaultSelected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->defaultSelected(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLOptionElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLOptionElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLOptionElement_index(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->index(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLOptionElement_label(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->label(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptionElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__Lorg_kde_koala_HTMLOptionElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptionElementJBridge((const DOM::HTMLOptionElement&)*(const DOM::HTMLOptionElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLOptionElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLOptionElement_selected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->selected(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setDefaultSelected(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setDefaultSelected((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setLabel(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setLabel((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setSelected(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setSelected((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLOptionElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLOptionElement_text(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->text(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLOptionElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLOptionElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLOptionElement.h b/kdejava/koala/kdejava/HTMLOptionElement.h deleted file mode 100644 index 4a0b4403..00000000 --- a/kdejava/koala/kdejava/HTMLOptionElement.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLOptionElement__ -#define __org_kde_koala_HTMLOptionElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__Lorg_kde_koala_HTMLOptionElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_newHTMLOptionElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLOptionElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLOptionElement_defaultSelected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setDefaultSelected (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLOptionElement_text (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLOptionElement_index (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLOptionElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLOptionElement_label (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setLabel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLOptionElement_selected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setSelected (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLOptionElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLOptionElement_setValue (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLOptionElement__ */ diff --git a/kdejava/koala/kdejava/HTMLParagraphElement.cpp b/kdejava/koala/kdejava/HTMLParagraphElement.cpp deleted file mode 100644 index 29bdae5e..00000000 --- a/kdejava/koala/kdejava/HTMLParagraphElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLParagraphElementJBridge : public DOM::HTMLParagraphElement -{ -public: - HTMLParagraphElementJBridge() : DOM::HTMLParagraphElement() {}; - HTMLParagraphElementJBridge(const DOM::HTMLParagraphElement& arg1) : DOM::HTMLParagraphElement(arg1) {}; - HTMLParagraphElementJBridge(const DOM::Node& arg1) : DOM::HTMLParagraphElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLParagraphElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLParagraphElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParagraphElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__Lorg_kde_koala_HTMLParagraphElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParagraphElementJBridge((const DOM::HTMLParagraphElement&)*(const DOM::HTMLParagraphElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParagraphElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParagraphElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLParagraphElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLParagraphElement.h b/kdejava/koala/kdejava/HTMLParagraphElement.h deleted file mode 100644 index 045fab91..00000000 --- a/kdejava/koala/kdejava/HTMLParagraphElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLParagraphElement__ -#define __org_kde_koala_HTMLParagraphElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__Lorg_kde_koala_HTMLParagraphElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParagraphElement_newHTMLParagraphElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLParagraphElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParagraphElement_setAlign (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLParagraphElement__ */ diff --git a/kdejava/koala/kdejava/HTMLParamElement.cpp b/kdejava/koala/kdejava/HTMLParamElement.cpp deleted file mode 100644 index d5a414c0..00000000 --- a/kdejava/koala/kdejava/HTMLParamElement.cpp +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLParamElementJBridge : public DOM::HTMLParamElement -{ -public: - HTMLParamElementJBridge() : DOM::HTMLParamElement() {}; - HTMLParamElementJBridge(const DOM::HTMLParamElement& arg1) : DOM::HTMLParamElement(arg1) {}; - HTMLParamElementJBridge(const DOM::Node& arg1) : DOM::HTMLParamElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLParamElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParamElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__Lorg_kde_koala_HTMLParamElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParamElementJBridge((const DOM::HTMLParamElement&)*(const DOM::HTMLParamElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLParamElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_setValueType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->setValueType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLParamElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLParamElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLParamElement_valueType(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->valueType(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLParamElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLParamElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLParamElement.h b/kdejava/koala/kdejava/HTMLParamElement.h deleted file mode 100644 index 537bca42..00000000 --- a/kdejava/koala/kdejava/HTMLParamElement.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLParamElement__ -#define __org_kde_koala_HTMLParamElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__Lorg_kde_koala_HTMLParamElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_newHTMLParamElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLParamElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLParamElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLParamElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLParamElement_valueType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLParamElement_setValueType (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLParamElement__ */ diff --git a/kdejava/koala/kdejava/HTMLPreElement.cpp b/kdejava/koala/kdejava/HTMLPreElement.cpp deleted file mode 100644 index df9c3b37..00000000 --- a/kdejava/koala/kdejava/HTMLPreElement.cpp +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class HTMLPreElementJBridge : public DOM::HTMLPreElement -{ -public: - HTMLPreElementJBridge() : DOM::HTMLPreElement() {}; - HTMLPreElementJBridge(const DOM::HTMLPreElement& arg1) : DOM::HTMLPreElement(arg1) {}; - HTMLPreElementJBridge(const DOM::Node& arg1) : DOM::HTMLPreElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLPreElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__Lorg_kde_koala_HTMLPreElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLPreElementJBridge((const DOM::HTMLPreElement&)*(const DOM::HTMLPreElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLPreElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLPreElement_setWidth(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLPreElement*) QtSupport::getQt(env, obj))->setWidth((long) arg1); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLPreElement_width(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLPreElement*) QtSupport::getQt(env, obj))->width(); - return xret; -} - diff --git a/kdejava/koala/kdejava/HTMLPreElement.h b/kdejava/koala/kdejava/HTMLPreElement.h deleted file mode 100644 index 7be35e91..00000000 --- a/kdejava/koala/kdejava/HTMLPreElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLPreElement__ -#define __org_kde_koala_HTMLPreElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__Lorg_kde_koala_HTMLPreElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLPreElement_newHTMLPreElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLPreElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLPreElement_setWidth (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLPreElement__ */ diff --git a/kdejava/koala/kdejava/HTMLQuoteElement.cpp b/kdejava/koala/kdejava/HTMLQuoteElement.cpp deleted file mode 100644 index c7c52bb0..00000000 --- a/kdejava/koala/kdejava/HTMLQuoteElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLQuoteElementJBridge : public DOM::HTMLQuoteElement -{ -public: - HTMLQuoteElementJBridge() : DOM::HTMLQuoteElement() {}; - HTMLQuoteElementJBridge(const DOM::HTMLQuoteElement& arg1) : DOM::HTMLQuoteElement(arg1) {}; - HTMLQuoteElementJBridge(const DOM::Node& arg1) : DOM::HTMLQuoteElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLQuoteElement_cite(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLQuoteElement*) QtSupport::getQt(env, obj))->cite(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLQuoteElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__Lorg_kde_koala_HTMLQuoteElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLQuoteElementJBridge((const DOM::HTMLQuoteElement&)*(const DOM::HTMLQuoteElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLQuoteElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLQuoteElement_setCite(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLQuoteElement*) QtSupport::getQt(env, obj))->setCite((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLQuoteElement.h b/kdejava/koala/kdejava/HTMLQuoteElement.h deleted file mode 100644 index 1d0b573e..00000000 --- a/kdejava/koala/kdejava/HTMLQuoteElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLQuoteElement__ -#define __org_kde_koala_HTMLQuoteElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__Lorg_kde_koala_HTMLQuoteElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLQuoteElement_newHTMLQuoteElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLQuoteElement_cite (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLQuoteElement_setCite (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLQuoteElement__ */ diff --git a/kdejava/koala/kdejava/HTMLScriptElement.cpp b/kdejava/koala/kdejava/HTMLScriptElement.cpp deleted file mode 100644 index b7ca7c19..00000000 --- a/kdejava/koala/kdejava/HTMLScriptElement.cpp +++ /dev/null @@ -1,157 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLScriptElementJBridge : public DOM::HTMLScriptElement -{ -public: - HTMLScriptElementJBridge() : DOM::HTMLScriptElement() {}; - HTMLScriptElementJBridge(const DOM::HTMLScriptElement& arg1) : DOM::HTMLScriptElement(arg1) {}; - HTMLScriptElementJBridge(const DOM::Node& arg1) : DOM::HTMLScriptElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_charset(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->charset(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLScriptElement_defer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->defer(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_event(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->event(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_htmlFor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->htmlFor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLScriptElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__Lorg_kde_koala_HTMLScriptElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLScriptElementJBridge((const DOM::HTMLScriptElement&)*(const DOM::HTMLScriptElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLScriptElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setCharset(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setCharset((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setDefer(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setDefer((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setEvent(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setHtmlFor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setHtmlFor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setSrc(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setSrc((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLScriptElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_src(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->src(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_text(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->text(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLScriptElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLScriptElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLScriptElement.h b/kdejava/koala/kdejava/HTMLScriptElement.h deleted file mode 100644 index fcd366a3..00000000 --- a/kdejava/koala/kdejava/HTMLScriptElement.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLScriptElement__ -#define __org_kde_koala_HTMLScriptElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__Lorg_kde_koala_HTMLScriptElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_newHTMLScriptElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_htmlFor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setHtmlFor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_event (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setEvent (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_charset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setCharset (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLScriptElement_defer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setDefer (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_src (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setSrc (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLScriptElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLScriptElement_setType (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLScriptElement__ */ diff --git a/kdejava/koala/kdejava/HTMLSelectElement.cpp b/kdejava/koala/kdejava/HTMLSelectElement.cpp deleted file mode 100644 index 086661d7..00000000 --- a/kdejava/koala/kdejava/HTMLSelectElement.cpp +++ /dev/null @@ -1,208 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class HTMLSelectElementJBridge : public DOM::HTMLSelectElement -{ -public: - HTMLSelectElementJBridge() : DOM::HTMLSelectElement() {}; - HTMLSelectElementJBridge(const DOM::HTMLSelectElement& arg1) : DOM::HTMLSelectElement(arg1) {}; - HTMLSelectElementJBridge(const DOM::Node& arg1) : DOM::HTMLSelectElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_add(JNIEnv* env, jobject obj, jobject element, jobject before) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->add((const DOM::HTMLElement&)*(const DOM::HTMLElement*) QtSupport::getQt(env, element), (const DOM::HTMLElement&)*(const DOM::HTMLElement*) QtSupport::getQt(env, before)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_blur(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->blur(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLSelectElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_focus(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->focus(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLSelectElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLSelectElement_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLSelectElement_multiple(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->multiple(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLSelectElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLSelectElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__Lorg_kde_koala_HTMLSelectElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLSelectElementJBridge((const DOM::HTMLSelectElement&)*(const DOM::HTMLSelectElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLSelectElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLSelectElement_options(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->options()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_remove(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->remove((long) index); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLSelectElement_selectedIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->selectedIndex(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setMultiple(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setMultiple((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setSelectedIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setSelectedIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setSize(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setSize((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLSelectElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLSelectElement_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLSelectElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLSelectElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLSelectElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLSelectElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLSelectElement.h b/kdejava/koala/kdejava/HTMLSelectElement.h deleted file mode 100644 index a659c21d..00000000 --- a/kdejava/koala/kdejava/HTMLSelectElement.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLSelectElement__ -#define __org_kde_koala_HTMLSelectElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__Lorg_kde_koala_HTMLSelectElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_newHTMLSelectElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLSelectElement_type (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLSelectElement_selectedIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setSelectedIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLSelectElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLSelectElement_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLSelectElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLSelectElement_options (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLSelectElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLSelectElement_multiple (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setMultiple (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLSelectElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLSelectElement_size (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLSelectElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_add (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_remove (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_blur (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLSelectElement_focus (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLSelectElement__ */ diff --git a/kdejava/koala/kdejava/HTMLStyleElement.cpp b/kdejava/koala/kdejava/HTMLStyleElement.cpp deleted file mode 100644 index 5972e303..00000000 --- a/kdejava/koala/kdejava/HTMLStyleElement.cpp +++ /dev/null @@ -1,101 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class HTMLStyleElementJBridge : public DOM::HTMLStyleElement -{ -public: - HTMLStyleElementJBridge() : DOM::HTMLStyleElement() {}; - HTMLStyleElementJBridge(const DOM::HTMLStyleElement& arg1) : DOM::HTMLStyleElement(arg1) {}; - HTMLStyleElementJBridge(const DOM::Node& arg1) : DOM::HTMLStyleElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLStyleElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLStyleElement_media(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->media(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLStyleElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__Lorg_kde_koala_HTMLStyleElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLStyleElementJBridge((const DOM::HTMLStyleElement&)*(const DOM::HTMLStyleElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLStyleElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_setMedia(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->setMedia((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLStyleElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLStyleElement_sheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::StyleSheet(((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->sheet()), "org.kde.koala.StyleSheet", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLStyleElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLStyleElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLStyleElement.h b/kdejava/koala/kdejava/HTMLStyleElement.h deleted file mode 100644 index b6b023c5..00000000 --- a/kdejava/koala/kdejava/HTMLStyleElement.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLStyleElement__ -#define __org_kde_koala_HTMLStyleElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__Lorg_kde_koala_HTMLStyleElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_newHTMLStyleElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLStyleElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLStyleElement_media (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_setMedia (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLStyleElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLStyleElement_setType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLStyleElement_sheet (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLStyleElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableCaptionElement.cpp b/kdejava/koala/kdejava/HTMLTableCaptionElement.cpp deleted file mode 100644 index e337f32b..00000000 --- a/kdejava/koala/kdejava/HTMLTableCaptionElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLTableCaptionElementJBridge : public DOM::HTMLTableCaptionElement -{ -public: - HTMLTableCaptionElementJBridge() : DOM::HTMLTableCaptionElement() {}; - HTMLTableCaptionElementJBridge(const DOM::HTMLTableCaptionElement& arg1) : DOM::HTMLTableCaptionElement(arg1) {}; - HTMLTableCaptionElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableCaptionElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCaptionElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCaptionElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCaptionElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__Lorg_kde_koala_HTMLTableCaptionElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCaptionElementJBridge((const DOM::HTMLTableCaptionElement&)*(const DOM::HTMLTableCaptionElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCaptionElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCaptionElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCaptionElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/HTMLTableCaptionElement.h b/kdejava/koala/kdejava/HTMLTableCaptionElement.h deleted file mode 100644 index b7a4defb..00000000 --- a/kdejava/koala/kdejava/HTMLTableCaptionElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableCaptionElement__ -#define __org_kde_koala_HTMLTableCaptionElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__Lorg_kde_koala_HTMLTableCaptionElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCaptionElement_newHTMLTableCaptionElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCaptionElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCaptionElement_setAlign (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableCaptionElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableCellElement.cpp b/kdejava/koala/kdejava/HTMLTableCellElement.cpp deleted file mode 100644 index c3068963..00000000 --- a/kdejava/koala/kdejava/HTMLTableCellElement.cpp +++ /dev/null @@ -1,279 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLTableCellElementJBridge : public DOM::HTMLTableCellElement -{ -public: - HTMLTableCellElementJBridge() : DOM::HTMLTableCellElement() {}; - HTMLTableCellElementJBridge(const DOM::HTMLTableCellElement& arg1) : DOM::HTMLTableCellElement(arg1) {}; - HTMLTableCellElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableCellElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_abbr(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->abbr(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_axis(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->axis(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_bgColor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->bgColor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableCellElement_cellIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->cellIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_chOff(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->chOff(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_ch(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->ch(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableCellElement_colSpan(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->colSpan(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_headers(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->headers(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_height(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->height(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCellElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__Lorg_kde_koala_HTMLTableCellElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCellElementJBridge((const DOM::HTMLTableCellElement&)*(const DOM::HTMLTableCellElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableCellElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLTableCellElement_noWrap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->noWrap(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableCellElement_rowSpan(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->rowSpan(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_scope(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->scope(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setAbbr(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setAbbr((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setAxis(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setAxis((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setBgColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setBgColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setCellIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setCellIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setChOff(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setChOff((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setCh(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setCh((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setColSpan(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setColSpan((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setHeaders(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setHeaders((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setHeight(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setHeight((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setNoWrap(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setNoWrap((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setRowSpan(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setRowSpan((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setScope(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setScope((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setVAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setVAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableCellElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_vAlign(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->vAlign(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableCellElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableCellElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTableCellElement.h b/kdejava/koala/kdejava/HTMLTableCellElement.h deleted file mode 100644 index 5bae95fa..00000000 --- a/kdejava/koala/kdejava/HTMLTableCellElement.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableCellElement__ -#define __org_kde_koala_HTMLTableCellElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__Lorg_kde_koala_HTMLTableCellElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_newHTMLTableCellElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableCellElement_cellIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setCellIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_abbr (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setAbbr (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_axis (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setAxis (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_bgColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setBgColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_ch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setCh (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_chOff (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setChOff (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableCellElement_colSpan (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setColSpan (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_headers (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setHeaders (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_height (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setHeight (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLTableCellElement_noWrap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setNoWrap (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableCellElement_rowSpan (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setRowSpan (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_scope (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setScope (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_vAlign (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setVAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableCellElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableCellElement_setWidth (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableCellElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableColElement.cpp b/kdejava/koala/kdejava/HTMLTableColElement.cpp deleted file mode 100644 index 98e8ffbd..00000000 --- a/kdejava/koala/kdejava/HTMLTableColElement.cpp +++ /dev/null @@ -1,141 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLTableColElementJBridge : public DOM::HTMLTableColElement -{ -public: - HTMLTableColElementJBridge() : DOM::HTMLTableColElement() {}; - HTMLTableColElementJBridge(const DOM::HTMLTableColElement& arg1) : DOM::HTMLTableColElement(arg1) {}; - HTMLTableColElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableColElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableColElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableColElement_chOff(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->chOff(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableColElement_ch(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->ch(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableColElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__Lorg_kde_koala_HTMLTableColElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableColElementJBridge((const DOM::HTMLTableColElement&)*(const DOM::HTMLTableColElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableColElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setChOff(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setChOff((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setCh(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setCh((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setSpan(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setSpan((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setVAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setVAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableColElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableColElement_span(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->span(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableColElement_vAlign(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->vAlign(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableColElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableColElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTableColElement.h b/kdejava/koala/kdejava/HTMLTableColElement.h deleted file mode 100644 index fa921109..00000000 --- a/kdejava/koala/kdejava/HTMLTableColElement.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableColElement__ -#define __org_kde_koala_HTMLTableColElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__Lorg_kde_koala_HTMLTableColElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_newHTMLTableColElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableColElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableColElement_ch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setCh (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableColElement_chOff (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setChOff (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableColElement_span (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setSpan (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableColElement_vAlign (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setVAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableColElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableColElement_setWidth (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableColElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableElement.cpp b/kdejava/koala/kdejava/HTMLTableElement.cpp deleted file mode 100644 index f6e60198..00000000 --- a/kdejava/koala/kdejava/HTMLTableElement.cpp +++ /dev/null @@ -1,305 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class HTMLTableElementJBridge : public DOM::HTMLTableElement -{ -public: - HTMLTableElementJBridge() : DOM::HTMLTableElement() {}; - HTMLTableElementJBridge(const DOM::HTMLTableElement& arg1) : DOM::HTMLTableElement(arg1) {}; - HTMLTableElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_bgColor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->bgColor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_border(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->border(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_caption(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLTableCaptionElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->caption()), "org.kde.koala.HTMLTableCaptionElement", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_cellPadding(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->cellPadding(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_cellSpacing(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->cellSpacing(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_createCaption(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->createCaption()), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_createTFoot(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->createTFoot()), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_createTHead(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->createTHead()), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_deleteCaption(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteCaption(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_deleteRow(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteRow((long) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_deleteTFoot(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteTFoot(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_deleteTHead(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->deleteTHead(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_frame(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->frame(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_insertRow(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->insertRow((long) index)), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__Lorg_kde_koala_HTMLTableElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableElementJBridge((const DOM::HTMLTableElement&)*(const DOM::HTMLTableElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_rows(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->rows()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_rules(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->rules(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setBgColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setBgColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setBorder(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setBorder((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setCaption(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setCaption((const DOM::HTMLTableCaptionElement&)*(const DOM::HTMLTableCaptionElement*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setCellPadding(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setCellPadding((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setCellSpacing(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setCellSpacing((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setFrame(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setFrame((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setRules(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setRules((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setSummary(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setSummary((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setTFoot(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setTFoot((const DOM::HTMLTableSectionElement&)*(const DOM::HTMLTableSectionElement*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setTHead(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setTHead((const DOM::HTMLTableSectionElement&)*(const DOM::HTMLTableSectionElement*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableElement_setWidth(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->setWidth((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_summary(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->summary(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_tBodies(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->tBodies()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_tFoot(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLTableSectionElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->tFoot()), "org.kde.koala.HTMLTableSectionElement", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableElement_tHead(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLTableSectionElement(((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->tHead()), "org.kde.koala.HTMLTableSectionElement", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableElement_width(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableElement*) QtSupport::getQt(env, obj))->width(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTableElement.h b/kdejava/koala/kdejava/HTMLTableElement.h deleted file mode 100644 index 22802f78..00000000 --- a/kdejava/koala/kdejava/HTMLTableElement.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableElement__ -#define __org_kde_koala_HTMLTableElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__Lorg_kde_koala_HTMLTableElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_newHTMLTableElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_caption (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setCaption (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_tHead (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setTHead (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_tFoot (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setTFoot (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_rows (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_tBodies (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_bgColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setBgColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_border (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setBorder (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_cellPadding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setCellPadding (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_cellSpacing (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setCellSpacing (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_frame (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setFrame (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_rules (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setRules (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_summary (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setSummary (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableElement_width (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_setWidth (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_createTHead (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_deleteTHead (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_createTFoot (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_deleteTFoot (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_createCaption (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_deleteCaption (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableElement_insertRow (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableElement_deleteRow (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableRowElement.cpp b/kdejava/koala/kdejava/HTMLTableRowElement.cpp deleted file mode 100644 index 583213ae..00000000 --- a/kdejava/koala/kdejava/HTMLTableRowElement.cpp +++ /dev/null @@ -1,185 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class HTMLTableRowElementJBridge : public DOM::HTMLTableRowElement -{ -public: - HTMLTableRowElementJBridge() : DOM::HTMLTableRowElement() {}; - HTMLTableRowElementJBridge(const DOM::HTMLTableRowElement& arg1) : DOM::HTMLTableRowElement(arg1) {}; - HTMLTableRowElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableRowElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableRowElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableRowElement_bgColor(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->bgColor(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableRowElement_cells(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->cells()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableRowElement_chOff(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->chOff(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableRowElement_ch(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->ch(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_deleteCell(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->deleteCell((long) index); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableRowElement_insertCell(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->insertCell((long) index)), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableRowElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__Lorg_kde_koala_HTMLTableRowElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableRowElementJBridge((const DOM::HTMLTableRowElement&)*(const DOM::HTMLTableRowElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableRowElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableRowElement_rowIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->rowIndex(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTableRowElement_sectionRowIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->sectionRowIndex(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setBgColor(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setBgColor((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setCells(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setCells((const DOM::HTMLCollection&)*(const DOM::HTMLCollection*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setChOff(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setChOff((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setCh(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setCh((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setRowIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setRowIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setSectionRowIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setSectionRowIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableRowElement_setVAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->setVAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableRowElement_vAlign(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableRowElement*) QtSupport::getQt(env, obj))->vAlign(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTableRowElement.h b/kdejava/koala/kdejava/HTMLTableRowElement.h deleted file mode 100644 index 399b053c..00000000 --- a/kdejava/koala/kdejava/HTMLTableRowElement.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableRowElement__ -#define __org_kde_koala_HTMLTableRowElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__Lorg_kde_koala_HTMLTableRowElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_newHTMLTableRowElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableRowElement_rowIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setRowIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTableRowElement_sectionRowIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setSectionRowIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableRowElement_cells (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setCells (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableRowElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableRowElement_bgColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setBgColor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableRowElement_ch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setCh (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableRowElement_chOff (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setChOff (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableRowElement_vAlign (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_setVAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableRowElement_insertCell (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableRowElement_deleteCell (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableRowElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTableSectionElement.cpp b/kdejava/koala/kdejava/HTMLTableSectionElement.cpp deleted file mode 100644 index aa06b5ae..00000000 --- a/kdejava/koala/kdejava/HTMLTableSectionElement.cpp +++ /dev/null @@ -1,134 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class HTMLTableSectionElementJBridge : public DOM::HTMLTableSectionElement -{ -public: - HTMLTableSectionElementJBridge() : DOM::HTMLTableSectionElement() {}; - HTMLTableSectionElementJBridge(const DOM::HTMLTableSectionElement& arg1) : DOM::HTMLTableSectionElement(arg1) {}; - HTMLTableSectionElementJBridge(const DOM::Node& arg1) : DOM::HTMLTableSectionElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableSectionElement_align(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->align(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableSectionElement_chOff(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->chOff(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableSectionElement_ch(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->ch(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_deleteRow(JNIEnv* env, jobject obj, jlong index) -{ - ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->deleteRow((long) index); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableSectionElement_insertRow(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLElement(((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->insertRow((long) index)), "org.kde.koala.HTMLElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableSectionElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__Lorg_kde_koala_HTMLTableSectionElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableSectionElementJBridge((const DOM::HTMLTableSectionElement&)*(const DOM::HTMLTableSectionElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTableSectionElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTableSectionElement_rows(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLCollection(((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->rows()), "org.kde.koala.HTMLCollection", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_setAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->setAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_setChOff(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->setChOff((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_setCh(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->setCh((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTableSectionElement_setVAlign(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->setVAlign((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTableSectionElement_vAlign(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTableSectionElement*) QtSupport::getQt(env, obj))->vAlign(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTableSectionElement.h b/kdejava/koala/kdejava/HTMLTableSectionElement.h deleted file mode 100644 index 9cd0f98e..00000000 --- a/kdejava/koala/kdejava/HTMLTableSectionElement.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTableSectionElement__ -#define __org_kde_koala_HTMLTableSectionElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__Lorg_kde_koala_HTMLTableSectionElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_newHTMLTableSectionElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableSectionElement_align (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_setAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableSectionElement_ch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_setCh (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableSectionElement_chOff (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_setChOff (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTableSectionElement_vAlign (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_setVAlign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableSectionElement_rows (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTableSectionElement_insertRow (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTableSectionElement_deleteRow (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTableSectionElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTextAreaElement.cpp b/kdejava/koala/kdejava/HTMLTextAreaElement.cpp deleted file mode 100644 index 959f5633..00000000 --- a/kdejava/koala/kdejava/HTMLTextAreaElement.cpp +++ /dev/null @@ -1,217 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLTextAreaElementJBridge : public DOM::HTMLTextAreaElement -{ -public: - HTMLTextAreaElementJBridge() : DOM::HTMLTextAreaElement() {}; - HTMLTextAreaElementJBridge(const DOM::HTMLTextAreaElement& arg1) : DOM::HTMLTextAreaElement(arg1) {}; - HTMLTextAreaElementJBridge(const DOM::Node& arg1) : DOM::HTMLTextAreaElement(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTextAreaElement_accessKey(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->accessKey(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_blur(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->blur(); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTextAreaElement_cols(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->cols(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTextAreaElement_defaultValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->defaultValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLTextAreaElement_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_focus(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->focus(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HTMLTextAreaElement_formElement(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLFormElement(((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->form()), "org.kde.koala.HTMLFormElement", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTextAreaElement_name(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->name(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTextAreaElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__Lorg_kde_koala_HTMLTextAreaElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTextAreaElementJBridge((const DOM::HTMLTextAreaElement&)*(const DOM::HTMLTextAreaElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTextAreaElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLTextAreaElement_readOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->readOnly(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTextAreaElement_rows(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->rows(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_select(JNIEnv* env, jobject obj) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->select(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setAccessKey(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setAccessKey((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setCols(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setCols((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setDefaultValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setDefaultValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setName(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setName((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setRows(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setRows((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setTabIndex(JNIEnv* env, jobject obj, jlong arg1) -{ - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setTabIndex((long) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTextAreaElement_setValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->setValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_HTMLTextAreaElement_tabIndex(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->tabIndex(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTextAreaElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTextAreaElement_value(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTextAreaElement*) QtSupport::getQt(env, obj))->value(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTextAreaElement.h b/kdejava/koala/kdejava/HTMLTextAreaElement.h deleted file mode 100644 index 30dc9072..00000000 --- a/kdejava/koala/kdejava/HTMLTextAreaElement.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTextAreaElement__ -#define __org_kde_koala_HTMLTextAreaElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__Lorg_kde_koala_HTMLTextAreaElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_newHTMLTextAreaElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTextAreaElement_defaultValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setDefaultValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HTMLTextAreaElement_formElement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTextAreaElement_accessKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setAccessKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTextAreaElement_cols (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setCols (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLTextAreaElement_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTextAreaElement_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLTextAreaElement_readOnly (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTextAreaElement_rows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setRows (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_HTMLTextAreaElement_tabIndex (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setTabIndex (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTextAreaElement_type (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTextAreaElement_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_setValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_blur (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_focus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTextAreaElement_select (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTextAreaElement__ */ diff --git a/kdejava/koala/kdejava/HTMLTitleElement.cpp b/kdejava/koala/kdejava/HTMLTitleElement.cpp deleted file mode 100644 index eca01cf9..00000000 --- a/kdejava/koala/kdejava/HTMLTitleElement.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLTitleElementJBridge : public DOM::HTMLTitleElement -{ -public: - HTMLTitleElementJBridge() : DOM::HTMLTitleElement() {}; - HTMLTitleElementJBridge(const DOM::HTMLTitleElement& arg1) : DOM::HTMLTitleElement(arg1) {}; - HTMLTitleElementJBridge(const DOM::Node& arg1) : DOM::HTMLTitleElement(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTitleElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__Lorg_kde_koala_HTMLTitleElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTitleElementJBridge((const DOM::HTMLTitleElement&)*(const DOM::HTMLTitleElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLTitleElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLTitleElement_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLTitleElement*) QtSupport::getQt(env, obj))->setText((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLTitleElement_text(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLTitleElement*) QtSupport::getQt(env, obj))->text(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLTitleElement.h b/kdejava/koala/kdejava/HTMLTitleElement.h deleted file mode 100644 index c125303c..00000000 --- a/kdejava/koala/kdejava/HTMLTitleElement.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLTitleElement__ -#define __org_kde_koala_HTMLTitleElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__Lorg_kde_koala_HTMLTitleElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTitleElement_newHTMLTitleElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLTitleElement_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLTitleElement_setText (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLTitleElement__ */ diff --git a/kdejava/koala/kdejava/HTMLUListElement.cpp b/kdejava/koala/kdejava/HTMLUListElement.cpp deleted file mode 100644 index 188e2294..00000000 --- a/kdejava/koala/kdejava/HTMLUListElement.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HTMLUListElementJBridge : public DOM::HTMLUListElement -{ -public: - HTMLUListElementJBridge() : DOM::HTMLUListElement() {}; - HTMLUListElementJBridge(const DOM::HTMLUListElement& arg1) : DOM::HTMLUListElement(arg1) {}; - HTMLUListElementJBridge(const DOM::Node& arg1) : DOM::HTMLUListElement(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HTMLUListElement_compact(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::HTMLUListElement*) QtSupport::getQt(env, obj))->compact(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLUListElementJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__Lorg_kde_koala_HTMLUListElement_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLUListElementJBridge((const DOM::HTMLUListElement&)*(const DOM::HTMLUListElement*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HTMLUListElementJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLUListElement_setCompact(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::HTMLUListElement*) QtSupport::getQt(env, obj))->setCompact((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HTMLUListElement_setType(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::HTMLUListElement*) QtSupport::getQt(env, obj))->setType((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HTMLUListElement_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::HTMLUListElement*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/HTMLUListElement.h b/kdejava/koala/kdejava/HTMLUListElement.h deleted file mode 100644 index 4ab4cbd9..00000000 --- a/kdejava/koala/kdejava/HTMLUListElement.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HTMLUListElement__ -#define __org_kde_koala_HTMLUListElement__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__Lorg_kde_koala_HTMLUListElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLUListElement_newHTMLUListElement__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HTMLUListElement_compact (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLUListElement_setCompact (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HTMLUListElement_type (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HTMLUListElement_setType (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HTMLUListElement__ */ diff --git a/kdejava/koala/kdejava/HistoryProvider.cpp b/kdejava/koala/kdejava/HistoryProvider.cpp deleted file mode 100644 index 68c491c5..00000000 --- a/kdejava/koala/kdejava/HistoryProvider.cpp +++ /dev/null @@ -1,149 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class HistoryProviderJBridge : public KParts::HistoryProvider -{ -public: - HistoryProviderJBridge(TQObject* arg1,const char* arg2) : KParts::HistoryProvider(arg1,arg2) {}; - HistoryProviderJBridge(TQObject* arg1) : KParts::HistoryProvider(arg1) {}; - HistoryProviderJBridge() : KParts::HistoryProvider() {}; - void public_clear() { - KParts::HistoryProvider::clear(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.HistoryProvider","clear")) { - HistoryProvider::clear(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.HistoryProvider",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_HistoryProvider_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::HistoryProvider*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_clear(JNIEnv* env, jobject obj) -{ - ((HistoryProviderJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_HistoryProvider_contains(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - jboolean xret = (jboolean) ((KParts::HistoryProvider*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_insert(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((KParts::HistoryProvider*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HistoryProvider_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::HistoryProvider*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_newHistoryProvider__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HistoryProviderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_newHistoryProvider__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new HistoryProviderJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_newHistoryProvider__Lorg_kde_qt_QObject_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 HistoryProviderJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_HistoryProvider_remove(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((KParts::HistoryProvider*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_HistoryProvider_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)HistoryProviderJBridge::self(), "org.kde.koala.HistoryProvider"); - return xret; -} - diff --git a/kdejava/koala/kdejava/HistoryProvider.h b/kdejava/koala/kdejava/HistoryProvider.h deleted file mode 100644 index 1637ffb3..00000000 --- a/kdejava/koala/kdejava/HistoryProvider.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_HistoryProvider__ -#define __org_kde_koala_HistoryProvider__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HistoryProvider_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_HistoryProvider_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_newHistoryProvider__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_newHistoryProvider__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_newHistoryProvider__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_HistoryProvider_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_insert (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_remove (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_HistoryProvider_clear (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_HistoryProvider_self (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_HistoryProvider__ */ diff --git a/kdejava/koala/kdejava/Job.cpp b/kdejava/koala/kdejava/Job.cpp deleted file mode 100644 index 24b22f7c..00000000 --- a/kdejava/koala/kdejava/Job.cpp +++ /dev/null @@ -1,415 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class JobJBridge : public TDEIO::Job -{ -public: - void public_kill() { - TDEIO::Job::kill(); - return; - } - JobJBridge(bool arg1) : TDEIO::Job(arg1) {}; - void protected_addSubjob(TDEIO::Job* arg1,bool arg2) { - TDEIO::Job::addSubjob(arg1,arg2); - return; - } - void protected_addSubjob(TDEIO::Job* arg1) { - TDEIO::Job::addSubjob(arg1); - return; - } - void protected_removeSubjob(TDEIO::Job* arg1) { - TDEIO::Job::removeSubjob(arg1); - return; - } - void protected_removeSubjob(TDEIO::Job* arg1,bool arg2,bool arg3) { - TDEIO::Job::removeSubjob(arg1,arg2,arg3); - return; - } - void protected_emitPercent(TDEIO::filesize_t arg1,TDEIO::filesize_t arg2) { - TDEIO::Job::emitPercent(arg1,arg2); - return; - } - void protected_emitSpeed(unsigned long arg1) { - TDEIO::Job::emitSpeed(arg1); - return; - } - void protected_emitResult() { - TDEIO::Job::emitResult(); - return; - } - void protected_setProcessedSize(TDEIO::filesize_t arg1) { - TDEIO::Job::setProcessedSize(arg1); - return; - } - int& protected_extraFlags() { - return (int&) TDEIO::Job::extraFlags(); - } - void protected_slotResult(TDEIO::Job* arg1) { - TDEIO::Job::slotResult(arg1); - return; - } - void protected_slotSpeed(TDEIO::Job* arg1,unsigned long arg2) { - TDEIO::Job::slotSpeed(arg1,arg2); - return; - } - void protected_slotInfoMessage(TDEIO::Job* arg1,const TQString& arg2) { - TDEIO::Job::slotInfoMessage(arg1,arg2); - return; - } - void protected_slotSpeedTimeout() { - TDEIO::Job::slotSpeedTimeout(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - Job::slotResult(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Job",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_addMetaData(JNIEnv* env, jobject obj, jstring key, jstring value) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_value = 0; - ((TDEIO::Job*) QtSupport::getQt(env, obj))->addMetaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_addSubjob__Lorg_kde_koala_Job_2(JNIEnv* env, jobject obj, jobject job) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_addSubjob((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_addSubjob__Lorg_kde_koala_Job_2Z(JNIEnv* env, jobject obj, jobject job, jboolean inheritMetaData) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_addSubjob((TDEIO::Job*) QtSupport::getQt(env, job), (bool) inheritMetaData); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Job_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::Job*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_detailedErrorStrings__(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEIO::Job*) QtSupport::getQt(env, obj))->detailedErrorStrings(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_detailedErrorStrings__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject reqUrl) -{ - TQStringList _qlist; - _qlist = ((TDEIO::Job*) QtSupport::getQt(env, obj))->detailedErrorStrings((const KURL*) QtSupport::getQt(env, reqUrl)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_detailedErrorStrings__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject reqUrl, jint method) -{ - TQStringList _qlist; - _qlist = ((TDEIO::Job*) QtSupport::getQt(env, obj))->detailedErrorStrings((const KURL*) QtSupport::getQt(env, reqUrl), (int) method); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_emitPercent(JNIEnv* env, jobject obj, jlong processedSize, jlong totalSize) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_emitPercent((TDEIO::filesize_t) processedSize, (TDEIO::filesize_t) totalSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_emitResult(JNIEnv* env, jobject obj) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_emitResult(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_emitSpeed(JNIEnv* env, jobject obj, jlong speed) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_emitSpeed((unsigned long) speed); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Job_errorString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Job*) QtSupport::getQt(env, obj))->errorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Job_errorText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Job*) QtSupport::getQt(env, obj))->errorText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Job_error(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Job*) QtSupport::getQt(env, obj))->error(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Job_extraFlags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((JobJBridge*) QtSupport::getQt(env, obj))->protected_extraFlags(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_Job_getProcessedSize(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TDEIO::Job*) QtSupport::getQt(env, obj))->getProcessedSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Job_isAutoErrorHandlingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Job*) QtSupport::getQt(env, obj))->isAutoErrorHandlingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Job_isAutoWarningHandlingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Job*) QtSupport::getQt(env, obj))->isAutoWarningHandlingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Job_isInteractive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Job*) QtSupport::getQt(env, obj))->isInteractive(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_kill__(JNIEnv* env, jobject obj) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->public_kill(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_kill__Z(JNIEnv* env, jobject obj, jboolean quietly) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->kill((bool) quietly); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Job*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_newJob(JNIEnv* env, jobject obj, jboolean showProgressInfo) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new JobJBridge((bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_parentJob(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Job*) QtSupport::getQt(env, obj))->parentJob(), "org.kde.koala.Job"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Job_progressId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Job*) QtSupport::getQt(env, obj))->progressId(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Job_queryMetaData(JNIEnv* env, jobject obj, jstring key) -{ - TQString _qstring; -static TQString* _qstring_key = 0; - _qstring = ((TDEIO::Job*) QtSupport::getQt(env, obj))->queryMetaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_removeSubjob__Lorg_kde_koala_Job_2(JNIEnv* env, jobject obj, jobject job) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_removeSubjob((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_removeSubjob__Lorg_kde_koala_Job_2ZZ(JNIEnv* env, jobject obj, jobject job, jboolean mergeMetaData, jboolean emitResultIfLast) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_removeSubjob((TDEIO::Job*) QtSupport::getQt(env, job), (bool) mergeMetaData, (bool) emitResultIfLast); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setAutoErrorHandlingEnabled__Z(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setAutoErrorHandlingEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setAutoErrorHandlingEnabled__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean enable, jobject parentWidget) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setAutoErrorHandlingEnabled((bool) enable, (TQWidget*) QtSupport::getQt(env, parentWidget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setAutoWarningHandlingEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setAutoWarningHandlingEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setInteractive(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setInteractive((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setParentJob(JNIEnv* env, jobject obj, jobject parentJob) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setParentJob((TDEIO::Job*) QtSupport::getQt(env, parentJob)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setProcessedSize(JNIEnv* env, jobject obj, jlong size) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_setProcessedSize((TDEIO::filesize_t) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_setWindow(JNIEnv* env, jobject obj, jobject window) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->setWindow((TQWidget*) QtSupport::getQt(env, window)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_showErrorDialog__(JNIEnv* env, jobject obj) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->showErrorDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_showErrorDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - ((TDEIO::Job*) QtSupport::getQt(env, obj))->showErrorDialog((TQWidget*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_slotInfoMessage(JNIEnv* env, jobject obj, jobject job, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_slotInfoMessage((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_slotSpeedTimeout(JNIEnv* env, jobject obj) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_slotSpeedTimeout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Job_slotSpeed(JNIEnv* env, jobject obj, jobject job, jlong speed) -{ - ((JobJBridge*) QtSupport::getQt(env, obj))->protected_slotSpeed((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) speed); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Job_window(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Job*) QtSupport::getQt(env, obj))->window(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/Job.h b/kdejava/koala/kdejava/Job.h deleted file mode 100644 index aa1ab81f..00000000 --- a/kdejava/koala/kdejava/Job.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Job__ -#define __org_kde_koala_Job__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Job_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_kill__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_kill__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Job_error (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Job_progressId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Job_errorText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Job_errorString (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_detailedErrorStrings__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_detailedErrorStrings__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_detailedErrorStrings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_showErrorDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_showErrorDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setAutoErrorHandlingEnabled__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setAutoErrorHandlingEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Job_isAutoErrorHandlingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setAutoWarningHandlingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Job_isAutoWarningHandlingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setInteractive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Job_isInteractive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setWindow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_window (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setParentJob (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Job_parentJob (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_addMetaData (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Job_queryMetaData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_Job_getProcessedSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_newJob (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_addSubjob__Lorg_kde_koala_Job_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_addSubjob__Lorg_kde_koala_Job_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_removeSubjob__Lorg_kde_koala_Job_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_removeSubjob__Lorg_kde_koala_Job_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_emitPercent (JNIEnv *env, jobject, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_emitSpeed (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_emitResult (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_setProcessedSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Job_extraFlags (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_slotResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_slotSpeed (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_slotInfoMessage (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Job_slotSpeedTimeout (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Job__ */ diff --git a/kdejava/koala/kdejava/KActiveLabel.cpp b/kdejava/koala/kdejava/KActiveLabel.cpp deleted file mode 100644 index e25f494b..00000000 --- a/kdejava/koala/kdejava/KActiveLabel.cpp +++ /dev/null @@ -1,771 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KActiveLabelJBridge : public KActiveLabel -{ -public: - KActiveLabelJBridge(TQWidget* arg1,const char* arg2) : KActiveLabel(arg1,arg2) {}; - KActiveLabelJBridge(TQWidget* arg1) : KActiveLabel(arg1) {}; - KActiveLabelJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KActiveLabel(arg1,arg2,arg3) {}; - KActiveLabelJBridge(const TQString& arg1,TQWidget* arg2) : KActiveLabel(arg1,arg2) {}; - void protected_focusInEvent(TQFocusEvent* arg1) { - KActiveLabel::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - KActiveLabel::focusOutEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KActiveLabel::keyPressEvent(arg1); - return; - } - ~KActiveLabelJBridge() {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.koala.KActiveLabel","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.koala.KActiveLabel","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.koala.KActiveLabel","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.koala.KActiveLabel","undo")) { - TQTextEdit::undo(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KActiveLabel::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.koala.KActiveLabel","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.koala.KActiveLabel","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","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.koala.KActiveLabel","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.koala.KActiveLabel","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","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 home() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","home")) { - TQTextBrowser::home(); - } - 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.koala.KActiveLabel","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","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")) { - KActiveLabel::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","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.koala.KActiveLabel","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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseReleaseEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseMoveEvent(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.koala.KActiveLabel","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.koala.KActiveLabel","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","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 backward() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","backward")) { - TQTextBrowser::backward(); - } - 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.koala.KActiveLabel","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.koala.KActiveLabel","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.koala.KActiveLabel","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 reload() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","reload")) { - TQTextBrowser::reload(); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KActiveLabel::focusInEvent(arg1); - } - return; - } - void forward() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","forward")) { - TQTextBrowser::forward(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQTextEdit::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KActiveLabel","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.koala.KActiveLabel","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KActiveLabel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KActiveLabel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KActiveLabel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KActiveLabel*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KActiveLabel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_focusInEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((KActiveLabelJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((KActiveLabelJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KActiveLabel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KActiveLabelJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActiveLabel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KActiveLabel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActiveLabel_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KActiveLabel*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_newKActiveLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActiveLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_newKActiveLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActiveLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_koala_KActiveLabel_newKActiveLabel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KActiveLabelJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KActiveLabel_newKActiveLabel__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 KActiveLabelJBridge((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_koala_KActiveLabel_openLink(JNIEnv* env, jobject obj, jstring link) -{ -static TQString* _qstring_link = 0; - ((KActiveLabel*) QtSupport::getQt(env, obj))->openLink((const TQString&)*(TQString*) QtSupport::toTQString(env, link, &_qstring_link)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KActiveLabel_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KActiveLabel*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KActiveLabel.h b/kdejava/koala/kdejava/KActiveLabel.h deleted file mode 100644 index fb106932..00000000 --- a/kdejava/koala/kdejava/KActiveLabel.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KActiveLabel__ -#define __org_kde_koala_KActiveLabel__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActiveLabel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KActiveLabel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_newKActiveLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_newKActiveLabel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_newKActiveLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_newKActiveLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActiveLabel_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KActiveLabel_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_openLink (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KActiveLabel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KActiveLabel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KActiveLabel__ */ diff --git a/kdejava/koala/kdejava/KAnimWidget.cpp b/kdejava/koala/kdejava/KAnimWidget.cpp deleted file mode 100644 index 9d7ee5b2..00000000 --- a/kdejava/koala/kdejava/KAnimWidget.cpp +++ /dev/null @@ -1,608 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KAnimWidgetJBridge : public KAnimWidget -{ -public: - KAnimWidgetJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4) : KAnimWidget(arg1,arg2,arg3,arg4) {}; - KAnimWidgetJBridge(const TQString& arg1,int arg2,TQWidget* arg3) : KAnimWidget(arg1,arg2,arg3) {}; - KAnimWidgetJBridge(const TQString& arg1,int arg2) : KAnimWidget(arg1,arg2) {}; - KAnimWidgetJBridge(const TQString& arg1) : KAnimWidget(arg1) {}; - void protected_drawContents(TQPainter* arg1) { - KAnimWidget::drawContents(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - KAnimWidget::leaveEvent(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - KAnimWidget::enterEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - KAnimWidget::hideEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KAnimWidget::showEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KAnimWidget::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KAnimWidget::mouseReleaseEvent(arg1); - return; - } - void protected_slotTimerUpdate() { - KAnimWidget::slotTimerUpdate(); - return; - } - void protected_updateIcons() { - KAnimWidget::updateIcons(); - return; - } - ~KAnimWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KAnimWidget::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KAnimWidget","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KAnimWidget::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.koala.KAnimWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","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")) { - KAnimWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KAnimWidget::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KAnimWidget::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")) { - KAnimWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KAnimWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KAnimWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KAnimWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAnimWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KAnimWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KAnimWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_drawContents(JNIEnv* env, jobject obj, jobject p) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_enterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KAnimWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KAnimWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_hideEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAnimWidget_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KAnimWidget*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAnimWidget_icons(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAnimWidget*) QtSupport::getQt(env, obj))->icons(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAnimWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAnimWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAnimWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icons) -{ -static TQString* _qstring_icons = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAnimWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring icons, jint size) -{ -static TQString* _qstring_icons = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAnimWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons), (int) size)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring icons, jint size, jobject parent) -{ -static TQString* _qstring_icons = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAnimWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons), (int) size, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icons, jint size, jobject parent, jstring name) -{ -static TQString* _qstring_icons = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAnimWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons), (int) size, (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_koala_KAnimWidget_setIcons(JNIEnv* env, jobject obj, jstring icons) -{ -static TQString* _qstring_icons = 0; - ((KAnimWidget*) QtSupport::getQt(env, obj))->setIcons((const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_setSize(JNIEnv* env, jobject obj, jint size) -{ - ((KAnimWidget*) QtSupport::getQt(env, obj))->setSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_showEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_slotTimerUpdate(JNIEnv* env, jobject obj) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotTimerUpdate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_start(JNIEnv* env, jobject obj) -{ - ((KAnimWidget*) QtSupport::getQt(env, obj))->start(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_stop(JNIEnv* env, jobject obj) -{ - ((KAnimWidget*) QtSupport::getQt(env, obj))->stop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAnimWidget_updateIcons(JNIEnv* env, jobject obj) -{ - ((KAnimWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateIcons(); - return; -} - diff --git a/kdejava/koala/kdejava/KAnimWidget.h b/kdejava/koala/kdejava/KAnimWidget.h deleted file mode 100644 index 8411e8e3..00000000 --- a/kdejava/koala/kdejava/KAnimWidget.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAnimWidget__ -#define __org_kde_koala_KAnimWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAnimWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAnimWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_newKAnimWidget__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_setSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAnimWidget_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAnimWidget_icons (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_setIcons (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_start (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_stop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_slotTimerUpdate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_updateIcons (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAnimWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAnimWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAnimWidget__ */ diff --git a/kdejava/koala/kdejava/KAr.cpp b/kdejava/koala/kdejava/KAr.cpp deleted file mode 100644 index e6f48c1b..00000000 --- a/kdejava/koala/kdejava/KAr.cpp +++ /dev/null @@ -1,115 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KArJBridge : public KAr -{ -public: - KArJBridge(const TQString& arg1) : KAr(arg1) {}; - KArJBridge(TQIODevice* arg1) : KAr(arg1) {}; - bool protected_openArchive(int arg1) { - return (bool) KAr::openArchive(arg1); - } - bool protected_closeArchive() { - return (bool) KAr::closeArchive(); - } - ~KArJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_closeArchive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArJBridge*) QtSupport::getQt(env, obj))->protected_closeArchive(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAr_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KAr_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_doneWriting(JNIEnv* env, jobject obj, jint size) -{ - jboolean xret = (jboolean) ((KAr*) QtSupport::getQt(env, obj))->doneWriting((uint) size); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAr_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KAr*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAr_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KAr*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAr_newKAr__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAr_newKAr__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArJBridge((TQIODevice*) QtSupport::getQt(env, dev))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_openArchive(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((KArJBridge*) QtSupport::getQt(env, obj))->protected_openArchive((int) mode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_prepareWriting(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KAr*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAr_writeDir(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KAr*) QtSupport::getQt(env, obj))->writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KAr.h b/kdejava/koala/kdejava/KAr.h deleted file mode 100644 index 631096d6..00000000 --- a/kdejava/koala/kdejava/KAr.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAr__ -#define __org_kde_koala_KAr__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAr_newKAr__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAr_newKAr__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAr_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_prepareWriting (JNIEnv *env, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_doneWriting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_writeDir (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_openArchive (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_closeArchive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAr_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAr_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAr_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAr__ */ diff --git a/kdejava/koala/kdejava/KArchive.cpp b/kdejava/koala/kdejava/KArchive.cpp deleted file mode 100644 index afd33340..00000000 --- a/kdejava/koala/kdejava/KArchive.cpp +++ /dev/null @@ -1,163 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_addLocalDirectory(JNIEnv* env, jobject obj, jstring path, jstring destName) -{ -static TQString* _qstring_path = 0; -static TQString* _qstring_destName = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->addLocalDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, destName, &_qstring_destName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_addLocalFile(JNIEnv* env, jobject obj, jstring fileName, jstring destName) -{ -static TQString* _qstring_fileName = 0; -static TQString* _qstring_destName = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->addLocalFile((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const TQString&)*(TQString*) QtSupport::toTQString(env, destName, &_qstring_destName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_closeSucceeded(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->closeSucceeded(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchive_close(JNIEnv* env, jobject obj) -{ - ((KArchive*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchive_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArchive*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchive_directory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArchive*) QtSupport::getQt(env, obj))->directory(), "org.kde.koala.KArchiveDirectory"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_doneWriting(JNIEnv* env, jobject obj, jint size) -{ - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->doneWriting((uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_isOpened(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->isOpened(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArchive_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArchive*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_open(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->open((int) mode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeData(JNIEnv* env, jobject obj, jstring data, jint size) -{ -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeData((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2JIII(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIIILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime, jstring data) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeFile((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime, (const char*) QtSupport::toCharString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jstring data) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeFile((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (const char*) QtSupport::toCharString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchive_writeSymLink(JNIEnv* env, jobject obj, jstring name, jstring target, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KArchive*) QtSupport::getQt(env, obj))->writeSymLink((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - diff --git a/kdejava/koala/kdejava/KArchive.h b/kdejava/koala/kdejava/KArchive.h deleted file mode 100644 index 2a7213d4..00000000 --- a/kdejava/koala/kdejava/KArchive.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KArchive__ -#define __org_kde_koala_KArchive__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_open (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchive_close (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_closeSucceeded (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_isOpened (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArchive_mode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchive_device (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchive_directory (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_addLocalFile (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_addLocalDirectory (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2JIII (JNIEnv *env, jobject, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeSymLink (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIIILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_writeData (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchive_doneWriting (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KArchive__ */ diff --git a/kdejava/koala/kdejava/KArchiveDirectory.cpp b/kdejava/koala/kdejava/KArchiveDirectory.cpp deleted file mode 100644 index 951f9d0f..00000000 --- a/kdejava/koala/kdejava/KArchiveDirectory.cpp +++ /dev/null @@ -1,99 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KArchiveDirectoryJBridge : public KArchiveDirectory -{ -public: - KArchiveDirectoryJBridge(KArchive* arg1,const TQString& arg2,int arg3,int arg4,const TQString& arg5,const TQString& arg6,const TQString& arg7) : KArchiveDirectory(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - ~KArchiveDirectoryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_addEntry(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KArchiveDirectory*) QtSupport::getQt(env, obj))->addEntry((KArchiveEntry*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_copyTo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dest) -{ -static TQString* _qstring_dest = 0; - ((KArchiveDirectory*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_copyTo__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring dest, jboolean recursive) -{ -static TQString* _qstring_dest = 0; - ((KArchiveDirectory*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (bool) recursive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KArchiveDirectory_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchiveDirectory_entries(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KArchiveDirectory*) QtSupport::getQt(env, obj))->entries(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchiveDirectory_entry(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArchiveDirectory*) QtSupport::getQt(env, obj))->entry((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.koala.KArchiveEntry"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KArchiveDirectory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveDirectory_isDirectory(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchiveDirectory*) QtSupport::getQt(env, obj))->isDirectory(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveDirectory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveDirectory_newKArchiveDirectory(JNIEnv* env, jobject obj, jobject archive, jstring name, jint access, jint date, jstring user, jstring group, jstring symlink) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQString* _qstring_symlink = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArchiveDirectoryJBridge((KArchive*) QtSupport::getQt(env, archive), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) access, (int) date, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (const TQString&)*(TQString*) QtSupport::toTQString(env, symlink, &_qstring_symlink))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KArchiveDirectory.h b/kdejava/koala/kdejava/KArchiveDirectory.h deleted file mode 100644 index 9d07c826..00000000 --- a/kdejava/koala/kdejava/KArchiveDirectory.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KArchiveDirectory__ -#define __org_kde_koala_KArchiveDirectory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_newKArchiveDirectory (JNIEnv *env, jobject, jobject, jstring, jint, jint, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchiveDirectory_entries (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchiveDirectory_entry (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_addEntry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveDirectory_isDirectory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_copyTo__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_copyTo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveDirectory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveDirectory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KArchiveDirectory__ */ diff --git a/kdejava/koala/kdejava/KArchiveEntry.cpp b/kdejava/koala/kdejava/KArchiveEntry.cpp deleted file mode 100644 index 7465ca8f..00000000 --- a/kdejava/koala/kdejava/KArchiveEntry.cpp +++ /dev/null @@ -1,131 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KArchiveEntryJBridge : public KArchiveEntry -{ -public: - KArchiveEntryJBridge(KArchive* arg1,const TQString& arg2,int arg3,int arg4,const TQString& arg5,const TQString& arg6,const TQString& arg7) : KArchiveEntry(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KArchive* protected_archive() { - return (KArchive*) KArchiveEntry::archive(); - } - ~KArchiveEntryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchiveEntry_archive(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArchiveEntryJBridge*) QtSupport::getQt(env, obj))->protected_archive(), "org.kde.koala.KArchive"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArchiveEntry_date(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArchiveEntry*) QtSupport::getQt(env, obj))->date(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchiveEntry_datetime(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((KArchiveEntry*) QtSupport::getQt(env, obj))->datetime(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveEntry_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KArchiveEntry_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveEntry_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KArchiveEntry*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KArchiveEntry_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KArchiveEntry*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveEntry_isDirectory(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchiveEntry*) QtSupport::getQt(env, obj))->isDirectory(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveEntry_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveEntry_isFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchiveEntry*) QtSupport::getQt(env, obj))->isFile(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KArchiveEntry_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KArchiveEntry*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveEntry_newKArchiveEntry(JNIEnv* env, jobject obj, jobject archive, jstring name, jint access, jint date, jstring user, jstring group, jstring symlink) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQString* _qstring_symlink = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArchiveEntryJBridge((KArchive*) QtSupport::getQt(env, archive), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) access, (int) date, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (const TQString&)*(TQString*) QtSupport::toTQString(env, symlink, &_qstring_symlink))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KArchiveEntry_permissions(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KArchiveEntry*) QtSupport::getQt(env, obj))->permissions(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KArchiveEntry_symlink(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KArchiveEntry*) QtSupport::getQt(env, obj))->symlink(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KArchiveEntry_user(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KArchiveEntry*) QtSupport::getQt(env, obj))->user(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KArchiveEntry.h b/kdejava/koala/kdejava/KArchiveEntry.h deleted file mode 100644 index 784ccf3c..00000000 --- a/kdejava/koala/kdejava/KArchiveEntry.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KArchiveEntry__ -#define __org_kde_koala_KArchiveEntry__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveEntry_newKArchiveEntry (JNIEnv *env, jobject, jobject, jstring, jint, jint, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchiveEntry_datetime (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArchiveEntry_date (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KArchiveEntry_name (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KArchiveEntry_permissions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KArchiveEntry_user (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KArchiveEntry_group (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KArchiveEntry_symlink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveEntry_isFile (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveEntry_isDirectory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchiveEntry_archive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveEntry_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveEntry_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveEntry_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KArchiveEntry__ */ diff --git a/kdejava/koala/kdejava/KArchiveFile.cpp b/kdejava/koala/kdejava/KArchiveFile.cpp deleted file mode 100644 index a1c31857..00000000 --- a/kdejava/koala/kdejava/KArchiveFile.cpp +++ /dev/null @@ -1,104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KArchiveFileJBridge : public KArchiveFile -{ -public: - KArchiveFileJBridge(KArchive* arg1,const TQString& arg2,int arg3,int arg4,const TQString& arg5,const TQString& arg6,const TQString& arg7,int arg8,int arg9) : KArchiveFile(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - ~KArchiveFileJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveFile_copyTo(JNIEnv* env, jobject obj, jstring dest) -{ -static TQString* _qstring_dest = 0; - ((KArchiveFile*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest)); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KArchiveFile_data(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((KArchiveFile*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArchiveFile_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArchiveFile*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveFile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KArchiveFile_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveFile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KArchiveFile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveFile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArchiveFile_isFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KArchiveFile*) QtSupport::getQt(env, obj))->isFile(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveFile_newKArchiveFile(JNIEnv* env, jobject obj, jobject archive, jstring name, jint access, jint date, jstring user, jstring group, jstring symlink, jint pos, jint size) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQString* _qstring_symlink = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArchiveFileJBridge((KArchive*) QtSupport::getQt(env, archive), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) access, (int) date, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (const TQString&)*(TQString*) QtSupport::toTQString(env, symlink, &_qstring_symlink), (int) pos, (int) size)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArchiveFile_position(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArchiveFile*) QtSupport::getQt(env, obj))->position(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArchiveFile_setSize(JNIEnv* env, jobject obj, jint s) -{ - ((KArchiveFile*) QtSupport::getQt(env, obj))->setSize((int) s); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArchiveFile_size(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArchiveFile*) QtSupport::getQt(env, obj))->size(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KArchiveFile.h b/kdejava/koala/kdejava/KArchiveFile.h deleted file mode 100644 index 22b2155f..00000000 --- a/kdejava/koala/kdejava/KArchiveFile.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KArchiveFile__ -#define __org_kde_koala_KArchiveFile__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveFile_newKArchiveFile (JNIEnv *env, jobject, jobject, jstring, jint, jint, jstring, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArchiveFile_position (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArchiveFile_size (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveFile_setSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KArchiveFile_data (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArchiveFile_device (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveFile_isFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveFile_copyTo (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveFile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArchiveFile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArchiveFile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KArchiveFile__ */ diff --git a/kdejava/koala/kdejava/KArrowButton.cpp b/kdejava/koala/kdejava/KArrowButton.cpp deleted file mode 100644 index 9eb70d11..00000000 --- a/kdejava/koala/kdejava/KArrowButton.cpp +++ /dev/null @@ -1,496 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KArrowButtonJBridge : public KArrowButton -{ -public: - KArrowButtonJBridge(TQWidget* arg1,TQt::ArrowType arg2,const char* arg3) : KArrowButton(arg1,arg2,arg3) {}; - KArrowButtonJBridge(TQWidget* arg1,TQt::ArrowType arg2) : KArrowButton(arg1,arg2) {}; - KArrowButtonJBridge(TQWidget* arg1) : KArrowButton(arg1) {}; - KArrowButtonJBridge() : KArrowButton() {}; - void protected_drawButton(TQPainter* arg1) { - KArrowButton::drawButton(arg1); - return; - } - ~KArrowButtonJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KArrowButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mousePressEvent(arg1); - } - return; - } - void drawButton(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawButton",(void*)arg1,"org.kde.qt.TQPainter")) { - KArrowButton::drawButton(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQPushButton::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")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KArrowButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KArrowButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArrowButton_arrowTp(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArrowButton*) QtSupport::getQt(env, obj))->arrowTp(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KArrowButton_arrowType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KArrowButton*) QtSupport::getQt(env, obj))->arrowType(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KArrowButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KArrowButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KArrowButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_drawButton(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KArrowButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KArrowButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KArrowButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KArrowButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArrowButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KArrowButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_newKArrowButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArrowButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArrowButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint arrow) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArrowButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQt::ArrowType) arrow)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint arrow, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KArrowButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQt::ArrowType) arrow, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_setArrowTp(JNIEnv* env, jobject obj, jint tp) -{ - ((KArrowButton*) QtSupport::getQt(env, obj))->setArrowTp((int) tp); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KArrowButton_setArrowType(JNIEnv* env, jobject obj, jint a) -{ - ((KArrowButton*) QtSupport::getQt(env, obj))->setArrowType((TQt::ArrowType) a); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KArrowButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KArrowButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KArrowButton.h b/kdejava/koala/kdejava/KArrowButton.h deleted file mode 100644 index 97e902ad..00000000 --- a/kdejava/koala/kdejava/KArrowButton.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KArrowButton__ -#define __org_kde_koala_KArrowButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArrowButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KArrowButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_newKArrowButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_newKArrowButton__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KArrowButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArrowButton_arrowType (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KArrowButton_arrowTp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_setArrowTp (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_setArrowType (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KArrowButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KArrowButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KArrowButton__ */ diff --git a/kdejava/koala/kdejava/KAsyncIO.cpp b/kdejava/koala/kdejava/KAsyncIO.cpp deleted file mode 100644 index fa76c8b9..00000000 --- a/kdejava/koala/kdejava/KAsyncIO.cpp +++ /dev/null @@ -1,285 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_atEnd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->atEnd(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_at__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->at(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_at__J(JNIEnv* env, jobject obj, jlong arg1) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAsyncIO_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KAsyncIO*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAsyncIO_close(JNIEnv* env, jobject obj) -{ - ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAsyncIO_enableRead(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KAsyncIO*) QtSupport::getQt(env, obj))->enableRead((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAsyncIO_enableWrite(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KAsyncIO*) QtSupport::getQt(env, obj))->enableWrite((bool) enable); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_flags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->flags(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAsyncIO_flush(JNIEnv* env, jobject obj) -{ - ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->flush(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_getch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->getch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isAsynchronous(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isAsynchronous(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isBuffered(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isBuffered(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isCombinedAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isCombinedAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isDirectAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isDirectAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isInactive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isInactive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isOpen(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isRaw(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isRaw(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isReadWrite(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isReadWrite(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isReadable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isReadable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isSequentialAccess(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isSequentialAccess(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isSynchronous(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isSynchronous(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isTranslated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isTranslated(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_isWritable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->isWritable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAsyncIO_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAsyncIO*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_open(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->open((int) mode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_putch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->putch((int) arg1); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KAsyncIO_readAll(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->readAll(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_readBlock(JNIEnv* env, jobject obj, jobject data, jlong maxlen) -{ -static TQCString* _qstring_data = 0; - if (_qstring_data == 0) { _qstring_data = new TQCString(); } - _qstring_data->resize((uint) maxlen); - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (TQ_ULONG) maxlen); - QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_readLine(JNIEnv* env, jobject obj, jstring data, jlong maxlen) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->readLine((char*) QtSupport::toCharString(env, data, &_qstring_data), (TQ_ULONG) maxlen); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAsyncIO_resetStatus(JNIEnv* env, jobject obj) -{ - ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->resetStatus(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAsyncIO_reset(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->reset(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KAsyncIO_ungetch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->ungetch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_writeBlock__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring data, jlong len) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (TQ_ULONG) len); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KAsyncIO_writeBlock___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jlong xret = (jlong) ((TQIODevice*)(KAsyncIO*) QtSupport::getQt(env, obj))->writeBlock((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KAsyncIO.h b/kdejava/koala/kdejava/KAsyncIO.h deleted file mode 100644 index cbb7a48f..00000000 --- a/kdejava/koala/kdejava/KAsyncIO.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAsyncIO__ -#define __org_kde_koala_KAsyncIO__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAsyncIO_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAsyncIO_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAsyncIO_enableRead (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAsyncIO_enableWrite (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_flags (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_mode (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_state (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isDirectAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isSequentialAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isCombinedAccess (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isBuffered (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isRaw (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isSynchronous (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isAsynchronous (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isTranslated (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isReadable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isWritable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isReadWrite (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isInactive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_isOpen (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAsyncIO_resetStatus (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_open (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAsyncIO_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAsyncIO_flush (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_size (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_at__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_at__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_atEnd (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAsyncIO_reset (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_readBlock (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_writeBlock__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_readLine (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KAsyncIO_writeBlock___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KAsyncIO_readAll (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_getch (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_putch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KAsyncIO_ungetch (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAsyncIO__ */ diff --git a/kdejava/koala/kdejava/KAudioPlayer.cpp b/kdejava/koala/kdejava/KAudioPlayer.cpp deleted file mode 100644 index dc1f16c7..00000000 --- a/kdejava/koala/kdejava/KAudioPlayer.cpp +++ /dev/null @@ -1,142 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KAudioPlayerJBridge : public KAudioPlayer -{ -public: - KAudioPlayerJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : KAudioPlayer(arg1,arg2,arg3) {}; - KAudioPlayerJBridge(const TQString& arg1,TQObject* arg2) : KAudioPlayer(arg1,arg2) {}; - KAudioPlayerJBridge(const TQString& arg1) : KAudioPlayer(arg1) {}; - ~KAudioPlayerJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KAudioPlayer",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAudioPlayer_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KAudioPlayer*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KAudioPlayer_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KAudioPlayer*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KAudioPlayer*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAudioPlayer_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAudioPlayer_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAudioPlayer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAudioPlayerJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring filename, jobject parent) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAudioPlayerJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename, jobject parent, jstring name) -{ -static TQString* _qstring_filename = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KAudioPlayerJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_play__(JNIEnv* env, jobject obj) -{ - ((KAudioPlayer*) QtSupport::getQt(env, obj))->play(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAudioPlayer_play__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - KAudioPlayerJBridge::play((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - diff --git a/kdejava/koala/kdejava/KAudioPlayer.h b/kdejava/koala/kdejava/KAudioPlayer.h deleted file mode 100644 index d97432d9..00000000 --- a/kdejava/koala/kdejava/KAudioPlayer.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAudioPlayer__ -#define __org_kde_koala_KAudioPlayer__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAudioPlayer_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAudioPlayer_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_newKAudioPlayer__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_play__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_play__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAudioPlayer_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAudioPlayer_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAudioPlayer__ */ diff --git a/kdejava/koala/kdejava/KAuthIcon.cpp b/kdejava/koala/kdejava/KAuthIcon.cpp deleted file mode 100644 index a1334c48..00000000 --- a/kdejava/koala/kdejava/KAuthIcon.cpp +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KAuthIcon_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KAuthIcon*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAuthIcon_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KAuthIcon*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KAuthIcon_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KAuthIcon*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KAuthIcon_status(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KAuthIcon*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KAuthIcon_updateStatus(JNIEnv* env, jobject obj) -{ - ((KAuthIcon*) QtSupport::getQt(env, obj))->updateStatus(); - return; -} - diff --git a/kdejava/koala/kdejava/KAuthIcon.h b/kdejava/koala/kdejava/KAuthIcon.h deleted file mode 100644 index e4c2fdc0..00000000 --- a/kdejava/koala/kdejava/KAuthIcon.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KAuthIcon__ -#define __org_kde_koala_KAuthIcon__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAuthIcon_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KAuthIcon_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KAuthIcon_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KAuthIcon_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KAuthIcon_updateStatus (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KAuthIcon__ */ diff --git a/kdejava/koala/kdejava/KBugReport.cpp b/kdejava/koala/kdejava/KBugReport.cpp deleted file mode 100644 index 3ca3aa28..00000000 --- a/kdejava/koala/kdejava/KBugReport.cpp +++ /dev/null @@ -1,606 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KBugReportJBridge : public KBugReport -{ -public: - KBugReportJBridge(TQWidget* arg1,bool arg2,const TDEAboutData* arg3) : KBugReport(arg1,arg2,arg3) {}; - KBugReportJBridge(TQWidget* arg1,bool arg2) : KBugReport(arg1,arg2) {}; - KBugReportJBridge(TQWidget* arg1) : KBugReport(arg1) {}; - KBugReportJBridge() : KBugReport() {}; - TQString protected_text() { - return (TQString) KBugReport::text(); - } - bool protected_sendBugReport() { - return (bool) KBugReport::sendBugReport(); - } - void protected_slotConfigureEmail() { - KBugReport::slotConfigureEmail(); - return; - } - void protected_slotSetFrom() { - KBugReport::slotSetFrom(); - return; - } - void protected_slotOk() { - KBugReport::slotOk(); - return; - } - void protected_slotCancel() { - KBugReport::slotCancel(); - return; - } - void protected_appChanged(int arg1) { - KBugReport::appChanged(arg1); - return; - } - void protected_updateURL() { - KBugReport::updateURL(); - return; - } - ~KBugReportJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KBugReport","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotCancel")) { - KBugReport::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void slotSetFrom() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotSetFrom")) { - KBugReport::slotSetFrom(); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotTry")) { - KDialogBase::slotTry(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void slotConfigureEmail() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotConfigureEmail")) { - KBugReport::slotConfigureEmail(); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotOk")) { - KBugReport::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KBugReport","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_appChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_appChanged((int) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KBugReport_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KBugReport*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KBugReport_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KBugReport*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KBugReport*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KBugReport_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KBugReport_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KBugReport*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_newKBugReport__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KBugReportJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KBugReportJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject parent, jboolean modal) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KBugReportJBridge((TQWidget*) QtSupport::getQt(env, parent), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2ZLorg_kde_koala_TDEAboutData_2(JNIEnv* env, jobject obj, jobject parent, jboolean modal, jobject aboutData) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KBugReportJBridge((TQWidget*) QtSupport::getQt(env, parent), (bool) modal, (const TDEAboutData*) QtSupport::getQt(env, aboutData))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KBugReport_sendBugReport(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_sendBugReport(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_slotCancel(JNIEnv* env, jobject obj) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_slotConfigureEmail(JNIEnv* env, jobject obj) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_slotConfigureEmail(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_slotOk(JNIEnv* env, jobject obj) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_slotSetFrom(JNIEnv* env, jobject obj) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_slotSetFrom(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KBugReport_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KBugReport_updateURL(JNIEnv* env, jobject obj) -{ - ((KBugReportJBridge*) QtSupport::getQt(env, obj))->protected_updateURL(); - return; -} - diff --git a/kdejava/koala/kdejava/KBugReport.h b/kdejava/koala/kdejava/KBugReport.h deleted file mode 100644 index 4247ddef..00000000 --- a/kdejava/koala/kdejava/KBugReport.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KBugReport__ -#define __org_kde_koala_KBugReport__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KBugReport_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KBugReport_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2ZLorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_newKBugReport__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_newKBugReport__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KBugReport_text (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KBugReport_sendBugReport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_slotConfigureEmail (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_slotSetFrom (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_appChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_updateURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KBugReport_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KBugReport_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KBugReport__ */ diff --git a/kdejava/koala/kdejava/KButtonBox.cpp b/kdejava/koala/kdejava/KButtonBox.cpp deleted file mode 100644 index 9b6d831c..00000000 --- a/kdejava/koala/kdejava/KButtonBox.cpp +++ /dev/null @@ -1,579 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KButtonBoxJBridge : public KButtonBox -{ -public: - KButtonBoxJBridge(TQWidget* arg1,TQt::Orientation arg2,int arg3,int arg4) : KButtonBox(arg1,arg2,arg3,arg4) {}; - KButtonBoxJBridge(TQWidget* arg1,TQt::Orientation arg2,int arg3) : KButtonBox(arg1,arg2,arg3) {}; - KButtonBoxJBridge(TQWidget* arg1,TQt::Orientation arg2) : KButtonBox(arg1,arg2) {}; - KButtonBoxJBridge(TQWidget* arg1) : KButtonBox(arg1) {}; - TQSize protected_bestButtonSize() { - return (TQSize) KButtonBox::bestButtonSize(); - } - void protected_placeButtons() { - KButtonBox::placeButtons(); - return; - } - TQSize protected_buttonSizeHint(TQPushButton* arg1) { - return (TQSize) KButtonBox::buttonSizeHint(arg1); - } - ~KButtonBoxJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KButtonBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KButtonBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KButtonBox",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KButtonBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring slot) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring slot, jboolean noexpand) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) noexpand), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jboolean noexpand) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) noexpand), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject guiitem) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem)), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject guiitem, jobject receiver, jstring slot) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject guiitem, jobject receiver, jstring slot, jboolean noexpand) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) noexpand), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Z(JNIEnv* env, jobject obj, jobject guiitem, jboolean noexpand) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->addButton((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem), (bool) noexpand), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_addStretch__(JNIEnv* env, jobject obj) -{ - ((KButtonBox*) QtSupport::getQt(env, obj))->addStretch(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_addStretch__I(JNIEnv* env, jobject obj, jint scale) -{ - ((KButtonBox*) QtSupport::getQt(env, obj))->addStretch((int) scale); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_bestButtonSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KButtonBoxJBridge*) QtSupport::getQt(env, obj))->protected_bestButtonSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_buttonSizeHint(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KButtonBoxJBridge*) QtSupport::getQt(env, obj))->protected_buttonSizeHint((TQPushButton*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KButtonBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KButtonBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KButtonBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KButtonBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KButtonBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KButtonBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KButtonBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KButtonBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint _orientation) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KButtonBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQt::Orientation) _orientation)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint _orientation, jint border) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KButtonBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQt::Orientation) _orientation, (int) border)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject parent, jint _orientation, jint border, jint _autoborder) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KButtonBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQt::Orientation) _orientation, (int) border, (int) _autoborder)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_placeButtons(JNIEnv* env, jobject obj) -{ - ((KButtonBoxJBridge*) QtSupport::getQt(env, obj))->protected_placeButtons(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KButtonBox*) QtSupport::getQt(env, obj))->resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KButtonBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KButtonBox_sizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((KButtonBox*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KButtonBox_updateLayout(JNIEnv* env, jobject obj) -{ - ((KButtonBox*) QtSupport::getQt(env, obj))->layout(); - return; -} - diff --git a/kdejava/koala/kdejava/KButtonBox.h b/kdejava/koala/kdejava/KButtonBox.h deleted file mode 100644 index 281a16ca..00000000 --- a/kdejava/koala/kdejava/KButtonBox.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KButtonBox__ -#define __org_kde_koala_KButtonBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KButtonBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_newKButtonBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_addButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_addStretch__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_addStretch__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_updateLayout (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_bestButtonSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_placeButtons (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KButtonBox_buttonSizeHint (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KButtonBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KButtonBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KButtonBox__ */ diff --git a/kdejava/koala/kdejava/KCMultiDialog.cpp b/kdejava/koala/kdejava/KCMultiDialog.cpp deleted file mode 100644 index c86a635a..00000000 --- a/kdejava/koala/kdejava/KCMultiDialog.cpp +++ /dev/null @@ -1,670 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KCMultiDialogJBridge : public KCMultiDialog -{ -public: - KCMultiDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KCMultiDialog(arg1,arg2,arg3) {}; - KCMultiDialogJBridge(TQWidget* arg1,const char* arg2) : KCMultiDialog(arg1,arg2) {}; - KCMultiDialogJBridge(TQWidget* arg1) : KCMultiDialog(arg1) {}; - KCMultiDialogJBridge() : KCMultiDialog() {}; - KCMultiDialogJBridge(int arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5) : KCMultiDialog(arg1,arg2,arg3,arg4,arg5) {}; - KCMultiDialogJBridge(int arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : KCMultiDialog(arg1,arg2,arg3,arg4) {}; - KCMultiDialogJBridge(int arg1,const TQString& arg2,TQWidget* arg3) : KCMultiDialog(arg1,arg2,arg3) {}; - KCMultiDialogJBridge(int arg1,const TQString& arg2) : KCMultiDialog(arg1,arg2) {}; - void protected_slotDefault() { - KCMultiDialog::slotDefault(); - return; - } - void protected_slotUser1() { - KCMultiDialog::slotUser1(); - return; - } - void protected_slotApply() { - KCMultiDialog::slotApply(); - return; - } - void protected_slotOk() { - KCMultiDialog::slotOk(); - return; - } - void protected_slotHelp() { - KCMultiDialog::slotHelp(); - return; - } - ~KCMultiDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotHelp")) { - KCMultiDialog::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotDefault")) { - KCMultiDialog::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KCMultiDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotApply")) { - KCMultiDialog::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotUser1")) { - KCMultiDialog::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotOk")) { - KCMultiDialog::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCMultiDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_addModule__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring module) -{ -static TQString* _qstring_module = 0; - ((KCMultiDialog*) QtSupport::getQt(env, obj))->addModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_addModule__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring module, jboolean withfallback) -{ -static TQString* _qstring_module = 0; - ((KCMultiDialog*) QtSupport::getQt(env, obj))->addModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (bool) withfallback); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2(JNIEnv* env, jobject obj, jobject moduleinfo) -{ - ((KCMultiDialog*) QtSupport::getQt(env, obj))->addModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, moduleinfo)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject moduleinfo, jobjectArray parentmodulenames) -{ -static TQStringList* _qlist_parentmodulenames = 0; - ((KCMultiDialog*) QtSupport::getQt(env, obj))->addModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, moduleinfo), (TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, parentmodulenames, &_qlist_parentmodulenames)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject moduleinfo, jobjectArray parentmodulenames, jboolean withfallback) -{ -static TQStringList* _qlist_parentmodulenames = 0; - ((KCMultiDialog*) QtSupport::getQt(env, obj))->addModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, moduleinfo), (TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, parentmodulenames, &_qlist_parentmodulenames), (bool) withfallback); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCMultiDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCMultiDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCMultiDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KCMultiDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KCMultiDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCMultiDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCMultiDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCMultiDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jobject parent) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jobject parent, jstring name) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (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_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__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 KCMultiDialogJBridge((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_koala_KCMultiDialog_newKCMultiDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCMultiDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_removeAllModules(JNIEnv* env, jobject obj) -{ - ((KCMultiDialog*) QtSupport::getQt(env, obj))->removeAllModules(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_show(JNIEnv* env, jobject obj) -{ - ((KCMultiDialog*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_slotApply(JNIEnv* env, jobject obj) -{ - ((KCMultiDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotApply(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_slotDefault(JNIEnv* env, jobject obj) -{ - ((KCMultiDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotDefault(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_slotHelp(JNIEnv* env, jobject obj) -{ - ((KCMultiDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotHelp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((KCMultiDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCMultiDialog_slotUser1(JNIEnv* env, jobject obj) -{ - ((KCMultiDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotUser1(); - return; -} - diff --git a/kdejava/koala/kdejava/KCMultiDialog.h b/kdejava/koala/kdejava/KCMultiDialog.h deleted file mode 100644 index c87f186f..00000000 --- a/kdejava/koala/kdejava/KCMultiDialog.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCMultiDialog__ -#define __org_kde_koala_KCMultiDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCMultiDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCMultiDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_newKCMultiDialog__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_addModule__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_addModule__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_addModule__Lorg_kde_koala_TDECModuleInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_removeAllModules (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_slotDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_slotUser1 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_slotApply (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_slotHelp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCMultiDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCMultiDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCMultiDialog__ */ diff --git a/kdejava/koala/kdejava/KCPUInfo.cpp b/kdejava/koala/kdejava/KCPUInfo.cpp deleted file mode 100644 index 0647a8d8..00000000 --- a/kdejava/koala/kdejava/KCPUInfo.cpp +++ /dev/null @@ -1,56 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KCPUInfoJBridge : public KCPUInfo -{ -public: - KCPUInfoJBridge() : KCPUInfo() {}; - ~KCPUInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCPUInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCPUInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCPUInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KCPUInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCPUInfo_haveExtension(JNIEnv* env, jclass cls, jint extension) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KCPUInfoJBridge::haveExtension((unsigned int) extension); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCPUInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCPUInfo_newKCPUInfo(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCPUInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KCPUInfo.h b/kdejava/koala/kdejava/KCPUInfo.h deleted file mode 100644 index a48dfd05..00000000 --- a/kdejava/koala/kdejava/KCPUInfo.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCPUInfo__ -#define __org_kde_koala_KCPUInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCPUInfo_newKCPUInfo (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCPUInfo_haveExtension (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCPUInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCPUInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCPUInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCPUInfo__ */ diff --git a/kdejava/koala/kdejava/KCalendarSystem.cpp b/kdejava/koala/kdejava/KCalendarSystem.cpp deleted file mode 100644 index 36e33599..00000000 --- a/kdejava/koala/kdejava/KCalendarSystem.cpp +++ /dev/null @@ -1,342 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystem_addDays(JNIEnv* env, jobject obj, jobject date, jint ndays) -{ - TQDate _qdate; -static TQDate* _qdate_date = 0; - _qdate = ((KCalendarSystem*) QtSupport::getQt(env, obj))->addDays((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (int) ndays); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystem_addMonths(JNIEnv* env, jobject obj, jobject date, jint nmonths) -{ - TQDate _qdate; -static TQDate* _qdate_date = 0; - _qdate = ((KCalendarSystem*) QtSupport::getQt(env, obj))->addMonths((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (int) nmonths); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystem_addYears(JNIEnv* env, jobject obj, jobject date, jint nyears) -{ - TQDate _qdate; -static TQDate* _qdate_date = 0; - _qdate = ((KCalendarSystem*) QtSupport::getQt(env, obj))->addYears((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (int) nyears); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_calendarName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->calendarName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_dayOfWeek(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->dayOfWeek((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_dayOfYear(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->dayOfYear((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_dayStringToInteger(JNIEnv* env, jobject obj, jstring sNum, jintArray iLength) -{ -static TQString* _qstring_sNum = 0; - int* _int_iLength = QtSupport::toIntPtr(env, iLength); - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->dayStringToInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, sNum, &_qstring_sNum), (int&) *_int_iLength); - env->SetIntArrayRegion(iLength, 0, 1, (jint *) _int_iLength); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_dayString(JNIEnv* env, jobject obj, jobject pDate, jboolean bShort) -{ - TQString _qstring; -static TQDate* _qdate_pDate = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->dayString((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, pDate, &_qdate_pDate), (bool) bShort); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_day(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->day((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_daysInMonth(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->daysInMonth((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_daysInYear(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->daysInYear((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCalendarSystem_isLunar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KCalendarSystem*) QtSupport::getQt(env, obj))->isLunar(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCalendarSystem_isLunisolar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KCalendarSystem*) QtSupport::getQt(env, obj))->isLunisolar(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCalendarSystem_isSolar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KCalendarSystem*) QtSupport::getQt(env, obj))->isSolar(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_maxValidYear(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->maxValidYear(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_minValidYear(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->minValidYear(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthNamePossessive__II(JNIEnv* env, jobject obj, jint month, jint year) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthNamePossessive((int) month, (int) year); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthNamePossessive__IIZ(JNIEnv* env, jobject obj, jint month, jint year, jboolean shortName) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthNamePossessive((int) month, (int) year, (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthNamePossessive__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthNamePossessive((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthNamePossessive__Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jobject date, jboolean shortName) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthNamePossessive((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthName__II(JNIEnv* env, jobject obj, jint month, jint year) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthName((int) month, (int) year); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthName__IIZ(JNIEnv* env, jobject obj, jint month, jint year, jboolean shortName) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthName((int) month, (int) year, (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthName__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthName((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthName__Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jobject date, jboolean shortName) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthName((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_monthStringToInteger(JNIEnv* env, jobject obj, jstring sNum, jintArray iLength) -{ -static TQString* _qstring_sNum = 0; - int* _int_iLength = QtSupport::toIntPtr(env, iLength); - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthStringToInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, sNum, &_qstring_sNum), (int&) *_int_iLength); - env->SetIntArrayRegion(iLength, 0, 1, (jint *) _int_iLength); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_monthString(JNIEnv* env, jobject obj, jobject pDate, jboolean bShort) -{ - TQString _qstring; -static TQDate* _qdate_pDate = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthString((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, pDate, &_qdate_pDate), (bool) bShort); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_month(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->month((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_monthsInYear(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->monthsInYear((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCalendarSystem_setYMD(JNIEnv* env, jobject obj, jobject date, jint y, jint m, jint d) -{ -static TQDate* _qdate_date = 0; - jboolean xret = (jboolean) ((KCalendarSystem*) QtSupport::getQt(env, obj))->setYMD((TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (int) y, (int) m, (int) d); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_weekDayName__I(JNIEnv* env, jobject obj, jint weekDay) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekDayName((int) weekDay); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_weekDayName__IZ(JNIEnv* env, jobject obj, jint weekDay, jboolean shortName) -{ - TQString _qstring; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekDayName((int) weekDay, (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_weekDayName__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekDayName((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_weekDayName__Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jobject date, jboolean shortName) -{ - TQString _qstring; -static TQDate* _qdate_date = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekDayName((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (bool) shortName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_weekDayOfPray(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekDayOfPray(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_weekNumber__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekNumber((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_weekNumber__Ljava_util_Calendar_2_3I(JNIEnv* env, jobject obj, jobject date, jintArray yearNum) -{ -static TQDate* _qdate_date = 0; - int* _int_yearNum = QtSupport::toIntPtr(env, yearNum); - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->weekNumber((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (int*) _int_yearNum); - env->SetIntArrayRegion(yearNum, 0, 1, (jint *) _int_yearNum); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_weeksInYear(JNIEnv* env, jobject obj, jint year) -{ - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->weeksInYear((int) year); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_yearStringToInteger(JNIEnv* env, jobject obj, jstring sNum, jintArray iLength) -{ -static TQString* _qstring_sNum = 0; - int* _int_iLength = QtSupport::toIntPtr(env, iLength); - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->yearStringToInteger((const TQString&)*(TQString*) QtSupport::toTQString(env, sNum, &_qstring_sNum), (int&) *_int_iLength); - env->SetIntArrayRegion(iLength, 0, 1, (jint *) _int_iLength); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCalendarSystem_yearString(JNIEnv* env, jobject obj, jobject pDate, jboolean bShort) -{ - TQString _qstring; -static TQDate* _qdate_pDate = 0; - _qstring = ((KCalendarSystem*) QtSupport::getQt(env, obj))->yearString((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, pDate, &_qdate_pDate), (bool) bShort); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCalendarSystem_year(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KCalendarSystem*) QtSupport::getQt(env, obj))->year((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KCalendarSystem.h b/kdejava/koala/kdejava/KCalendarSystem.h deleted file mode 100644 index 65d0d57b..00000000 --- a/kdejava/koala/kdejava/KCalendarSystem.h +++ /dev/null @@ -1,58 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCalendarSystem__ -#define __org_kde_koala_KCalendarSystem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_year (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_yearString (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_yearStringToInteger (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_month (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthString (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_monthStringToInteger (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_day (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_dayString (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_dayStringToInteger (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_dayOfWeek (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_dayOfYear (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCalendarSystem_setYMD (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystem_addYears (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystem_addMonths (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystem_addDays (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_monthsInYear (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_daysInYear (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_daysInMonth (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_weeksInYear (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_weekNumber__Ljava_util_Calendar_2_3I (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_weekNumber__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthName__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthName__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthName__Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthName__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthNamePossessive__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthNamePossessive__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthNamePossessive__Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_monthNamePossessive__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_weekDayName__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_weekDayName__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_weekDayName__Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_weekDayName__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_minValidYear (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_maxValidYear (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCalendarSystem_weekDayOfPray (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCalendarSystem_calendarName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCalendarSystem_isLunar (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCalendarSystem_isLunisolar (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCalendarSystem_isSolar (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCalendarSystem__ */ diff --git a/kdejava/koala/kdejava/KCalendarSystemFactory.cpp b/kdejava/koala/kdejava/KCalendarSystemFactory.cpp deleted file mode 100644 index 2fdf26c2..00000000 --- a/kdejava/koala/kdejava/KCalendarSystemFactory.cpp +++ /dev/null @@ -1,84 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KCalendarSystemFactoryJBridge : public KCalendarSystemFactory -{ -public: - KCalendarSystemFactoryJBridge() : KCalendarSystemFactory() {}; - ~KCalendarSystemFactoryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystemFactory_calendarSystems(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KCalendarSystemFactoryJBridge::calendarSystems(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystemFactory_create__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KCalendarSystemFactoryJBridge::create(), "org.kde.koala.KCalendarSystem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystemFactory_create__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring calType) -{ - (void) cls; -static TQString* _qstring_calType = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KCalendarSystemFactoryJBridge::create((const TQString&)*(TQString*) QtSupport::toTQString(env, calType, &_qstring_calType)), "org.kde.koala.KCalendarSystem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCalendarSystemFactory_create__Ljava_lang_String_2Lorg_kde_koala_TDELocale_2(JNIEnv* env, jclass cls, jstring calType, jobject locale) -{ - (void) cls; -static TQString* _qstring_calType = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KCalendarSystemFactoryJBridge::create((const TQString&)*(TQString*) QtSupport::toTQString(env, calType, &_qstring_calType), (const TDELocale*) QtSupport::getQt(env, locale)), "org.kde.koala.KCalendarSystem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCalendarSystemFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCalendarSystemFactory_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCalendarSystemFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KCalendarSystemFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCalendarSystemFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCalendarSystemFactory_newKCalendarSystemFactory(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCalendarSystemFactoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KCalendarSystemFactory.h b/kdejava/koala/kdejava/KCalendarSystemFactory.h deleted file mode 100644 index 3cb73d68..00000000 --- a/kdejava/koala/kdejava/KCalendarSystemFactory.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCalendarSystemFactory__ -#define __org_kde_koala_KCalendarSystemFactory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCalendarSystemFactory_newKCalendarSystemFactory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystemFactory_create__Ljava_lang_String_2Lorg_kde_koala_TDELocale_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystemFactory_create__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystemFactory_create__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCalendarSystemFactory_calendarSystems (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCalendarSystemFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCalendarSystemFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCalendarSystemFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCalendarSystemFactory__ */ diff --git a/kdejava/koala/kdejava/KCatalogue.cpp b/kdejava/koala/kdejava/KCatalogue.cpp deleted file mode 100644 index 11c4598f..00000000 --- a/kdejava/koala/kdejava/KCatalogue.cpp +++ /dev/null @@ -1,123 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KCatalogueJBridge : public KCatalogue -{ -public: - KCatalogueJBridge(const TQString& arg1,const TQString& arg2) : KCatalogue(arg1,arg2) {}; - KCatalogueJBridge(const TQString& arg1) : KCatalogue(arg1) {}; - KCatalogueJBridge() : KCatalogue() {}; - KCatalogueJBridge(const KCatalogue& arg1) : KCatalogue(arg1) {}; - ~KCatalogueJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCatalogue_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KCatalogue*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCatalogue_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCatalogue_language(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KCatalogue*) QtSupport::getQt(env, obj))->language(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCatalogue_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KCatalogue*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_newKCatalogue__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCatalogueJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_newKCatalogue__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCatalogueJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_newKCatalogue__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring language) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_language = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCatalogueJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, language, &_qstring_language))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_newKCatalogue__Lorg_kde_koala_KCatalogue_2(JNIEnv* env, jobject obj, jobject rhs) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCatalogueJBridge((const KCatalogue&)*(const KCatalogue*) QtSupport::getQt(env, rhs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCatalogue_pluralType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCatalogue*) QtSupport::getQt(env, obj))->pluralType(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCatalogue_setPluralType(JNIEnv* env, jobject obj, jint pluralType) -{ - ((KCatalogue*) QtSupport::getQt(env, obj))->setPluralType((int) pluralType); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCatalogue_translate(JNIEnv* env, jobject obj, jstring msgid) -{ - const char* _qstring; -static TQCString* _qstring_msgid = 0; - _qstring = ((KCatalogue*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, msgid, &_qstring_msgid)); - return QtSupport::fromCharString(env, (char *) _qstring); -} - diff --git a/kdejava/koala/kdejava/KCatalogue.h b/kdejava/koala/kdejava/KCatalogue.h deleted file mode 100644 index 1e4faed8..00000000 --- a/kdejava/koala/kdejava/KCatalogue.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCatalogue__ -#define __org_kde_koala_KCatalogue__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_newKCatalogue__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_newKCatalogue__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_newKCatalogue__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_newKCatalogue__Lorg_kde_koala_KCatalogue_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCatalogue_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCatalogue_language (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCatalogue_pluralType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_setPluralType (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCatalogue_translate (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCatalogue_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCatalogue_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCatalogue__ */ diff --git a/kdejava/koala/kdejava/KCharSelect.cpp b/kdejava/koala/kdejava/KCharSelect.cpp deleted file mode 100644 index ef01e4b2..00000000 --- a/kdejava/koala/kdejava/KCharSelect.cpp +++ /dev/null @@ -1,729 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KCharSelectJBridge : public KCharSelect -{ -public: - KCharSelectJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQChar& arg4,int arg5) : KCharSelect(arg1,arg2,arg3,arg4,arg5) {}; - KCharSelectJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQChar& arg4) : KCharSelect(arg1,arg2,arg3,arg4) {}; - KCharSelectJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3) : KCharSelect(arg1,arg2,arg3) {}; - KCharSelectJBridge(TQWidget* arg1,const char* arg2) : KCharSelect(arg1,arg2) {}; - void protected_fillFontCombo() { - KCharSelect::fillFontCombo(); - return; - } - void protected_fontSelected(const TQString& arg1) { - KCharSelect::fontSelected(arg1); - return; - } - void protected_tableChanged(int arg1) { - KCharSelect::tableChanged(arg1); - return; - } - void protected_charHighlighted(const TQChar& arg1) { - KCharSelect::charHighlighted(arg1); - return; - } - void protected_charHighlighted() { - KCharSelect::charHighlighted(); - return; - } - void protected_charActivated(const TQChar& arg1) { - KCharSelect::charActivated(arg1); - return; - } - void protected_charActivated() { - KCharSelect::charActivated(); - return; - } - void protected_charFocusItemChanged() { - KCharSelect::charFocusItemChanged(); - return; - } - void protected_charFocusItemChanged(const TQChar& arg1) { - KCharSelect::charFocusItemChanged(arg1); - return; - } - void protected_charTableUp() { - KCharSelect::charTableUp(); - return; - } - void protected_charTableDown() { - KCharSelect::charTableDown(); - return; - } - void protected_slotDoubleClicked() { - KCharSelect::slotDoubleClicked(); - return; - } - void protected_slotUnicodeEntered() { - KCharSelect::slotUnicodeEntered(); - return; - } - void protected_slotUpdateUnicode(const TQChar& arg1) { - KCharSelect::slotUpdateUnicode(arg1); - return; - } - static void protected_cleanupFontDatabase() { - KCharSelect::cleanupFontDatabase(); - return; - } - ~KCharSelectJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KCharSelect","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - bool isFontComboEnabled() { - return QtSupport::booleanDelegate(this,"isFontComboEnabled"); - } - 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.koala.KCharSelect","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","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 fillFontCombo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","fillFontCombo")) { - KCharSelect::fillFontCombo(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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; - } - bool isTableSpinBoxEnabled() { - return QtSupport::booleanDelegate(this,"isTableSpinBoxEnabled"); - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KCharSelect",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelect","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charActivated__(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charActivated__C(JNIEnv* env, jobject obj, jchar c) -{ -static TQChar* _qchar_c = 0; - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charActivated((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, c, &_qchar_c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charFocusItemChanged__(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charFocusItemChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charFocusItemChanged__C(JNIEnv* env, jobject obj, jchar c) -{ -static TQChar* _qchar_c = 0; - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charFocusItemChanged((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, c, &_qchar_c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charHighlighted__(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charHighlighted(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charHighlighted__C(JNIEnv* env, jobject obj, jchar c) -{ -static TQChar* _qchar_c = 0; - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charHighlighted((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, c, &_qchar_c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charTableDown(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charTableDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_charTableUp(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_charTableUp(); - return; -} - -JNIEXPORT jchar JNICALL -Java_org_kde_koala_KCharSelect_chr(JNIEnv* env, jobject obj) -{ - TQChar _qchar; - _qchar = ((KCharSelect*) QtSupport::getQt(env, obj))->chr(); - return (jchar) QtSupport::fromTQChar(env, (TQChar*) &_qchar); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharSelect_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCharSelect*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_cleanupFontDatabase(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KCharSelectJBridge::protected_cleanupFontDatabase(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCharSelect_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_enableFontCombo(JNIEnv* env, jobject obj, jboolean e) -{ - ((KCharSelect*) QtSupport::getQt(env, obj))->enableFontCombo((bool) e); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_enableTableSpinBox(JNIEnv* env, jobject obj, jboolean e) -{ - ((KCharSelect*) QtSupport::getQt(env, obj))->enableTableSpinBox((bool) e); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_fillFontCombo(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_fillFontCombo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KCharSelect*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KCharSelect*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharSelect_fontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KCharSelect*) QtSupport::getQt(env, obj))->font(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_fontSelected(JNIEnv* env, jobject obj, jstring _font) -{ -static TQString* _qstring__font = 0; - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_fontSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, _font, &_qstring__font)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCharSelect_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCharSelect_isFontComboEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KCharSelect*) QtSupport::getQt(env, obj))->isFontComboEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCharSelect_isTableSpinBoxEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KCharSelect*) QtSupport::getQt(env, obj))->isTableSpinBoxEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharSelect_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCharSelect*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_newKCharSelect__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 KCharSelectJBridge((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_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring font) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_font = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCharSelectJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, font, &_qstring_font))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2C(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring font, jchar chr) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_font = 0; -static TQChar* _qchar_chr = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCharSelectJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, font, &_qstring_font), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, chr, &_qchar_chr))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2CI(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring font, jchar chr, jint tableNum) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_font = 0; -static TQChar* _qchar_chr = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCharSelectJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, font, &_qstring_font), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, chr, &_qchar_chr), (int) tableNum)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_setChar(JNIEnv* env, jobject obj, jchar chr) -{ -static TQChar* _qchar_chr = 0; - ((KCharSelect*) QtSupport::getQt(env, obj))->setChar((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, chr, &_qchar_chr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_setFont(JNIEnv* env, jobject obj, jstring font) -{ -static TQString* _qstring_font = 0; - ((KCharSelect*) QtSupport::getQt(env, obj))->setFont((const TQString&)*(TQString*) QtSupport::toTQString(env, font, &_qstring_font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_setTableNum(JNIEnv* env, jobject obj, jint tableNum) -{ - ((KCharSelect*) QtSupport::getQt(env, obj))->setTableNum((int) tableNum); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharSelect_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KCharSelect*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_slotDoubleClicked(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_slotDoubleClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_slotUnicodeEntered(JNIEnv* env, jobject obj) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_slotUnicodeEntered(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_slotUpdateUnicode(JNIEnv* env, jobject obj, jchar c) -{ -static TQChar* _qchar_c = 0; - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_slotUpdateUnicode((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, c, &_qchar_c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelect_tableChanged(JNIEnv* env, jobject obj, jint _value) -{ - ((KCharSelectJBridge*) QtSupport::getQt(env, obj))->protected_tableChanged((int) _value); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCharSelect_tableNum(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCharSelect*) QtSupport::getQt(env, obj))->tableNum(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KCharSelect.h b/kdejava/koala/kdejava/KCharSelect.h deleted file mode 100644 index 48567ad7..00000000 --- a/kdejava/koala/kdejava/KCharSelect.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCharSelect__ -#define __org_kde_koala_KCharSelect__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharSelect_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharSelect_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2CI (JNIEnv *env, jobject, jobject, jstring, jstring, jchar, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2C (JNIEnv *env, jobject, jobject, jstring, jstring, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_newKCharSelect__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharSelect_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_setFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_setChar (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_setTableNum (JNIEnv *env, jobject, jint); -extern JNIEXPORT jchar JNICALL Java_org_kde_koala_KCharSelect_chr (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharSelect_fontName (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCharSelect_tableNum (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_enableFontCombo (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_enableTableSpinBox (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCharSelect_isFontComboEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCharSelect_isTableSpinBoxEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_fillFontCombo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_fontSelected (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_tableChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charHighlighted__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charHighlighted__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charActivated__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charActivated__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charFocusItemChanged__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charFocusItemChanged__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charTableUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_charTableDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_slotDoubleClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_slotUnicodeEntered (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_slotUpdateUnicode (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_cleanupFontDatabase (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelect_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCharSelect_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCharSelect__ */ diff --git a/kdejava/koala/kdejava/KCharSelectTable.cpp b/kdejava/koala/kdejava/KCharSelectTable.cpp deleted file mode 100644 index 3bbd6ea2..00000000 --- a/kdejava/koala/kdejava/KCharSelectTable.cpp +++ /dev/null @@ -1,676 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KCharSelectTableJBridge : public KCharSelectTable -{ -public: - KCharSelectTableJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQChar& arg4,int arg5) : KCharSelectTable(arg1,arg2,arg3,arg4,arg5) {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - KCharSelectTable::mousePressEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - KCharSelectTable::mouseDoubleClickEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KCharSelectTable::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KCharSelectTable::mouseMoveEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KCharSelectTable::keyPressEvent(arg1); - return; - } - void protected_gotoLeft() { - KCharSelectTable::gotoLeft(); - return; - } - void protected_gotoRight() { - KCharSelectTable::gotoRight(); - return; - } - void protected_gotoUp() { - KCharSelectTable::gotoUp(); - return; - } - void protected_gotoDown() { - KCharSelectTable::gotoDown(); - return; - } - ~KCharSelectTableJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KCharSelectTable::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")) { - KCharSelectTable::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")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - 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 contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KCharSelectTable","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")) { - TQScrollView::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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::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.koala.KCharSelectTable","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","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 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")) { - KCharSelectTable::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - 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")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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 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")) { - TQScrollView::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")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KCharSelectTable::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 contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCharSelectTable","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - KCharSelectTable::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KCharSelectTable::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 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.koala.KCharSelectTable","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")) { - TQWidget::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")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - 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")) { - TQScrollView::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.koala.KCharSelectTable","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jchar JNICALL -Java_org_kde_koala_KCharSelectTable_chr(JNIEnv* env, jobject obj) -{ - TQChar _qchar; - _qchar = ((KCharSelectTable*) QtSupport::getQt(env, obj))->chr(); - return (jchar) QtSupport::fromTQChar(env, (TQChar*) &_qchar); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharSelectTable_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCharSelectTable*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCharSelectTable_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KCharSelectTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KCharSelectTable*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_gotoDown(JNIEnv* env, jobject obj) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_gotoDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_gotoLeft(JNIEnv* env, jobject obj) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_gotoLeft(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_gotoRight(JNIEnv* env, jobject obj) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_gotoRight(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_gotoUp(JNIEnv* env, jobject obj) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_gotoUp(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCharSelectTable_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharSelectTable_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCharSelectTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KCharSelectTableJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_newKCharSelectTable(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring _font, jchar _chr, jint _tableNum) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring__font = 0; -static TQChar* _qchar__chr = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCharSelectTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _font, &_qstring__font), (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, _chr, &_qchar__chr), (int) _tableNum)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCharSelectTable*) QtSupport::getQt(env, obj))->resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_setChar(JNIEnv* env, jobject obj, jchar _chr) -{ -static TQChar* _qchar__chr = 0; - ((KCharSelectTable*) QtSupport::getQt(env, obj))->setChar((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, _chr, &_qchar__chr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_setFont(JNIEnv* env, jobject obj, jstring _font) -{ -static TQString* _qstring__font = 0; - ((KCharSelectTable*) QtSupport::getQt(env, obj))->setFont((const TQString&)*(TQString*) QtSupport::toTQString(env, _font, &_qstring__font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharSelectTable_setTableNum(JNIEnv* env, jobject obj, jint _tableNum) -{ - ((KCharSelectTable*) QtSupport::getQt(env, obj))->setTableNum((int) _tableNum); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharSelectTable_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KCharSelectTable*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KCharSelectTable.h b/kdejava/koala/kdejava/KCharSelectTable.h deleted file mode 100644 index 3835bc32..00000000 --- a/kdejava/koala/kdejava/KCharSelectTable.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCharSelectTable__ -#define __org_kde_koala_KCharSelectTable__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharSelectTable_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharSelectTable_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_newKCharSelectTable (JNIEnv *env, jobject, jobject, jstring, jstring, jchar, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharSelectTable_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_setFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_setChar (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_setTableNum (JNIEnv *env, jobject, jint); -extern JNIEXPORT jchar JNICALL Java_org_kde_koala_KCharSelectTable_chr (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_gotoLeft (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_gotoRight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_gotoUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_gotoDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharSelectTable_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCharSelectTable_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCharSelectTable__ */ diff --git a/kdejava/koala/kdejava/KCharsets.cpp b/kdejava/koala/kdejava/KCharsets.cpp deleted file mode 100644 index 7efa2475..00000000 --- a/kdejava/koala/kdejava/KCharsets.cpp +++ /dev/null @@ -1,141 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KCharsetsJBridge : public KCharsets -{ -public: - KCharsetsJBridge() : KCharsets() {}; - ~KCharsetsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharsets_availableEncodingNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KCharsets*) QtSupport::getQt(env, obj))->availableEncodingNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharsets_codecForName__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCharsets*) QtSupport::getQt(env, obj))->codecForName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharsets_codecForName__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring n, jboolean ok) -{ -static TQString* _qstring_n = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCharsets*) QtSupport::getQt(env, obj))->codecForName((const TQString&)*(TQString*) QtSupport::toTQString(env, n, &_qstring_n), (bool&) ok), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCharsets_descriptiveEncodingNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KCharsets*) QtSupport::getQt(env, obj))->descriptiveEncodingNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharsets_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCharsets_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharsets_encodingForName(JNIEnv* env, jobject obj, jstring descriptiveName) -{ - TQString _qstring; -static TQString* _qstring_descriptiveName = 0; - _qstring = ((KCharsets*) QtSupport::getQt(env, obj))->encodingForName((const TQString&)*(TQString*) QtSupport::toTQString(env, descriptiveName, &_qstring_descriptiveName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharsets_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KCharsets*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jchar JNICALL -Java_org_kde_koala_KCharsets_fromEntity__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQChar _qchar; - (void) cls; -static TQString* _qstring_str = 0; - _qchar = KCharsetsJBridge::fromEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return (jchar) QtSupport::fromTQChar(env, (TQChar*) &_qchar); -} - -JNIEXPORT jchar JNICALL -Java_org_kde_koala_KCharsets_fromEntity__Ljava_lang_String_2_3I(JNIEnv* env, jclass cls, jstring str, jintArray len) -{ - TQChar _qchar; - (void) cls; -static TQString* _qstring_str = 0; - int* _int_len = QtSupport::toIntPtr(env, len); - _qchar = KCharsetsJBridge::fromEntity((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int&) *_int_len); - env->SetIntArrayRegion(len, 0, 1, (jint *) _int_len); - return (jchar) QtSupport::fromTQChar(env, (TQChar*) &_qchar); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCharsets_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharsets_languageForEncoding(JNIEnv* env, jobject obj, jstring encoding) -{ - TQString _qstring; -static TQString* _qstring_encoding = 0; - _qstring = ((KCharsets*) QtSupport::getQt(env, obj))->languageForEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, encoding, &_qstring_encoding)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCharsets_newKCharsets(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCharsetsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharsets_resolveEntities(JNIEnv* env, jclass cls, jstring text) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KCharsetsJBridge::resolveEntities((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCharsets_toEntity(JNIEnv* env, jclass cls, jchar ch) -{ - TQString _qstring; - (void) cls; -static TQChar* _qchar_ch = 0; - _qstring = KCharsetsJBridge::toEntity((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, ch, &_qchar_ch)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KCharsets.h b/kdejava/koala/kdejava/KCharsets.h deleted file mode 100644 index fabe6a52..00000000 --- a/kdejava/koala/kdejava/KCharsets.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCharsets__ -#define __org_kde_koala_KCharsets__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharsets_codecForName__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharsets_codecForName__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharsets_availableEncodingNames (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCharsets_descriptiveEncodingNames (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharsets_languageForEncoding (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharsets_encodingForName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jchar JNICALL Java_org_kde_koala_KCharsets_fromEntity__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jchar JNICALL Java_org_kde_koala_KCharsets_fromEntity__Ljava_lang_String_2_3I (JNIEnv *env, jclass, jstring, jintArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharsets_toEntity (JNIEnv *env, jclass, jchar); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCharsets_resolveEntities (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharsets_newKCharsets (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharsets_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCharsets_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCharsets_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCharsets__ */ diff --git a/kdejava/koala/kdejava/KCodecs.cpp b/kdejava/koala/kdejava/KCodecs.cpp deleted file mode 100644 index eeeefb01..00000000 --- a/kdejava/koala/kdejava/KCodecs.cpp +++ /dev/null @@ -1,238 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Decode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::base64Decode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Decode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::base64Decode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_base64Decode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::base64Decode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Encode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::base64Encode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Encode__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring str, jboolean insertLFs) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::base64Encode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str), (bool) insertLFs); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Encode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_base64Encode___3BZ(JNIEnv* env, jclass cls, jbyteArray in, jboolean insertLFs) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (bool) insertLFs); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_base64Encode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_base64Encode___3B_3BZ(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out, jboolean insertLFs) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::base64Encode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out), (bool) insertLFs); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableDecode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::quotedPrintableDecode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableDecode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::quotedPrintableDecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableDecode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::quotedPrintableDecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::quotedPrintableEncode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring str, jboolean useCRLF) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::quotedPrintableEncode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str), (bool) useCRLF); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableEncode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::quotedPrintableEncode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableEncode___3BZ(JNIEnv* env, jclass cls, jbyteArray in, jboolean useCRLF) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::quotedPrintableEncode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (bool) useCRLF); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_quotedPrintableEncode___3B_3BZ(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out, jboolean useCRLF) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::quotedPrintableEncode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out), (bool) useCRLF); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_uudecode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::uudecode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_uudecode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::uudecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_uudecode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::uudecode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_uuencode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQCString _qstring; - (void) cls; -static TQCString* _qcstring_str = 0; - _qstring = KCodecs::uuencode((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, str, &_qcstring_str)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCodecs_uuencode___3B(JNIEnv* env, jclass cls, jbyteArray in) -{ - TQCString _qstring; - (void) cls; -static TQByteArray* _qbyteArray_in = 0; - _qstring = KCodecs::uuencode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCodecs_uuencode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out) -{ - (void) cls; -static TQByteArray* _qbyteArray_in = 0; -static TQByteArray* _qbyteArray_out = 0; - KCodecs::uuencode((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in), (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, out, &_qbyteArray_out)); - return; -} - diff --git a/kdejava/koala/kdejava/KCodecs.h b/kdejava/koala/kdejava/KCodecs.h deleted file mode 100644 index de95d25a..00000000 --- a/kdejava/koala/kdejava/KCodecs.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCodecs__ -#define __org_kde_koala_KCodecs__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableEncode___3BZ (JNIEnv *env, jclass, jbyteArray, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableEncode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_quotedPrintableEncode___3B_3BZ (JNIEnv *env, jclass, jbyteArray, jbyteArray, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableDecode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_quotedPrintableDecode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_quotedPrintableDecode___3B_3B (JNIEnv *env, jclass, jbyteArray, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_uuencode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_uuencode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_uuencode___3B_3B (JNIEnv *env, jclass, jbyteArray, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_uudecode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_uudecode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_uudecode___3B_3B (JNIEnv *env, jclass, jbyteArray, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Encode___3BZ (JNIEnv *env, jclass, jbyteArray, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Encode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Encode__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Encode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_base64Encode___3B_3BZ (JNIEnv *env, jclass, jbyteArray, jbyteArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_base64Encode___3B_3B (JNIEnv *env, jclass, jbyteArray, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Decode___3B (JNIEnv *env, jclass, jbyteArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCodecs_base64Decode__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCodecs_base64Decode___3B_3B (JNIEnv *env, jclass, jbyteArray, jbyteArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCodecs__ */ diff --git a/kdejava/koala/kdejava/KColor.cpp b/kdejava/koala/kdejava/KColor.cpp deleted file mode 100644 index bbe4c5de..00000000 --- a/kdejava/koala/kdejava/KColor.cpp +++ /dev/null @@ -1,117 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KColorJBridge : public KColor -{ -public: - KColorJBridge() : KColor() {}; - KColorJBridge(const KColor& arg1) : KColor(arg1) {}; - KColorJBridge(const TQColor& arg1) : KColor(arg1) {}; - ~KColorJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColor_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KColor*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_hsv(JNIEnv* env, jobject obj, jintArray _h, jintArray _s, jintArray _v) -{ - int* _int__h = QtSupport::toIntPtr(env, _h); - int* _int__s = QtSupport::toIntPtr(env, _s); - int* _int__v = QtSupport::toIntPtr(env, _v); - ((KColor*) QtSupport::getQt(env, obj))->hsv( (int*) _int__h, (int*) _int__s, (int*) _int__v); - env->SetIntArrayRegion(_h, 0, 1, (jint *) _int__h); - env->SetIntArrayRegion(_s, 0, 1, (jint *) _int__s); - env->SetIntArrayRegion(_v, 0, 1, (jint *) _int__v); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColor_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_newKColor__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_newKColor__Lorg_kde_koala_KColor_2(JNIEnv* env, jobject obj, jobject col) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorJBridge((const KColor&)*(const KColor*) QtSupport::getQt(env, col))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_newKColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject col) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColor_op_1equals(JNIEnv* env, jobject obj, jobject col) -{ - jboolean xret = (jboolean) ((KColor*) QtSupport::getQt(env, obj))->operator==((const KColor&)*(const KColor*) QtSupport::getQt(env, col)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_rgb(JNIEnv* env, jobject obj, jintArray _r, jintArray _g, jintArray _b) -{ - int* _int__r = QtSupport::toIntPtr(env, _r); - int* _int__g = QtSupport::toIntPtr(env, _g); - int* _int__b = QtSupport::toIntPtr(env, _b); - ((KColor*) QtSupport::getQt(env, obj))->rgb( (int*) _int__r, (int*) _int__g, (int*) _int__b); - env->SetIntArrayRegion(_r, 0, 1, (jint *) _int__r); - env->SetIntArrayRegion(_g, 0, 1, (jint *) _int__g); - env->SetIntArrayRegion(_b, 0, 1, (jint *) _int__b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_setHsv(JNIEnv* env, jobject obj, jint _h, jint _s, jint _v) -{ - ((KColor*) QtSupport::getQt(env, obj))->setHsv((int) _h, (int) _s, (int) _v); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColor_setRgb(JNIEnv* env, jobject obj, jint _r, jint _g, jint _b) -{ - ((KColor*) QtSupport::getQt(env, obj))->setRgb((int) _r, (int) _g, (int) _b); - return; -} - diff --git a/kdejava/koala/kdejava/KColor.h b/kdejava/koala/kdejava/KColor.h deleted file mode 100644 index 3804ce90..00000000 --- a/kdejava/koala/kdejava/KColor.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColor__ -#define __org_kde_koala_KColor__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_newKColor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_newKColor__Lorg_kde_koala_KColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_newKColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColor_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_setHsv (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_setRgb (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_rgb (JNIEnv *env, jobject, jintArray, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_hsv (JNIEnv *env, jobject, jintArray, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColor_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColor_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColor__ */ diff --git a/kdejava/koala/kdejava/KColorButton.cpp b/kdejava/koala/kdejava/KColorButton.cpp deleted file mode 100644 index b0681c02..00000000 --- a/kdejava/koala/kdejava/KColorButton.cpp +++ /dev/null @@ -1,586 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KColorButtonJBridge : public KColorButton -{ -public: - KColorButtonJBridge(TQWidget* arg1,const char* arg2) : KColorButton(arg1,arg2) {}; - KColorButtonJBridge(TQWidget* arg1) : KColorButton(arg1) {}; - KColorButtonJBridge(const TQColor& arg1,TQWidget* arg2,const char* arg3) : KColorButton(arg1,arg2,arg3) {}; - KColorButtonJBridge(const TQColor& arg1,TQWidget* arg2) : KColorButton(arg1,arg2) {}; - KColorButtonJBridge(const TQColor& arg1,const TQColor& arg2,TQWidget* arg3,const char* arg4) : KColorButton(arg1,arg2,arg3,arg4) {}; - KColorButtonJBridge(const TQColor& arg1,const TQColor& arg2,TQWidget* arg3) : KColorButton(arg1,arg2,arg3) {}; - void protected_drawButtonLabel(TQPainter* arg1) { - KColorButton::drawButtonLabel(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - KColorButton::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KColorButton::dropEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KColorButton::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KColorButton::mouseMoveEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KColorButton::keyPressEvent(arg1); - return; - } - void protected_chooseColor() { - KColorButton::chooseColor(); - return; - } - ~KColorButtonJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KColorButton::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KColorButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KColorButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::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")) { - KColorButton::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorButton::mouseMoveEvent(arg1); - } - return; - } - void drawButtonLabel(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawButtonLabel",(void*)arg1,"org.kde.qt.TQPainter")) { - KColorButton::drawButtonLabel(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQPushButton::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")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KColorButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_chooseColor(JNIEnv* env, jobject obj) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_chooseColor(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorButton_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorButton*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorButton_defaultColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorButton*) QtSupport::getQt(env, obj))->defaultColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_drawButtonLabel(JNIEnv* env, jobject obj, jobject p) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KColorButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KColorButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject c, jobject defaultColor, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, defaultColor), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jobject defaultColor, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, defaultColor), (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_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject c, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c), (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_koala_KColorButton_newKColorButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_newKColorButton__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 KColorButtonJBridge((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_koala_KColorButton_setColor(JNIEnv* env, jobject obj, jobject c) -{ - ((KColorButton*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorButton_setDefaultColor(JNIEnv* env, jobject obj, jobject c) -{ - ((KColorButton*) QtSupport::getQt(env, obj))->setDefaultColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KColorButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KColorButton.h b/kdejava/koala/kdejava/KColorButton.h deleted file mode 100644 index b15301e5..00000000 --- a/kdejava/koala/kdejava/KColorButton.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorButton__ -#define __org_kde_koala_KColorButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_newKColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorButton_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorButton_defaultColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_setDefaultColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_drawButtonLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_chooseColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorButton__ */ diff --git a/kdejava/koala/kdejava/KColorCells.cpp b/kdejava/koala/kdejava/KColorCells.cpp deleted file mode 100644 index 3991b357..00000000 --- a/kdejava/koala/kdejava/KColorCells.cpp +++ /dev/null @@ -1,679 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KColorCellsJBridge : public KColorCells -{ -public: - KColorCellsJBridge(TQWidget* arg1,int arg2,int arg3) : KColorCells(arg1,arg2,arg3) {}; - void protected_paintCell(TQPainter* arg1,int arg2,int arg3) { - KColorCells::paintCell(arg1,arg2,arg3); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KColorCells::resizeEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KColorCells::mouseReleaseEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KColorCells::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KColorCells::mouseMoveEvent(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - KColorCells::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KColorCells::dropEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - KColorCells::mouseDoubleClickEvent(arg1); - return; - } - int protected_posToCell(const TQPoint& arg1,bool arg2) { - return (int) KColorCells::posToCell(arg1,arg2); - } - int protected_posToCell(const TQPoint& arg1) { - return (int) KColorCells::posToCell(arg1); - } - ~KColorCellsJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KColorCells::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")) { - KColorCells::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")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - 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 contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KColorCells::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KColorCells","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")) { - TQScrollView::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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::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.koala.KColorCells","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","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 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")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - 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")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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 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")) { - TQScrollView::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")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorCells::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")) { - KColorCells::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 contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCells","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - KColorCells::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorCells::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 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.koala.KColorCells","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")) { - TQWidget::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")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - 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")) { - TQScrollView::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.koala.KColorCells","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorCells_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorCells*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorCells_color(JNIEnv* env, jobject obj, jint indx) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorCells*) QtSupport::getQt(env, obj))->color((int) indx)), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorCells_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KColorCells*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KColorCells*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorCells_getSelected(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KColorCells*) QtSupport::getQt(env, obj))->getSelected(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorCells_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorCells_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorCells*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_newKColorCells(JNIEnv* env, jobject obj, jobject parent, jint rows, jint cols) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorCellsJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) rows, (int) cols)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorCells_numCells(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KColorCells*) QtSupport::getQt(env, obj))->numCells(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_paintCell(JNIEnv* env, jobject obj, jobject painter, jint row, jint col) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TQPainter*) QtSupport::getQt(env, painter), (int) row, (int) col); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorCells_posToCell__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos) -{ - jint xret = (jint) ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_posToCell((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorCells_posToCell__Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject pos, jboolean ignoreBorders) -{ - jint xret = (jint) ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_posToCell((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (bool) ignoreBorders); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorCellsJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_setAcceptDrags(JNIEnv* env, jobject obj, jboolean _acceptDrags) -{ - ((KColorCells*) QtSupport::getQt(env, obj))->setAcceptDrags((bool) _acceptDrags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_setColor(JNIEnv* env, jobject obj, jint colNum, jobject col) -{ - ((KColorCells*) QtSupport::getQt(env, obj))->setColor((int) colNum, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCells_setShading(JNIEnv* env, jobject obj, jboolean _shade) -{ - ((KColorCells*) QtSupport::getQt(env, obj))->setShading((bool) _shade); - return; -} - diff --git a/kdejava/koala/kdejava/KColorCells.h b/kdejava/koala/kdejava/KColorCells.h deleted file mode 100644 index 54cbcbad..00000000 --- a/kdejava/koala/kdejava/KColorCells.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorCells__ -#define __org_kde_koala_KColorCells__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorCells_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorCells_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_newKColorCells (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_setColor (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorCells_color (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorCells_numCells (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_setShading (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_setAcceptDrags (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorCells_getSelected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_paintCell (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorCells_posToCell__Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorCells_posToCell__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCells_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorCells_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorCells__ */ diff --git a/kdejava/koala/kdejava/KColorCombo.cpp b/kdejava/koala/kdejava/KColorCombo.cpp deleted file mode 100644 index 12c84958..00000000 --- a/kdejava/koala/kdejava/KColorCombo.cpp +++ /dev/null @@ -1,452 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KColorComboJBridge : public KColorCombo -{ -public: - KColorComboJBridge(TQWidget* arg1,const char* arg2) : KColorCombo(arg1,arg2) {}; - KColorComboJBridge(TQWidget* arg1) : KColorCombo(arg1) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - KColorCombo::resizeEvent(arg1); - return; - } - ~KColorComboJBridge() {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 setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KColorCombo::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KColorCombo","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQComboBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQComboBox::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - TQComboBox::setLineEdit(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorCombo","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorCombo_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorCombo*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorCombo_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorCombo*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorCombo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KColorCombo*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KColorCombo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorCombo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorCombo_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorCombo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_newKColorCombo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorComboJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_newKColorCombo__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 KColorComboJBridge((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_koala_KColorCombo_resizeEvent(JNIEnv* env, jobject obj, jobject re) -{ - ((KColorComboJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, re)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_setColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KColorCombo*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorCombo_showEmptyList(JNIEnv* env, jobject obj) -{ - ((KColorCombo*) QtSupport::getQt(env, obj))->showEmptyList(); - return; -} - diff --git a/kdejava/koala/kdejava/KColorCombo.h b/kdejava/koala/kdejava/KColorCombo.h deleted file mode 100644 index bd30d338..00000000 --- a/kdejava/koala/kdejava/KColorCombo.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorCombo__ -#define __org_kde_koala_KColorCombo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorCombo_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorCombo_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_newKColorCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_newKColorCombo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorCombo_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_showEmptyList (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorCombo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorCombo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorCombo__ */ diff --git a/kdejava/koala/kdejava/KColorDialog.cpp b/kdejava/koala/kdejava/KColorDialog.cpp deleted file mode 100644 index 7811602b..00000000 --- a/kdejava/koala/kdejava/KColorDialog.cpp +++ /dev/null @@ -1,617 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KColorDialogJBridge : public KColorDialog -{ -public: - KColorDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KColorDialog(arg1,arg2,arg3) {}; - KColorDialogJBridge(TQWidget* arg1,const char* arg2) : KColorDialog(arg1,arg2) {}; - KColorDialogJBridge(TQWidget* arg1) : KColorDialog(arg1) {}; - KColorDialogJBridge() : KColorDialog() {}; - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KColorDialog::mouseReleaseEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KColorDialog::keyPressEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KColorDialog::eventFilter(arg1,arg2); - } - ~KColorDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KColorDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KColorDialog::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorDialog::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KColorDialog",object,event)) { - return KColorDialog::eventFilter(object,event); - } else { - return TRUE; - } - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorDialog_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorDialog*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorDialog_defaultColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KColorDialog*) QtSupport::getQt(env, obj))->defaultColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorDialog_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorDialog_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject ev) -{ - jboolean xret = (jboolean) ((KColorDialogJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, ev)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KColorDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KColorDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject theColor) -{ - (void) cls; - jint xret = (jint) KColorDialogJBridge::getColor((TQColor&)*(TQColor*) QtSupport::getQt(env, theColor)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject theColor, jobject defaultColor) -{ - (void) cls; - jint xret = (jint) KColorDialogJBridge::getColor((TQColor&)*(TQColor*) QtSupport::getQt(env, theColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, defaultColor)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theColor, jobject defaultColor, jobject parent) -{ - (void) cls; - jint xret = (jint) KColorDialogJBridge::getColor((TQColor&)*(TQColor*) QtSupport::getQt(env, theColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, defaultColor), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theColor, jobject parent) -{ - (void) cls; - jint xret = (jint) KColorDialogJBridge::getColor((TQColor&)*(TQColor*) QtSupport::getQt(env, theColor), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorDialog_grabColor(JNIEnv* env, jclass cls, jobject p) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(KColorDialogJBridge::grabColor((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorDialogJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_newKColorDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_newKColorDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_newKColorDialog__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 KColorDialogJBridge((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_koala_KColorDialog_newKColorDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_setColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KColorDialog*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDialog_setDefaultColor(JNIEnv* env, jobject obj, jobject defaultCol) -{ - ((KColorDialog*) QtSupport::getQt(env, obj))->setDefaultColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, defaultCol)); - return; -} - diff --git a/kdejava/koala/kdejava/KColorDialog.h b/kdejava/koala/kdejava/KColorDialog.h deleted file mode 100644 index 5700941d..00000000 --- a/kdejava/koala/kdejava/KColorDialog.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorDialog__ -#define __org_kde_koala_KColorDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_newKColorDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_newKColorDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_newKColorDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_newKColorDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorDialog_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_setDefaultColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorDialog_defaultColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KColorDialog_getColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorDialog_grabColor (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorDialog_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorDialog__ */ diff --git a/kdejava/koala/kdejava/KColorDrag.cpp b/kdejava/koala/kdejava/KColorDrag.cpp deleted file mode 100644 index f41431fb..00000000 --- a/kdejava/koala/kdejava/KColorDrag.cpp +++ /dev/null @@ -1,198 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KColorDragJBridge : public KColorDrag -{ -public: - KColorDragJBridge(TQWidget* arg1,const char* arg2) : KColorDrag(arg1,arg2) {}; - KColorDragJBridge(TQWidget* arg1) : KColorDrag(arg1) {}; - KColorDragJBridge() : KColorDrag() {}; - KColorDragJBridge(const TQColor& arg1,TQWidget* arg2,const char* arg3) : KColorDrag(arg1,arg2,arg3) {}; - KColorDragJBridge(const TQColor& arg1,TQWidget* arg2) : KColorDrag(arg1,arg2) {}; - KColorDragJBridge(const TQColor& arg1) : KColorDrag(arg1) {}; - ~KColorDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KColorDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorDrag_canDecode(JNIEnv* env, jclass cls, jobject e) -{ - (void) cls; - jboolean xret = (jboolean) KColorDragJBridge::canDecode((TQMimeSource*) QtSupport::mimeSource(env, e)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorDrag_decode(JNIEnv* env, jclass cls, jobject e, jobject col) -{ - (void) cls; - jboolean xret = (jboolean) KColorDragJBridge::decode((TQMimeSource*) QtSupport::mimeSource(env, e), (TQColor&)*(TQColor*) QtSupport::getQt(env, col)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorDrag_finalize(env, obj); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KColorDrag_encodedData(JNIEnv* env, jobject obj, jstring m) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_m = 0; - _qbyteArray = ((KColorDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, m, &_qstring_m)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KColorDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KColorDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorDrag_format(JNIEnv* env, jobject obj, jint i) -{ - const char* _qstring; - _qstring = ((KColorDrag*) QtSupport::getQt(env, obj))->format((int) i); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject col) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject col, jobject dragsource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (TQWidget*) QtSupport::getQt(env, dragsource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject col, jobject dragsource, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (TQWidget*) QtSupport::getQt(env, dragsource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragsource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge((TQWidget*) QtSupport::getQt(env, dragsource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dragsource, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorDragJBridge((TQWidget*) QtSupport::getQt(env, dragsource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorDrag_setColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KColorDrag*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - diff --git a/kdejava/koala/kdejava/KColorDrag.h b/kdejava/koala/kdejava/KColorDrag.h deleted file mode 100644 index 790d9fe1..00000000 --- a/kdejava/koala/kdejava/KColorDrag.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorDrag__ -#define __org_kde_koala_KColorDrag__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_newKColorDrag__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorDrag_format (JNIEnv *env, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KColorDrag_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorDrag_canDecode (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorDrag_decode (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorDrag__ */ diff --git a/kdejava/koala/kdejava/KColorPatch.cpp b/kdejava/koala/kdejava/KColorPatch.cpp deleted file mode 100644 index e09e5ad5..00000000 --- a/kdejava/koala/kdejava/KColorPatch.cpp +++ /dev/null @@ -1,478 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KColorPatchJBridge : public KColorPatch -{ -public: - KColorPatchJBridge(TQWidget* arg1) : KColorPatch(arg1) {}; - void protected_drawContents(TQPainter* arg1) { - KColorPatch::drawContents(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KColorPatch::mouseMoveEvent(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - KColorPatch::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KColorPatch::dropEvent(arg1); - return; - } - ~KColorPatchJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KColorPatch::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KColorPatch::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KColorPatch","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KColorPatch","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - KColorPatch::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KColorPatch::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KColorPatch",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KColorPatch","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KColorPatch_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KColorPatch*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KColorPatch_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorPatchJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_drawContents(JNIEnv* env, jobject obj, jobject painter) -{ - ((KColorPatchJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, painter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorPatchJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KColorPatch*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KColorPatch*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KColorPatch_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KColorPatch_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KColorPatch*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KColorPatchJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_newKColorPatch(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KColorPatchJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KColorPatch_setColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KColorPatch*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - diff --git a/kdejava/koala/kdejava/KColorPatch.h b/kdejava/koala/kdejava/KColorPatch.h deleted file mode 100644 index 0a4d85c2..00000000 --- a/kdejava/koala/kdejava/KColorPatch.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KColorPatch__ -#define __org_kde_koala_KColorPatch__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KColorPatch_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KColorPatch_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_newKColorPatch (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KColorPatch_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KColorPatch_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KColorPatch__ */ diff --git a/kdejava/koala/kdejava/KCombiView.cpp b/kdejava/koala/kdejava/KCombiView.cpp deleted file mode 100644 index a6096bf5..00000000 --- a/kdejava/koala/kdejava/KCombiView.cpp +++ /dev/null @@ -1,945 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KCombiViewJBridge : public KCombiView -{ -public: - KCombiViewJBridge(TQWidget* arg1,const char* arg2) : KCombiView(arg1,arg2) {}; - void public_clearView() { - KCombiView::clearView(); - return; - } - void public_listingCompleted() { - KCombiView::listingCompleted(); - return; - } - void public_clearSelection() { - KCombiView::clearSelection(); - return; - } - void public_selectAll() { - KCombiView::selectAll(); - return; - } - void public_invertSelection() { - KCombiView::invertSelection(); - return; - } - void public_clear() { - KCombiView::clear(); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KCombiView::eventFilter(arg1,arg2); - } - void protected_setDropOptions_impl(int arg1) { - KCombiView::setDropOptions_impl(arg1); - return; - } - void protected_slotSortingChanged(TQDir::SortSpec arg1) { - KCombiView::slotSortingChanged(arg1); - return; - } - ~KCombiViewJBridge() {QtSupport::qtKeyDeleted(this);} - void public_updateView() { - KFileView::updateView(); - return; - } - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void clearView() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","clearView")) { - KCombiView::clearView(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQSplitter::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void removeItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KCombiView::removeItem(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","selectAll")) { - KCombiView::selectAll(); - } - return; - } - void listingCompleted() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","listingCompleted")) { - KCombiView::listingCompleted(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void insertItem(KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KCombiView::insertItem(arg1); - } - 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.koala.KCombiView","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","clear")) { - KCombiView::clear(); - } - return; - } - void updateView(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"updateView",(void*)arg1,"org.kde.koala.KFileItem")) { - KCombiView::updateView(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KCombiView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","clearSelection")) { - KCombiView::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 setParentView(KFileView* arg1) { - if (!QtSupport::eventDelegate(this,"setParentView",(void*)arg1,"org.kde.koala.KFileViewInterface")) { - KFileView::setParentView(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TQSplitter::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","invertSelection")) { - KCombiView::invertSelection(); - } - 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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void setCurrentItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KCombiView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KCombiView",object,event)) { - return KCombiView::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCombiView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_addItemList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static KFileItemList* _qlist_list = 0; - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->addItemList((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_autoOpenDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KCombiViewJBridge::autoOpenDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCombiView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCombiView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_clearSelection(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_clearView(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_clearView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_clear(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_currentFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->currentFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCombiView_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_dropOptions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->dropOptions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->ensureItemVisible((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KCombiView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KCombiView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_firstFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->firstFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_insertItem(JNIEnv* env, jobject obj, jobject i) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->insertItem((KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_invertSelection(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_isReversed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->isReversed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_isSelected(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KCombiView*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_items(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_listingCompleted(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_listingCompleted(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_newKCombiView(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCombiViewJBridge((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_koala_KCombiView_nextItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->nextItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_prevItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->prevItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KCombiView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_removeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_selectAll(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setAcceptDrops(JNIEnv* env, jobject obj, jboolean b) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setCurrentItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setCurrentItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setDropOptions_1impl(JNIEnv* env, jobject obj, jint options) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->protected_setDropOptions_impl((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setParentView(JNIEnv* env, jobject obj, jobject parent) -{ - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setParentView((KFileView*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setRight(JNIEnv* env, jobject obj, jobject view) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setRight((KFileView*) QtSupport::getQt(env, view)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setSelected((const KFileItem*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setSelectionMode(JNIEnv* env, jobject obj, jint sm) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setSelectionMode((KFile::SelectionMode) sm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setSorting(JNIEnv* env, jobject obj, jint sort) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) sort); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setViewMode(JNIEnv* env, jobject obj, jint vm) -{ - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setViewMode((KFileView::ViewMode) vm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_setViewName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->setViewName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_signaler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->signaler(), "org.kde.koala.KFileViewSignaler"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_slotSortingChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSortingChanged((TQDir::SortSpec) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_sortReversed(JNIEnv* env, jobject obj) -{ - ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->sortReversed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCombiView_sortingKey__JZI(JNIEnv* env, jclass cls, jlong value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; - _qstring = KCombiViewJBridge::sortingKey((TDEIO::filesize_t) value, (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCombiView_sortingKey__Ljava_lang_String_2ZI(JNIEnv* env, jclass cls, jstring value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_value = 0; - _qstring = KCombiViewJBridge::sortingKey((const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCombiView_updateNumbers(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->updateNumbers((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_updateView__(JNIEnv* env, jobject obj) -{ - ((KCombiViewJBridge*) QtSupport::getQt(env, obj))->public_updateView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_updateView__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->updateView((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_updateView__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->updateView((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCombiView_viewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->viewMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCombiView_viewName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileView*)(KCombiView*) QtSupport::getQt(env, obj))->viewName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCombiView_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCombiView*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCombiView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCombiView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KCombiView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KCombiView.h b/kdejava/koala/kdejava/KCombiView.h deleted file mode 100644 index de813486..00000000 --- a/kdejava/koala/kdejava/KCombiView.h +++ /dev/null @@ -1,80 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCombiView__ -#define __org_kde_koala_KCombiView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCombiView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_newKCombiView (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_clearView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_updateView__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_updateView__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_listingCompleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setRight (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setSelected (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setCurrentItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_currentFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_firstFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_nextItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_prevItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setAcceptDrops (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setDropOptions_1impl (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_slotSortingChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_addItemList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_updateView__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_sorting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_isReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setViewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_viewMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCombiView_viewName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setViewName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setParentView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCombiView_updateNumbers (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCombiView_signaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCombiView_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_dropOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCombiView_sortingKey__Ljava_lang_String_2ZI (JNIEnv *env, jclass, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCombiView_sortingKey__JZI (JNIEnv *env, jclass, jlong, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCombiView_autoOpenDelay (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCombiView__ */ diff --git a/kdejava/koala/kdejava/KComboBox.cpp b/kdejava/koala/kdejava/KComboBox.cpp deleted file mode 100644 index c81014db..00000000 --- a/kdejava/koala/kdejava/KComboBox.cpp +++ /dev/null @@ -1,892 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KComboBoxJBridge : public KComboBox -{ -public: - KComboBoxJBridge(TQWidget* arg1,const char* arg2) : KComboBox(arg1,arg2) {}; - KComboBoxJBridge(TQWidget* arg1) : KComboBox(arg1) {}; - KComboBoxJBridge() : KComboBox() {}; - KComboBoxJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KComboBox(arg1,arg2,arg3) {}; - KComboBoxJBridge(bool arg1,TQWidget* arg2) : KComboBox(arg1,arg2) {}; - KComboBoxJBridge(bool arg1) : KComboBox(arg1) {}; - void protected_setCompletedText(const TQString& arg1,bool arg2) { - KComboBox::setCompletedText(arg1,arg2); - return; - } - void protected_create(WId arg1,bool arg2,bool arg3) { - KComboBox::create(arg1,arg2,arg3); - return; - } - void protected_create(WId arg1,bool arg2) { - KComboBox::create(arg1,arg2); - return; - } - void protected_create(WId arg1) { - KComboBox::create(arg1); - return; - } - void protected_create() { - KComboBox::create(); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KComboBox::wheelEvent(arg1); - return; - } - void protected_makeCompletion(const TQString& arg1) { - KComboBox::makeCompletion(arg1); - return; - } - ~KComboBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_setDelegate(TDECompletionBase* arg1) { - TDECompletionBase::setDelegate(arg1); - return; - } - TDECompletionBase* protected_delegate() { - return (TDECompletionBase*) TDECompletionBase::delegate(); - } - 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 setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQComboBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KComboBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQComboBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KComboBox::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - KComboBox::setLineEdit(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KComboBox",object,event)) { - return KComboBox::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KComboBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_autoCompletion(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->autoCompletion(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_changeURL__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject url, jint index) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->changeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_changeURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject url, jint index) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->changeURL((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KComboBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KComboBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_compObj(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->compObj(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_completionBox__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBox*) QtSupport::getQt(env, obj))->completionBox(), "org.kde.koala.TDECompletionBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_completionBox__Z(JNIEnv* env, jobject obj, jboolean create) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBox*) QtSupport::getQt(env, obj))->completionBox((bool) create), "org.kde.koala.TDECompletionBox"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KComboBox_completionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->completionMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_completionObject__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->completionObject(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_completionObject__Z(JNIEnv* env, jobject obj, jboolean hsig) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->completionObject((bool) hsig), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_contains(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_create__(JNIEnv* env, jobject obj) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_create__J(JNIEnv* env, jobject obj, jlong arg1) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_create__JZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_create__JZZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow, jboolean destroyOldWindow) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow, (bool) destroyOldWindow); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KComboBox_cursorPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KComboBox*) QtSupport::getQt(env, obj))->cursorPosition(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_delegate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_delegate(), "org.kde.koala.TDECompletionBaseInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KComboBox_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_emitSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->emitSignals(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KComboBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KComboBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_getKeyBinding(JNIEnv* env, jobject obj, jint item) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->getKeyBinding((TDECompletionBase::KeyBindingType) item), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_handleSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->handleSignals(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject url, jint index) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject pixmap, jobject url) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject url, jint index) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->insertURL((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_isCompletionObjectAutoDeleted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->isCompletionObjectAutoDeleted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_isContextMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->isContextMenuEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_isURLDropsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->isURLDropsEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_makeCompletion(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KComboBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KComboBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_newKComboBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KComboBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_newKComboBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KComboBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_newKComboBox__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 KComboBoxJBridge((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_koala_KComboBox_newKComboBox__Z(JNIEnv* env, jobject obj, jboolean rw) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KComboBoxJBridge((bool) rw)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_newKComboBox__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean rw, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KComboBoxJBridge((bool) rw, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_newKComboBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean rw, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KComboBoxJBridge((bool) rw, (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_koala_KComboBox_rotateText(JNIEnv* env, jobject obj, jint type) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->rotateText((TDECompletionBase::KeyBindingType) type); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setAutoCompletion(JNIEnv* env, jobject obj, jboolean autocomplete) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setAutoCompletion((bool) autocomplete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setAutoDeleteCompletionObject(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setAutoDeleteCompletionObject((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletedItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((KComboBox*) QtSupport::getQt(env, obj))->setCompletedItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletedText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KComboBox*) QtSupport::getQt(env, obj))->setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletedText__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQString* _qstring_arg1 = 0; - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletionMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletionObject__Lorg_kde_koala_TDECompletion_2(JNIEnv* env, jobject obj, jobject compObj) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z(JNIEnv* env, jobject obj, jobject compObj, jboolean hsig) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj), (bool) hsig); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setContextMenuEnabled(JNIEnv* env, jobject obj, jboolean showMenu) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setContextMenuEnabled((bool) showMenu); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCurrentItem__I(JNIEnv* env, jobject obj, jint index) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring item, jboolean insert) -{ -static TQString* _qstring_item = 0; - ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (bool) insert); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring item, jboolean insert, jint index) -{ -static TQString* _qstring_item = 0; - ((KComboBox*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (bool) insert, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setDelegate(JNIEnv* env, jobject obj, jobject delegate) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_setDelegate((TDECompletionBase*) QtSupport::getQt(env, delegate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setEditURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setEditURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setEnableSignals(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setEnableSignals((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setHandleSignals(JNIEnv* env, jobject obj, jboolean handle) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setHandleSignals((bool) handle); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->setKeyBinding((TDECompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setLineEdit(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setLineEdit((TQLineEdit*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setTrapReturnKey(JNIEnv* env, jobject obj, jboolean trap) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setTrapReturnKey((bool) trap); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_setURLDropsEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KComboBox*) QtSupport::getQt(env, obj))->setURLDropsEnabled((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KComboBox_trapReturnKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KComboBox*) QtSupport::getQt(env, obj))->trapReturnKey(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_useGlobalKeyBindings(JNIEnv* env, jobject obj) -{ - ((TDECompletionBase*)(KComboBox*) QtSupport::getQt(env, obj))->useGlobalKeyBindings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KComboBox_wheelEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, ev)); - return; -} - diff --git a/kdejava/koala/kdejava/KComboBox.h b/kdejava/koala/kdejava/KComboBox.h deleted file mode 100644 index 3933287d..00000000 --- a/kdejava/koala/kdejava/KComboBox.h +++ /dev/null @@ -1,82 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KComboBox__ -#define __org_kde_koala_KComboBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KComboBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_newKComboBox__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setEditURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_insertURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_changeURL__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_changeURL__Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KComboBox_cursorPosition (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setAutoCompletion (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_autoCompletion (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setContextMenuEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_isContextMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setURLDropsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_isURLDropsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setTrapReturnKey (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_trapReturnKey (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_completionBox__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_completionBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setLineEdit (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_rotateText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletedText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletedItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCurrentItem__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletedText__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_create__JZZ (JNIEnv *env, jobject, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_create__JZ (JNIEnv *env, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_create__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_create__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_completionObject__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_completionObject__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletionObject__Lorg_kde_koala_TDECompletion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setHandleSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_isCompletionObjectAutoDeleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setAutoDeleteCompletionObject (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setEnableSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_handleSignals (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_emitSignals (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setCompletionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KComboBox_completionMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KComboBox_setKeyBinding (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_getKeyBinding (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_useGlobalKeyBindings (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_compObj (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KComboBox_setDelegate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KComboBox_delegate (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KComboBox__ */ diff --git a/kdejava/koala/kdejava/KCommand.cpp b/kdejava/koala/kdejava/KCommand.cpp deleted file mode 100644 index 38bf1003..00000000 --- a/kdejava/koala/kdejava/KCommand.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommand_execute(JNIEnv* env, jobject obj) -{ - ((KCommand*) QtSupport::getQt(env, obj))->execute(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCommand_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KCommand*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommand_unexecute(JNIEnv* env, jobject obj) -{ - ((KCommand*) QtSupport::getQt(env, obj))->unexecute(); - return; -} - diff --git a/kdejava/koala/kdejava/KCommand.h b/kdejava/koala/kdejava/KCommand.h deleted file mode 100644 index 1b41cd8e..00000000 --- a/kdejava/koala/kdejava/KCommand.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCommand__ -#define __org_kde_koala_KCommand__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommand_execute (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommand_unexecute (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCommand_name (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCommand__ */ diff --git a/kdejava/koala/kdejava/KCommandHistory.cpp b/kdejava/koala/kdejava/KCommandHistory.cpp deleted file mode 100644 index d356c679..00000000 --- a/kdejava/koala/kdejava/KCommandHistory.cpp +++ /dev/null @@ -1,272 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KCommandHistoryJBridge : public KCommandHistory -{ -public: - KCommandHistoryJBridge() : KCommandHistory() {}; - KCommandHistoryJBridge(TDEActionCollection* arg1,bool arg2) : KCommandHistory(arg1,arg2) {}; - KCommandHistoryJBridge(TDEActionCollection* arg1) : KCommandHistory(arg1) {}; - void public_undo() { - KCommandHistory::undo(); - return; - } - void public_redo() { - KCommandHistory::redo(); - return; - } - void public_documentSaved() { - KCommandHistory::documentSaved(); - return; - } - void protected_slotUndoAboutToShow() { - KCommandHistory::slotUndoAboutToShow(); - return; - } - void protected_slotUndoActivated(int arg1) { - KCommandHistory::slotUndoActivated(arg1); - return; - } - void protected_slotRedoAboutToShow() { - KCommandHistory::slotRedoAboutToShow(); - return; - } - void protected_slotRedoActivated(int arg1) { - KCommandHistory::slotRedoActivated(arg1); - return; - } - ~KCommandHistoryJBridge() {QtSupport::qtKeyDeleted(this);} - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCommandHistory","undo")) { - KCommandHistory::undo(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void documentSaved() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCommandHistory","documentSaved")) { - KCommandHistory::documentSaved(); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KCommandHistory",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCommandHistory","redo")) { - KCommandHistory::redo(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_addCommand__Lorg_kde_koala_KCommand_2(JNIEnv* env, jobject obj, jobject command) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->addCommand((KCommand*) QtSupport::getQt(env, command)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_addCommand__Lorg_kde_koala_KCommand_2Z(JNIEnv* env, jobject obj, jobject command, jboolean execute) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->addCommand((KCommand*) QtSupport::getQt(env, command), (bool) execute); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCommandHistory_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCommandHistory*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_clear(JNIEnv* env, jobject obj) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCommandHistory_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_documentSaved(JNIEnv* env, jobject obj) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->public_documentSaved(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KCommandHistory*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KCommandHistory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCommandHistory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCommandHistory_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCommandHistory*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_newKCommandHistory__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCommandHistoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject actionCollection) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCommandHistoryJBridge((TDEActionCollection*) QtSupport::getQt(env, actionCollection))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2Z(JNIEnv* env, jobject obj, jobject actionCollection, jboolean withMenus) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCommandHistoryJBridge((TDEActionCollection*) QtSupport::getQt(env, actionCollection), (bool) withMenus)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCommandHistory_redoLimit(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCommandHistory*) QtSupport::getQt(env, obj))->redoLimit(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_redo(JNIEnv* env, jobject obj) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->public_redo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_setRedoLimit(JNIEnv* env, jobject obj, jint limit) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->setRedoLimit((int) limit); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_setUndoLimit(JNIEnv* env, jobject obj, jint limit) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->setUndoLimit((int) limit); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_slotRedoAboutToShow(JNIEnv* env, jobject obj) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->protected_slotRedoAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_slotRedoActivated(JNIEnv* env, jobject obj, jint arg1) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->protected_slotRedoActivated((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_slotUndoAboutToShow(JNIEnv* env, jobject obj) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->protected_slotUndoAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_slotUndoActivated(JNIEnv* env, jobject obj, jint arg1) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->protected_slotUndoActivated((int) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCommandHistory_undoLimit(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KCommandHistory*) QtSupport::getQt(env, obj))->undoLimit(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_undo(JNIEnv* env, jobject obj) -{ - ((KCommandHistoryJBridge*) QtSupport::getQt(env, obj))->public_undo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCommandHistory_updateActions(JNIEnv* env, jobject obj) -{ - ((KCommandHistory*) QtSupport::getQt(env, obj))->updateActions(); - return; -} - diff --git a/kdejava/koala/kdejava/KCommandHistory.h b/kdejava/koala/kdejava/KCommandHistory.h deleted file mode 100644 index 7c3bcc0e..00000000 --- a/kdejava/koala/kdejava/KCommandHistory.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCommandHistory__ -#define __org_kde_koala_KCommandHistory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCommandHistory_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCommandHistory_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_newKCommandHistory__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_newKCommandHistory__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_addCommand__Lorg_kde_koala_KCommand_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_addCommand__Lorg_kde_koala_KCommand_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCommandHistory_undoLimit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_setUndoLimit (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCommandHistory_redoLimit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_setRedoLimit (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_updateActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_undo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_redo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_documentSaved (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_slotUndoAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_slotUndoActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_slotRedoAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_slotRedoActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCommandHistory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCommandHistory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCommandHistory__ */ diff --git a/kdejava/koala/kdejava/KContextMenuManager.cpp b/kdejava/koala/kdejava/KContextMenuManager.cpp deleted file mode 100644 index 2820fb1f..00000000 --- a/kdejava/koala/kdejava/KContextMenuManager.cpp +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KContextMenuManager_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KContextMenuManager*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KContextMenuManager_insert(JNIEnv* env, jclass cls, jobject widget, jobject popup) -{ - (void) cls; - KContextMenuManager::insert((TQWidget*) QtSupport::getQt(env, widget), (TQPopupMenu*) QtSupport::getQt(env, popup)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KContextMenuManager_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KContextMenuManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KContextMenuManager_showOnButtonPress(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KContextMenuManager::showOnButtonPress(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KContextMenuManager.h b/kdejava/koala/kdejava/KContextMenuManager.h deleted file mode 100644 index 8b4c3916..00000000 --- a/kdejava/koala/kdejava/KContextMenuManager.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KContextMenuManager__ -#define __org_kde_koala_KContextMenuManager__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KContextMenuManager_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KContextMenuManager_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KContextMenuManager_insert (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KContextMenuManager_showOnButtonPress (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KContextMenuManager__ */ diff --git a/kdejava/koala/kdejava/KCursor.cpp b/kdejava/koala/kdejava/KCursor.cpp deleted file mode 100644 index fb3cb347..00000000 --- a/kdejava/koala/kdejava/KCursor.cpp +++ /dev/null @@ -1,202 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KCursorJBridge : public KCursor -{ -public: - KCursorJBridge() : KCursor() {}; - ~KCursorJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_arrowCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::arrowCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_autoHideEventFilter(JNIEnv* env, jclass cls, jobject arg1, jobject arg2) -{ - (void) cls; - KCursorJBridge::autoHideEventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_blankCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::blankCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_crossCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::crossCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCursor_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KCursor*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_handCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::handCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KCursor_hideCursorDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KCursorJBridge::hideCursorDelay(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_ibeamCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::ibeamCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCursor_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_newKCursor(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCursorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_setAutoHideCursor__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject w, jboolean enable) -{ - (void) cls; - KCursorJBridge::setAutoHideCursor((TQWidget*) QtSupport::getQt(env, w), (bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_setAutoHideCursor__Lorg_kde_qt_QWidget_2ZZ(JNIEnv* env, jclass cls, jobject w, jboolean enable, jboolean customEventFilter) -{ - (void) cls; - KCursorJBridge::setAutoHideCursor((TQWidget*) QtSupport::getQt(env, w), (bool) enable, (bool) customEventFilter); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCursor_setHideCursorDelay(JNIEnv* env, jclass cls, jint ms) -{ - (void) cls; - (void) env; - KCursorJBridge::setHideCursorDelay((int) ms); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_sizeAllCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeAllCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_sizeBDiagCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeBDiagCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_sizeFDiagCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeFDiagCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_sizeHorCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeHorCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_sizeVerCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeVerCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_upArrowCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::upArrowCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_waitCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::waitCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_whatsThisCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::whatsThisCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCursor_workingCursor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::workingCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KCursor.h b/kdejava/koala/kdejava/KCursor.h deleted file mode 100644 index 1c403267..00000000 --- a/kdejava/koala/kdejava/KCursor.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCursor__ -#define __org_kde_koala_KCursor__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_newKCursor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_handCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_workingCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_arrowCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_upArrowCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_crossCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_waitCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_ibeamCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_sizeVerCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_sizeHorCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_sizeBDiagCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_sizeFDiagCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_sizeAllCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_blankCursor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCursor_whatsThisCursor (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_setAutoHideCursor__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_setAutoHideCursor__Lorg_kde_qt_QWidget_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_setHideCursorDelay (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCursor_hideCursorDelay (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_autoHideEventFilter (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCursor_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCursor_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCursor__ */ diff --git a/kdejava/koala/kdejava/KCustomMenuEditor.cpp b/kdejava/koala/kdejava/KCustomMenuEditor.cpp deleted file mode 100644 index b164ec77..00000000 --- a/kdejava/koala/kdejava/KCustomMenuEditor.cpp +++ /dev/null @@ -1,522 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KCustomMenuEditorJBridge : public KCustomMenuEditor -{ -public: - KCustomMenuEditorJBridge(TQWidget* arg1) : KCustomMenuEditor(arg1) {}; - ~KCustomMenuEditorJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KCustomMenuEditor","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KCustomMenuEditor","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KCustomMenuEditor_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KCustomMenuEditor_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KCustomMenuEditor*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KCustomMenuEditor*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KCustomMenuEditor_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->load((TDEConfigBase*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KCustomMenuEditor_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KCustomMenuEditor*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_newKCustomMenuEditor(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KCustomMenuEditorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_refreshButton(JNIEnv* env, jobject obj) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->refreshButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->save((TDEConfigBase*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_slotMoveDown(JNIEnv* env, jobject obj) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->slotMoveDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_slotMoveUp(JNIEnv* env, jobject obj) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->slotMoveUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_slotNewItem(JNIEnv* env, jobject obj) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->slotNewItem(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KCustomMenuEditor_slotRemoveItem(JNIEnv* env, jobject obj) -{ - ((KCustomMenuEditor*) QtSupport::getQt(env, obj))->slotRemoveItem(); - return; -} - diff --git a/kdejava/koala/kdejava/KCustomMenuEditor.h b/kdejava/koala/kdejava/KCustomMenuEditor.h deleted file mode 100644 index d3410652..00000000 --- a/kdejava/koala/kdejava/KCustomMenuEditor.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KCustomMenuEditor__ -#define __org_kde_koala_KCustomMenuEditor__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCustomMenuEditor_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCustomMenuEditor_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_newKCustomMenuEditor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_slotNewItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_slotRemoveItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_slotMoveUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_slotMoveDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_refreshButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KCustomMenuEditor_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KCustomMenuEditor_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KCustomMenuEditor__ */ diff --git a/kdejava/koala/kdejava/KDCOPActionProxy.cpp b/kdejava/koala/kdejava/KDCOPActionProxy.cpp deleted file mode 100644 index b8e32247..00000000 --- a/kdejava/koala/kdejava/KDCOPActionProxy.cpp +++ /dev/null @@ -1,108 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KDCOPActionProxyJBridge : public KDCOPActionProxy -{ -public: - KDCOPActionProxyJBridge(TDEActionCollection* arg1,DCOPObject* arg2) : KDCOPActionProxy(arg1,arg2) {}; - KDCOPActionProxyJBridge(DCOPObject* arg1) : KDCOPActionProxy(arg1) {}; - ~KDCOPActionProxyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDCOPActionProxy_actionObjectId(JNIEnv* env, jobject obj, jstring name) -{ - TQCString _qstring; -static TQCString* _qcstring_name = 0; - _qstring = ((KDCOPActionProxy*) QtSupport::getQt(env, obj))->actionObjectId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, name, &_qcstring_name)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDCOPActionProxy_action(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDCOPActionProxy*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPActionProxy_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDCOPActionProxy_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPActionProxy_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KDCOPActionProxy*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPActionProxy_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_DCOPObjectInterface_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDCOPActionProxyJBridge((DCOPObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_koala_DCOPObjectInterface_2(JNIEnv* env, jobject obj, jobject actionCollection, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDCOPActionProxyJBridge((TDEActionCollection*) QtSupport::getQt(env, actionCollection), (DCOPObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPActionProxy_processAction(JNIEnv* env, jobject obj, jstring arg1, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData, jobject action) -{ -static TQCString* _qcstring_arg1 = 0; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((KDCOPActionProxy*) QtSupport::getQt(env, obj))->processAction((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData), (TDEAction*) QtSupport::getQt(env, action)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPActionProxy_process(JNIEnv* env, jobject obj, jstring arg1, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_arg1 = 0; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((KDCOPActionProxy*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDCOPActionProxy.h b/kdejava/koala/kdejava/KDCOPActionProxy.h deleted file mode 100644 index 2cb5eeec..00000000 --- a/kdejava/koala/kdejava/KDCOPActionProxy.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDCOPActionProxy__ -#define __org_kde_koala_KDCOPActionProxy__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_koala_DCOPObjectInterface_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPActionProxy_newKDCOPActionProxy__Lorg_kde_koala_DCOPObjectInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDCOPActionProxy_action (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDCOPActionProxy_actionObjectId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPActionProxy_process (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPActionProxy_processAction (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jobject, jbyteArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPActionProxy_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPActionProxy_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPActionProxy_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDCOPActionProxy__ */ diff --git a/kdejava/koala/kdejava/KDCOPPropertyProxy.cpp b/kdejava/koala/kdejava/KDCOPPropertyProxy.cpp deleted file mode 100644 index 13ff8003..00000000 --- a/kdejava/koala/kdejava/KDCOPPropertyProxy.cpp +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KDCOPPropertyProxyJBridge : public KDCOPPropertyProxy -{ -public: - KDCOPPropertyProxyJBridge(TQObject* arg1) : KDCOPPropertyProxy(arg1) {}; - ~KDCOPPropertyProxyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDCOPPropertyProxy_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KDCOPPropertyProxy*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_isPropertyRequest__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fun) -{ -static TQCString* _qcstring_fun = 0; - jboolean xret = (jboolean) ((KDCOPPropertyProxy*) QtSupport::getQt(env, obj))->isPropertyRequest((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_isPropertyRequest__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jclass cls, jstring fun, jobject object) -{ - (void) cls; -static TQCString* _qcstring_fun = 0; - jboolean xret = (jboolean) KDCOPPropertyProxyJBridge::isPropertyRequest((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (TQObject*) QtSupport::getQt(env, object)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_newKDCOPPropertyProxy(JNIEnv* env, jobject obj, jobject object) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDCOPPropertyProxyJBridge((TQObject*) QtSupport::getQt(env, object))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_processPropertyRequest__Ljava_lang_String_2_3BLjava_lang_StringBuffer_2_3B(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((KDCOPPropertyProxy*) QtSupport::getQt(env, obj))->processPropertyRequest((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDCOPPropertyProxy_processPropertyRequest__Ljava_lang_String_2_3BLjava_lang_StringBuffer_2_3BLorg_kde_qt_QObject_2(JNIEnv* env, jclass cls, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData, jobject object) -{ - (void) cls; -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) KDCOPPropertyProxyJBridge::processPropertyRequest((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData), (TQObject*) QtSupport::getQt(env, object)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDCOPPropertyProxy.h b/kdejava/koala/kdejava/KDCOPPropertyProxy.h deleted file mode 100644 index b2a9e268..00000000 --- a/kdejava/koala/kdejava/KDCOPPropertyProxy.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDCOPPropertyProxy__ -#define __org_kde_koala_KDCOPPropertyProxy__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPPropertyProxy_newKDCOPPropertyProxy (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPPropertyProxy_isPropertyRequest__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPPropertyProxy_processPropertyRequest__Ljava_lang_String_2_3BLjava_lang_StringBuffer_2_3B (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPPropertyProxy_isPropertyRequest__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPPropertyProxy_processPropertyRequest__Ljava_lang_String_2_3BLjava_lang_StringBuffer_2_3BLorg_kde_qt_QObject_2 (JNIEnv *env, jclass, jstring, jbyteArray, jobject, jbyteArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPPropertyProxy_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPPropertyProxy_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDCOPPropertyProxy_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDCOPPropertyProxy__ */ diff --git a/kdejava/koala/kdejava/KDCOPServiceStarter.cpp b/kdejava/koala/kdejava/KDCOPServiceStarter.cpp deleted file mode 100644 index 01cd7d48..00000000 --- a/kdejava/koala/kdejava/KDCOPServiceStarter.cpp +++ /dev/null @@ -1,178 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KDCOPServiceStarterJBridge : public KDCOPServiceStarter -{ -public: - KDCOPServiceStarterJBridge() : KDCOPServiceStarter() {}; -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType) -{ -static TQString* _qstring_serviceType = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error, jobject dcopService) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error, jobject dcopService, jint flags) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->findServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int) flags); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDCOPServiceStarter_newKDCOPServiceStarter(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDCOPServiceStarterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDCOPServiceStarter_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDCOPServiceStarterJBridge::self(), "org.kde.koala.KDCOPServiceStarter"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType) -{ -static TQString* _qstring_serviceType = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error, jobject dcopService) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2I(JNIEnv* env, jobject obj, jstring serviceType, jstring constraint, jstring preferences, jobject error, jobject dcopService, jint flags) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) ((KDCOPServiceStarter*) QtSupport::getQt(env, obj))->startServiceFor((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int) flags); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDCOPServiceStarter.h b/kdejava/koala/kdejava/KDCOPServiceStarter.h deleted file mode 100644 index 4dcddcac..00000000 --- a/kdejava/koala/kdejava/KDCOPServiceStarter.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDCOPServiceStarter__ -#define __org_kde_koala_KDCOPServiceStarter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_findServiceFor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDCOPServiceStarter_startServiceFor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDCOPServiceStarter_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDCOPServiceStarter_newKDCOPServiceStarter (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDCOPServiceStarter__ */ diff --git a/kdejava/koala/kdejava/KDE.cpp b/kdejava/koala/kdejava/KDE.cpp deleted file mode 100644 index 7d338807..00000000 --- a/kdejava/koala/kdejava/KDE.cpp +++ /dev/null @@ -1,1104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::BarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::BarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::BarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::BarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::BarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2II(JNIEnv* env, jclass cls, jstring name, jint size, jint state) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::BarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jint state, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::BarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::BarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::DesktopIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::DesktopIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::DesktopIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::DesktopIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::DesktopIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2II(JNIEnv* env, jclass cls, jstring name, jint size, jint state) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::DesktopIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jint state, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::DesktopIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::DesktopIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_IconSize__I(JNIEnv* env, jclass cls, jint group) -{ - (void) cls; - (void) env; - jint xret = (jint) ::IconSize((TDEIcon::Group) group); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_IconSize__ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jint group, jobject instance) -{ - (void) cls; - jint xret = (jint) ::IconSize((TDEIcon::Group) group, (TDEInstance*) QtSupport::getQt(env, instance)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::MainBarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::MainBarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::MainBarIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::MainBarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::MainBarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2II(JNIEnv* env, jclass cls, jstring name, jint size, jint state) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::MainBarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jint state, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::MainBarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::MainBarIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::SmallIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::SmallIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::SmallIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::SmallIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint size) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::SmallIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2II(JNIEnv* env, jclass cls, jstring name, jint size, jint state) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::SmallIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint size, jint state, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::SmallIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) size, (int) state, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::SmallIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIconSet__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::UserIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIconSet__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(::UserIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::UserIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring name, jint state) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::UserIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jint state, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::UserIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) state, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(::UserIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDE_checkAccess(JNIEnv* env, jclass cls, jstring pathname, jint mode) -{ - (void) cls; -static TQString* _qstring_pathname = 0; - jboolean xret = (jboolean) ::checkAccess((const TQString&)*(TQString*) QtSupport::toTQString(env, pathname, &_qstring_pathname), (int) mode); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_text = 0; - _qstring = ::i18n((const char*) QtSupport::toCharString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring comment, jstring text) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_comment = 0; -static TQCString* _qstring_text = 0; - _qstring = ::i18n((const char*) QtSupport::toCharString(env, comment, &_qstring_comment), (const char*) QtSupport::toCharString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2Ljava_lang_String_2J(JNIEnv* env, jclass cls, jstring singular, jstring plural, jlong n) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_singular = 0; -static TQCString* _qstring_plural = 0; - _qstring = ::i18n((const char*) QtSupport::toCharString(env, singular, &_qstring_singular), (const char*) QtSupport::toCharString(env, plural, &_qstring_plural), (unsigned long) n); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2II(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIII(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor, jcharArray midColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; -static TQByteArray* _qbytearray_midColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor), (const uchar*) QtSupport::toUcharArray(env, midColor, &_qbytearray_midColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor, jcharArray midColor, jcharArray midlightColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; -static TQByteArray* _qbytearray_midColor = 0; -static TQByteArray* _qbytearray_midlightColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor), (const uchar*) QtSupport::toUcharArray(env, midColor, &_qbytearray_midColor), (const uchar*) QtSupport::toUcharArray(env, midlightColor, &_qbytearray_midlightColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor, jcharArray midColor, jcharArray midlightColor, jcharArray darkColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; -static TQByteArray* _qbytearray_midColor = 0; -static TQByteArray* _qbytearray_midlightColor = 0; -static TQByteArray* _qbytearray_darkColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor), (const uchar*) QtSupport::toUcharArray(env, midColor, &_qbytearray_midColor), (const uchar*) QtSupport::toUcharArray(env, midlightColor, &_qbytearray_midlightColor), (const uchar*) QtSupport::toUcharArray(env, darkColor, &_qbytearray_darkColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor, jcharArray midColor, jcharArray midlightColor, jcharArray darkColor, jcharArray blackColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; -static TQByteArray* _qbytearray_midColor = 0; -static TQByteArray* _qbytearray_midlightColor = 0; -static TQByteArray* _qbytearray_darkColor = 0; -static TQByteArray* _qbytearray_blackColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor), (const uchar*) QtSupport::toUcharArray(env, midColor, &_qbytearray_midColor), (const uchar*) QtSupport::toUcharArray(env, midlightColor, &_qbytearray_midlightColor), (const uchar*) QtSupport::toUcharArray(env, darkColor, &_qbytearray_darkColor), (const uchar*) QtSupport::toUcharArray(env, blackColor, &_qbytearray_blackColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C_3C_3C(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jint w, jint h, jboolean isXBitmaps, jcharArray lightColor, jcharArray midColor, jcharArray midlightColor, jcharArray darkColor, jcharArray blackColor, jcharArray whiteColor) -{ - (void) cls; -static TQByteArray* _qbytearray_lightColor = 0; -static TQByteArray* _qbytearray_midColor = 0; -static TQByteArray* _qbytearray_midlightColor = 0; -static TQByteArray* _qbytearray_darkColor = 0; -static TQByteArray* _qbytearray_blackColor = 0; -static TQByteArray* _qbytearray_whiteColor = 0; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (int) w, (int) h, (bool) isXBitmaps, (const uchar*) QtSupport::toUcharArray(env, lightColor, &_qbytearray_lightColor), (const uchar*) QtSupport::toUcharArray(env, midColor, &_qbytearray_midColor), (const uchar*) QtSupport::toUcharArray(env, midlightColor, &_qbytearray_midlightColor), (const uchar*) QtSupport::toUcharArray(env, darkColor, &_qbytearray_darkColor), (const uchar*) QtSupport::toUcharArray(env, blackColor, &_qbytearray_blackColor), (const uchar*) QtSupport::toUcharArray(env, whiteColor, &_qbytearray_whiteColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor, jobject midColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor), (TQBitmap*) QtSupport::getQt(env, midColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor, jobject midColor, jobject midlightColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor), (TQBitmap*) QtSupport::getQt(env, midColor), (TQBitmap*) QtSupport::getQt(env, midlightColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor, jobject midColor, jobject midlightColor, jobject darkColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor), (TQBitmap*) QtSupport::getQt(env, midColor), (TQBitmap*) QtSupport::getQt(env, midlightColor), (TQBitmap*) QtSupport::getQt(env, darkColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor, jobject midColor, jobject midlightColor, jobject darkColor, jobject blackColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor), (TQBitmap*) QtSupport::getQt(env, midColor), (TQBitmap*) QtSupport::getQt(env, midlightColor), (TQBitmap*) QtSupport::getQt(env, darkColor), (TQBitmap*) QtSupport::getQt(env, blackColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2(JNIEnv* env, jclass cls, jobject p, jobject g, jint x, jint y, jobject lightColor, jobject midColor, jobject midlightColor, jobject darkColor, jobject blackColor, jobject whiteColor) -{ - (void) cls; - ::kColorBitmaps((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (int) x, (int) y, (TQBitmap*) QtSupport::getQt(env, lightColor), (TQBitmap*) QtSupport::getQt(env, midColor), (TQBitmap*) QtSupport::getQt(env, midlightColor), (TQBitmap*) QtSupport::getQt(env, darkColor), (TQBitmap*) QtSupport::getQt(env, blackColor), (TQBitmap*) QtSupport::getQt(env, whiteColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken, jobject fill) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (TQRect&)*(TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (TQRect&)*(TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken, jobject fill) -{ - (void) cls; - ::kDrawBeButton((TQPainter*) QtSupport::getQt(env, p), (TQRect&)*(TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken, jobject fill) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken, jobject fill) -{ - (void) cls; - ::kDrawNextButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken, (const TQBrush*) QtSupport::getQt(env, fill)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g) -{ - (void) cls; - ::kDrawRoundButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawRoundButton((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g) -{ - (void) cls; - ::kDrawRoundButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z(JNIEnv* env, jclass cls, jobject p, jobject r, jobject g, jboolean sunken) -{ - (void) cls; - ::kDrawRoundButton((TQPainter*) QtSupport::getQt(env, p), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g), (bool) sunken); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundMask__Lorg_kde_qt_QPainter_2IIII(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h) -{ - (void) cls; - ::kDrawRoundMask((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kDrawRoundMask__Lorg_kde_qt_QPainter_2IIIIZ(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint w, jint h, jboolean clear) -{ - (void) cls; - ::kDrawRoundMask((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) w, (int) h, (bool) clear); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDE_kRoundMaskRegion(JNIEnv* env, jclass cls, jobject r, jint x, jint y, jint w, jint h) -{ - (void) cls; - ::kRoundMaskRegion((TQRegion&)*(TQRegion*) QtSupport::getQt(env, r), (int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_kasciistricmp(JNIEnv* env, jclass cls, jstring str1, jstring str2) -{ - (void) cls; -static TQCString* _qstring_str1 = 0; -static TQCString* _qstring_str2 = 0; - jint xret = (jint) ::kasciistricmp((const char*) QtSupport::toCharString(env, str1, &_qstring_str1), (const char*) QtSupport::toCharString(env, str2, &_qstring_str2)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locateLocal((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring type, jstring filename, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locateLocal((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring type, jstring filename, jboolean createDir) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locateLocal((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) createDir); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2ZLorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring type, jstring filename, jboolean createDir, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locateLocal((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) createDir, (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring type, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locate((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_locate__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring type, jstring filename, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ::locate((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_op_1equals(JNIEnv* env, jclass cls, jobject x, jobject y) -{ - (void) cls; - jint xret = (jint) ::operator==((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, x), (KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, y)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_op_1incr__I(JNIEnv* env, jclass cls, jint group) -{ - (void) cls; - (void) env; - jint xret = (jint) ::operator++((TDEIcon::Group&) group); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_op_1incr__II(JNIEnv* env, jclass cls, jint group, jint arg2) -{ - (void) cls; - (void) env; - jint xret = (jint) ::operator++((TDEIcon::Group&) group, (int) arg2); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDE_op_1lt(JNIEnv* env, jclass cls, jobject k1, jobject k2) -{ - (void) cls; - jboolean xret = (jboolean) ::operator<((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, k1), (const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, k2)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_op_1not_1equals(JNIEnv* env, jclass cls, jobject x, jobject y) -{ - (void) cls; - jint xret = (jint) ::operator!=((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, x), (KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, y)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jclass cls, jobject s, jint p) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KSSLCertificateCache::KSSLCertificatePolicy&) p), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KFileItem&)*(KFileItem*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoGroup_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KFileMetaInfoGroup&)*(KFileMetaInfoGroup*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoItem_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KFileMetaInfoItem&)*(KFileMetaInfoItem*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfo_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KFileMetaInfo&)*(KFileMetaInfo*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertDlgRet_2(JNIEnv* env, jclass cls, jobject s, jobject r) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KSSLCertDlgRet&)*(KSSLCertDlgRet*) QtSupport::getQt(env, r)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jclass cls, jobject s, jobject r) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, r)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (KURL&)*(KURL*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Z(JNIEnv* env, jclass cls, jobject str, jboolean b) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, str), (bool&) b), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jclass cls, jobject s, jint p) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KSSLCertificateCache::KSSLCertificatePolicy&) p), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2J(JNIEnv* env, jclass cls, jobject str, jlong ll) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, str), (long long int) ll), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KFileItem&)*(const KFileItem*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoGroup_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KFileMetaInfoGroup&)*(const KFileMetaInfoGroup*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoItem_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KFileMetaInfoItem&)*(const KFileMetaInfoItem*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfo_2(JNIEnv* env, jclass cls, jobject s, jobject arg2) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KFileMetaInfo&)*(const KFileMetaInfo*) QtSupport::getQt(env, arg2)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertDlgRet_2(JNIEnv* env, jclass cls, jobject s, jobject r) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KSSLCertDlgRet&)*(const KSSLCertDlgRet*) QtSupport::getQt(env, r)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jclass cls, jobject s, jobject r) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KSSLCertificate&)*(const KSSLCertificate*) QtSupport::getQt(env, r)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const KURL&)*(const KURL*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Z(JNIEnv* env, jclass cls, jobject str, jboolean b) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, str), (bool) b), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_pageNameToPageSize(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jint xret = (jint) ::pageNameToPageSize((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_pageSizeToPageName(JNIEnv* env, jclass cls, jint s) -{ - const char* _qstring; - (void) cls; - _qstring = ::pageSizeToPageName((KPrinter::PageSize) s); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_tr2i18n__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring message) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_message = 0; - _qstring = ::tr2i18n((const char*) QtSupport::toCharString(env, message, &_qstring_message)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_tr2i18n__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring message, jstring arg2) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_message = 0; -static TQCString* _qstring_arg2 = 0; - _qstring = ::tr2i18n((const char*) QtSupport::toCharString(env, message, &_qstring_message), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDE_urlcmp__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _url1, jstring _url2) -{ - (void) cls; -static TQString* _qstring__url1 = 0; -static TQString* _qstring__url2 = 0; - jboolean xret = (jboolean) ::urlcmp((const TQString&)*(TQString*) QtSupport::toTQString(env, _url1, &_qstring__url1), (const TQString&)*(TQString*) QtSupport::toTQString(env, _url2, &_qstring__url2)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDE_urlcmp__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jstring _url1, jstring _url2, jboolean _ignore_trailing, jboolean _ignore_ref) -{ - (void) cls; -static TQString* _qstring__url1 = 0; -static TQString* _qstring__url2 = 0; - jboolean xret = (jboolean) ::urlcmp((const TQString&)*(TQString*) QtSupport::toTQString(env, _url1, &_qstring__url1), (const TQString&)*(TQString*) QtSupport::toTQString(env, _url2, &_qstring__url2), (bool) _ignore_trailing, (bool) _ignore_ref); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_versionMajor(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDE::versionMajor(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_versionMinor(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDE::versionMinor(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_versionRelease(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDE::versionRelease(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDE_versionString(JNIEnv* env, jclass cls) -{ - const char* _qstring; - (void) cls; - _qstring = KDE::versionString(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDE_version(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDE::version(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDE.h b/kdejava/koala/kdejava/KDE.h deleted file mode 100644 index 88709b7f..00000000 --- a/kdejava/koala/kdejava/KDE.h +++ /dev/null @@ -1,138 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDE__ -#define __org_kde_koala_KDE__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_version (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_versionMajor (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_versionMinor (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_versionRelease (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_versionString (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_i18n__Ljava_lang_String_2Ljava_lang_String_2J (JNIEnv *env, jclass, jstring, jstring, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_tr2i18n__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_tr2i18n__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_pageNameToPageSize (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_pageSizeToPageName (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDE_urlcmp__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDE_urlcmp__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_kasciistricmp (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_op_1equals (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_op_1not_1equals (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDE_checkAccess (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertDlgRet_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KSSLCertDlgRet_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2J (JNIEnv *env, jclass, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2II (JNIEnv *env, jclass, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_DesktopIconSet__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2II (JNIEnv *env, jclass, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_BarIconSet__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2II (JNIEnv *env, jclass, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_SmallIconSet__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2IILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2II (JNIEnv *env, jclass, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_MainBarIconSet__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIconSet__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_UserIconSet__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_IconSize__ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_IconSize__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locate__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2ZLorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jstring, jboolean, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDE_locateLocal__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_op_1incr__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDE_op_1incr__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2 (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawNextButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2 (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2ZLorg_kde_qt_QBrush_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawBeButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2Lorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2Z (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundButton__Lorg_kde_qt_QPainter_2IIIILorg_kde_qt_QColorGroup_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kRoundMaskRegion (JNIEnv *env, jclass, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundMask__Lorg_kde_qt_QPainter_2IIIIZ (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kDrawRoundMask__Lorg_kde_qt_QPainter_2IIII (JNIEnv *env, jclass, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject, jobject, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2Lorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IILorg_kde_qt_QBitmap_2 (JNIEnv *env, jclass, jobject, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2II (JNIEnv *env, jclass, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C_3C_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray, jcharArray, jcharArray, jcharArray, jcharArray, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray, jcharArray, jcharArray, jcharArray, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray, jcharArray, jcharArray, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray, jcharArray, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ_3C (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean, jcharArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIIIZ (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDE_kColorBitmaps__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QColorGroup_2IIII (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDE_op_1lt (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoItem_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoItem_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoGroup_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfoGroup_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1write__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfo_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDE_op_1read__Lorg_kde_qt_QDataStream_2Lorg_kde_koala_KFileMetaInfo_2 (JNIEnv *env, jclass, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDE__ */ diff --git a/kdejava/koala/kdejava/KDEDesktopMimeType.cpp b/kdejava/koala/kdejava/KDEDesktopMimeType.cpp deleted file mode 100644 index ff459a1c..00000000 --- a/kdejava/koala/kdejava/KDEDesktopMimeType.cpp +++ /dev/null @@ -1,224 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KDEDesktopMimeTypeJBridge : public KDEDesktopMimeType -{ -public: - KDEDesktopMimeTypeJBridge(KDesktopFile* arg1) : KDEDesktopMimeType(arg1) {}; - KDEDesktopMimeTypeJBridge(TQDataStream& arg1,int arg2) : KDEDesktopMimeType(arg1,arg2) {}; - TQPixmap protected_pixmap(TDEIcon::Group arg1,int arg2,int arg3,TQString* arg4) { - return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2,arg3,arg4); - } - TQPixmap protected_pixmap(TDEIcon::Group arg1,int arg2,int arg3) { - return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2,arg3); - } - TQPixmap protected_pixmap(TDEIcon::Group arg1,int arg2) { - return (TQPixmap) KDEDesktopMimeType::pixmap(arg1,arg2); - } - TQPixmap protected_pixmap(TDEIcon::Group arg1) { - return (TQPixmap) KDEDesktopMimeType::pixmap(arg1); - } - static pid_t protected_runFSDevice(const KURL& arg1,const KSimpleConfig& arg2) { - return (pid_t) KDEDesktopMimeType::runFSDevice(arg1,arg2); - } - static pid_t protected_runApplication(const KURL& arg1,const TQString& arg2) { - return (pid_t) KDEDesktopMimeType::runApplication(arg1,arg2); - } - static pid_t protected_runLink(const KURL& arg1,const KSimpleConfig& arg2) { - return (pid_t) KDEDesktopMimeType::runLink(arg1,arg2); - } - static pid_t protected_runMimeType(const KURL& arg1,const KSimpleConfig& arg2) { - return (pid_t) KDEDesktopMimeType::runMimeType(arg1,arg2); - } - ~KDEDesktopMimeTypeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDEDesktopMimeType_comment__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _url, jboolean _is_local) -{ - TQString _qstring; -static TQString* _qstring__url = 0; - _qstring = ((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->comment((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDEDesktopMimeType_comment__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject _url, jboolean _is_local) -{ - TQString _qstring; - _qstring = ((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->comment((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDEDesktopMimeType_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDEDesktopMimeType_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDEDesktopMimeType_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KDEDesktopMimeType*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDEDesktopMimeType_icon__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _url, jboolean _is_local) -{ - TQString _qstring; -static TQString* _qstring__url = 0; - _qstring = ((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->icon((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDEDesktopMimeType_icon__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject _url, jboolean _is_local) -{ - TQString _qstring; - _qstring = ((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->icon((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDEDesktopMimeType_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDEDesktopMimeType_newKDEDesktopMimeType__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDEDesktopMimeTypeJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDEDesktopMimeType_newKDEDesktopMimeType__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDEDesktopMimeTypeJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__I(JNIEnv* env, jobject obj, jint group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__II(JNIEnv* env, jobject obj, jint group, jint force_size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group, (int) force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__III(JNIEnv* env, jobject obj, jint group, jint force_size, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group, (int) force_size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint group, jint force_size, jint state, jobject path) -{ -static TQString* _qstring_path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_pixmap((TDEIcon::Group) group, (int) force_size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path, &_qstring_path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_path, path); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject _url, jint _group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2II(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2III(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state, jobject _path) -{ -static TQString* _qstring__path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KDEDesktopMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDEDesktopMimeType_runApplication(JNIEnv* env, jclass cls, jobject _url, jstring _serviceFile) -{ - (void) cls; -static TQString* _qstring__serviceFile = 0; - jint xret = (jint) KDEDesktopMimeTypeJBridge::protected_runApplication((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const TQString&)*(TQString*) QtSupport::toTQString(env, _serviceFile, &_qstring__serviceFile)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDEDesktopMimeType_runFSDevice(JNIEnv* env, jclass cls, jobject _url, jobject cfg) -{ - (void) cls; - jint xret = (jint) KDEDesktopMimeTypeJBridge::protected_runFSDevice((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const KSimpleConfig&)*(const KSimpleConfig*) QtSupport::getQt(env, cfg)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDEDesktopMimeType_runLink(JNIEnv* env, jclass cls, jobject _url, jobject cfg) -{ - (void) cls; - jint xret = (jint) KDEDesktopMimeTypeJBridge::protected_runLink((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const KSimpleConfig&)*(const KSimpleConfig*) QtSupport::getQt(env, cfg)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDEDesktopMimeType_runMimeType(JNIEnv* env, jclass cls, jobject _url, jobject cfg) -{ - (void) cls; - jint xret = (jint) KDEDesktopMimeTypeJBridge::protected_runMimeType((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const KSimpleConfig&)*(const KSimpleConfig*) QtSupport::getQt(env, cfg)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDEDesktopMimeType_run(JNIEnv* env, jclass cls, jobject _url, jboolean _is_local) -{ - (void) cls; - jint xret = (jint) KDEDesktopMimeTypeJBridge::run((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _is_local); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDEDesktopMimeType.h b/kdejava/koala/kdejava/KDEDesktopMimeType.h deleted file mode 100644 index cba71097..00000000 --- a/kdejava/koala/kdejava/KDEDesktopMimeType.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDEDesktopMimeType__ -#define __org_kde_koala_KDEDesktopMimeType__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDEDesktopMimeType_newKDEDesktopMimeType__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDEDesktopMimeType_newKDEDesktopMimeType__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDEDesktopMimeType_icon__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDEDesktopMimeType_icon__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDEDesktopMimeType_comment__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDEDesktopMimeType_comment__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDEDesktopMimeType_run (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDEDesktopMimeType_pixmap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDEDesktopMimeType_runFSDevice (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDEDesktopMimeType_runApplication (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDEDesktopMimeType_runLink (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDEDesktopMimeType_runMimeType (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDEDesktopMimeType_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDEDesktopMimeType_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDEDesktopMimeType_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDEDesktopMimeType__ */ diff --git a/kdejava/koala/kdejava/KDEJavaSlot.cpp b/kdejava/koala/kdejava/KDEJavaSlot.cpp deleted file mode 100644 index 778d6b85..00000000 --- a/kdejava/koala/kdejava/KDEJavaSlot.cpp +++ /dev/null @@ -1,1869 +0,0 @@ -/*************************************************************************** - KDEJavaSlot.cpp - description - ------------------- - copyright : (C) 2000-2001 by Richard Dale - email : Richard_Dale@tipitina.demon.co.uk - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#include "KDEJavaSlot.moc" -#include -#include - -/* - Converts a Java type signature, from a signal or slot, to the corresponding C++ KDE type. - Used to connect a Java slot to a signal emitted by the underlying C++ KDE instance. - Note that all Java slots and signals are of type jobjectArray, and so no conversion is needed for them. -*/ -static const char * const javaToQtTypeSignatureMap[][2] = { - {"(int)", "(int)"}, - {"(Node)", "(const DOM::Node&)"}, - {"(Node,long)", "(const DOM::Node&,long)"}, - {"(KBookmark,TQPopupMenu)", "(const KBookmark&,TQPopupMenu*)"}, - {"(KDataToolInfo,String)", "(const KDataToolInfo&,const TQString&)"}, - {"(KFileItem)", "(const KFileItem*)"}, - {"(KFileItem,TQPixmap)", "(const KFileItem*,const TQPixmap&)"}, - {"(KFileItem,TQPoint)", "(const KFileItem*,const TQPoint&)"}, - {"(KFileItemList)", "(const KFileItemList&)"}, - {"(KFileItem,TQDropEvent,ArrayList)", "(const KFileItem*,TQDropEvent*,const KURL::List&)"}, - {"(TDEShortcut)", "(const TDEShortcut&)"}, - {"(KURL)", "(const KURL&)"}, - {"(KURL,KURL)", "(const KURL&,const KURL&)"}, - {"(KURL,TQPixmap)", "(const KURL&,const TQPixmap&)"}, - {"(KURL,String)", "(const KURL&,const TQString&)"}, - {"(KURL,URLArgs)", "(const KURL&,const KParts::URLArgs&)"}, - {"(ArrayList)", "(const KURL::List&)"}, - {"(TQPoint,ArrayList)", "(const TQPoint&,const KFileItemList&)"}, - {"(TQPoint,KURL,String)", "(const TQPoint&,const KURL&,const TQString&)"}, - {"(TQPoint,KURL,String,int)", "(const TQPoint&,const KURL&,const TQString&,mode_t)"}, - {"(TDEAction)", "(TDEAction*)"}, - {"(TDEAction,boolean)", "(TDEAction*,bool)"}, - {"(int)", "(TDECompletionBase::KeyBindingType)"}, - {"(KDockWidget)", "(KDockWidget*)"}, - {"(KDockWidget,KDockWidget)", "(KDockWidget*,KDockWidget*)"}, - {"(KDockWidget,int)", "(KDockWidget*,KDockWidget::DockPosition)"}, - {"(int)", "(KDualColorButton::DualColor)"}, - {"(KFileItem)", "(KFileItem*)"}, - {"(KFileTreeViewItem)", "(KFileTreeViewItem*)"}, - {"(KFileTreeViewItem,int)", "(KFileTreeViewItem*,int)"}, - {"(KFileTreeView,TQDropEvent,TQListViewItem)", "(KFileTreeView*,TQDropEvent*,TQListViewItem*)"}, - {"(KFileTreeView,TQDropEvent,TQListViewItem,TQListViewItem)", "(KFileTreeView*,TQDropEvent*,TQListViewItem*,TQListViewItem*)"}, - {"(KFileView)", "(KFileView*)"}, - {"(int)", "(TDEGlobalSettings::Completion)"}, - {"(Job)", "(TDEIO::Job*)"}, - {"(Job,KURL)", "(TDEIO::Job*,const KURL&)"}, - {"Job,KURL,KURL)", "(TDEIO::Job*,const KURL&,const KURL&)"}, - {"Job,KURL,KURL,boolean,boolean)", "(TDEIO::Job*,const KURL&,const KURL&,bool,bool)"}, - {"Job,KURL,String,KURL)", "(TDEIO::Job*,const KURL&,const TQString&,const KURL&)"}, - {"Job,byte[])", "(TDEIO::Job*,const TQByteArray&)"}, - {"Job,String)", "(TDEIO::Job*,const TQString&)"}, - {"Job,String,KURL)", "(TDEIO::Job*,const TQString&,const KURL&)"}, - {"Job,long)", "(TDEIO::Job*,TDEIO::filesize_t)"}, - {"Job,ByteArrayOutputStream)", "(TDEIO::Job*,TQByteArray&)"}, - {"Job,long)", "(TDEIO::Job*,unsigned long)"}, - {"(Slave)", "(TDEIO::Slave*)"}, - {"(SkipDlg,int)", "(TDEIO::SkipDlg*,int)"}, - {"(Slave,int,String)", "(TDEIO::Slave*,int,const TQString&)"}, - {"(TDEListView,TQDropEvent,TQListViewItem)", "(TDEListView*,TQDropEvent*,TQListViewItem*)"}, - {"(TDEListView,TQDropEvent,TQListViewItem,TQListViewItem)", "(TDEListView*,TQDropEvent*,TQListViewItem*,TQListViewItem*)"}, - {"(TDEListView,TQListViewItem)", "(TDEListView*,TQListViewItem*)"}, - {"(TDEListView,TQListViewItem,TQPoint)", "(TDEListView*,TQListViewItem*,const TQPoint&)"}, - {"(KMdiChildFrm)", "(KMdiChildFrm*)"}, - {"(KMdiChildFrm,KMdiChildFrm)", "(KMdiChildFrm*,KMdiChildFrm*)"}, - {"(KMdiChildView)", "(KMdiChildView*)"}, - {"(KMdiChildView,boolean)", "(KMdiChildView*,bool)"}, - {"(int)", "(KMdi::MdiMode)"}, - {"(Part)", "(KParts::Part*)"}, - {"(TDEPopupMenu,Calendar)", "(TDEPopupMenu*,const TQDate&)"}, - {"(TDEPopupMenu,int,TQPopupMenu)", "(TDEPopupMenu*,int,TQPopupMenu*)"}, - {"(TDEProcess)", "(TDEProcess*)"}, - {"(TDEProcess,String,int)", "(TDEProcess*,char*,int)"}, - {"(KProcIO)", "(KProcIO*)"}, - {"(KSpell)", "(KSpell*)"}, - {"(int)", "(TDEToolBar::BarPosition)"}, - {"(ArrayList,KURL)", "(KURL::List&,KURL&)"}, - {"(KURLRequester)", "(KURLRequester*)"}, - {"(KXMLGUIClient)", "(KXMLGUIClient*)"}, - {"(KXMLGUIClient,TQPoint,KFileItemList)", "(KXMLGUIClient*,const TQPoint&,const KFileItemList&)"}, - {"(KXMLGUIClient,TQPoint,KURL,String)", "(KXMLGUIClient*,const TQPoint&,const KURL&,const TQString&)"}, - {"(KXMLGUIClient,TQPoint,KURL,String,int)", "(KXMLGUIClient*,const TQPoint&,const KURL&,const TQString&,mode_t)"}, - {"(int,String,String,boolean)", "(pid_t,const TQCString&,const TQString&,bool)"}, - {"(TQDropEvent,ArrayList,KURL)", "(TQDropEvent*,const KURL::List&,const KURL&)"}, - {"(TQDropEvent,KFileItem)", "(TQDropEvent*,KFileItem*)"}, - {"(TQWidget,TQDropEvent,ArrayList)", "(TQWidget*,TQDropEvent*,KURL::List&)"}, - {"(TQWidget,TQDropEvent,ArrayList,KURL)", "(TQWidget*,TQDropEvent*,KURL::List&,KURL&)"} -}; - -KDEJavaSlot::KDEJavaSlot(JNIEnv * env, jobject receiver, jstring slot) - : JavaSlot(env, receiver, slot) -{ -} - -KDEJavaSlot::~KDEJavaSlot() -{ -} - - -const char * -KDEJavaSlot::javaToQtSignalType(const char * signalName, const char * javaTypeSignature, TQMetaObject * smeta) -{ -static char qtSignalString[200]; - - for ( unsigned int index = 0; - index < sizeof(javaToQtTypeSignatureMap)/sizeof(*javaToQtTypeSignatureMap); - index++ ) - { - if (strcmp(javaTypeSignature, javaToQtTypeSignatureMap[index][0]) == 0) { - (void) sprintf(qtSignalString, "%s%s", signalName, javaToQtTypeSignatureMap[index][1]); - - if (smeta == 0 || smeta->findSignal(((const char *) qtSignalString + 1), TRUE) >= 0) { - return qtSignalString; - } - } - } - - return JavaSlot::javaToQtSignalType(signalName, javaTypeSignature, smeta); -} - -const char * -KDEJavaSlot::javaToQtSlotType(const char * javaTypeSignature, const char * signalString) -{ - for ( unsigned int index = 0; - index < sizeof(javaToQtTypeSignatureMap)/sizeof(*javaToQtTypeSignatureMap); - index++ ) - { - if ( strcmp(javaTypeSignature, javaToQtTypeSignatureMap[index][0]) == 0 - && ( signalString == 0 - || TQObject::checkConnectArgs(signalString, (const TQObject *) 0, javaToQtTypeSignatureMap[index][1]) ) ) - { - return javaToQtTypeSignatureMap[index][1]; - } - } - - return JavaSlot::javaToQtSlotType(javaTypeSignature, signalString); -} - -void -KDEJavaSlot::invoke(const DOM::Node& arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.DOMNode") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const DOM::Node& arg1,long arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;J)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.DOMNode"), (jlong) arg2 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KBookmark& arg1,TQPopupMenu* arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KBookmark"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQPopupMenu") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KDataToolInfo& arg1,const TQString& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KDataToolInfo"), - QtSupport::fromTQString(env, (TQString *) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KFileItem* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KFileItem* arg1,const TQPixmap& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileItem"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPixmap") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KFileItem* arg1,const TQPoint& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileItem"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KFileItem* arg1,TQDropEvent* arg2,const KURL::List& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileItem"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - KDESupport::arrayWithKURLList(env, (KURL::List *) &arg3) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KFileItemList& arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &arg1) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const TDEShortcut& arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.TDEShortcut") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL& arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL& arg1,const KURL& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KURL"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL& arg1,const TQPixmap& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KURL"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPixmap") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL& arg1,const TQString& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KURL"), - QtSupport::fromTQString(env, (TQString *) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL&arg1, const KParts::URLArgs& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.koala.KURL"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.URLArgs") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const KURL::List& arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, KDESupport::arrayWithKURLList(env, (KURL::List *) &arg1)); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const TQPoint& arg1,const KFileItemList& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQPoint"), - KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const TQPoint& arg1,const KURL& arg2,const TQString& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQPoint"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL"), - QtSupport::fromTQString(env, (TQString*) &arg3) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(const TQPoint& arg1,const KURL& arg2,const TQString& arg3,mode_t arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) &arg1, "org.kde.qt.TQPoint"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL"), - QtSupport::fromTQString(env, (TQString*) &arg3), - (jint) arg4 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEAction* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEAction")); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEAction* arg1,bool arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Z)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEAction"), (jboolean) arg2); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDECompletionBase::KeyBindingType arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, (jint) arg1); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KDockWidget* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KDockWidget")); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KDockWidget*arg1,KDockWidget*arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KDockWidget"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.koala.KDockWidget") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KDockWidget*arg1,KDockWidget::DockPosition arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KDockWidget"), (jint) arg2); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KDualColorButton::DualColor arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, (jint) arg1); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileItem* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileTreeView* arg1,TQDropEvent* arg2,TQListViewItem* arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileTreeView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileTreeView* arg1,TQDropEvent* arg2,TQListViewItem* arg3,TQListViewItem* arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileTreeView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem"), - QtSupport::objectForQtKey(env, (void *) arg4, "org.kde.qt.TQListViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileTreeViewItem* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileTreeViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileTreeViewItem* arg1,int arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileTreeViewItem"), - (jint) arg2 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KFileView* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KFileView") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEGlobalSettings::Completion arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, (jint) arg1); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const KURL& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const KURL& arg2,const KURL& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const KURL& arg2,const KURL& arg3,bool arg4,bool arg5) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.koala.KURL"), - (jboolean) arg4, - (jboolean) arg5 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const KURL& arg2,const TQString& arg3,const KURL& arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL"), - QtSupport::fromTQString(env, (TQString *) &arg3), - QtSupport::objectForQtKey(env, (void *) &arg4, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const TQByteArray& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;[B)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::fromTQByteArray(env, (TQByteArray*) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const TQString& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::fromTQString(env, (TQString *) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,const TQString& arg2,const KURL& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - QtSupport::fromTQString(env, (TQString *) &arg2), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,TDEIO::filesize_t arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;J)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - (jlong) arg2 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,TQByteArray& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jclass byteStreamClass; - jmethodID resetMid; - jobject result; - jobject byteStream; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - - byteStream = QtSupport::objectForQtKey(env, (void *) &arg2, "java.io.ByteArrayOutputStream"); - - byteStreamClass = env->GetObjectClass(byteStream); - resetMid = env->GetMethodID(byteStreamClass, "reset", "()V"); - if (resetMid == NULL) { - return ; - } - - env->CallVoidMethod(byteStream, resetMid); - - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - byteStream ); - (void) KDESupport::toTQByteArrayFromStream(env, &arg2, byteStream); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Job* arg1,unsigned long arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;J)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Job"), - (jlong) arg2 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::SkipDlg* arg1,int arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.SkipDlg"), - (jint) arg2 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Slave* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Slave") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEIO::Slave* arg1,int arg2,const TQString& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;ILjava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Slave"), - (jint) arg2, - QtSupport::fromTQString(env, (TQString *) &arg3) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3,TQListViewItem*arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.qt.TQListViewItem"), - QtSupport::objectForQtKey(env, (void *) arg4, "org.kde.qt.TQListViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEListView*arg1,TQListViewItem*arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQListViewItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEListView*arg1,TQListViewItem*arg2,const TQPoint&arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEListView"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQListViewItem"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.TQPoint") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KMdiChildFrm* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KMdiChildFrm")); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KMdiChildFrm* arg1,KMdiChildFrm* arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KMdiChildFrm"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.koala.KMdiChildFrm") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KMdiChildView* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KMdiChildView")); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KMdiChildView* arg1,bool arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Z)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KMdiChildView"), (jboolean) arg2); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KMdi::MdiMode arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, (jint) arg1); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KParts::Part* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.Part") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEPopupMenu* arg1,const TQDate& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEPopupMenu"), - QtSupport::fromTQDate(env, (TQDate*) &arg2) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEPopupMenu* arg1,int arg2,TQPopupMenu* arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;ILjava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEPopupMenu"), - (jint) arg2, - QtSupport::objectForQtKey(env, (void *) arg3, "org.kde.koala.TQPopupMenu") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEProcess* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEProcess") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEProcess* arg1,char* arg2, int arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.TDEProcess"), - QtSupport::fromCharString(env, arg2), - (jint) arg3 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KProcIO* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KProcIO") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KSpell* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KSpell") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TDEToolBar::BarPosition arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod(invocation, mid, (jint) arg1); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KURL::List& arg1,KURL& arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - KDESupport::arrayWithKURLList(env, (KURL::List *) &arg1), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KURLRequester* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KURLRequester") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KXMLGUIClient* arg1) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KXMLGUIClient") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KFileItemList& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KXMLGUIClient"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint"), - KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &arg3) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const TQString& arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KXMLGUIClient"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.KURL"), - QtSupport::fromTQString(env, (TQString*)&arg4) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const TQString& arg4,mode_t arg5) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;I)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.koala.KXMLGUIClient"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.qt.TQPoint"), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.qt.KURL"), - QtSupport::fromTQString(env, (TQString*)&arg4), - (jint) arg5 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(pid_t arg1,const TQCString& arg2,const TQString& arg3,bool arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(ILjava/lang/Object;Ljava/lang/Object;Z)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - (jint) arg1, - QtSupport::fromTQCString(env, (TQCString *) &arg2), - QtSupport::fromTQString(env, (TQString *) &arg3), - (jboolean) arg4 ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TQDropEvent* arg1,const KURL::List& arg2,const KURL& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQDropEvent"), - KDESupport::arrayWithKURLList(env, (KURL::List *) &arg2), - QtSupport::objectForQtKey(env, (void *) &arg3, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TQDropEvent* arg1,KFileItem* arg2) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQDropEvent"), - QtSupport::objectForQtKey(env, (void *) &arg2, "org.kde.koala.KFileItem") ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TQWidget* arg1,TQDropEvent* arg2,KURL::List& arg3) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQWidget"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - KDESupport::arrayWithKURLList(env, (KURL::List *) &arg3) ); - env->PopLocalFrame(0); -} - -void -KDEJavaSlot::invoke(TQWidget* arg1,TQDropEvent* arg2,KURL::List& arg3,KURL& arg4) -{ - JNIEnv * env; - jclass cls; - jmethodID mid; - jobject result; - - env = QtSupport::GetEnv(); - env->PushLocalFrame(10); - - cls = env->GetObjectClass(invocation); - mid = env->GetMethodID(cls, "invoke", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); - if (mid == NULL) { - return; - } - result = env->CallObjectMethod( invocation, - mid, - QtSupport::objectForQtKey(env, (void *) arg1, "org.kde.qt.TQWidget"), - QtSupport::objectForQtKey(env, (void *) arg2, "org.kde.qt.TQDropEvent"), - KDESupport::arrayWithKURLList(env, (KURL::List *) &arg3), - QtSupport::objectForQtKey(env, (void *) &arg4, "org.kde.koala.KURL") ); - env->PopLocalFrame(0); -} - -KDEJavaSlotFactory::KDEJavaSlotFactory() - : JavaSlotFactory() -{ -} - -JavaSlot * -KDEJavaSlotFactory::createJavaSlot(JNIEnv * env, jobject receiver, jstring slot) -{ - return new KDEJavaSlot(env, receiver, slot); -} - - diff --git a/kdejava/koala/kdejava/KDEJavaSlot.h b/kdejava/koala/kdejava/KDEJavaSlot.h deleted file mode 100644 index d7565c9b..00000000 --- a/kdejava/koala/kdejava/KDEJavaSlot.h +++ /dev/null @@ -1,152 +0,0 @@ -/*************************************************************************** - KDEJavaSlot.h - description - ------------------- - begin : Tue Oct 31 2000 - copyright : (C) 2000-2001 by Richard Dale - email : Richard_Dale@tipitina.demon.co.uk - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#ifndef _KDEJAVASLOT_H_ -#define _KDEJAVASLOT_H_ - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -class KDEJavaSlotFactory; - -class KDEJavaSlot: public JavaSlot -{ - Q_OBJECT -public: - KDEJavaSlot(JNIEnv * env, jobject receiver, jstring slot); - virtual ~KDEJavaSlot(); - - /** Converts a Java type signature for a signal to the corresponding C++ Qt type signature */ - virtual const char * javaToQtSignalType(const char * signalName, const char * javaTypeSignature, TQMetaObject * smeta); - - /** Converts a Java type signature for a slot to the corresponding C++ Qt type signature */ - virtual const char * javaToQtSlotType(const char * javaTypeSignature, const char * signalString); - -public slots: - void invoke(const DOM::Node& arg1); - void invoke(const DOM::Node& arg1,long arg2); - void invoke(const KBookmark& arg1,TQPopupMenu* arg2); - void invoke(const KDataToolInfo& arg1,const TQString& arg2); - void invoke(const KFileItem* arg1); - void invoke(const KFileItem* arg1,const TQPixmap&); - void invoke(const KFileItem* arg1,const TQPoint&); - void invoke(const KFileItemList& arg1); - void invoke(const KFileItem* arg1,TQDropEvent* arg2,const KURL::List& arg3); - void invoke(const TDEShortcut& arg1); - void invoke(const KURL& arg1); - void invoke(const KURL& arg1,const KURL& arg2); - void invoke(const KURL& arg1,const TQPixmap& arg2); - void invoke(const KURL& arg1,const TQString& arg2); - void invoke(const KURL& arg1, const KParts::URLArgs &arg2); - void invoke(const KURL::List& arg1); - void invoke(const TQPoint& arg1,const KFileItemList& arg2); - void invoke(const TQPoint& arg1,const KURL& arg2,const TQString& arg3); - void invoke(const TQPoint& arg1,const KURL& arg2,const TQString& arg3,mode_t arg4); - void invoke(TDEAction* arg1); - void invoke(TDEAction* arg1,bool arg2); - void invoke(TDECompletionBase::KeyBindingType arg1); - void invoke(KDockWidget* arg1); - void invoke(KDockWidget*arg1,KDockWidget*arg2); - void invoke(KDockWidget*arg1,KDockWidget::DockPosition arg2); - void invoke(KDualColorButton::DualColor arg1); - void invoke(KFileItem* arg1); - void invoke(KFileTreeViewItem* arg1); - void invoke(KFileTreeViewItem* arg1,int arg2); - void invoke(KFileTreeView* arg1,TQDropEvent* arg2,TQListViewItem* arg3); - void invoke(KFileTreeView* arg1,TQDropEvent* arg2,TQListViewItem* arg3,TQListViewItem* arg4); - void invoke(KFileView* arg1); - void invoke(TDEGlobalSettings::Completion arg1); - void invoke(TDEIO::Job* arg1); - void invoke(TDEIO::Job* arg1,const KURL& arg2); - void invoke(TDEIO::Job* arg1,const KURL& arg2,const KURL& arg3); - void invoke(TDEIO::Job* arg1,const KURL& arg2,const KURL& arg3,bool arg4,bool arg5); - void invoke(TDEIO::Job* arg1,const KURL& arg2,const TQString& arg3,const KURL& arg4); - void invoke(TDEIO::Job* arg1,const TQByteArray& arg2); - void invoke(TDEIO::Job* arg1,const TQString& arg2); - void invoke(TDEIO::Job* arg1,const TQString& arg2,const KURL& arg3); - void invoke(TDEIO::Job* arg1,TDEIO::filesize_t arg2); - void invoke(TDEIO::Job* arg1,TQByteArray& arg2); - void invoke(TDEIO::Job* arg1,unsigned long arg2); - void invoke(TDEIO::Slave* arg1); - void invoke(TDEIO::SkipDlg* arg1,int arg2); - void invoke(TDEIO::Slave*,int arg2,const TQString& arg3); - void invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3); - void invoke(TDEListView*arg1,TQDropEvent*arg2,TQListViewItem*arg3,TQListViewItem*arg4); - void invoke(TDEListView*arg1,TQListViewItem*arg2); - void invoke(TDEListView*arg1,TQListViewItem*arg2,const TQPoint&arg3); - void invoke(KMdiChildFrm* arg1); - void invoke(KMdiChildFrm* arg1,KMdiChildFrm* arg2); - void invoke(KMdiChildView* arg1); - void invoke(KMdiChildView* arg1,bool arg2); - void invoke(KMdi::MdiMode arg1); - void invoke(KParts::Part* arg1); - void invoke(TDEPopupMenu* arg1,const TQDate& arg2); - void invoke(TDEPopupMenu* arg1,int arg2,TQPopupMenu* arg3); - void invoke(TDEProcess* arg1); - void invoke(TDEProcess* arg1,char* arg2, int arg3); - void invoke(KProcIO* arg1); - void invoke(KSpell* arg1); - void invoke(TDEToolBar::BarPosition arg1); - void invoke(KURL::List& arg1,KURL& arg2); - void invoke(KURLRequester* arg1); - void invoke(KXMLGUIClient* arg1); - void invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KFileItemList& arg3); - void invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const TQString& arg4); - void invoke(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const TQString& arg4,mode_t arg5); - void invoke(pid_t arg1,const TQCString& arg2,const TQString& arg3,bool arg4); - void invoke(TQDropEvent* arg1,const KURL::List& arg2,const KURL& arg3); - void invoke(TQDropEvent* arg1,KFileItem* arg2); - void invoke(TQWidget* arg1,TQDropEvent* arg2,KURL::List& arg3); - void invoke(TQWidget* arg1,TQDropEvent* arg2,KURL::List& arg3,KURL&); -}; - -class KDEJavaSlotFactory : public JavaSlotFactory { -public: - KDEJavaSlotFactory(); - virtual ~KDEJavaSlotFactory() {}; - virtual JavaSlot * createJavaSlot(JNIEnv * env, jobject receiver, jstring slot); -}; - -#endif - - - - diff --git a/kdejava/koala/kdejava/KDESupport.cpp b/kdejava/koala/kdejava/KDESupport.cpp deleted file mode 100644 index ea0f9649..00000000 --- a/kdejava/koala/kdejava/KDESupport.cpp +++ /dev/null @@ -1,531 +0,0 @@ -/*************************************************************************** - tdesupport.cpp - description - ------------------- - copyright : (C) 2001 by Richard Dale - email : Lost_Highway@tipitina.demon.co.uk - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#include - -#include -#include - - -DOM::DOMString * -KDESupport::toDOMString(JNIEnv * env, jstring str, DOM::DOMString ** domstring) -{ - const jchar * _jchar_str; - - if (str == 0L) { - return 0; - } - - if (*domstring != 0L) { - delete *domstring; - } - - _jchar_str = env->GetStringChars(str, 0); - - if (QtSupport::bigEndianUnicode()) { - *domstring = new DOM::DOMString((TQChar *) _jchar_str, env->GetStringLength(str)); - } else { -static TQString * temp = 0L; - - if (temp == 0L) { - temp = new TQString(); - } - - // Hack to change the big endian unicode in 'str' to little endian in 'temp'. - temp->setUnicodeCodes((const ushort *) _jchar_str, (long) env->GetStringLength(str)); - *domstring = new DOM::DOMString(*temp); - } - - env->ReleaseStringChars(str, _jchar_str); - return *domstring; -} - -jstring -KDESupport::fromDOMString(JNIEnv * env, DOM::DOMString * domstring) -{ - if (QtSupport::bigEndianUnicode()) { - return env->NewString((const jchar *) domstring->unicode(), (long) domstring->length()); - } else { -static TQString * temp = 0L; - - if (temp == 0L) { - temp = new TQString(); - } - - // Hack to change the big endian unicode in 'qstring' to little endian in 'temp'. - temp->setUnicodeCodes((const ushort *) domstring->unicode(), (long) domstring->length()); - return env->NewString((const jchar *) temp->unicode(), (long) temp->length()); - } -} - -KURL::List * -KDESupport::toKURLList(JNIEnv * env, jobjectArray urlList, KURL::List ** kurlList) -{ - int length; - int index; - jobject url; - - if (urlList == NULL) { - return NULL; - } - - if (*kurlList == NULL) { - *kurlList = new KURL::List(); - } - - length = env->GetArrayLength(urlList); - (*kurlList)->clear(); - - for (index = 0; index < length; index++) { - url = (jobject) env->GetObjectArrayElement(urlList, index); - (*kurlList)->append((KURL &) * (KURL *) QtSupport::getQt(env, url)); - } - - return *kurlList; -} - -KFileItemList * -KDESupport::toKFileItemList(JNIEnv * env, jobjectArray itemList, KFileItemList ** kitemList) -{ - int length; - int index; - jobject fileItem; - - if (itemList == NULL) { - return NULL; - } - - if (*kitemList == NULL) { - *kitemList = new KFileItemList(); - } - - length = env->GetArrayLength(itemList); - (*kitemList)->clear(); - - for (index = 0; index < length; index++) { - fileItem = (jobject) env->GetObjectArrayElement(itemList, index); - (*kitemList)->append((const KFileItem *) QtSupport::getQt(env, fileItem)); - } - - return *kitemList; -} - -TDECmdLineOptions * -KDESupport::toTDECmdLineOptions(JNIEnv * env, jobjectArray optionsArray) -{ - jstring jstr; - const char * str; - int length; - int index; - jobjectArray optionEntry; - TDECmdLineOptions * cmdLineOptions; - - length = env->GetArrayLength(optionsArray); - // Allocate 'length + 1' entries, to include an all NULLs last entry - cmdLineOptions = (TDECmdLineOptions *) calloc(length + 1, sizeof(struct TDECmdLineOptions)); - - for (index = 0; index < length; index++) { - optionEntry = (jobjectArray) env->GetObjectArrayElement(optionsArray, index); - - jstr = (jstring) env->GetObjectArrayElement(optionEntry, 0); - if (jstr == 0) { - cmdLineOptions[index].name = 0; - } else { - str = env->GetStringUTFChars(jstr, NULL); - cmdLineOptions[index].name = strdup(str); - env->ReleaseStringUTFChars(jstr, str); - } - - jstr = (jstring) env->GetObjectArrayElement(optionEntry, 1); - if (jstr == 0) { - cmdLineOptions[index].description = 0; - } else { - str = env->GetStringUTFChars(jstr, NULL); - cmdLineOptions[index].description = strdup(str); - env->ReleaseStringUTFChars(jstr, str); - } - - jstr = (jstring) env->GetObjectArrayElement(optionEntry, 2); - if (jstr == 0) { - cmdLineOptions[index].def = 0; - } else { - str = env->GetStringUTFChars(jstr, NULL); - cmdLineOptions[index].def = strdup(str); - env->ReleaseStringUTFChars(jstr, str); - } - } - - // An entry with three null values terminates the array - cmdLineOptions[length].name = 0; - cmdLineOptions[length].description = 0; - cmdLineOptions[length].def = 0; - - return cmdLineOptions; -} - -TQByteArray * -KDESupport::toTQByteArrayFromStream(JNIEnv * env, TQByteArray * qbyteArray, jobject byteStream) -{ - jclass cls; - jmethodID toByteArrayMid; - jbyteArray byteArray; - - if (byteStream == 0) { - return 0; - } - - cls = env->GetObjectClass(byteStream); - toByteArrayMid = env->GetMethodID(cls, "toByteArray", "()[B"); - if (toByteArrayMid == NULL) { - return NULL; - } - - byteArray = (jbyteArray) env->CallObjectMethod(byteStream, toByteArrayMid); - return QtSupport::toTQByteArray(env, byteArray, &qbyteArray); -} - -jobject -KDESupport::arrayWithQCStringList(JNIEnv * env, QCStringList * qcstringList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, qcstringList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - QCStringList::Iterator it; - - for (it = qcstringList->begin(); it != qcstringList->end(); ++it) { - TQCString currentTQCString = (TQCString) *it; - - if (! env->CallBooleanMethod( objectArray, - addMid, - env->NewStringUTF(currentTQCString.data()) ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithOfferList(JNIEnv * env, TDETrader::OfferList * offerList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, offerList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - TDETrader::OfferList::Iterator it; - - for (it = offerList->begin(); it != offerList->end(); ++it) { - KService::Ptr ptr = *it; - // Increment the reference count to prevent C++ garbage collection. - // The contents of the offerList should be deref'd when it's finalized, - // so ArrayList should really be sub-classed, and finalize() overriden. - ptr->_TDEShared_ref(); - KService * currentOffer = ptr; - - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, currentOffer, "org.kde.koala.KService") ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithTDEMainWindowList(JNIEnv * env, TQPtrList* memberList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, memberList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - for (unsigned int index = 0; index < memberList->count(); index++) { - TDEMainWindow * currentWindow = (TDEMainWindow *) (memberList->at(index)); - - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, currentWindow, "org.kde.koala.TDEMainWindow") ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithKFileItemList(JNIEnv * env, KFileItemList* itemList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, itemList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - for (unsigned int index = 0; index < itemList->count(); index++) { - KFileItem * currentItem = (KFileItem *) (itemList->at(index)); - - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, currentItem, "org.kde.koala.KFileItem") ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithKURLList(JNIEnv * env, KURL::List * kurlList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, kurlList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - KURL::List::Iterator it; - - for (it = kurlList->begin(); it != kurlList->end(); ++it) { - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, (void *) &it, "org.kde.koala.KURL") ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithNodeList(JNIEnv * env, DOM::NodeList * nodeList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, nodeList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - for (unsigned int index = 0; index < nodeList->length(); index++) { - DOM::Node currentItem = (DOM::Node) (nodeList->item(index)); - - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, new DOM::Node(currentItem), "org.kde.koala.DOMNode") ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -jobject -KDESupport::arrayWithStyleSheetList(JNIEnv * env, DOM::StyleSheetList * styleSheetList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, styleSheetList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - for (unsigned int index = 0; index < styleSheetList->length(); index++) { - DOM::StyleSheet currentItem = (DOM::StyleSheet) (styleSheetList->item(index)); - - if (! env->CallBooleanMethod( objectArray, - addMid, - QtSupport::objectForQtKey(env, new DOM::StyleSheet(currentItem), "org.kde.koala.DOMNode") ) ) - { - return NULL; - } - } - - return (jobject) objectArray;} - - -jobject -KDESupport::arrayWithMediaList(JNIEnv * env, DOM::MediaList * mediaList) -{ - jobject objectArray; - jclass cls; - jmethodID clearMid; - jmethodID addMid; - - objectArray = (jobject) QtSupport::objectForQtKey(env, mediaList, "java.util.ArrayList"); - - cls = env->GetObjectClass(objectArray); - clearMid = env->GetMethodID(cls, "clear", "()V"); - if (clearMid == NULL) { - return NULL; - } - - env->CallVoidMethod(objectArray, clearMid); - - addMid = env->GetMethodID(cls, "add", "(Ljava/lang/Object;)Z"); - if (addMid == NULL) { - return NULL; - } - - for (unsigned int index = 0; index < mediaList->length(); index++) { - DOM::DOMString currentItem = (DOM::DOMString) (mediaList->item(index)); - - if (! env->CallBooleanMethod( objectArray, - addMid, - env->NewString((const jchar *) currentItem.unicode(), (long) currentItem.length()) ) ) - { - return NULL; - } - } - - return (jobject) objectArray; -} - -QCStringList * -KDESupport::toQCStringList(JNIEnv * env, jobjectArray stringList, QCStringList ** qstringList) -{ - int length; - int index; - jstring jstr; - static TQCString * _qstring_temp = 0; - - if (*qstringList == 0) { - *qstringList = new QCStringList(); - } - - (*qstringList)->clear(); - - if (stringList == 0) { - return *qstringList; - } - - length = env->GetArrayLength(stringList); - for (index = 0; index < length; index++) { - jstr = (jstring) env->GetObjectArrayElement(stringList, index); - (*qstringList)->append((TQCString &) * (TQCString *) QtSupport::toTQCString(env, jstr, &_qstring_temp)); - env->DeleteLocalRef(jstr); - } - - return *qstringList; -} diff --git a/kdejava/koala/kdejava/KDESupport.h b/kdejava/koala/kdejava/KDESupport.h deleted file mode 100644 index d4883779..00000000 --- a/kdejava/koala/kdejava/KDESupport.h +++ /dev/null @@ -1,74 +0,0 @@ -/*************************************************************************** - tdesupport.h - description - ------------------- - begin : Mon Feb 5 2001 - copyright : (C) 2001 by Richard Dale - email : Lost_Highway@tipitina.demon.co.uk - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#ifndef TDESUPPORT_H -#define TDESUPPORT_H - -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -/** A class with various static utility methods to help run the C++ side - of the KDE Java library. - - @author Richard Dale */ - -class KDESupport { -public: - KDESupport() {}; - ~KDESupport() {}; - - /** Convert from Java String to DOM::DOMString */ - static DOM::DOMString * toDOMString(JNIEnv * env, jstring str, DOM::DOMString ** domstring); - static jstring fromDOMString(JNIEnv * env, DOM::DOMString * domstring); - - /** Convert from a Java ArrayList to a KURL::List */ - static KURL::List * toKURLList(JNIEnv * env, jobjectArray urlList, KURL::List ** kurlList); - /** Convert from a Java ArrayList to a KFileItemList */ - static KFileItemList * toKFileItemList(JNIEnv * env, jobjectArray itemList, KFileItemList ** kitemList); - - /** Converts java options entries to the C++ TDECmdLineOption equivalent */ - static TDECmdLineOptions * toTDECmdLineOptions(JNIEnv * env, jobjectArray optionsArray); - - /** Converts a java.io.ByteArrayOutputStream to a TQByteArray */ - static TQByteArray * toTQByteArrayFromStream(JNIEnv * env, TQByteArray * byteArray, jobject byteStream); - - /** Returns a Java ArrayList for the various types of KDE List */ - static jobject arrayWithQCStringList(JNIEnv * env, QCStringList * qcstringList); - static jobject arrayWithOfferList(JNIEnv * env, TDETrader::OfferList * offerList); - static jobject arrayWithTDEMainWindowList(JNIEnv * env, TQPtrList* memberList); - static jobject arrayWithKFileItemList(JNIEnv * env, KFileItemList * itemList); - static jobject arrayWithKURLList(JNIEnv * env, KURL::List * kurlList); - static jobject arrayWithNodeList(JNIEnv * env, DOM::NodeList * nodeList); - static jobject arrayWithStyleSheetList(JNIEnv * env, DOM::StyleSheetList * styleSheetList); - static jobject arrayWithMediaList(JNIEnv * env, DOM::MediaList * mediaList); - - /** Convert from ArrayList to QCStringList */ - static QCStringList * toQCStringList(JNIEnv * env, jobjectArray stringList, QCStringList ** qstringList); - -}; - -#endif diff --git a/kdejava/koala/kdejava/KDataTool.cpp b/kdejava/koala/kdejava/KDataTool.cpp deleted file mode 100644 index a8377bfb..00000000 --- a/kdejava/koala/kdejava/KDataTool.cpp +++ /dev/null @@ -1,37 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDataTool_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDataTool*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataTool_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataTool*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataTool_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataTool*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataTool_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KDataTool*) QtSupport::getQt(env, obj))->setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - diff --git a/kdejava/koala/kdejava/KDataTool.h b/kdejava/koala/kdejava/KDataTool.h deleted file mode 100644 index f69dd570..00000000 --- a/kdejava/koala/kdejava/KDataTool.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDataTool__ -#define __org_kde_koala_KDataTool__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataTool_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDataTool_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataTool_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataTool_instance (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDataTool__ */ diff --git a/kdejava/koala/kdejava/KDataToolAction.cpp b/kdejava/koala/kdejava/KDataToolAction.cpp deleted file mode 100644 index 8128b5bd..00000000 --- a/kdejava/koala/kdejava/KDataToolAction.cpp +++ /dev/null @@ -1,185 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KDataToolActionJBridge : public KDataToolAction -{ -public: - KDataToolActionJBridge(const TQString& arg1,const KDataToolInfo& arg2,const TQString& arg3,TQObject* arg4,const char* arg5) : KDataToolAction(arg1,arg2,arg3,arg4,arg5) {}; - KDataToolActionJBridge(const TQString& arg1,const KDataToolInfo& arg2,const TQString& arg3,TQObject* arg4) : KDataToolAction(arg1,arg2,arg3,arg4) {}; - KDataToolActionJBridge(const TQString& arg1,const KDataToolInfo& arg2,const TQString& arg3) : KDataToolAction(arg1,arg2,arg3) {}; - void protected_slotActivated() { - KDataToolAction::slotActivated(); - return; - } - ~KDataToolActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDataToolAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDataToolAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDataToolAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDataToolAction","slotActivated")) { - KDataToolAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDataToolAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDataToolAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDataToolAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDataToolAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDataToolAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDataToolAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDataToolAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataToolAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject info, jstring command) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_command = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDataToolActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KDataToolInfo&)*(const KDataToolInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject info, jstring command, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_command = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDataToolActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KDataToolInfo&)*(const KDataToolInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject info, jstring command, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_command = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDataToolActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KDataToolInfo&)*(const KDataToolInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((KDataToolActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - diff --git a/kdejava/koala/kdejava/KDataToolAction.h b/kdejava/koala/kdejava/KDataToolAction.h deleted file mode 100644 index 1fce3381..00000000 --- a/kdejava/koala/kdejava/KDataToolAction.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDataToolAction__ -#define __org_kde_koala_KDataToolAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDataToolAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_newKDataToolAction__Ljava_lang_String_2Lorg_kde_koala_KDataToolInfo_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDataToolAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDataToolAction__ */ diff --git a/kdejava/koala/kdejava/KDataToolInfo.cpp b/kdejava/koala/kdejava/KDataToolInfo.cpp deleted file mode 100644 index 1768a261..00000000 --- a/kdejava/koala/kdejava/KDataToolInfo.cpp +++ /dev/null @@ -1,144 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KDataToolInfoJBridge : public KDataToolInfo -{ -public: - KDataToolInfoJBridge() : KDataToolInfo() {}; - KDataToolInfoJBridge(const KDataToolInfo& arg1) : KDataToolInfo(arg1) {}; - ~KDataToolInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_commands(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDataToolInfo*) QtSupport::getQt(env, obj))->commands(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_createTool__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataToolInfo*) QtSupport::getQt(env, obj))->createTool(), "org.kde.koala.KDataTool"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_createTool__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataToolInfo*) QtSupport::getQt(env, obj))->createTool((TQObject*) QtSupport::getQt(env, parent)), "org.kde.koala.KDataTool"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_createTool__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataToolInfo*) QtSupport::getQt(env, obj))->createTool((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KDataTool"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDataToolInfo_dataType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDataToolInfo*) QtSupport::getQt(env, obj))->dataType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDataToolInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KDataToolInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDataToolInfo_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDataToolInfo*) QtSupport::getQt(env, obj))->iconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataToolInfo*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDataToolInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDataToolInfo_isReadOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDataToolInfo*) QtSupport::getQt(env, obj))->isReadOnly(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDataToolInfo_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDataToolInfo*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_mimeTypes(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDataToolInfo*) QtSupport::getQt(env, obj))->mimeTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolInfo_newKDataToolInfo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDataToolInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDataToolInfo_newKDataToolInfo__Lorg_kde_koala_KDataToolInfo_2(JNIEnv* env, jobject obj, jobject info) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDataToolInfoJBridge((const KDataToolInfo&)*(const KDataToolInfo*) QtSupport::getQt(env, info))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDataToolInfo_userCommands(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDataToolInfo*) QtSupport::getQt(env, obj))->userCommands(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KDataToolInfo.h b/kdejava/koala/kdejava/KDataToolInfo.h deleted file mode 100644 index 875969ae..00000000 --- a/kdejava/koala/kdejava/KDataToolInfo.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDataToolInfo__ -#define __org_kde_koala_KDataToolInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolInfo_newKDataToolInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolInfo_newKDataToolInfo__Lorg_kde_koala_KDataToolInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDataToolInfo_dataType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_mimeTypes (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDataToolInfo_isReadOnly (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDataToolInfo_iconName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_userCommands (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_commands (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_createTool__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_createTool__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_createTool__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDataToolInfo_instance (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDataToolInfo_isValid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDataToolInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDataToolInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDataToolInfo__ */ diff --git a/kdejava/koala/kdejava/KDatePicker.cpp b/kdejava/koala/kdejava/KDatePicker.cpp deleted file mode 100644 index 06596793..00000000 --- a/kdejava/koala/kdejava/KDatePicker.cpp +++ /dev/null @@ -1,698 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KDatePickerJBridge : public KDatePicker -{ -public: - KDatePickerJBridge(TQWidget* arg1,TQDate arg2,const char* arg3) : KDatePicker(arg1,arg2,arg3) {}; - KDatePickerJBridge(TQWidget* arg1,TQDate arg2) : KDatePicker(arg1,arg2) {}; - KDatePickerJBridge(TQWidget* arg1) : KDatePicker(arg1) {}; - KDatePickerJBridge() : KDatePicker() {}; - KDatePickerJBridge(TQWidget* arg1,TQDate arg2,const char* arg3,TQt::WFlags arg4) : KDatePicker(arg1,arg2,arg3,arg4) {}; - KDatePickerJBridge(TQWidget* arg1,const char* arg2) : KDatePicker(arg1,arg2) {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KDatePicker::eventFilter(arg1,arg2); - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KDatePicker::resizeEvent(arg1); - return; - } - void protected_dateChangedSlot(TQDate arg1) { - KDatePicker::dateChangedSlot(arg1); - return; - } - void protected_tableClickedSlot() { - KDatePicker::tableClickedSlot(); - return; - } - void protected_monthForwardClicked() { - KDatePicker::monthForwardClicked(); - return; - } - void protected_monthBackwardClicked() { - KDatePicker::monthBackwardClicked(); - return; - } - void protected_yearForwardClicked() { - KDatePicker::yearForwardClicked(); - return; - } - void protected_yearBackwardClicked() { - KDatePicker::yearBackwardClicked(); - return; - } - void protected_selectMonthClicked() { - KDatePicker::selectMonthClicked(); - return; - } - void protected_selectYearClicked() { - KDatePicker::selectYearClicked(); - return; - } - void protected_lineEnterPressed() { - KDatePicker::lineEnterPressed(); - return; - } - void protected_todayButtonClicked() { - KDatePicker::todayButtonClicked(); - return; - } - void protected_weekSelected(int arg1) { - KDatePicker::weekSelected(arg1); - return; - } - ~KDatePickerJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KDatePicker::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KDatePicker","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDatePicker","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDatePicker",object,event)) { - return KDatePicker::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDatePicker","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDatePicker_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDatePicker*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_dateChangedSlot(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQDate* _qdate_arg1 = 0; - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_dateChangedSlot((TQDate)*(TQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDatePicker_dateTable(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDatePicker*) QtSupport::getQt(env, obj))->dateTable(), "org.kde.koala.KDateTable"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDatePicker_date(JNIEnv* env, jobject obj) -{ - TQDate _qdate; - _qdate = ((KDatePicker*) QtSupport::getQt(env, obj))->date(); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDatePicker_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDatePicker_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDatePicker*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDatePicker*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDatePicker_fontSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDatePicker*) QtSupport::getQt(env, obj))->fontSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDatePicker_hasCloseButton(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDatePicker*) QtSupport::getQt(env, obj))->hasCloseButton(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDatePicker_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_lineEnterPressed(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_lineEnterPressed(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDatePicker_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDatePicker*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_monthBackwardClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_monthBackwardClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_monthForwardClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_monthForwardClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_newKDatePicker__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDatePickerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDatePickerJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_newKDatePicker__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 KDatePickerJBridge((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_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject parent, jobject arg2) -{ -static TQDate* _qdate_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDatePickerJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, arg2, &_qdate_arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject arg2, jstring name) -{ -static TQDate* _qdate_arg2 = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDatePickerJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, arg2, &_qdate_arg2), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject arg2, jstring name, jint f) -{ -static TQDate* _qdate_arg2 = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDatePickerJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, arg2, &_qdate_arg2), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_selectMonthClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_selectMonthClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_selectYearClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_selectYearClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_setCloseButton(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDatePicker*) QtSupport::getQt(env, obj))->setCloseButton((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDatePicker_setDate(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQDate* _qdate_arg1 = 0; - jboolean xret = (jboolean) ((KDatePicker*) QtSupport::getQt(env, obj))->setDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_setEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KDatePicker*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_setFontSize(JNIEnv* env, jobject obj, jint arg1) -{ - ((KDatePicker*) QtSupport::getQt(env, obj))->setFontSize((int) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDatePicker_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDatePicker*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_tableClickedSlot(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_tableClickedSlot(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_todayButtonClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_todayButtonClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_weekSelected(JNIEnv* env, jobject obj, jint arg1) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_weekSelected((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_yearBackwardClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_yearBackwardClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDatePicker_yearForwardClicked(JNIEnv* env, jobject obj) -{ - ((KDatePickerJBridge*) QtSupport::getQt(env, obj))->protected_yearForwardClicked(); - return; -} - diff --git a/kdejava/koala/kdejava/KDatePicker.h b/kdejava/koala/kdejava/KDatePicker.h deleted file mode 100644 index 6c0a1c74..00000000 --- a/kdejava/koala/kdejava/KDatePicker.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDatePicker__ -#define __org_kde_koala_KDatePicker__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDatePicker_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDatePicker_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_newKDatePicker__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDatePicker_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDatePicker_setDate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDatePicker_date (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDatePicker_dateTable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_setFontSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDatePicker_fontSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_setCloseButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDatePicker_hasCloseButton (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDatePicker_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_dateChangedSlot (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_tableClickedSlot (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_monthForwardClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_monthBackwardClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_yearForwardClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_yearBackwardClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_selectMonthClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_selectYearClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_lineEnterPressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_todayButtonClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_weekSelected (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDatePicker_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDatePicker_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDatePicker__ */ diff --git a/kdejava/koala/kdejava/KDateTable.cpp b/kdejava/koala/kdejava/KDateTable.cpp deleted file mode 100644 index 82aad130..00000000 --- a/kdejava/koala/kdejava/KDateTable.cpp +++ /dev/null @@ -1,779 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KDateTableJBridge : public KDateTable -{ -public: - KDateTableJBridge(TQWidget* arg1,TQDate arg2,const char* arg3,TQt::WFlags arg4) : KDateTable(arg1,arg2,arg3,arg4) {}; - KDateTableJBridge(TQWidget* arg1,TQDate arg2,const char* arg3) : KDateTable(arg1,arg2,arg3) {}; - KDateTableJBridge(TQWidget* arg1,TQDate arg2) : KDateTable(arg1,arg2) {}; - KDateTableJBridge(TQWidget* arg1) : KDateTable(arg1) {}; - KDateTableJBridge() : KDateTable() {}; - KDateTableJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KDateTable(arg1,arg2,arg3) {}; - KDateTableJBridge(TQWidget* arg1,const char* arg2) : KDateTable(arg1,arg2) {}; - int protected_posFromDate(const TQDate& arg1) { - return (int) KDateTable::posFromDate(arg1); - } - TQDate protected_dateFromPos(int arg1) { - return (TQDate) KDateTable::dateFromPos(arg1); - } - void protected_paintCell(TQPainter* arg1,int arg2,int arg3) { - KDateTable::paintCell(arg1,arg2,arg3); - return; - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - KDateTable::viewportResizeEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - KDateTable::contentsMousePressEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KDateTable::wheelEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KDateTable::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - KDateTable::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - KDateTable::focusOutEvent(arg1); - return; - } - ~KDateTableJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::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")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - 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 contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KDateTable::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KDateTable","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")) { - KDateTable::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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::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.koala.KDateTable","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","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 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")) { - KDateTable::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - 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")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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 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")) { - TQScrollView::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")) { - TQScrollView::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 contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KDateTable::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTable","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 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 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.koala.KDateTable","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KDateTable::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - KDateTable::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")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - 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")) { - TQScrollView::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.koala.KDateTable","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDateTable_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDateTable*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTable_dateFromPos(JNIEnv* env, jobject obj, jint pos) -{ - TQDate _qdate; - _qdate = ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_dateFromPos((int) pos); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDateTable_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDateTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDateTable*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_focusOutEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTable_getDate(JNIEnv* env, jobject obj) -{ - TQDate _qdate; - _qdate = ((KDateTable*) QtSupport::getQt(env, obj))->getDate(); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateTable_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTable_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDateTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_newKDateTable__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTableJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTableJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_newKDateTable__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 KDateTableJBridge((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_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject parent, jobject date) -{ -static TQDate* _qdate_date = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject date, jstring name) -{ -static TQDate* _qdate_date = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject date, jstring name, jint f) -{ -static TQDate* _qdate_date = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_paintCell(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jint arg3) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_paintCell((TQPainter*) QtSupport::getQt(env, arg1), (int) arg2, (int) arg3); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateTable_popupMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDateTable*) QtSupport::getQt(env, obj))->popupMenuEnabled(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDateTable_posFromDate(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - jint xret = (jint) ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_posFromDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject date, jobject fgColor) -{ -static TQDate* _qdate_date = 0; - ((KDateTable*) QtSupport::getQt(env, obj))->setCustomDatePainting((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jobject obj, jobject date, jobject fgColor, jint bgMode) -{ -static TQDate* _qdate_date = 0; - ((KDateTable*) QtSupport::getQt(env, obj))->setCustomDatePainting((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (KDateTable::BackgroundMode) bgMode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject date, jobject fgColor, jint bgMode, jobject bgColor) -{ -static TQDate* _qdate_date = 0; - ((KDateTable*) QtSupport::getQt(env, obj))->setCustomDatePainting((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (KDateTable::BackgroundMode) bgMode, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateTable_setDate(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQDate* _qdate_arg1 = 0; - jboolean xret = (jboolean) ((KDateTable*) QtSupport::getQt(env, obj))->setDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_setFontSize(JNIEnv* env, jobject obj, jint size) -{ - ((KDateTable*) QtSupport::getQt(env, obj))->setFontSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_setPopupMenuEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDateTable*) QtSupport::getQt(env, obj))->setPopupMenuEnabled((bool) enable); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTable_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDateTable*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_unsetCustomDatePainting(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - ((KDateTable*) QtSupport::getQt(env, obj))->unsetCustomDatePainting((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTable_wheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDateTableJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/KDateTable.h b/kdejava/koala/kdejava/KDateTable.h deleted file mode 100644 index be069d6b..00000000 --- a/kdejava/koala/kdejava/KDateTable.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDateTable__ -#define __org_kde_koala_KDateTable__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTable_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDateTable_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_newKDateTable__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTable_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_setFontSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateTable_setDate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTable_getDate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_setPopupMenuEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateTable_popupMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_setCustomDatePainting__Ljava_util_Calendar_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_unsetCustomDatePainting (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDateTable_posFromDate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTable_dateFromPos (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_paintCell (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_viewportResizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTable_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateTable_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDateTable__ */ diff --git a/kdejava/koala/kdejava/KDateTimeWidget.cpp b/kdejava/koala/kdejava/KDateTimeWidget.cpp deleted file mode 100644 index 7caa0875..00000000 --- a/kdejava/koala/kdejava/KDateTimeWidget.cpp +++ /dev/null @@ -1,485 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KDateTimeWidgetJBridge : public KDateTimeWidget -{ -public: - KDateTimeWidgetJBridge(TQWidget* arg1,const char* arg2) : KDateTimeWidget(arg1,arg2) {}; - KDateTimeWidgetJBridge(TQWidget* arg1) : KDateTimeWidget(arg1) {}; - KDateTimeWidgetJBridge() : KDateTimeWidget() {}; - KDateTimeWidgetJBridge(const TQDateTime& arg1,TQWidget* arg2,const char* arg3) : KDateTimeWidget(arg1,arg2,arg3) {}; - KDateTimeWidgetJBridge(const TQDateTime& arg1,TQWidget* arg2) : KDateTimeWidget(arg1,arg2) {}; - KDateTimeWidgetJBridge(const TQDateTime& arg1) : KDateTimeWidget(arg1) {}; - ~KDateTimeWidgetJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDateTimeWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDateTimeWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateTimeWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDateTimeWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDateTimeWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTimeWidget_dateTime(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((KDateTimeWidget*) QtSupport::getQt(env, obj))->dateTime(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDateTimeWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDateTimeWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDateTimeWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateTimeWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateTimeWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDateTimeWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTimeWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject datetime) -{ -static TQDateTime* _qdate_datetime = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTimeWidgetJBridge((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject datetime, jobject parent) -{ -static TQDateTime* _qdate_datetime = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTimeWidgetJBridge((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject datetime, jobject parent, jstring name) -{ -static TQDateTime* _qdate_datetime = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTimeWidgetJBridge((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime), (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_koala_KDateTimeWidget_newKDateTimeWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateTimeWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__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 KDateTimeWidgetJBridge((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_koala_KDateTimeWidget_setDateTime(JNIEnv* env, jobject obj, jobject datetime) -{ -static TQDateTime* _qdate_datetime = 0; - ((KDateTimeWidget*) QtSupport::getQt(env, obj))->setDateTime((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, datetime, &_qdate_datetime)); - return; -} - diff --git a/kdejava/koala/kdejava/KDateTimeWidget.h b/kdejava/koala/kdejava/KDateTimeWidget.h deleted file mode 100644 index d31861fb..00000000 --- a/kdejava/koala/kdejava/KDateTimeWidget.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDateTimeWidget__ -#define __org_kde_koala_KDateTimeWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTimeWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDateTimeWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_newKDateTimeWidget__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateTimeWidget_dateTime (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_setDateTime (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateTimeWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateTimeWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDateTimeWidget__ */ diff --git a/kdejava/koala/kdejava/KDateValidator.cpp b/kdejava/koala/kdejava/KDateValidator.cpp deleted file mode 100644 index dcd35fd8..00000000 --- a/kdejava/koala/kdejava/KDateValidator.cpp +++ /dev/null @@ -1,139 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KDateValidatorJBridge : public KDateValidator -{ -public: - KDateValidatorJBridge(TQWidget* arg1,const char* arg2) : KDateValidator(arg1,arg2) {}; - KDateValidatorJBridge(TQWidget* arg1) : KDateValidator(arg1) {}; - KDateValidatorJBridge() : KDateValidator() {}; - ~KDateValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDateValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDateValidator_date(JNIEnv* env, jobject obj, jstring arg1, jobject arg2) -{ -static TQString* _qstring_arg1 = 0; -static TQDate* _qdate_arg2 = 0; - jint xret = (jint) ((KDateValidator*) QtSupport::getQt(env, obj))->date((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQDate&)*(TQDate*) QtSupport::toTQDate(env, arg2, &_qdate_arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDateValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDateValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDateValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_fixup(JNIEnv* env, jobject obj, jobject input) -{ -static TQString* _qstring_input = 0; - ((KDateValidator*) QtSupport::getQt(env, obj))->fixup((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_newKDateValidator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateValidatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_newKDateValidator__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateValidator_newKDateValidator__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 KDateValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDateValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) -{ -static TQString* _qstring_arg1 = 0; - int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((KDateValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int&) *_int_arg2); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDateValidator.h b/kdejava/koala/kdejava/KDateValidator.h deleted file mode 100644 index 6027254d..00000000 --- a/kdejava/koala/kdejava/KDateValidator.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDateValidator__ -#define __org_kde_koala_KDateValidator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_newKDateValidator__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_newKDateValidator__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_newKDateValidator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDateValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_fixup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDateValidator_date (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDateValidator__ */ diff --git a/kdejava/koala/kdejava/KDateWidget.cpp b/kdejava/koala/kdejava/KDateWidget.cpp deleted file mode 100644 index 448d7266..00000000 --- a/kdejava/koala/kdejava/KDateWidget.cpp +++ /dev/null @@ -1,519 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KDateWidgetJBridge : public KDateWidget -{ -public: - KDateWidgetJBridge(TQWidget* arg1,const char* arg2) : KDateWidget(arg1,arg2) {}; - KDateWidgetJBridge(TQWidget* arg1) : KDateWidget(arg1) {}; - KDateWidgetJBridge() : KDateWidget() {}; - KDateWidgetJBridge(TQDate arg1,TQWidget* arg2,const char* arg3) : KDateWidget(arg1,arg2,arg3) {}; - KDateWidgetJBridge(TQDate arg1,TQWidget* arg2) : KDateWidget(arg1,arg2) {}; - KDateWidgetJBridge(TQDate arg1) : KDateWidget(arg1) {}; - void protected_init() { - KDateWidget::init(); - return; - } - void protected_init(const TQDate& arg1) { - KDateWidget::init(arg1); - return; - } - void protected_slotDateChanged() { - KDateWidget::slotDateChanged(); - return; - } - ~KDateWidgetJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDateWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDateWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDateWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDateWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDateWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateWidget_date(JNIEnv* env, jobject obj) -{ - TQDate _qdate; - _qdate = ((KDateWidget*) QtSupport::getQt(env, obj))->date(); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDateWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDateWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDateWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_init__(JNIEnv* env, jobject obj) -{ - ((KDateWidgetJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_init__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQDate* _qdate_arg1 = 0; - ((KDateWidgetJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, arg1, &_qdate_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDateWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDateWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDateWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_newKDateWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateWidgetJBridge((TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject date, jobject parent) -{ -static TQDate* _qdate_date = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateWidgetJBridge((TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject date, jobject parent, jstring name) -{ -static TQDate* _qdate_date = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateWidgetJBridge((TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date), (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_koala_KDateWidget_newKDateWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDateWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_newKDateWidget__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 KDateWidgetJBridge((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_koala_KDateWidget_setDate(JNIEnv* env, jobject obj, jobject date) -{ -static TQDate* _qdate_date = 0; - ((KDateWidget*) QtSupport::getQt(env, obj))->setDate((TQDate)*(TQDate*) QtSupport::toTQDate(env, date, &_qdate_date)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDateWidget_slotDateChanged(JNIEnv* env, jobject obj) -{ - ((KDateWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotDateChanged(); - return; -} - diff --git a/kdejava/koala/kdejava/KDateWidget.h b/kdejava/koala/kdejava/KDateWidget.h deleted file mode 100644 index 6b326d67..00000000 --- a/kdejava/koala/kdejava/KDateWidget.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDateWidget__ -#define __org_kde_koala_KDateWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDateWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_newKDateWidget__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDateWidget_date (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_setDate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_init__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_init__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_slotDateChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDateWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDateWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDateWidget__ */ diff --git a/kdejava/koala/kdejava/KDesktopFile.cpp b/kdejava/koala/kdejava/KDesktopFile.cpp deleted file mode 100644 index 6befe4c6..00000000 --- a/kdejava/koala/kdejava/KDesktopFile.cpp +++ /dev/null @@ -1,336 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KDesktopFileJBridge : public KDesktopFile -{ -public: - KDesktopFileJBridge(const TQString& arg1,bool arg2,const char* arg3) : KDesktopFile(arg1,arg2,arg3) {}; - KDesktopFileJBridge(const TQString& arg1,bool arg2) : KDesktopFile(arg1,arg2) {}; - KDesktopFileJBridge(const TQString& arg1) : KDesktopFile(arg1) {}; - ~KDesktopFileJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void reparseConfiguration() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDesktopFile","reparseConfiguration")) { - TDEConfig::reparseConfiguration(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDesktopFile","sync")) { - TDEConfigBase::sync(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void parseConfigFiles() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDesktopFile","parseConfigFiles")) { - TDEConfigBase::parseConfigFiles(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDesktopFile",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDesktopFile_copyTo(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDesktopFile*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)), "org.kde.koala.KDesktopFile"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDesktopFile_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDesktopFile*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDesktopFile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_hasActionGroup(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->hasActionGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_hasApplicationType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->hasApplicationType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_hasDeviceType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->hasDeviceType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_hasLinkType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->hasLinkType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_hasMimeTypeType(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->hasMimeTypeType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_isAuthorizedDesktopFile(JNIEnv* env, jclass cls, jstring path) -{ - (void) cls; -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) KDesktopFileJBridge::isAuthorizedDesktopFile((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_isDesktopFile(JNIEnv* env, jclass cls, jstring path) -{ - (void) cls; -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) KDesktopFileJBridge::isDesktopFile((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_locateLocal(JNIEnv* env, jclass cls, jstring path) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_path = 0; - _qstring = KDesktopFileJBridge::locateLocal((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDesktopFile_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDesktopFile*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDesktopFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean readOnly) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDesktopFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) readOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jboolean readOnly, jstring resType) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_resType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDesktopFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) readOnly, (const char*) QtSupport::toCharString(env, resType, &_qstring_resType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDesktopFile_readActions(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDesktopFile*) QtSupport::getQt(env, obj))->readActions(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readComment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readComment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readDevice(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readDevice(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readDocPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readDocPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readGenericName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readGenericName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readIcon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readIcon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_readURL(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->readURL(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDesktopFile_resource(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDesktopFile*) QtSupport::getQt(env, obj))->resource(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDesktopFile_setActionGroup(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDesktopFile*) QtSupport::getQt(env, obj))->setActionGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDesktopFile_sortOrder(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDesktopFile*) QtSupport::getQt(env, obj))->sortOrder(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDesktopFile_tryExec(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDesktopFile*) QtSupport::getQt(env, obj))->tryExec(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDesktopFile.h b/kdejava/koala/kdejava/KDesktopFile.h deleted file mode 100644 index 6a9b00b8..00000000 --- a/kdejava/koala/kdejava/KDesktopFile.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDesktopFile__ -#define __org_kde_koala_KDesktopFile__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDesktopFile_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_newKDesktopFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readType (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readIcon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readComment (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readGenericName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readPath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readDevice (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readURL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDesktopFile_readActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_setActionGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_hasActionGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_hasLinkType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_hasApplicationType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_hasMimeTypeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_hasDeviceType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_tryExec (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_resource (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_readDocPath (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDesktopFile_sortOrder (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDesktopFile_copyTo (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_isDesktopFile (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_isAuthorizedDesktopFile (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDesktopFile_locateLocal (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDesktopFile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDesktopFile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDesktopFile__ */ diff --git a/kdejava/koala/kdejava/KDialog.cpp b/kdejava/koala/kdejava/KDialog.cpp deleted file mode 100644 index baaf6a61..00000000 --- a/kdejava/koala/kdejava/KDialog.cpp +++ /dev/null @@ -1,549 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KDialogJBridge : public KDialog -{ -public: - KDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : KDialog(arg1,arg2,arg3,arg4) {}; - KDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KDialog(arg1,arg2,arg3) {}; - KDialogJBridge(TQWidget* arg1,const char* arg2) : KDialog(arg1,arg2) {}; - KDialogJBridge(TQWidget* arg1) : KDialog(arg1) {}; - KDialogJBridge() : KDialog() {}; - void public_polish() { - KDialog::polish(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KDialog::keyPressEvent(arg1); - return; - } - ~KDialogJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialog::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","reject")) { - TQDialog::reject(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialog_avoidArea__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject widget, jobject area) -{ - (void) cls; - jboolean xret = (jboolean) KDialogJBridge::avoidArea((TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, area)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialog_avoidArea__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2I(JNIEnv* env, jclass cls, jobject widget, jobject area, jint screen) -{ - (void) cls; - jboolean xret = (jboolean) KDialogJBridge::avoidArea((TQWidget*) QtSupport::getQt(env, widget), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, area), (int) screen); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_centerOnScreen__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject widget) -{ - (void) cls; - KDialogJBridge::centerOnScreen((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_centerOnScreen__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jclass cls, jobject widget, jint screen) -{ - (void) cls; - KDialogJBridge::centerOnScreen((TQWidget*) QtSupport::getQt(env, widget), (int) screen); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDialog_marginHint(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDialogJBridge::marginHint(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_newKDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_newKDialog__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 KDialogJBridge((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_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_polish(JNIEnv* env, jobject obj) -{ - ((KDialogJBridge*) QtSupport::getQt(env, obj))->public_polish(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_resizeLayout__Lorg_kde_qt_QLayoutItemInterface_2II(JNIEnv* env, jclass cls, jobject lay, jint margin, jint spacing) -{ - (void) cls; - KDialogJBridge::resizeLayout((TQLayoutItem*) QtSupport::getQt(env, lay), (int) margin, (int) spacing); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_resizeLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jclass cls, jobject widget, jint margin, jint spacing) -{ - (void) cls; - KDialogJBridge::resizeLayout((TQWidget*) QtSupport::getQt(env, widget), (int) margin, (int) spacing); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_setCaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KDialog*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialog_setPlainCaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KDialog*) QtSupport::getQt(env, obj))->setPlainCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDialog_spacingHint(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KDialogJBridge::spacingHint(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDialog.h b/kdejava/koala/kdejava/KDialog.h deleted file mode 100644 index 2aa669a7..00000000 --- a/kdejava/koala/kdejava/KDialog.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDialog__ -#define __org_kde_koala_KDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_newKDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_newKDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_polish (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_setPlainCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDialog_marginHint (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDialog_spacingHint (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_resizeLayout__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_resizeLayout__Lorg_kde_qt_QLayoutItemInterface_2II (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_centerOnScreen__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_centerOnScreen__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialog_avoidArea__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialog_avoidArea__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDialog__ */ diff --git a/kdejava/koala/kdejava/KDialogBase.cpp b/kdejava/koala/kdejava/KDialogBase.cpp deleted file mode 100644 index 9a96f981..00000000 --- a/kdejava/koala/kdejava/KDialogBase.cpp +++ /dev/null @@ -1,1920 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KDialogBaseJBridge : public KDialogBase -{ -public: - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5,KDialogBase::ButtonCode arg6,bool arg7,const KGuiItem& arg8,const KGuiItem& arg9,const KGuiItem& arg10) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5,KDialogBase::ButtonCode arg6,bool arg7,const KGuiItem& arg8,const KGuiItem& arg9) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5,KDialogBase::ButtonCode arg6,bool arg7,const KGuiItem& arg8) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5,KDialogBase::ButtonCode arg6,bool arg7) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5,KDialogBase::ButtonCode arg6) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4,int arg5) : KDialogBase(arg1,arg2,arg3,arg4,arg5) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQString& arg4) : KDialogBase(arg1,arg2,arg3,arg4) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KDialogBase(arg1,arg2,arg3) {}; - KDialogBaseJBridge(TQWidget* arg1,const char* arg2) : KDialogBase(arg1,arg2) {}; - KDialogBaseJBridge(TQWidget* arg1) : KDialogBase(arg1) {}; - KDialogBaseJBridge() : KDialogBase() {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9,const KGuiItem& arg10,const KGuiItem& arg11) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9,const KGuiItem& arg10) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5) : KDialogBase(arg1,arg2,arg3,arg4,arg5) {}; - KDialogBaseJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4) : KDialogBase(arg1,arg2,arg3,arg4) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7,KDialogBase::ButtonCode arg8,bool arg9,const KGuiItem& arg10,const KGuiItem& arg11,const KGuiItem& arg12) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7,KDialogBase::ButtonCode arg8,bool arg9,const KGuiItem& arg10,const KGuiItem& arg11) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7,KDialogBase::ButtonCode arg8,bool arg9,const KGuiItem& arg10) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7,KDialogBase::ButtonCode arg8,bool arg9) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7,KDialogBase::ButtonCode arg8) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6,int arg7) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5,const TQString& arg6) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4,bool arg5) : KDialogBase(arg1,arg2,arg3,arg4,arg5) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3,const char* arg4) : KDialogBase(arg1,arg2,arg3,arg4) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2,TQWidget* arg3) : KDialogBase(arg1,arg2,arg3) {}; - KDialogBaseJBridge(KDialogBase::DialogType arg1,TQt::WFlags arg2) : KDialogBase(arg1,arg2) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9,const KGuiItem& arg10,const KGuiItem& arg11) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9,const KGuiItem& arg10) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const KGuiItem& arg9) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6) : KDialogBase(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5) : KDialogBase(arg1,arg2,arg3,arg4,arg5) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3,KDialogBase::ButtonCode arg4) : KDialogBase(arg1,arg2,arg3,arg4) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2,KDialogBase::ButtonCode arg3) : KDialogBase(arg1,arg2,arg3) {}; - KDialogBaseJBridge(const TQString& arg1,int arg2) : KDialogBase(arg1,arg2) {}; - KDialogBaseJBridge(const TQString& arg1) : KDialogBase(arg1) {}; - void public_adjustSize() { - KDialogBase::adjustSize(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KDialogBase::keyPressEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - KDialogBase::hideEvent(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - KDialogBase::closeEvent(arg1); - return; - } - void protected_slotHelp() { - KDialogBase::slotHelp(); - return; - } - void protected_slotDefault() { - KDialogBase::slotDefault(); - return; - } - void protected_slotDetails() { - KDialogBase::slotDetails(); - return; - } - void protected_slotUser3() { - KDialogBase::slotUser3(); - return; - } - void protected_slotUser2() { - KDialogBase::slotUser2(); - return; - } - void protected_slotUser1() { - KDialogBase::slotUser1(); - return; - } - void protected_slotOk() { - KDialogBase::slotOk(); - return; - } - void protected_slotApply() { - KDialogBase::slotApply(); - return; - } - void protected_slotTry() { - KDialogBase::slotTry(); - return; - } - void protected_slotYes() { - KDialogBase::slotYes(); - return; - } - void protected_slotNo() { - KDialogBase::slotNo(); - return; - } - void protected_slotCancel() { - KDialogBase::slotCancel(); - return; - } - void protected_slotClose() { - KDialogBase::slotClose(); - return; - } - void protected_updateGeometry() { - KDialogBase::updateGeometry(); - return; - } - void protected_slotDelayedDestruct() { - KDialogBase::slotDelayedDestruct(); - return; - } - ~KDialogBaseJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KDialogBase","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDialogBase","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_actionButton(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->actionButton((KDialogBase::ButtonCode) id), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDialogBase_activePageIndex(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDialogBase*) QtSupport::getQt(env, obj))->activePageIndex(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_addButtonBelowList__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject recv, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_slot = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->addButtonBelowList((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::getQt(env, recv), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_addButtonBelowList__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject guiitem, jobject recv, jstring slot) -{ -static TQCString* _qstring_slot = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->addButtonBelowList((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem), (TQObject*) QtSupport::getQt(env, recv), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_addWidgetBelowList(JNIEnv* env, jobject obj, jobject widget) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->addWidgetBelowList((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_adjustSize(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->public_adjustSize(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_backgroundTile(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDialogBaseJBridge::backgroundTile(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_calculateSize(JNIEnv* env, jobject obj, jint w, jint h) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDialogBase*) QtSupport::getQt(env, obj))->calculateSize((int) w, (int) h)), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_cancel(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->cancel(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDialogBase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDialogBase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_closeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_configDialogSize__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDialogBase*) QtSupport::getQt(env, obj))->configDialogSize((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_configDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDialogBase*) QtSupport::getQt(env, obj))->configDialogSize((TDEConfig&)*(TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_delayedDestruct(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->delayedDestruct(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_disableResize(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->disableResize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDialogBase_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableButtonApply(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableButtonApply((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableButtonCancel(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableButtonCancel((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableButtonOK(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableButtonOK((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableButtonSeparator(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableButtonSeparator((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableButton(JNIEnv* env, jobject obj, jint id, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableButton((KDialogBase::ButtonCode) id, (bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_enableLinkedHelp(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->enableLinkedHelp((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDialogBase*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDialogBase*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialogBase_haveBackgroundTile(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KDialogBaseJBridge::haveBackgroundTile(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_helpClickedSlot(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->helpClickedSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDialogBase_helpLinkText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDialogBase*) QtSupport::getQt(env, obj))->helpLinkText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_incInitialSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->incInitialSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_incInitialSize__Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jobject s, jboolean noResize) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->incInitialSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (bool) noResize); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialogBase_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_mainWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->mainWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_makeGridMainWidget(JNIEnv* env, jobject obj, jint n, jint dir) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->makeGridMainWidget((int) n, (TQt::Orientation) dir), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_makeHBoxMainWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->makeHBoxMainWidget(), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_makeMainWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->makeMainWidget(), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_makeVBoxMainWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->makeVBoxMainWidget(), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDialogBase*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__II(JNIEnv* env, jobject obj, jint dialogFace, jint f) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (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_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZ(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1, jobject user2) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jint f, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1, jobject user2, jobject user3) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((KDialogBase::DialogType) dialogFace, (TQt::WFlags) f, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2II(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (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_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject user1) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject user1, jobject user2) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jint dialogFace, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject user1, jobject user2, jobject user3) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((int) dialogFace, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring caption, jint buttonMask) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (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_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name, jboolean modal, jboolean separator) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject yes) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, yes))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject yes, jobject no) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, yes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, no))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jstring caption, jint buttonMask, jint defaultButton, jint escapeButton, jobject parent, jstring name, jboolean modal, jboolean separator, jobject yes, jobject no, jobject cancel) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (KDialogBase::ButtonCode) escapeButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, yes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, no), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, cancel))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__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 KDialogBaseJBridge((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_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1, jobject user2) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jstring caption, jint buttonMask, jint defaultButton, jboolean separator, jobject user1, jobject user2, jobject user3) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogBaseJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (bool) separator, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user1), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user2), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, user3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDialogBase_pageIndex(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KDialogBase*) QtSupport::getQt(env, obj))->pageIndex((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_plainPage(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogBase*) QtSupport::getQt(env, obj))->plainPage(), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_saveDialogSize__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->saveDialogSize((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_saveDialogSize__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring groupName, jboolean global) -{ -static TQString* _qstring_groupName = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->saveDialogSize((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) global); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_saveDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->saveDialogSize((TDEConfig&)*(TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_saveDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring groupName, jboolean global) -{ -static TQString* _qstring_groupName = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->saveDialogSize((TDEConfig&)*(TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) global); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setBackgroundTile(JNIEnv* env, jclass cls, jobject pix) -{ - (void) cls; - KDialogBaseJBridge::setBackgroundTile((const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonApply__(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonApply(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonApply__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonApply((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonBoxOrientation(JNIEnv* env, jobject obj, jint orientation) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonBoxOrientation((int) orientation); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonCancel__(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonCancel__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonCancel((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonGuiItem(JNIEnv* env, jobject obj, jint id, jobject item) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonGuiItem((KDialogBase::ButtonCode) id, (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonOK__(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonOK(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonOK__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonOK((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonText(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonText((KDialogBase::ButtonCode) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonTip(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonTip((KDialogBase::ButtonCode) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setButtonWhatsThis(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setButtonWhatsThis((KDialogBase::ButtonCode) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setDetailsWidget(JNIEnv* env, jobject obj, jobject detailsWidget) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setDetailsWidget((TQWidget*) QtSupport::getQt(env, detailsWidget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setDetails(JNIEnv* env, jobject obj, jboolean showDetails) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setDetails((bool) showDetails); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setEscapeButton(JNIEnv* env, jobject obj, jint id) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setEscapeButton((KDialogBase::ButtonCode) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setFolderIcon(JNIEnv* env, jobject obj, jobjectArray path, jobject pixmap) -{ -static TQStringList* _qlist_path = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setFolderIcon((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, path, &_qlist_path), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setHelpLinkText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setHelpLinkText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setHelp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor) -{ -static TQString* _qstring_anchor = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setHelp__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor, jstring appname) -{ -static TQString* _qstring_anchor = 0; -static TQString* _qstring_appname = 0; - ((KDialogBase*) QtSupport::getQt(env, obj))->setHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setIconListAllVisible(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setIconListAllVisible((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setInitialSize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setInitialSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setInitialSize__Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jobject s, jboolean noResize) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setInitialSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (bool) noResize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setMainWidget(JNIEnv* env, jobject obj, jobject widget) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setMainWidget((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setRootIsDecorated(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setRootIsDecorated((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setShowIconsInTreeList(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setShowIconsInTreeList((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_setTreeListAutoResize(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->setTreeListAutoResize((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_showButtonApply(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->showButtonApply((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_showButtonCancel(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->showButtonCancel((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_showButtonOK(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->showButtonOK((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_showButton(JNIEnv* env, jobject obj, jint id, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->showButton((KDialogBase::ButtonCode) id, (bool) state); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialogBase_showPage(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((KDialogBase*) QtSupport::getQt(env, obj))->showPage((int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_showTile(JNIEnv* env, jobject obj, jboolean state) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->showTile((bool) state); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogBase_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDialogBase*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotApply(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotApply(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotCancel(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotClose(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotClose(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotDefault(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotDefault(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotDelayedDestruct(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotDelayedDestruct(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotDetails(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotDetails(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotHelp(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotHelp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotNo(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotNo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotOk(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotTry(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotTry(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotUser1(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotUser1(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotUser2(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotUser2(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotUser3(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotUser3(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_slotYes(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotYes(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_unfoldTreeList__(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->unfoldTreeList(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_unfoldTreeList__Z(JNIEnv* env, jobject obj, jboolean persist) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->unfoldTreeList((bool) persist); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_updateBackground(JNIEnv* env, jobject obj) -{ - ((KDialogBase*) QtSupport::getQt(env, obj))->updateBackground(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogBase_updateGeometry(JNIEnv* env, jobject obj) -{ - ((KDialogBaseJBridge*) QtSupport::getQt(env, obj))->protected_updateGeometry(); - return; -} - diff --git a/kdejava/koala/kdejava/KDialogBase.h b/kdejava/koala/kdejava/KDialogBase.h deleted file mode 100644 index 16293ee9..00000000 --- a/kdejava/koala/kdejava/KDialogBase.h +++ /dev/null @@ -1,178 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDialogBase__ -#define __org_kde_koala_KDialogBase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDialogBase_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__ILjava_lang_String_2II (JNIEnv *env, jobject, jint, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZLorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint, jint, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2IIZ (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring, jboolean, jboolean, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring, jboolean, jboolean, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring, jboolean, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2IIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_newKDialogBase__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonBoxOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setEscapeButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_adjustSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_plainPage (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addVBoxPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addHBoxPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_addGridPage__II_3Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setFolderIcon (JNIEnv *env, jobject, jobjectArray, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_makeMainWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_makeVBoxMainWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_makeHBoxMainWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_makeGridMainWidget (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableButtonSeparator (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_showButton (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_showButtonOK (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_showButtonApply (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_showButtonCancel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialogBase_showPage (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDialogBase_activePageIndex (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDialogBase_pageIndex (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setMainWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_mainWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_disableResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setInitialSize__Lorg_kde_qt_QSize_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setInitialSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_incInitialSize__Lorg_kde_qt_QSize_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_incInitialSize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_configDialogSize__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_configDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_saveDialogSize__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_saveDialogSize__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_saveDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_saveDialogSize__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonOK__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonOK__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonApply__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonApply__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonCancel__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonCancel__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonText (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonTip (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonWhatsThis (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setButtonGuiItem (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setTreeListAutoResize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setShowIconsInTreeList (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setRootIsDecorated (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_unfoldTreeList__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_unfoldTreeList__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_addWidgetBelowList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_addButtonBelowList__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_addButtonBelowList__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setIconListAllVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_showTile (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_calculateSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDialogBase_helpLinkText (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_actionButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableButton (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableButtonOK (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableButtonApply (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableButtonCancel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_enableLinkedHelp (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_delayedDestruct (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setHelpLinkText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setHelp__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setHelp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_helpClickedSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setDetails (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setDetailsWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_updateBackground (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_cancel (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialogBase_haveBackgroundTile (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogBase_backgroundTile (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_setBackgroundTile (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotHelp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotDetails (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotUser3 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotUser2 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotUser1 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotApply (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotTry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotYes (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotNo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_updateGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_slotDelayedDestruct (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogBase_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialogBase_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDialogBase__ */ diff --git a/kdejava/koala/kdejava/KDialogQueue.cpp b/kdejava/koala/kdejava/KDialogQueue.cpp deleted file mode 100644 index 6903cb2f..00000000 --- a/kdejava/koala/kdejava/KDialogQueue.cpp +++ /dev/null @@ -1,118 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KDialogQueueJBridge : public KDialogQueue -{ -public: - KDialogQueueJBridge() : KDialogQueue() {}; - static KDialogQueue* protected_self() { - return (KDialogQueue*) KDialogQueue::self(); - } - ~KDialogQueueJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDialogQueue",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDialogQueue_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDialogQueue*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogQueue_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDialogQueue_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogQueue_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDialogQueue*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDialogQueue*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDialogQueue_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogQueue_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDialogQueue*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogQueue_newKDialogQueue(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDialogQueueJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDialogQueue_queueDialog(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - KDialogQueueJBridge::queueDialog((TQDialog*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDialogQueue_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDialogQueueJBridge::protected_self(), "org.kde.koala.KDialogQueue"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDialogQueue.h b/kdejava/koala/kdejava/KDialogQueue.h deleted file mode 100644 index 43e491fc..00000000 --- a/kdejava/koala/kdejava/KDialogQueue.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDialogQueue__ -#define __org_kde_koala_KDialogQueue__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogQueue_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDialogQueue_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogQueue_queueDialog (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogQueue_newKDialogQueue (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDialogQueue_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogQueue_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDialogQueue_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDialogQueue_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDialogQueue__ */ diff --git a/kdejava/koala/kdejava/KDirLister.cpp b/kdejava/koala/kdejava/KDirLister.cpp deleted file mode 100644 index b7b8f6f0..00000000 --- a/kdejava/koala/kdejava/KDirLister.cpp +++ /dev/null @@ -1,487 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KDirListerJBridge : public KDirLister -{ -public: - KDirListerJBridge(bool arg1) : KDirLister(arg1) {}; - KDirListerJBridge() : KDirLister() {}; - void public_stop() { - KDirLister::stop(); - return; - } - void public_emitChanges() { - KDirLister::emitChanges(); - return; - } - void public_clearMimeFilter() { - KDirLister::clearMimeFilter(); - return; - } - bool protected_matchesFilter(const KFileItem* arg1) { - return (bool) KDirLister::matchesFilter(arg1); - } - bool protected_matchesMimeFilter(const KFileItem* arg1) { - return (bool) KDirLister::matchesMimeFilter(arg1); - } - bool protected_doMimeFilter(const TQString& arg1,const TQStringList& arg2) { - return (bool) KDirLister::doMimeFilter(arg1,arg2); - } - bool protected_doMimeExcludeFilter(const TQString& arg1,const TQStringList& arg2) { - return (bool) KDirLister::doMimeExcludeFilter(arg1,arg2); - } - bool protected_validURL(const KURL& arg1) { - return (bool) KDirLister::validURL(arg1); - } - void protected_handleError(TDEIO::Job* arg1) { - KDirLister::handleError(arg1); - return; - } - ~KDirListerJBridge() {QtSupport::qtKeyDeleted(this);} - void clearMimeFilter() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirLister","clearMimeFilter")) { - KDirLister::clearMimeFilter(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void emitChanges() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirLister","emitChanges")) { - KDirLister::emitChanges(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void updateDirectory(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"updateDirectory",(void*)&arg1,"org.kde.koala.KURL")) { - KDirLister::updateDirectory(arg1); - } - return; - } - void handleError(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"handleError",(void*)arg1,"org.kde.koala.Job")) { - KDirLister::handleError(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDirLister",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"stop",(void*)&arg1,"org.kde.koala.KURL")) { - KDirLister::stop(arg1); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_autoErrorHandlingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->autoErrorHandlingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_autoUpdate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->autoUpdate(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirLister_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDirLister*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_clearMimeFilter(JNIEnv* env, jobject obj) -{ - ((KDirListerJBridge*) QtSupport::getQt(env, obj))->public_clearMimeFilter(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_dirOnlyMode(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->dirOnlyMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_directories(JNIEnv* env, jobject obj) -{ - KURL::List _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->directories(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDirLister_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_doMimeExcludeFilter(JNIEnv* env, jobject obj, jstring mimeExclude, jobjectArray filters) -{ -static TQString* _qstring_mimeExclude = 0; -static TQStringList* _qlist_filters = 0; - jboolean xret = (jboolean) ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_doMimeExcludeFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeExclude, &_qstring_mimeExclude), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_doMimeFilter(JNIEnv* env, jobject obj, jstring mime, jobjectArray filters) -{ -static TQString* _qstring_mime = 0; -static TQStringList* _qlist_filters = 0; - jboolean xret = (jboolean) ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_doMimeFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, mime, &_qstring_mime), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_emitChanges(JNIEnv* env, jobject obj) -{ - ((KDirListerJBridge*) QtSupport::getQt(env, obj))->public_emitChanges(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDirLister*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDirLister*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_findByName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->findByName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_findByURL(JNIEnv* env, jobject obj, jobject _url) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->findByURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_find(JNIEnv* env, jobject obj, jobject _url) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->find((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_handleError(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_handleError((TDEIO::Job*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_isFinished(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->isFinished(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_itemsForDir__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject dir) -{ - KFileItemList _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->itemsForDir((const KURL&)*(const KURL*) QtSupport::getQt(env, dir)); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_itemsForDir__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject dir, jint which) -{ - KFileItemList _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->itemsForDir((const KURL&)*(const KURL*) QtSupport::getQt(env, dir), (KDirLister::WhichItems) which); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_items__(JNIEnv* env, jobject obj) -{ - KFileItemList _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_items__I(JNIEnv* env, jobject obj, jint which) -{ - KFileItemList _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->items((KDirLister::WhichItems) which); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_mainWindow(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->mainWindow(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_matchesFilter__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->matchesFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_matchesFilter__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_matchesFilter((const KFileItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_matchesMimeFilter__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring mime) -{ -static TQString* _qstring_mime = 0; - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->matchesMimeFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, mime, &_qstring_mime)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_matchesMimeFilter__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_matchesMimeFilter((const KFileItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_mimeFilters(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDirLister*) QtSupport::getQt(env, obj))->mimeFilters(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirLister_nameFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDirLister*) QtSupport::getQt(env, obj))->nameFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_newKDirLister__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirListerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_newKDirLister__Z(JNIEnv* env, jobject obj, jboolean _delayedMimeTypes) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirListerJBridge((bool) _delayedMimeTypes)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject _url) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject _url, jboolean _keep) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _keep); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jobject obj, jobject _url, jboolean _keep, jboolean _reload) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _keep, (bool) _reload); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_rootItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirLister*) QtSupport::getQt(env, obj))->rootItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setAutoErrorHandlingEnabled(JNIEnv* env, jobject obj, jboolean enable, jobject parent) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->setAutoErrorHandlingEnabled((bool) enable, (TQWidget*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setAutoUpdate(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setDirOnlyMode(JNIEnv* env, jobject obj, jboolean dirsOnly) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->setDirOnlyMode((bool) dirsOnly); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setMainWindow(JNIEnv* env, jobject obj, jobject window) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->setMainWindow((TQWidget*) QtSupport::getQt(env, window)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setMimeExcludeFilter(JNIEnv* env, jobject obj, jobjectArray mimeList) -{ -static TQStringList* _qlist_mimeList = 0; - ((KDirLister*) QtSupport::getQt(env, obj))->setMimeExcludeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, mimeList, &_qlist_mimeList)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setMimeFilter(JNIEnv* env, jobject obj, jobjectArray mimeList) -{ -static TQStringList* _qlist_mimeList = 0; - ((KDirLister*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, mimeList, &_qlist_mimeList)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setNameFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KDirLister*) QtSupport::getQt(env, obj))->setNameFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_setShowingDotFiles(JNIEnv* env, jobject obj, jboolean _showDotFiles) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->setShowingDotFiles((bool) _showDotFiles); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_showingDotFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirLister*) QtSupport::getQt(env, obj))->showingDotFiles(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_stop__(JNIEnv* env, jobject obj) -{ - ((KDirListerJBridge*) QtSupport::getQt(env, obj))->public_stop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_stop__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject _url) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->stop((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirLister_updateDirectory(JNIEnv* env, jobject obj, jobject _dir) -{ - ((KDirLister*) QtSupport::getQt(env, obj))->updateDirectory((const KURL&)*(const KURL*) QtSupport::getQt(env, _dir)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirLister_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KURL *) &((KDirLister*) QtSupport::getQt(env, obj))->url(), "org.kde.koala.KURL"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirLister_validURL(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KDirListerJBridge*) QtSupport::getQt(env, obj))->protected_validURL((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDirLister.h b/kdejava/koala/kdejava/KDirLister.h deleted file mode 100644 index 040a5543..00000000 --- a/kdejava/koala/kdejava/KDirLister.h +++ /dev/null @@ -1,67 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirLister__ -#define __org_kde_koala_KDirLister__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirLister_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_newKDirLister__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_newKDirLister__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_openURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_stop__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_stop__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_autoUpdate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_autoErrorHandlingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setAutoErrorHandlingEnabled (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_showingDotFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setShowingDotFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_dirOnlyMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setDirOnlyMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_url (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_directories (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_emitChanges (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_updateDirectory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_isFinished (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_rootItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_findByURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_find (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_findByName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setNameFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirLister_nameFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setMimeFilter (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setMimeExcludeFilter (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_clearMimeFilter (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_mimeFilters (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_matchesFilter__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_matchesMimeFilter__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_setMainWindow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_mainWindow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_items__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_items__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_itemsForDir__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirLister_itemsForDir__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_matchesFilter__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_matchesMimeFilter__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_doMimeFilter (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_doMimeExcludeFilter (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_validURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_handleError (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirLister_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirLister_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirLister__ */ diff --git a/kdejava/koala/kdejava/KDirNotify.cpp b/kdejava/koala/kdejava/KDirNotify.cpp deleted file mode 100644 index 2caaedf1..00000000 --- a/kdejava/koala/kdejava/KDirNotify.cpp +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - diff --git a/kdejava/koala/kdejava/KDirNotify.h b/kdejava/koala/kdejava/KDirNotify.h deleted file mode 100644 index a1d840a9..00000000 --- a/kdejava/koala/kdejava/KDirNotify.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirNotify__ -#define __org_kde_koala_KDirNotify__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirNotify__ */ diff --git a/kdejava/koala/kdejava/KDirOperator.cpp b/kdejava/koala/kdejava/KDirOperator.cpp deleted file mode 100644 index da2f5dce..00000000 --- a/kdejava/koala/kdejava/KDirOperator.cpp +++ /dev/null @@ -1,1239 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KDirOperatorJBridge : public KDirOperator -{ -public: - KDirOperatorJBridge(const KURL& arg1,TQWidget* arg2,const char* arg3) : KDirOperator(arg1,arg2,arg3) {}; - KDirOperatorJBridge(const KURL& arg1,TQWidget* arg2) : KDirOperator(arg1,arg2) {}; - KDirOperatorJBridge(const KURL& arg1) : KDirOperator(arg1) {}; - KDirOperatorJBridge() : KDirOperator() {}; - KFileView* protected_createView(TQWidget* arg1,KFile::FileView arg2) { - return (KFileView*) KDirOperator::createView(arg1,arg2); - } - void protected_setDirLister(KDirLister* arg1) { - KDirOperator::setDirLister(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KDirOperator::resizeEvent(arg1); - return; - } - void protected_setupActions() { - KDirOperator::setupActions(); - return; - } - void protected_updateSortActions() { - KDirOperator::updateSortActions(); - return; - } - void protected_updateViewActions() { - KDirOperator::updateViewActions(); - return; - } - void protected_setupMenu() { - KDirOperator::setupMenu(); - return; - } - void protected_prepareCompletionObjects() { - KDirOperator::prepareCompletionObjects(); - return; - } - bool protected_checkPreviewSupport() { - return (bool) KDirOperator::checkPreviewSupport(); - } - void protected_resetCursor() { - KDirOperator::resetCursor(); - return; - } - void protected_pathChanged() { - KDirOperator::pathChanged(); - return; - } - void protected_insertNewFiles(const KFileItemList& arg1) { - KDirOperator::insertNewFiles(arg1); - return; - } - void protected_itemDeleted(KFileItem* arg1) { - KDirOperator::itemDeleted(arg1); - return; - } - void protected_selectDir(const KFileItem* arg1) { - KDirOperator::selectDir(arg1); - return; - } - void protected_selectFile(const KFileItem* arg1) { - KDirOperator::selectFile(arg1); - return; - } - void protected_highlightFile(const KFileItem* arg1) { - KDirOperator::highlightFile(arg1); - return; - } - void protected_activatedMenu(const KFileItem* arg1,const TQPoint& arg2) { - KDirOperator::activatedMenu(arg1,arg2); - return; - } - void protected_sortByName() { - KDirOperator::sortByName(); - return; - } - void protected_sortBySize() { - KDirOperator::sortBySize(); - return; - } - void protected_sortByDate() { - KDirOperator::sortByDate(); - return; - } - void protected_sortReversed() { - KDirOperator::sortReversed(); - return; - } - void protected_toggleDirsFirst() { - KDirOperator::toggleDirsFirst(); - return; - } - void protected_toggleIgnoreCase() { - KDirOperator::toggleIgnoreCase(); - return; - } - void protected_slotCompletionMatch(const TQString& arg1) { - KDirOperator::slotCompletionMatch(arg1); - return; - } - ~KDirOperatorJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KDirOperator::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDirOperator","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDirOperator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirOperator","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_activatedMenu(JNIEnv* env, jobject obj, jobject arg1, jobject pos) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_activatedMenu((const KFileItem*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_back(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->back(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_cdUp(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->cdUp(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_checkPreviewSupport(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_checkPreviewSupport(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirOperator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDirOperator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_clearFilter(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->clearFilter(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_clearHistory(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->clearHistory(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_closeLoading(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_close(JNIEnv* env, jobject obj, jboolean alsoDelete) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->close((bool) alsoDelete); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_completionObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->completionObject(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_createView(JNIEnv* env, jobject obj, jobject parent, jint view) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_createView((TQWidget*) QtSupport::getQt(env, parent), (KFile::FileView) view), "org.kde.koala.KFileViewInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items)), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray items, jobject parent) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobjectArray items, jobject parent, jboolean ask) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent), (bool) ask), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2ZZ(JNIEnv* env, jobject obj, jobjectArray items, jobject parent, jboolean ask, jboolean showProgress) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent), (bool) ask, (bool) showProgress), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Z(JNIEnv* env, jobject obj, jobjectArray items, jboolean ask) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (bool) ask), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2ZZ(JNIEnv* env, jobject obj, jobjectArray items, jboolean ask, jboolean showProgress) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->del((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (bool) ask, (bool) showProgress), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_deleteSelected(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->deleteSelected(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_dirCompletionObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->dirCompletionObject(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_dirHighlighting(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->dirHighlighting(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_dirLister(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->dirLister(), "org.kde.koala.KDirLister"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_dirOnlyMode__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->dirOnlyMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_dirOnlyMode__I(JNIEnv* env, jclass cls, jint mode) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KDirOperatorJBridge::dirOnlyMode((uint) mode); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDirOperator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDirOperator*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDirOperator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_forward(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->forward(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_highlightFile(JNIEnv* env, jobject obj, jobject i) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_highlightFile((const KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_home(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->home(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_insertNewFiles(JNIEnv* env, jobject obj, jobjectArray newone) -{ -static KFileItemList* _qlist_newone = 0; - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_insertNewFiles((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, newone, &_qlist_newone)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_isRoot(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->isRoot(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_isSelected(JNIEnv* env, jobject obj, jobject item) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_itemDeleted(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_itemDeleted((KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirOperator_makeCompletion(JNIEnv* env, jobject obj, jstring arg1) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((KDirOperator*) QtSupport::getQt(env, obj))->makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirOperator_makeDirCompletion(JNIEnv* env, jobject obj, jstring arg1) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((KDirOperator*) QtSupport::getQt(env, obj))->makeDirCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_mimeFilter(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KDirOperator*) QtSupport::getQt(env, obj))->mimeFilter(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_mkdir__(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->mkdir(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_mkdir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring directory) -{ -static TQString* _qstring_directory = 0; - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, directory, &_qstring_directory)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_mkdir__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring directory, jboolean enterDirectory) -{ -static TQString* _qstring_directory = 0; - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->mkdir((const TQString&)*(TQString*) QtSupport::toTQString(env, directory, &_qstring_directory), (bool) enterDirectory); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDirOperator_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDirOperator*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirOperator_nameFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDirOperator*) QtSupport::getQt(env, obj))->nameFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_newKDirOperator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirOperatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject urlName) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirOperatorJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, urlName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject urlName, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirOperatorJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, urlName), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject urlName, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirOperatorJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, urlName), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDirOperator_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDirOperator*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDirOperator_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDirOperator*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_pathChanged(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_pathChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_prepareCompletionObjects(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_prepareCompletionObjects(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_progressBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->progressBar(), "org.kde.koala.KProgress"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_rereadDir(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->rereadDir(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_resetCursor(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_resetCursor(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_selectDir(JNIEnv* env, jobject obj, jobject item) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_selectDir((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_selectFile(JNIEnv* env, jobject obj, jobject item) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_selectFile((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KDirOperator*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setAcceptDrops(JNIEnv* env, jobject obj, jboolean b) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setCurrentItem(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setDirLister(JNIEnv* env, jobject obj, jobject lister) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_setDirLister((KDirLister*) QtSupport::getQt(env, lister)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setEnableDirHighlighting(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setEnableDirHighlighting((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setMimeFilter(JNIEnv* env, jobject obj, jobjectArray mimetypes) -{ -static TQStringList* _qlist_mimetypes = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, mimetypes, &_qlist_mimetypes)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setMode(JNIEnv* env, jobject obj, jint m) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setMode((KFile::Mode) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setNameFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->setNameFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setPreviewWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setPreviewWidget((const TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setShowHiddenFiles(JNIEnv* env, jobject obj, jboolean s) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setShowHiddenFiles((bool) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setSorting(JNIEnv* env, jobject obj, jint arg1) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setURL(JNIEnv* env, jobject obj, jobject url, jboolean clearforward) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) clearforward); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setViewConfig(JNIEnv* env, jobject obj, jobject config, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->setViewConfig((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setView__I(JNIEnv* env, jobject obj, jint view) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setView((KFile::FileView) view); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setView__Lorg_kde_koala_KFileViewInterface_2(JNIEnv* env, jobject obj, jobject view) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setView((KFileView*) QtSupport::getQt(env, view)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setupActions(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_setupActions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setupMenu__(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_setupMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_setupMenu__I(JNIEnv* env, jobject obj, jint whichActions) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->setupMenu((int) whichActions); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirOperator_showHiddenFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirOperator*) QtSupport::getQt(env, obj))->showHiddenFiles(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_slotCompletionMatch(JNIEnv* env, jobject obj, jstring match) -{ -static TQString* _qstring_match = 0; - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_slotCompletionMatch((const TQString&)*(TQString*) QtSupport::toTQString(env, match, &_qstring_match)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_sortByDate(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_sortByDate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_sortByName(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_sortByName(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_sortBySize(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_sortBySize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_sortReversed(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_sortReversed(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDirOperator_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDirOperator*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_toggleDirsFirst(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_toggleDirsFirst(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_toggleIgnoreCase(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_toggleIgnoreCase(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_trashSelected(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->trashSelected((TDEAction::ActivationReason) arg1, (TQt::ButtonState) arg2); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray items, jobject parent) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->trash((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobjectArray items, jobject parent, jboolean ask) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->trash((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent), (bool) ask), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2ZZ(JNIEnv* env, jobject obj, jobjectArray items, jobject parent, jboolean ask, jboolean showProgress) -{ -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->trash((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (TQWidget*) QtSupport::getQt(env, parent), (bool) ask, (bool) showProgress), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_updateDir(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->updateDir(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_updateSelectionDependentActions(JNIEnv* env, jobject obj) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->updateSelectionDependentActions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_updateSortActions(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_updateSortActions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_updateViewActions(JNIEnv* env, jobject obj) -{ - ((KDirOperatorJBridge*) QtSupport::getQt(env, obj))->protected_updateViewActions(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KDirOperator*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirOperator_viewConfigGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDirOperator*) QtSupport::getQt(env, obj))->viewConfigGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_viewConfig(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->viewConfig(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_viewWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->viewWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirOperator_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirOperator*) QtSupport::getQt(env, obj))->view(), "org.kde.koala.KFileViewInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDirOperator*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirOperator_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDirOperator*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KDirOperator.h b/kdejava/koala/kdejava/KDirOperator.h deleted file mode 100644 index 02205c92..00000000 --- a/kdejava/koala/kdejava/KDirOperator.h +++ /dev/null @@ -1,122 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirOperator__ -#define __org_kde_koala_KDirOperator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirOperator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_newKDirOperator__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_newKDirOperator__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setShowHiddenFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_showHiddenFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_closeLoading (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_close (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setNameFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirOperator_nameFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setMimeFilter (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_mimeFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_clearFilter (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_url (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setURL (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setCurrentItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setView__Lorg_kde_koala_KFileViewInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_view (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_viewWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setView__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDirOperator_sorting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_isRoot (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_dirLister (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_progressBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDirOperator_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setPreviewWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDirOperator_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDirOperator_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_completionObject (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_dirCompletionObject (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setViewConfig (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_viewConfig (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirOperator_viewConfigGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_mkdir__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_mkdir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2ZZ (JNIEnv *env, jobject, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_del__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_clearHistory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setEnableDirHighlighting (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_dirHighlighting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_dirOnlyMode__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setupMenu__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setAcceptDrops (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2ZZ (JNIEnv *env, jobject, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_trash__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_back (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_forward (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_home (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_cdUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_updateDir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_rereadDir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_mkdir__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_deleteSelected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_updateSelectionDependentActions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirOperator_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirOperator_makeDirCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_trashSelected (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_dirOnlyMode__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirOperator_createView (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setDirLister (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setupActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_updateSortActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_updateViewActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_setupMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_prepareCompletionObjects (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_checkPreviewSupport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_resetCursor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_pathChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_insertNewFiles (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_itemDeleted (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_selectDir (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_selectFile (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_highlightFile (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_activatedMenu (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_sortByName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_sortBySize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_sortByDate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_toggleDirsFirst (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_toggleIgnoreCase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_slotCompletionMatch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirOperator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirOperator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirOperator__ */ diff --git a/kdejava/koala/kdejava/KDirSelectDialog.cpp b/kdejava/koala/kdejava/KDirSelectDialog.cpp deleted file mode 100644 index 3430d8b0..00000000 --- a/kdejava/koala/kdejava/KDirSelectDialog.cpp +++ /dev/null @@ -1,640 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KDirSelectDialogJBridge : public KDirSelectDialog -{ -public: - KDirSelectDialogJBridge(const TQString& arg1,bool arg2,TQWidget* arg3,const char* arg4,bool arg5) : KDirSelectDialog(arg1,arg2,arg3,arg4,arg5) {}; - KDirSelectDialogJBridge(const TQString& arg1,bool arg2,TQWidget* arg3,const char* arg4) : KDirSelectDialog(arg1,arg2,arg3,arg4) {}; - KDirSelectDialogJBridge(const TQString& arg1,bool arg2,TQWidget* arg3) : KDirSelectDialog(arg1,arg2,arg3) {}; - KDirSelectDialogJBridge(const TQString& arg1,bool arg2) : KDirSelectDialog(arg1,arg2) {}; - KDirSelectDialogJBridge(const TQString& arg1) : KDirSelectDialog(arg1) {}; - KDirSelectDialogJBridge() : KDirSelectDialog() {}; - void protected_accept() { - KDirSelectDialog::accept(); - return; - } - void protected_slotUser1() { - KDirSelectDialog::slotUser1(); - return; - } - ~KDirSelectDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","accept")) { - KDirSelectDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KDirSelectDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotUser1")) { - KDirSelectDialog::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDirSelectDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_accept(JNIEnv* env, jobject obj) -{ - ((KDirSelectDialogJBridge*) QtSupport::getQt(env, obj))->protected_accept(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirSelectDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDirSelectDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDirSelectDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDirSelectDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDirSelectDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirSelectDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirSelectDialog_localOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirSelectDialog*) QtSupport::getQt(env, obj))->localOnly(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirSelectDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring startDir) -{ -static TQString* _qstring_startDir = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring startDir, jboolean localOnly) -{ -static TQString* _qstring_startDir = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring startDir, jboolean localOnly, jobject parent) -{ -static TQString* _qstring_startDir = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring startDir, jboolean localOnly, jobject parent, jstring name) -{ -static TQString* _qstring_startDir = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly, (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_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring startDir, jboolean localOnly, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_startDir = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSelectDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_selectDirectory__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KDirSelectDialogJBridge::selectDirectory()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KDirSelectDialogJBridge::selectDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring startDir, jboolean localOnly) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KDirSelectDialogJBridge::selectDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly)), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jboolean localOnly, jobject parent) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KDirSelectDialogJBridge::selectDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly, (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jboolean localOnly, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KDirSelectDialogJBridge::selectDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (bool) localOnly, (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_setCurrentURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KDirSelectDialog*) QtSupport::getQt(env, obj))->setCurrentURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSelectDialog_slotUser1(JNIEnv* env, jobject obj) -{ - ((KDirSelectDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotUser1(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirSelectDialog_startDir(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDirSelectDialog*) QtSupport::getQt(env, obj))->startDir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KDirSelectDialog*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSelectDialog_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirSelectDialog*) QtSupport::getQt(env, obj))->view(), "org.kde.koala.KFileTreeView"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDirSelectDialog.h b/kdejava/koala/kdejava/KDirSelectDialog.h deleted file mode 100644 index b01897a2..00000000 --- a/kdejava/koala/kdejava/KDirSelectDialog.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirSelectDialog__ -#define __org_kde_koala_KDirSelectDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirSelectDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_newKDirSelectDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_url (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_view (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirSelectDialog_localOnly (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirSelectDialog_startDir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_setCurrentURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jboolean, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_selectDirectory__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSelectDialog_selectDirectory__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_slotUser1 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSelectDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirSelectDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirSelectDialog__ */ diff --git a/kdejava/koala/kdejava/KDirSize.cpp b/kdejava/koala/kdejava/KDirSize.cpp deleted file mode 100644 index 5f347338..00000000 --- a/kdejava/koala/kdejava/KDirSize.cpp +++ /dev/null @@ -1,186 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KDirSizeJBridge : public KDirSize -{ -public: - KDirSizeJBridge(const KURL& arg1) : KDirSize(arg1) {}; - KDirSizeJBridge(const KFileItemList& arg1) : KDirSize(arg1) {}; - void protected_setSync() { - KDirSize::setSync(); - return; - } - void protected_startNextJob(const KURL& arg1) { - KDirSize::startNextJob(arg1); - return; - } - void protected_slotResult(TDEIO::Job* arg1) { - KDirSize::slotResult(arg1); - return; - } - void protected_processList() { - KDirSize::processList(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - KDirSize::slotResult(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDirSize",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirSize_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDirSize*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSize_dirSizeJob__Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobjectArray lstItems) -{ - (void) cls; -static KFileItemList* _qlist_lstItems = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDirSizeJBridge::dirSizeJob((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, lstItems, &_qlist_lstItems)), "org.kde.koala.KDirSize"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSize_dirSizeJob__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject directory) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDirSizeJBridge::dirSizeJob((const KURL&)*(const KURL*) QtSupport::getQt(env, directory)), "org.kde.koala.KDirSize"); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KDirSize_dirSize(JNIEnv* env, jclass cls, jobject directory) -{ - (void) cls; - jlong xret = (jlong) KDirSizeJBridge::dirSize((const KURL&)*(const KURL*) QtSupport::getQt(env, directory)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirSize_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirSize*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_newKDirSize__Ljava_util_ArrayList_2(JNIEnv* env, jobject obj, jobjectArray lstItems) -{ -static KFileItemList* _qlist_lstItems = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSizeJBridge((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, lstItems, &_qlist_lstItems))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_newKDirSize__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject directory) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirSizeJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, directory))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_processList(JNIEnv* env, jobject obj) -{ - ((KDirSizeJBridge*) QtSupport::getQt(env, obj))->protected_processList(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_setSync(JNIEnv* env, jobject obj) -{ - ((KDirSizeJBridge*) QtSupport::getQt(env, obj))->protected_setSync(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((KDirSizeJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirSize_startNextJob(JNIEnv* env, jobject obj, jobject url) -{ - ((KDirSizeJBridge*) QtSupport::getQt(env, obj))->protected_startNextJob((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KDirSize_totalFiles(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KDirSize*) QtSupport::getQt(env, obj))->totalFiles(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KDirSize_totalSize(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KDirSize*) QtSupport::getQt(env, obj))->totalSize(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KDirSize_totalSubdirs(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KDirSize*) QtSupport::getQt(env, obj))->totalSubdirs(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDirSize.h b/kdejava/koala/kdejava/KDirSize.h deleted file mode 100644 index 2e112612..00000000 --- a/kdejava/koala/kdejava/KDirSize.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirSize__ -#define __org_kde_koala_KDirSize__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSize_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirSize_className (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KDirSize_totalSize (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KDirSize_totalFiles (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KDirSize_totalSubdirs (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSize_dirSizeJob__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirSize_dirSizeJob__Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KDirSize_dirSize (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_newKDirSize__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_newKDirSize__Ljava_util_ArrayList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_setSync (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_startNextJob (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_slotResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirSize_processList (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirSize__ */ diff --git a/kdejava/koala/kdejava/KDirWatch.cpp b/kdejava/koala/kdejava/KDirWatch.cpp deleted file mode 100644 index 248af90c..00000000 --- a/kdejava/koala/kdejava/KDirWatch.cpp +++ /dev/null @@ -1,297 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KDirWatchJBridge : public KDirWatch -{ -public: - KDirWatchJBridge(TQObject* arg1,const char* arg2) : KDirWatch(arg1,arg2) {}; - KDirWatchJBridge(TQObject* arg1) : KDirWatch(arg1) {}; - KDirWatchJBridge() : KDirWatch() {}; - ~KDirWatchJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDirWatch",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->addDir((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring path, jboolean watchFiles) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->addDir((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) watchFiles); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring path, jboolean watchFiles, jboolean recursive) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->addDir((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) watchFiles, (bool) recursive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_addFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->addFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDirWatch_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDirWatch*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_contains(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) ((KDirWatch*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirWatch_ctime(JNIEnv* env, jobject obj, jstring path) -{ - TQDateTime _qdate; -static TQString* _qstring_path = 0; - _qdate = ((KDirWatch*) QtSupport::getQt(env, obj))->ctime((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDirWatch_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_exists(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KDirWatchJBridge::exists(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDirWatch*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDirWatch*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDirWatch_internalMethod(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDirWatch*) QtSupport::getQt(env, obj))->internalMethod(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_isStopped(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDirWatch*) QtSupport::getQt(env, obj))->isStopped(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirWatch_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDirWatch*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_newKDirWatch__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirWatchJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_newKDirWatch__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDirWatchJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_newKDirWatch__Lorg_kde_qt_QObject_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 KDirWatchJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_removeDir(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->removeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_removeFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->removeFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_restartDirScan(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) ((KDirWatch*) QtSupport::getQt(env, obj))->restartDirScan((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDirWatch_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDirWatchJBridge::self(), "org.kde.koala.KDirWatch"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_setCreated(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->setCreated((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_setDeleted(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->setDeleted((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_setDirty(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KDirWatch*) QtSupport::getQt(env, obj))->setDirty((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_startScan__(JNIEnv* env, jobject obj) -{ - ((KDirWatch*) QtSupport::getQt(env, obj))->startScan(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_startScan__Z(JNIEnv* env, jobject obj, jboolean notify) -{ - ((KDirWatch*) QtSupport::getQt(env, obj))->startScan((bool) notify); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_startScan__ZZ(JNIEnv* env, jobject obj, jboolean notify, jboolean skippedToo) -{ - ((KDirWatch*) QtSupport::getQt(env, obj))->startScan((bool) notify, (bool) skippedToo); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_statistics(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KDirWatchJBridge::statistics(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDirWatch_stopDirScan(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) ((KDirWatch*) QtSupport::getQt(env, obj))->stopDirScan((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDirWatch_stopScan(JNIEnv* env, jobject obj) -{ - ((KDirWatch*) QtSupport::getQt(env, obj))->stopScan(); - return; -} - diff --git a/kdejava/koala/kdejava/KDirWatch.h b/kdejava/koala/kdejava/KDirWatch.h deleted file mode 100644 index 43f8779b..00000000 --- a/kdejava/koala/kdejava/KDirWatch.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDirWatch__ -#define __org_kde_koala_KDirWatch__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirWatch_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDirWatch_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_newKDirWatch__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_newKDirWatch__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_newKDirWatch__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_addDir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_addFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirWatch_ctime (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_removeDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_removeFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_stopDirScan (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_restartDirScan (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_startScan__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_startScan__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_startScan__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_stopScan (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_isStopped (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_setCreated (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_setDirty (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_setDeleted (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDirWatch_internalMethod (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_statistics (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDirWatch_self (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_exists (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDirWatch_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDirWatch_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDirWatch__ */ diff --git a/kdejava/koala/kdejava/KDiskFreeSp.cpp b/kdejava/koala/kdejava/KDiskFreeSp.cpp deleted file mode 100644 index 56627032..00000000 --- a/kdejava/koala/kdejava/KDiskFreeSp.cpp +++ /dev/null @@ -1,125 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KDiskFreeSpJBridge : public KDiskFreeSp -{ -public: - KDiskFreeSpJBridge(TQObject* arg1,const char* arg2) : KDiskFreeSp(arg1,arg2) {}; - KDiskFreeSpJBridge(TQObject* arg1) : KDiskFreeSp(arg1) {}; - KDiskFreeSpJBridge() : KDiskFreeSp() {}; - ~KDiskFreeSpJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDiskFreeSp",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDiskFreeSp_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDiskFreeSp_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDiskFreeSp_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDiskFreeSp*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDiskFreeSp*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDiskFreeSp_findUsageInfo(JNIEnv* env, jclass cls, jstring path) -{ - (void) cls; -static TQString* _qstring_path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KDiskFreeSpJBridge::findUsageInfo((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)), "org.kde.koala.KDiskFreeSp"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDiskFreeSp_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDiskFreeSpJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDiskFreeSpJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__Lorg_kde_qt_QObject_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 KDiskFreeSpJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDiskFreeSp_readDF(JNIEnv* env, jobject obj, jstring mountPoint) -{ -static TQString* _qstring_mountPoint = 0; - jint xret = (jint) ((KDiskFreeSp*) QtSupport::getQt(env, obj))->readDF((const TQString&)*(TQString*) QtSupport::toTQString(env, mountPoint, &_qstring_mountPoint)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDiskFreeSp.h b/kdejava/koala/kdejava/KDiskFreeSp.h deleted file mode 100644 index 4751ac15..00000000 --- a/kdejava/koala/kdejava/KDiskFreeSp.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDiskFreeSp__ -#define __org_kde_koala_KDiskFreeSp__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDiskFreeSp_newKDiskFreeSp__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDiskFreeSp_readDF (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDiskFreeSp_findUsageInfo (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDiskFreeSp_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDiskFreeSp_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDiskFreeSp_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDiskFreeSp__ */ diff --git a/kdejava/koala/kdejava/KDockArea.cpp b/kdejava/koala/kdejava/KDockArea.cpp deleted file mode 100644 index c33a1fe3..00000000 --- a/kdejava/koala/kdejava/KDockArea.cpp +++ /dev/null @@ -1,601 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KDockAreaJBridge : public KDockArea -{ -public: - KDockAreaJBridge(TQWidget* arg1,const char* arg2) : KDockArea(arg1,arg2) {}; - KDockAreaJBridge(TQWidget* arg1) : KDockArea(arg1) {}; - KDockAreaJBridge() : KDockArea() {}; - void protected_slotDockWidgetUndocked() { - KDockArea::slotDockWidgetUndocked(); - return; - } - ~KDockAreaJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KDockArea::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDockArea","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockArea",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockArea","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_activateDock(JNIEnv* env, jobject obj) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->activateDock(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockArea_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockArea*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent, jstring strCaption) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent, jstring strCaption, jstring strTabPageLabel) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; -static TQString* _qstring_strTabPageLabel = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption), (const TQString&)*(TQString*) QtSupport::toTQString(env, strTabPageLabel, &_qstring_strTabPageLabel)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockArea_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_dockHideShowMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->dockHideShowMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockArea*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockArea*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_getMainDockWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->getMainDockWidget(), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockArea_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_makeDockInvisible(JNIEnv* env, jobject obj, jobject dock) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->makeDockInvisible((KDockWidget*) QtSupport::getQt(env, dock)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_makeDockVisible(JNIEnv* env, jobject obj, jobject dock) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->makeDockVisible((KDockWidget*) QtSupport::getQt(env, dock)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_makeWidgetDockVisible(JNIEnv* env, jobject obj, jobject widget) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->makeWidgetDockVisible((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_manager(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->manager(), "org.kde.koala.KDockManager"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockArea_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockArea*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_newKDockArea__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockAreaJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_newKDockArea__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockAreaJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_newKDockArea__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 KDockAreaJBridge((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_koala_KDockArea_readDockConfig__(JNIEnv* env, jobject obj) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->readDockConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->readDockConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockArea*) QtSupport::getQt(env, obj))->readDockConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->readDockConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_setMainDockWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->setMainDockWidget((KDockWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_slotDockWidgetUndocked(JNIEnv* env, jobject obj) -{ - ((KDockAreaJBridge*) QtSupport::getQt(env, obj))->protected_slotDockWidgetUndocked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_writeDockConfig__(JNIEnv* env, jobject obj) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->writeDockConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->writeDockConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockArea*) QtSupport::getQt(env, obj))->writeDockConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockArea*) QtSupport::getQt(env, obj))->writeDockConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - diff --git a/kdejava/koala/kdejava/KDockArea.h b/kdejava/koala/kdejava/KDockArea.h deleted file mode 100644 index a77ad75b..00000000 --- a/kdejava/koala/kdejava/KDockArea.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockArea__ -#define __org_kde_koala_KDockArea__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockArea_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_newKDockArea__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_newKDockArea__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_newKDockArea__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_manager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_setMainDockWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_getMainDockWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_writeDockConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_writeDockConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_readDockConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_readDockConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_activateDock (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockArea_dockHideShowMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_makeDockVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_makeDockInvisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_makeWidgetDockVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_slotDockWidgetUndocked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockArea_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockArea_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockArea__ */ diff --git a/kdejava/koala/kdejava/KDockMainWindow.cpp b/kdejava/koala/kdejava/KDockMainWindow.cpp deleted file mode 100644 index bd7f3160..00000000 --- a/kdejava/koala/kdejava/KDockMainWindow.cpp +++ /dev/null @@ -1,682 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KDockMainWindowJBridge : public KDockMainWindow -{ -public: - KDockMainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KDockMainWindow(arg1,arg2,arg3) {}; - KDockMainWindowJBridge(TQWidget* arg1,const char* arg2) : KDockMainWindow(arg1,arg2) {}; - KDockMainWindowJBridge(TQWidget* arg1) : KDockMainWindow(arg1) {}; - KDockMainWindowJBridge() : KDockMainWindow() {}; - void protected_slotDockWidgetUndocked() { - KDockMainWindow::slotDockWidgetUndocked(); - return; - } - ~KDockMainWindowJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEMainWindow::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - bool queryClose() { - return QtSupport::booleanDelegate(this,"queryClose"); - } - void setCentralWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCentralWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQMainWindow::setCentralWidget(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","show")) { - TDEMainWindow::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","hide")) { - TDEMainWindow::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEMainWindow::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void removeDockWindow(TQDockWindow* arg1) { - if (!QtSupport::eventDelegate(this,"removeDockWindow",(void*)arg1,"org.kde.qt.TQDockWindow")) { - TQMainWindow::removeDockWindow(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void showAboutApplication() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","showAboutApplication")) { - TDEMainWindow::showAboutApplication(); - } - return; - } - void readGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readGlobalProperties(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - bool queryExit() { - return QtSupport::booleanDelegate(this,"queryExit"); - } - void saveProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveProperties(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.koala.KDockMainWindow","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TDEMainWindow::closeEvent(arg1); - } - return; - } - void readProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readProperties(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void setUpLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","setUpLayout")) { - TQMainWindow::setUpLayout(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TDEMainWindow::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")) { - TDEMainWindow::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void whatsThis() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","whatsThis")) { - TQMainWindow::whatsThis(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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; - } - bool isCustomizable() { - return QtSupport::booleanDelegate(this,"isCustomizable"); - } - void customize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","customize")) { - TQMainWindow::customize(); - } - return; - } - void saveGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveGlobalProperties(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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void setInstance(TDEInstance* arg1) { - if (!QtSupport::eventDelegate(this,"setInstance",(void*)arg1,"org.kde.koala.TDEInstanceInterface")) { - KXMLGUIClient::setInstance(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockMainWindow","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_activateDock(JNIEnv* env, jobject obj) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->activateDock(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockMainWindow_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockMainWindow*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent, jstring strCaption) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jobject pixmap, jobject parent, jstring strCaption, jstring strTabPageLabel) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; -static TQString* _qstring_strTabPageLabel = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->createDockWidget((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption), (const TQString&)*(TQString*) QtSupport::toTQString(env, strTabPageLabel, &_qstring_strTabPageLabel)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockMainWindow_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_dockHideShowMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->dockHideShowMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockMainWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockMainWindow*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_getMainDockWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->getMainDockWidget(), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockMainWindow_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_makeDockInvisible(JNIEnv* env, jobject obj, jobject dock) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->makeDockInvisible((KDockWidget*) QtSupport::getQt(env, dock)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_makeDockVisible(JNIEnv* env, jobject obj, jobject dock) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->makeDockVisible((KDockWidget*) QtSupport::getQt(env, dock)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_makeWidgetDockVisible(JNIEnv* env, jobject obj, jobject widget) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->makeWidgetDockVisible((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_manager(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->manager(), "org.kde.koala.KDockManager"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockMainWindow_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockMainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockMainWindowJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__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 KDockMainWindowJBridge((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_koala_KDockMainWindow_newKDockMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_readDockConfig__(JNIEnv* env, jobject obj) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->readDockConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->readDockConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockMainWindow*) QtSupport::getQt(env, obj))->readDockConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->readDockConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_setMainDockWidget(JNIEnv* env, jobject obj, jobject dockwidget) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->setMainDockWidget((KDockWidget*) QtSupport::getQt(env, dockwidget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_setView(JNIEnv* env, jobject obj, jobject widget) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->setView((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_slotDockWidgetUndocked(JNIEnv* env, jobject obj) -{ - ((KDockMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_slotDockWidgetUndocked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_writeDockConfig__(JNIEnv* env, jobject obj) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->writeDockConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->writeDockConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockMainWindow*) QtSupport::getQt(env, obj))->writeDockConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockMainWindow*) QtSupport::getQt(env, obj))->writeDockConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - diff --git a/kdejava/koala/kdejava/KDockMainWindow.h b/kdejava/koala/kdejava/KDockMainWindow.h deleted file mode 100644 index 36ada2ff..00000000 --- a/kdejava/koala/kdejava/KDockMainWindow.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockMainWindow__ -#define __org_kde_koala_KDockMainWindow__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockMainWindow_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_newKDockMainWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_manager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_setMainDockWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_getMainDockWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_createDockWidget__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_writeDockConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_writeDockConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_readDockConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_readDockConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_activateDock (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockMainWindow_dockHideShowMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_makeDockVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_makeDockInvisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_makeWidgetDockVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_setView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_slotDockWidgetUndocked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockMainWindow_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockMainWindow_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockMainWindow__ */ diff --git a/kdejava/koala/kdejava/KDockManager.cpp b/kdejava/koala/kdejava/KDockManager.cpp deleted file mode 100644 index 4ec206c0..00000000 --- a/kdejava/koala/kdejava/KDockManager.cpp +++ /dev/null @@ -1,340 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KDockManagerJBridge : public KDockManager -{ -public: - KDockManagerJBridge(TQWidget* arg1,const char* arg2) : KDockManager(arg1,arg2) {}; - KDockManagerJBridge(TQWidget* arg1) : KDockManager(arg1) {}; - ~KDockManagerJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockManager",object,event)) { - return KDockManager::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_activate(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->activate(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockManager_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockManager*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockManager_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockManager_dockHideShowMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockManager*) QtSupport::getQt(env, obj))->dockHideShowMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_dumpDockWidgets(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->dumpDockWidgets(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockManager_eventFilter(JNIEnv* env, jobject obj, jobject object, jobject event) -{ - jboolean xret = (jboolean) ((KDockManager*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, object), (TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDockManager*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDockManager*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockManager_findWidgetParentDock(JNIEnv* env, jobject obj, jobject w) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockManager*) QtSupport::getQt(env, obj))->findWidgetParentDock((TQWidget*) QtSupport::getQt(env, w)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_finishReadDockConfig(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->finishReadDockConfig(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockManager_getDockWidgetFromName(JNIEnv* env, jobject obj, jstring dockName) -{ -static TQString* _qstring_dockName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockManager*) QtSupport::getQt(env, obj))->getDockWidgetFromName((const TQString&)*(TQString*) QtSupport::toTQString(env, dockName, &_qstring_dockName)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockManager_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_makeWidgetDockVisible(JNIEnv* env, jobject obj, jobject w) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->makeWidgetDockVisible((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockManager_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_newKDockManager__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject mainWindow) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockManagerJBridge((TQWidget*) QtSupport::getQt(env, mainWindow))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_newKDockManager__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject mainWindow, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockManagerJBridge((TQWidget*) QtSupport::getQt(env, mainWindow), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_readConfig__(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->readConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockManager*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->readConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_removeFromAutoCreateList(JNIEnv* env, jobject obj, jobject pDockWidget) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->removeFromAutoCreateList((KDockWidget*) QtSupport::getQt(env, pDockWidget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setMainDockWidget2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setMainDockWidget2((KDockWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setReadDockConfigMode(JNIEnv* env, jobject obj, jint mode) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setReadDockConfigMode((int) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSpecialBottomDockContainer(JNIEnv* env, jobject obj, jobject container) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSpecialBottomDockContainer((KDockWidget*) QtSupport::getQt(env, container)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSpecialLeftDockContainer(JNIEnv* env, jobject obj, jobject container) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSpecialLeftDockContainer((KDockWidget*) QtSupport::getQt(env, container)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSpecialRightDockContainer(JNIEnv* env, jobject obj, jobject container) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSpecialRightDockContainer((KDockWidget*) QtSupport::getQt(env, container)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSpecialTopDockContainer(JNIEnv* env, jobject obj, jobject container) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSpecialTopDockContainer((KDockWidget*) QtSupport::getQt(env, container)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterHighResolution__(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterHighResolution(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterHighResolution__Z(JNIEnv* env, jobject obj, jboolean b) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterHighResolution((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterKeepSize__(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterKeepSize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterKeepSize__Z(JNIEnv* env, jobject obj, jboolean b) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterKeepSize((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterOpaqueResize__(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterOpaqueResize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_setSplitterOpaqueResize__Z(JNIEnv* env, jobject obj, jboolean b) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->setSplitterOpaqueResize((bool) b); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockManager_splitterHighResolution(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockManager*) QtSupport::getQt(env, obj))->splitterHighResolution(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockManager_splitterKeepSize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockManager*) QtSupport::getQt(env, obj))->splitterKeepSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockManager_splitterOpaqueResize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockManager*) QtSupport::getQt(env, obj))->splitterOpaqueResize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_writeConfig__(JNIEnv* env, jobject obj) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->writeConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject c, jstring group) -{ -static TQString* _qstring_group = 0; - ((KDockManager*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, c), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject base) -{ - ((KDockManager*) QtSupport::getQt(env, obj))->writeConfig((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, base)); - return; -} - diff --git a/kdejava/koala/kdejava/KDockManager.h b/kdejava/koala/kdejava/KDockManager.h deleted file mode 100644 index 44d149b8..00000000 --- a/kdejava/koala/kdejava/KDockManager.h +++ /dev/null @@ -1,57 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockManager__ -#define __org_kde_koala_KDockManager__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockManager_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockManager_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_newKDockManager__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_newKDockManager__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_dumpDockWidgets (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_writeConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_readConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setMainDockWidget2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_writeConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_readConfig__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_activate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockManager_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockManager_findWidgetParentDock (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_makeWidgetDockVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockManager_dockHideShowMenu (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockManager_getDockWidgetFromName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterOpaqueResize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterOpaqueResize__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockManager_splitterOpaqueResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterKeepSize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterKeepSize__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockManager_splitterKeepSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterHighResolution__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSplitterHighResolution__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockManager_splitterHighResolution (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSpecialLeftDockContainer (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSpecialTopDockContainer (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSpecialRightDockContainer (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setSpecialBottomDockContainer (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_removeFromAutoCreateList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_finishReadDockConfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_setReadDockConfigMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockManager_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockManager_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockManager__ */ diff --git a/kdejava/koala/kdejava/KDockTabGroup.cpp b/kdejava/koala/kdejava/KDockTabGroup.cpp deleted file mode 100644 index d32e5dce..00000000 --- a/kdejava/koala/kdejava/KDockTabGroup.cpp +++ /dev/null @@ -1,431 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KDockTabGroupJBridge : public KDockTabGroup -{ -public: - KDockTabGroupJBridge(TQWidget* arg1,const char* arg2) : KDockTabGroup(arg1,arg2) {}; - KDockTabGroupJBridge(TQWidget* arg1) : KDockTabGroup(arg1) {}; - KDockTabGroupJBridge() : KDockTabGroup() {}; - ~KDockTabGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void removePage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQTabWidget::removePage(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTabWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDockTabGroup","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","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")) { - TQTabWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 showPage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQTabWidget::showPage(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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockTabGroup","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockTabGroup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockTabGroup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockTabGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockTabGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockTabGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockTabGroup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockTabGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockTabGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockTabGroup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockTabGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockTabGroupJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockTabGroupJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__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 KDockTabGroupJBridge((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_koala_KDockTabGroup_transientTo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockTabGroup*) QtSupport::getQt(env, obj))->transientTo(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDockTabGroup.h b/kdejava/koala/kdejava/KDockTabGroup.h deleted file mode 100644 index e2f6c3d0..00000000 --- a/kdejava/koala/kdejava/KDockTabGroup.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockTabGroup__ -#define __org_kde_koala_KDockTabGroup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockTabGroup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockTabGroup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockTabGroup_newKDockTabGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockTabGroup_transientTo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockTabGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockTabGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockTabGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockTabGroup__ */ diff --git a/kdejava/koala/kdejava/KDockWidget.cpp b/kdejava/koala/kdejava/KDockWidget.cpp deleted file mode 100644 index a5268ce0..00000000 --- a/kdejava/koala/kdejava/KDockWidget.cpp +++ /dev/null @@ -1,885 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KDockWidgetJBridge : public KDockWidget -{ -public: - KDockWidgetJBridge(KDockManager* arg1,const char* arg2,const TQPixmap& arg3,TQWidget* arg4,const TQString& arg5,const TQString& arg6,TQt::WFlags arg7) : KDockWidget(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDockWidgetJBridge(KDockManager* arg1,const char* arg2,const TQPixmap& arg3,TQWidget* arg4,const TQString& arg5,const TQString& arg6) : KDockWidget(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDockWidgetJBridge(KDockManager* arg1,const char* arg2,const TQPixmap& arg3,TQWidget* arg4,const TQString& arg5) : KDockWidget(arg1,arg2,arg3,arg4,arg5) {}; - KDockWidgetJBridge(KDockManager* arg1,const char* arg2,const TQPixmap& arg3,TQWidget* arg4) : KDockWidget(arg1,arg2,arg3,arg4) {}; - KDockWidgetJBridge(KDockManager* arg1,const char* arg2,const TQPixmap& arg3) : KDockWidget(arg1,arg2,arg3) {}; - void public_show() { - KDockWidget::show(); - return; - } - void protected_updateHeader() { - KDockWidget::updateHeader(); - return; - } - void protected_setLatestKDockContainer(TQWidget* arg1) { - KDockWidget::setLatestKDockContainer(arg1); - return; - } - TQWidget* protected_latestKDockContainer() { - return (TQWidget*) KDockWidget::latestKDockContainer(); - } - void protected_setFormerBrotherDockWidget(KDockWidget* arg1) { - KDockWidget::setFormerBrotherDockWidget(arg1); - return; - } - void protected_loseFormerBrotherDockWidget() { - KDockWidget::loseFormerBrotherDockWidget(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KDockWidget::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KDockWidget::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KDockWidget::mouseReleaseEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KDockWidget::mouseMoveEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - KDockWidget::leaveEvent(arg1); - return; - } - ~KDockWidgetJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","show")) { - KDockWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KDockWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDockWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KDockWidget::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")) { - KDockWidget::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KDockWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KDockWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_changeHideShowState(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->changeHideShowState(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDockWidget_currentDockPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDockWidget*) QtSupport::getQt(env, obj))->currentDockPosition(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_dockBack(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->dockBack(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_dockManager(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->dockManager(), "org.kde.koala.KDockManager"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDockWidget_dockSite(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDockWidget*) QtSupport::getQt(env, obj))->dockSite(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDockWidget_enableDocking(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDockWidget*) QtSupport::getQt(env, obj))->enableDocking(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidget_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KDockWidget*) QtSupport::getQt(env, obj))->event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_findNearestDockWidget(JNIEnv* env, jobject obj, jint pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->findNearestDockWidget((KDockWidget::DockPosition) pos), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDockWidget_forcedFixedHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDockWidget*) QtSupport::getQt(env, obj))->forcedFixedHeight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDockWidget_forcedFixedWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDockWidget*) QtSupport::getQt(env, obj))->forcedFixedWidth(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_getHeader(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->getHeader(), "org.kde.koala.KDockWidgetAbstractHeader"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_getWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->getWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidget_isDockBackPossible(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockWidget*) QtSupport::getQt(env, obj))->isDockBackPossible(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_latestKDockContainer(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_latestKDockContainer(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_loseFormerBrotherDockWidget(JNIEnv* env, jobject obj) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_loseFormerBrotherDockWidget(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_makeDockVisible(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->makeDockVisible(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2I(JNIEnv* env, jobject obj, jobject target, jint dockPos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->manualDock((KDockWidget*) QtSupport::getQt(env, target), (KDockWidget::DockPosition) dockPos), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2II(JNIEnv* env, jobject obj, jobject target, jint dockPos, jint spliPos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->manualDock((KDockWidget*) QtSupport::getQt(env, target), (KDockWidget::DockPosition) dockPos, (int) spliPos), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject target, jint dockPos, jint spliPos, jobject pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->manualDock((KDockWidget*) QtSupport::getQt(env, target), (KDockWidget::DockPosition) dockPos, (int) spliPos, (TQPoint)*(TQPoint*) QtSupport::getQt(env, pos)), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject target, jint dockPos, jint spliPos, jobject pos, jboolean check) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->manualDock((KDockWidget*) QtSupport::getQt(env, target), (KDockWidget::DockPosition) dockPos, (int) spliPos, (TQPoint)*(TQPoint*) QtSupport::getQt(env, pos), (bool) check), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2ZI(JNIEnv* env, jobject obj, jobject target, jint dockPos, jint spliPos, jobject pos, jboolean check, jint tabIndex) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->manualDock((KDockWidget*) QtSupport::getQt(env, target), (KDockWidget::DockPosition) dockPos, (int) spliPos, (TQPoint)*(TQPoint*) QtSupport::getQt(env, pos), (bool) check, (int) tabIndex), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidget_mayBeHide(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockWidget*) QtSupport::getQt(env, obj))->mayBeHide(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidget_mayBeShow(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockWidget*) QtSupport::getQt(env, obj))->mayBeShow(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject dockManager, jstring name, jobject pixmap) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetJBridge((KDockManager*) QtSupport::getQt(env, dockManager), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dockManager, jstring name, jobject pixmap, jobject parent) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetJBridge((KDockManager*) QtSupport::getQt(env, dockManager), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dockManager, jstring name, jobject pixmap, jobject parent, jstring strCaption) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetJBridge((KDockManager*) QtSupport::getQt(env, dockManager), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dockManager, jstring name, jobject pixmap, jobject parent, jstring strCaption, jstring strTabPageLabel) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; -static TQString* _qstring_strTabPageLabel = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetJBridge((KDockManager*) QtSupport::getQt(env, dockManager), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption), (const TQString&)*(TQString*) QtSupport::toTQString(env, strTabPageLabel, &_qstring_strTabPageLabel))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject dockManager, jstring name, jobject pixmap, jobject parent, jstring strCaption, jstring strTabPageLabel, jint f) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_strCaption = 0; -static TQString* _qstring_strTabPageLabel = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetJBridge((KDockManager*) QtSupport::getQt(env, dockManager), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, strCaption, &_qstring_strCaption), (const TQString&)*(TQString*) QtSupport::toTQString(env, strTabPageLabel, &_qstring_strTabPageLabel), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_parentDockContainer(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->parentDockContainer(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_parentDockTabGroup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->parentDockTabGroup(), "org.kde.koala.KDockTabGroup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((KDockWidget*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_restoreFromForcedFixedSize(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->restoreFromForcedFixedSize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setDockSite(JNIEnv* env, jobject obj, jint pos) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setDockSite((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setDockWindowTransient(JNIEnv* env, jobject obj, jobject parent, jboolean transientEnabled) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setDockWindowTransient((TQWidget*) QtSupport::getQt(env, parent), (bool) transientEnabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setDockWindowType(JNIEnv* env, jobject obj, jint windowType) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setDockWindowType((NET::WindowType) windowType); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setEnableDocking(JNIEnv* env, jobject obj, jint pos) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setEnableDocking((int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setForcedFixedHeight(JNIEnv* env, jobject obj, jint arg1) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setForcedFixedHeight((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setForcedFixedWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setForcedFixedWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setFormerBrotherDockWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setFormerBrotherDockWidget((KDockWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setHeader(JNIEnv* env, jobject obj, jobject ah) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setHeader((KDockWidgetAbstractHeader*) QtSupport::getQt(env, ah)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setLatestKDockContainer(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setLatestKDockContainer((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setPixmap__(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setPixmap(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setTabPageLabel(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - ((KDockWidget*) QtSupport::getQt(env, obj))->setTabPageLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setToolTipString(JNIEnv* env, jobject obj, jstring ttStr) -{ -static TQString* _qstring_ttStr = 0; - ((KDockWidget*) QtSupport::getQt(env, obj))->setToolTipString((const TQString&)*(TQString*) QtSupport::toTQString(env, ttStr, &_qstring_ttStr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_setWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->setWidget((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_show(JNIEnv* env, jobject obj) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidget_tabPageLabel(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDockWidget*) QtSupport::getQt(env, obj))->tabPageLabel(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_toDesktop(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->toDesktop(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidget_toolTipString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDockWidget*) QtSupport::getQt(env, obj))->toolTipString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidget_transientTo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidget*) QtSupport::getQt(env, obj))->transientTo(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_undock(JNIEnv* env, jobject obj) -{ - ((KDockWidget*) QtSupport::getQt(env, obj))->undock(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidget_updateHeader(JNIEnv* env, jobject obj) -{ - ((KDockWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateHeader(); - return; -} - diff --git a/kdejava/koala/kdejava/KDockWidget.h b/kdejava/koala/kdejava/KDockWidget.h deleted file mode 100644 index b11e21b3..00000000 --- a/kdejava/koala/kdejava/KDockWidget.h +++ /dev/null @@ -1,81 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockWidget__ -#define __org_kde_koala_KDockWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_newKDockWidget__Lorg_kde_koala_KDockManager_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2ZI (JNIEnv *env, jobject, jobject, jint, jint, jobject, jboolean, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jobject, jint, jint, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2IILorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_manualDock__Lorg_kde_koala_KDockWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setEnableDocking (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDockWidget_enableDocking (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setDockSite (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDockWidget_dockSite (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_getWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setHeader (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_getHeader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_makeDockVisible (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidget_mayBeHide (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidget_mayBeShow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_dockManager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setToolTipString (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidget_toolTipString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidget_isDockBackPossible (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setTabPageLabel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidget_tabPageLabel (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidget_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_show (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_parentDockTabGroup (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_parentDockContainer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setDockWindowType (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setDockWindowTransient (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_transientTo (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_findNearestDockWidget (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setPixmap__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDockWidget_currentDockPosition (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setForcedFixedWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setForcedFixedHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_restoreFromForcedFixedSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDockWidget_forcedFixedWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDockWidget_forcedFixedHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_dockBack (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_changeHideShowState (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_undock (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_toDesktop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_updateHeader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setLatestKDockContainer (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidget_latestKDockContainer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_setFormerBrotherDockWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_loseFormerBrotherDockWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockWidget__ */ diff --git a/kdejava/koala/kdejava/KDockWidgetAbstractHeader.cpp b/kdejava/koala/kdejava/KDockWidgetAbstractHeader.cpp deleted file mode 100644 index f74a15db..00000000 --- a/kdejava/koala/kdejava/KDockWidgetAbstractHeader.cpp +++ /dev/null @@ -1,471 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KDockWidgetAbstractHeaderJBridge : public KDockWidgetAbstractHeader -{ -public: - KDockWidgetAbstractHeaderJBridge(KDockWidget* arg1,const char* arg2) : KDockWidgetAbstractHeader(arg1,arg2) {}; - KDockWidgetAbstractHeaderJBridge(KDockWidget* arg1) : KDockWidgetAbstractHeader(arg1) {}; - ~KDockWidgetAbstractHeaderJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KDockWidgetAbstractHeader","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDockWidgetAbstractHeader","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - void loadConfig(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"loadConfig",(void*)arg1,"org.kde.koala.TDEConfig")) { - KDockWidgetAbstractHeader::loadConfig(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 saveConfig(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveConfig",(void*)arg1,"org.kde.koala.TDEConfig")) { - KDockWidgetAbstractHeader::saveConfig(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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeader","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockWidgetAbstractHeader*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockWidgetAbstractHeader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockWidgetAbstractHeader*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockWidgetAbstractHeader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_loadConfig(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetAbstractHeader*) QtSupport::getQt(env, obj))->loadConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetAbstractHeader*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_newKDockWidgetAbstractHeader__Lorg_kde_koala_KDockWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetAbstractHeaderJBridge((KDockWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_newKDockWidgetAbstractHeader__Lorg_kde_koala_KDockWidget_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 KDockWidgetAbstractHeaderJBridge((KDockWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_saveConfig(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetAbstractHeader*) QtSupport::getQt(env, obj))->saveConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeader_setTopLevel(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KDockWidgetAbstractHeader*) QtSupport::getQt(env, obj))->setTopLevel((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/KDockWidgetAbstractHeader.h b/kdejava/koala/kdejava/KDockWidgetAbstractHeader.h deleted file mode 100644 index 6eb5a790..00000000 --- a/kdejava/koala/kdejava/KDockWidgetAbstractHeader.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockWidgetAbstractHeader__ -#define __org_kde_koala_KDockWidgetAbstractHeader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_newKDockWidgetAbstractHeader__Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_newKDockWidgetAbstractHeader__Lorg_kde_koala_KDockWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_setTopLevel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_saveConfig (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_loadConfig (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidgetAbstractHeader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockWidgetAbstractHeader__ */ diff --git a/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.cpp b/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.cpp deleted file mode 100644 index 2c815caf..00000000 --- a/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.cpp +++ /dev/null @@ -1,445 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KDockWidgetAbstractHeaderDragJBridge : public KDockWidgetAbstractHeaderDrag -{ -public: - KDockWidgetAbstractHeaderDragJBridge(KDockWidgetAbstractHeader* arg1,KDockWidget* arg2,const char* arg3) : KDockWidgetAbstractHeaderDrag(arg1,arg2,arg3) {}; - KDockWidgetAbstractHeaderDragJBridge(KDockWidgetAbstractHeader* arg1,KDockWidget* arg2) : KDockWidgetAbstractHeaderDrag(arg1,arg2) {}; - ~KDockWidgetAbstractHeaderDragJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KDockWidgetAbstractHeaderDrag","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDockWidgetAbstractHeaderDrag","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetAbstractHeaderDrag","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockWidgetAbstractHeaderDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_dockWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetAbstractHeaderDrag*) QtSupport::getQt(env, obj))->dockWidget(), "org.kde.koala.KDockWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockWidgetAbstractHeaderDrag*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockWidgetAbstractHeaderDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetAbstractHeaderDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_newKDockWidgetAbstractHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2(JNIEnv* env, jobject obj, jobject parent, jobject dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetAbstractHeaderDragJBridge((KDockWidgetAbstractHeader*) QtSupport::getQt(env, parent), (KDockWidget*) QtSupport::getQt(env, dock))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_newKDockWidgetAbstractHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject dock, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetAbstractHeaderDragJBridge((KDockWidgetAbstractHeader*) QtSupport::getQt(env, parent), (KDockWidget*) QtSupport::getQt(env, dock), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.h b/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.h deleted file mode 100644 index 3403fbc3..00000000 --- a/kdejava/koala/kdejava/KDockWidgetAbstractHeaderDrag.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockWidgetAbstractHeaderDrag__ -#define __org_kde_koala_KDockWidgetAbstractHeaderDrag__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_newKDockWidgetAbstractHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_newKDockWidgetAbstractHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_dockWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidgetAbstractHeaderDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockWidgetAbstractHeaderDrag__ */ diff --git a/kdejava/koala/kdejava/KDockWidgetHeader.cpp b/kdejava/koala/kdejava/KDockWidgetHeader.cpp deleted file mode 100644 index 140e732e..00000000 --- a/kdejava/koala/kdejava/KDockWidgetHeader.cpp +++ /dev/null @@ -1,531 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KDockWidgetHeaderJBridge : public KDockWidgetHeader -{ -public: - KDockWidgetHeaderJBridge(KDockWidget* arg1,const char* arg2) : KDockWidgetHeader(arg1,arg2) {}; - KDockWidgetHeaderJBridge(KDockWidget* arg1) : KDockWidgetHeader(arg1) {}; - void protected_slotStayClicked() { - KDockWidgetHeader::slotStayClicked(); - return; - } - ~KDockWidgetHeaderJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KDockWidgetHeader","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDockWidgetHeader","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - void loadConfig(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"loadConfig",(void*)arg1,"org.kde.koala.TDEConfig")) { - KDockWidgetHeader::loadConfig(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 saveConfig(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveConfig",(void*)arg1,"org.kde.koala.TDEConfig")) { - KDockWidgetHeader::saveConfig(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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockWidgetHeader",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeader","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidgetHeader_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockWidgetHeader_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidgetHeader_dragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->dragEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetHeader_dragPanel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetHeader*) QtSupport::getQt(env, obj))->dragPanel(), "org.kde.koala.KDockWidgetHeaderDrag"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockWidgetHeader*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockWidgetHeader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_forceCloseButtonHidden__(JNIEnv* env, jobject obj) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->forceCloseButtonHidden(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_forceCloseButtonHidden__Z(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->forceCloseButtonHidden((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidgetHeader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_loadConfig(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->loadConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetHeader_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetHeader*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_newKDockWidgetHeader__Lorg_kde_koala_KDockWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetHeaderJBridge((KDockWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_newKDockWidgetHeader__Lorg_kde_koala_KDockWidget_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 KDockWidgetHeaderJBridge((KDockWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_saveConfig(JNIEnv* env, jobject obj, jobject c) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->saveConfig((TDEConfig*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_setDragEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_setDragPanel(JNIEnv* env, jobject obj, jobject nd) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->setDragPanel((KDockWidgetHeaderDrag*) QtSupport::getQt(env, nd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_setTopLevel(JNIEnv* env, jobject obj, jboolean t) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->setTopLevel((bool) t); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_showUndockButton(JNIEnv* env, jobject obj, jboolean show) -{ - ((KDockWidgetHeader*) QtSupport::getQt(env, obj))->showUndockButton((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeader_slotStayClicked(JNIEnv* env, jobject obj) -{ - ((KDockWidgetHeaderJBridge*) QtSupport::getQt(env, obj))->protected_slotStayClicked(); - return; -} - diff --git a/kdejava/koala/kdejava/KDockWidgetHeader.h b/kdejava/koala/kdejava/KDockWidgetHeader.h deleted file mode 100644 index 5941185c..00000000 --- a/kdejava/koala/kdejava/KDockWidgetHeader.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockWidgetHeader__ -#define __org_kde_koala_KDockWidgetHeader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetHeader_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidgetHeader_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_newKDockWidgetHeader__Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_newKDockWidgetHeader__Lorg_kde_koala_KDockWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_setTopLevel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_setDragPanel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetHeader_dragPanel (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidgetHeader_dragEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_setDragEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_showUndockButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_forceCloseButtonHidden__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_forceCloseButtonHidden__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_saveConfig (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_loadConfig (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_slotStayClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidgetHeader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockWidgetHeader__ */ diff --git a/kdejava/koala/kdejava/KDockWidgetHeaderDrag.cpp b/kdejava/koala/kdejava/KDockWidgetHeaderDrag.cpp deleted file mode 100644 index aac8f3b1..00000000 --- a/kdejava/koala/kdejava/KDockWidgetHeaderDrag.cpp +++ /dev/null @@ -1,449 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KDockWidgetHeaderDragJBridge : public KDockWidgetHeaderDrag -{ -public: - KDockWidgetHeaderDragJBridge(KDockWidgetAbstractHeader* arg1,KDockWidget* arg2,const char* arg3) : KDockWidgetHeaderDrag(arg1,arg2,arg3) {}; - KDockWidgetHeaderDragJBridge(KDockWidgetAbstractHeader* arg1,KDockWidget* arg2) : KDockWidgetHeaderDrag(arg1,arg2) {}; - void protected_paintEvent(TQPaintEvent* arg1) { - KDockWidgetHeaderDrag::paintEvent(arg1); - return; - } - ~KDockWidgetHeaderDragJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KDockWidgetHeaderDrag","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KDockWidgetHeaderDrag::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDockWidgetHeaderDrag","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDockWidgetHeaderDrag","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDockWidgetHeaderDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDockWidgetHeaderDrag_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDockWidgetHeaderDrag*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDockWidgetHeaderDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDockWidgetHeaderDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_newKDockWidgetHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2(JNIEnv* env, jobject obj, jobject parent, jobject dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetHeaderDragJBridge((KDockWidgetAbstractHeader*) QtSupport::getQt(env, parent), (KDockWidget*) QtSupport::getQt(env, dock))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_newKDockWidgetHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject dock, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDockWidgetHeaderDragJBridge((KDockWidgetAbstractHeader*) QtSupport::getQt(env, parent), (KDockWidget*) QtSupport::getQt(env, dock), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDockWidgetHeaderDrag_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDockWidgetHeaderDragJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KDockWidgetHeaderDrag.h b/kdejava/koala/kdejava/KDockWidgetHeaderDrag.h deleted file mode 100644 index a9bd31a9..00000000 --- a/kdejava/koala/kdejava/KDockWidgetHeaderDrag.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDockWidgetHeaderDrag__ -#define __org_kde_koala_KDockWidgetHeaderDrag__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_newKDockWidgetHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_newKDockWidgetHeaderDrag__Lorg_kde_koala_KDockWidgetAbstractHeader_2Lorg_kde_koala_KDockWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDockWidgetHeaderDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDockWidgetHeaderDrag__ */ diff --git a/kdejava/koala/kdejava/KDoubleNumInput.cpp b/kdejava/koala/kdejava/KDoubleNumInput.cpp deleted file mode 100644 index 531e9536..00000000 --- a/kdejava/koala/kdejava/KDoubleNumInput.cpp +++ /dev/null @@ -1,773 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KDoubleNumInputJBridge : public KDoubleNumInput -{ -public: - KDoubleNumInputJBridge(TQWidget* arg1,const char* arg2) : KDoubleNumInput(arg1,arg2) {}; - KDoubleNumInputJBridge(TQWidget* arg1) : KDoubleNumInput(arg1) {}; - KDoubleNumInputJBridge() : KDoubleNumInput() {}; - KDoubleNumInputJBridge(double arg1,double arg2,double arg3,double arg4,int arg5,TQWidget* arg6,const char* arg7) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDoubleNumInputJBridge(double arg1,double arg2,double arg3,double arg4,int arg5,TQWidget* arg6) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDoubleNumInputJBridge(double arg1,double arg2,double arg3,double arg4,int arg5) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5) {}; - KDoubleNumInputJBridge(double arg1,double arg2,double arg3,double arg4) : KDoubleNumInput(arg1,arg2,arg3,arg4) {}; - KDoubleNumInputJBridge(double arg1,double arg2,double arg3) : KDoubleNumInput(arg1,arg2,arg3) {}; - KDoubleNumInputJBridge(KNumInput* arg1,double arg2,double arg3,double arg4,double arg5,int arg6,TQWidget* arg7,const char* arg8) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KDoubleNumInputJBridge(KNumInput* arg1,double arg2,double arg3,double arg4,double arg5,int arg6,TQWidget* arg7) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KDoubleNumInputJBridge(KNumInput* arg1,double arg2,double arg3,double arg4,double arg5,int arg6) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KDoubleNumInputJBridge(KNumInput* arg1,double arg2,double arg3,double arg4,double arg5) : KDoubleNumInput(arg1,arg2,arg3,arg4,arg5) {}; - KDoubleNumInputJBridge(KNumInput* arg1,double arg2,double arg3,double arg4) : KDoubleNumInput(arg1,arg2,arg3,arg4) {}; - void protected_doLayout() { - KDoubleNumInput::doLayout(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KDoubleNumInput::resizeEvent(arg1); - return; - } - void protected_resetEditBox() { - KDoubleNumInput::resetEditBox(); - return; - } - ~KDoubleNumInputJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KDoubleNumInput::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void resetEditBox() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","resetEditBox")) { - KDoubleNumInput::resetEditBox(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDoubleNumInput","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void doLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","doLayout")) { - KDoubleNumInput::doLayout(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDoubleNumInput",object,event)) { - return KDoubleNumInput::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDoubleNumInput","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDoubleNumInput_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDoubleNumInput*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDoubleNumInput_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_doLayout(JNIEnv* env, jobject obj) -{ - ((KDoubleNumInputJBridge*) QtSupport::getQt(env, obj))->protected_doLayout(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDoubleNumInput_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDoubleNumInput*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDoubleNumInput*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDoubleNumInput_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KDoubleNumInput_maxValue(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDoubleNumInput_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDoubleNumInput*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KDoubleNumInput_minValue(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDoubleNumInput_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDoubleNumInput*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDD(JNIEnv* env, jobject obj, jdouble lower, jdouble upper, jdouble value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((double) lower, (double) upper, (double) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDD(JNIEnv* env, jobject obj, jdouble lower, jdouble upper, jdouble value, jdouble step) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((double) lower, (double) upper, (double) value, (double) step)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDI(JNIEnv* env, jobject obj, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((double) lower, (double) upper, (double) value, (double) step, (int) precision)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((double) lower, (double) upper, (double) value, (double) step, (int) precision, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((double) lower, (double) upper, (double) value, (double) step, (int) precision, (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_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDD(JNIEnv* env, jobject obj, jobject below, jdouble lower, jdouble upper, jdouble value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (double) lower, (double) upper, (double) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDD(JNIEnv* env, jobject obj, jobject below, jdouble lower, jdouble upper, jdouble value, jdouble step) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (double) lower, (double) upper, (double) value, (double) step)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDI(JNIEnv* env, jobject obj, jobject below, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (double) lower, (double) upper, (double) value, (double) step, (int) precision)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject below, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (double) lower, (double) upper, (double) value, (double) step, (int) precision, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject below, jdouble lower, jdouble upper, jdouble value, jdouble step, jint precision, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (double) lower, (double) upper, (double) value, (double) step, (int) precision, (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_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleNumInputJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__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 KDoubleNumInputJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDoubleNumInput_precision(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->precision(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDoubleNumInput_prefix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDoubleNumInput*) QtSupport::getQt(env, obj))->prefix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KDoubleNumInput_referencePoint(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->referencePoint(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KDoubleNumInput_relativeValue(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->relativeValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_resetEditBox(JNIEnv* env, jobject obj) -{ - ((KDoubleNumInputJBridge*) QtSupport::getQt(env, obj))->protected_resetEditBox(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KDoubleNumInputJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint a) -{ -static TQString* _qstring_label = 0; - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setMaxValue(JNIEnv* env, jobject obj, jdouble max) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setMaxValue((double) max); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setMinValue(JNIEnv* env, jobject obj, jdouble min) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setMinValue((double) min); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setPrecision(JNIEnv* env, jobject obj, jint precision) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setPrecision((int) precision); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setPrefix(JNIEnv* env, jobject obj, jstring prefix) -{ -static TQString* _qstring_prefix = 0; - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setRange__DD(JNIEnv* env, jobject obj, jdouble min, jdouble max) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setRange((double) min, (double) max); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setRange__DDD(JNIEnv* env, jobject obj, jdouble min, jdouble max, jdouble step) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setRange((double) min, (double) max, (double) step); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setRange__DDDZ(JNIEnv* env, jobject obj, jdouble min, jdouble max, jdouble step, jboolean slider) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setRange((double) min, (double) max, (double) step, (bool) slider); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setReferencePoint(JNIEnv* env, jobject obj, jdouble ref) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setReferencePoint((double) ref); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setRelativeValue(JNIEnv* env, jobject obj, jdouble arg1) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setRelativeValue((double) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setSpecialValueText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setSpecialValueText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setSuffix(JNIEnv* env, jobject obj, jstring suffix) -{ -static TQString* _qstring_suffix = 0; - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setSuffix((const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleNumInput_setValue(JNIEnv* env, jobject obj, jdouble arg1) -{ - ((KDoubleNumInput*) QtSupport::getQt(env, obj))->setValue((double) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDoubleNumInput_specialValueText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDoubleNumInput*) QtSupport::getQt(env, obj))->specialValueText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDoubleNumInput_suffix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KDoubleNumInput*) QtSupport::getQt(env, obj))->suffix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KDoubleNumInput_value(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KDoubleNumInput*) QtSupport::getQt(env, obj))->value(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDoubleNumInput.h b/kdejava/koala/kdejava/KDoubleNumInput.h deleted file mode 100644 index 4117773b..00000000 --- a/kdejava/koala/kdejava/KDoubleNumInput.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDoubleNumInput__ -#define __org_kde_koala_KDoubleNumInput__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDoubleNumInput_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDoubleNumInput_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDDI (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDDD (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__DDD (JNIEnv *env, jobject, jdouble, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jdouble, jdouble, jdouble, jdouble, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jdouble, jdouble, jdouble, jdouble, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDDI (JNIEnv *env, jobject, jobject, jdouble, jdouble, jdouble, jdouble, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDDD (JNIEnv *env, jobject, jobject, jdouble, jdouble, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_newKDoubleNumInput__Lorg_kde_koala_KNumInput_2DDD (JNIEnv *env, jobject, jobject, jdouble, jdouble, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KDoubleNumInput_value (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDoubleNumInput_suffix (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDoubleNumInput_prefix (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDoubleNumInput_precision (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDoubleNumInput_specialValueText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setRange__DDDZ (JNIEnv *env, jobject, jdouble, jdouble, jdouble, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setRange__DDD (JNIEnv *env, jobject, jdouble, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setRange__DD (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setMinValue (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KDoubleNumInput_minValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setMaxValue (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KDoubleNumInput_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setPrecision (JNIEnv *env, jobject, jint); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KDoubleNumInput_referencePoint (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KDoubleNumInput_relativeValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setSpecialValueText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setLabel__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDoubleNumInput_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDoubleNumInput_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setValue (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setRelativeValue (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setReferencePoint (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setSuffix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_setPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_doLayout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_resetEditBox (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleNumInput_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDoubleNumInput_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDoubleNumInput__ */ diff --git a/kdejava/koala/kdejava/KDoubleValidator.cpp b/kdejava/koala/kdejava/KDoubleValidator.cpp deleted file mode 100644 index 004c2d6d..00000000 --- a/kdejava/koala/kdejava/KDoubleValidator.cpp +++ /dev/null @@ -1,161 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KDoubleValidatorJBridge : public KDoubleValidator -{ -public: - KDoubleValidatorJBridge(TQObject* arg1,const char* arg2) : KDoubleValidator(arg1,arg2) {}; - KDoubleValidatorJBridge(TQObject* arg1) : KDoubleValidator(arg1) {}; - KDoubleValidatorJBridge(double arg1,double arg2,int arg3,TQObject* arg4,const char* arg5) : KDoubleValidator(arg1,arg2,arg3,arg4,arg5) {}; - KDoubleValidatorJBridge(double arg1,double arg2,int arg3,TQObject* arg4) : KDoubleValidator(arg1,arg2,arg3,arg4) {}; - ~KDoubleValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDoubleValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDoubleValidator_acceptLocalizedNumbers(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KDoubleValidator*) QtSupport::getQt(env, obj))->acceptLocalizedNumbers(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDoubleValidator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDoubleValidator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDoubleValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KDoubleValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KDoubleValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDoubleValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDoubleValidator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDoubleValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__DDILorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jint decimals, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleValidatorJBridge((double) bottom, (double) top, (int) decimals, (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__DDILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jint decimals, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleValidatorJBridge((double) bottom, (double) top, (int) decimals, (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDoubleValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__Lorg_kde_qt_QObject_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 KDoubleValidatorJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDoubleValidator_setAcceptLocalizedNumbers(JNIEnv* env, jobject obj, jboolean accept) -{ - ((KDoubleValidator*) QtSupport::getQt(env, obj))->setAcceptLocalizedNumbers((bool) accept); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDoubleValidator_validate(JNIEnv* env, jobject obj, jobject input, jintArray pos) -{ -static TQString* _qstring_input = 0; - int* _int_pos = QtSupport::toIntPtr(env, pos); - jint xret = (jint) ((KDoubleValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input), (int&) *_int_pos); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - env->SetIntArrayRegion(pos, 0, 1, (jint *) _int_pos); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDoubleValidator.h b/kdejava/koala/kdejava/KDoubleValidator.h deleted file mode 100644 index ebf37960..00000000 --- a/kdejava/koala/kdejava/KDoubleValidator.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDoubleValidator__ -#define __org_kde_koala_KDoubleValidator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDoubleValidator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDoubleValidator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__DDILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_newKDoubleValidator__DDILorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jdouble, jdouble, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDoubleValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDoubleValidator_acceptLocalizedNumbers (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_setAcceptLocalizedNumbers (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDoubleValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDoubleValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDoubleValidator__ */ diff --git a/kdejava/koala/kdejava/KDualColorButton.cpp b/kdejava/koala/kdejava/KDualColorButton.cpp deleted file mode 100644 index c5bfa514..00000000 --- a/kdejava/koala/kdejava/KDualColorButton.cpp +++ /dev/null @@ -1,632 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KDualColorButtonJBridge : public KDualColorButton -{ -public: - KDualColorButtonJBridge(TQWidget* arg1,const char* arg2,TQWidget* arg3) : KDualColorButton(arg1,arg2,arg3) {}; - KDualColorButtonJBridge(TQWidget* arg1,const char* arg2) : KDualColorButton(arg1,arg2) {}; - KDualColorButtonJBridge(TQWidget* arg1) : KDualColorButton(arg1) {}; - KDualColorButtonJBridge() : KDualColorButton() {}; - KDualColorButtonJBridge(const TQColor& arg1,const TQColor& arg2,TQWidget* arg3,const char* arg4,TQWidget* arg5) : KDualColorButton(arg1,arg2,arg3,arg4,arg5) {}; - KDualColorButtonJBridge(const TQColor& arg1,const TQColor& arg2,TQWidget* arg3,const char* arg4) : KDualColorButton(arg1,arg2,arg3,arg4) {}; - KDualColorButtonJBridge(const TQColor& arg1,const TQColor& arg2,TQWidget* arg3) : KDualColorButton(arg1,arg2,arg3) {}; - KDualColorButtonJBridge(const TQColor& arg1,const TQColor& arg2) : KDualColorButton(arg1,arg2) {}; - void protected_metrics(TQRect& arg1,TQRect& arg2) { - KDualColorButton::metrics(arg1,arg2); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KDualColorButton::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KDualColorButton::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KDualColorButton::mouseMoveEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KDualColorButton::mouseReleaseEvent(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - KDualColorButton::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KDualColorButton::dropEvent(arg1); - return; - } - ~KDualColorButtonJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KDualColorButton::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KDualColorButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KDualColorButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KDualColorButton::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")) { - KDualColorButton::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KDualColorButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KDualColorButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KDualColorButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KDualColorButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDualColorButton_background(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KDualColorButton*) QtSupport::getQt(env, obj))->background()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KDualColorButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KDualColorButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDualColorButton_currentColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KDualColorButton*) QtSupport::getQt(env, obj))->currentColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KDualColorButton_current(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KDualColorButton*) QtSupport::getQt(env, obj))->current(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KDualColorButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_dragEnterEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_dropEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KDualColorButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KDualColorButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDualColorButton_foreground(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KDualColorButton*) QtSupport::getQt(env, obj))->foreground()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KDualColorButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDualColorButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KDualColorButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_metrics(JNIEnv* env, jobject obj, jobject fgRect, jobject bgRect) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_metrics((TQRect&)*(TQRect*) QtSupport::getQt(env, fgRect), (TQRect&)*(TQRect*) QtSupport::getQt(env, bgRect)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_mouseMoveEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_mousePressEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject fgColor, jobject bgColor) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject fgColor, jobject bgColor, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject fgColor, jobject bgColor, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor), (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_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject fgColor, jobject bgColor, jobject parent, jstring name, jobject dialogParent) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, fgColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgColor), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQWidget*) QtSupport::getQt(env, dialogParent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_newKDualColorButton__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 KDualColorButtonJBridge((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_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject dialogParent) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KDualColorButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQWidget*) QtSupport::getQt(env, dialogParent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_paintEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KDualColorButtonJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_setBackground(JNIEnv* env, jobject obj, jobject c) -{ - ((KDualColorButton*) QtSupport::getQt(env, obj))->setBackground((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_setCurrentColor(JNIEnv* env, jobject obj, jobject c) -{ - ((KDualColorButton*) QtSupport::getQt(env, obj))->setCurrentColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_setCurrent(JNIEnv* env, jobject obj, jint s) -{ - ((KDualColorButton*) QtSupport::getQt(env, obj))->setCurrent((KDualColorButton::DualColor) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KDualColorButton_setForeground(JNIEnv* env, jobject obj, jobject c) -{ - ((KDualColorButton*) QtSupport::getQt(env, obj))->setForeground((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KDualColorButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KDualColorButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KDualColorButton.h b/kdejava/koala/kdejava/KDualColorButton.h deleted file mode 100644 index 3d48c088..00000000 --- a/kdejava/koala/kdejava/KDualColorButton.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KDualColorButton__ -#define __org_kde_koala_KDualColorButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDualColorButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KDualColorButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_newKDualColorButton__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDualColorButton_foreground (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDualColorButton_background (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KDualColorButton_current (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDualColorButton_currentColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KDualColorButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_setForeground (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_setBackground (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_setCurrent (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_setCurrentColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_metrics (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KDualColorButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KDualColorButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KDualColorButton__ */ diff --git a/kdejava/koala/kdejava/KEMailSettings.cpp b/kdejava/koala/kdejava/KEMailSettings.cpp deleted file mode 100644 index 53d7a6db..00000000 --- a/kdejava/koala/kdejava/KEMailSettings.cpp +++ /dev/null @@ -1,105 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KEMailSettingsJBridge : public KEMailSettings -{ -public: - KEMailSettingsJBridge() : KEMailSettings() {}; - ~KEMailSettingsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEMailSettings_currentProfileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEMailSettings*) QtSupport::getQt(env, obj))->currentProfileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEMailSettings_defaultProfileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEMailSettings*) QtSupport::getQt(env, obj))->defaultProfileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEMailSettings_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KEMailSettings*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEMailSettings_getSetting(JNIEnv* env, jobject obj, jint s) -{ - TQString _qstring; - _qstring = ((KEMailSettings*) QtSupport::getQt(env, obj))->getSetting((KEMailSettings::Setting) s); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEMailSettings_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_newKEMailSettings(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEMailSettingsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEMailSettings_profiles(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KEMailSettings*) QtSupport::getQt(env, obj))->profiles(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_setDefault(JNIEnv* env, jobject obj, jstring def) -{ -static TQString* _qstring_def = 0; - ((KEMailSettings*) QtSupport::getQt(env, obj))->setDefault((const TQString&)*(TQString*) QtSupport::toTQString(env, def, &_qstring_def)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_setProfile(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - ((KEMailSettings*) QtSupport::getQt(env, obj))->setProfile((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEMailSettings_setSetting(JNIEnv* env, jobject obj, jint s, jstring v) -{ -static TQString* _qstring_v = 0; - ((KEMailSettings*) QtSupport::getQt(env, obj))->setSetting((KEMailSettings::Setting) s, (const TQString&)*(TQString*) QtSupport::toTQString(env, v, &_qstring_v)); - return; -} - diff --git a/kdejava/koala/kdejava/KEMailSettings.h b/kdejava/koala/kdejava/KEMailSettings.h deleted file mode 100644 index d8960543..00000000 --- a/kdejava/koala/kdejava/KEMailSettings.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEMailSettings__ -#define __org_kde_koala_KEMailSettings__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_newKEMailSettings (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEMailSettings_profiles (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEMailSettings_currentProfileName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_setProfile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEMailSettings_defaultProfileName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_setDefault (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEMailSettings_getSetting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_setSetting (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEMailSettings_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEMailSettings_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEMailSettings__ */ diff --git a/kdejava/koala/kdejava/KEdFind.cpp b/kdejava/koala/kdejava/KEdFind.cpp deleted file mode 100644 index 174fe83e..00000000 --- a/kdejava/koala/kdejava/KEdFind.cpp +++ /dev/null @@ -1,582 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KEdFindJBridge : public KEdFind -{ -public: - KEdFindJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KEdFind(arg1,arg2,arg3) {}; - KEdFindJBridge(TQWidget* arg1,const char* arg2) : KEdFind(arg1,arg2) {}; - KEdFindJBridge(TQWidget* arg1) : KEdFind(arg1) {}; - KEdFindJBridge() : KEdFind() {}; - void protected_slotCancel() { - KEdFind::slotCancel(); - return; - } - void protected_slotUser1() { - KEdFind::slotUser1(); - return; - } - void protected_textSearchChanged(const TQString& arg1) { - KEdFind::textSearchChanged(arg1); - return; - } - ~KEdFindJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KEdFind","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotClose")) { - KDialogBase::slotClose(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdFind","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdFind_case_1sensitive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEdFind*) QtSupport::getQt(env, obj))->case_sensitive(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdFind_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEdFind*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEdFind_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEdFind*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEdFind*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdFind_getText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEdFind*) QtSupport::getQt(env, obj))->getText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdFind_get_1direction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEdFind*) QtSupport::getQt(env, obj))->get_direction(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdFind_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdFind_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdFind*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_newKEdFind__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdFindJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_newKEdFind__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdFindJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_newKEdFind__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 KEdFindJBridge((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_koala_KEdFind_newKEdFind__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdFindJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdFind_searchCombo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdFind*) QtSupport::getQt(env, obj))->searchCombo(), "org.kde.koala.KHistoryCombo"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_setCaseSensitive(JNIEnv* env, jobject obj, jboolean b) -{ - ((KEdFind*) QtSupport::getQt(env, obj))->setCaseSensitive((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_setDirection(JNIEnv* env, jobject obj, jboolean b) -{ - ((KEdFind*) QtSupport::getQt(env, obj))->setDirection((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_setText(JNIEnv* env, jobject obj, jstring string) -{ -static TQString* _qstring_string = 0; - ((KEdFind*) QtSupport::getQt(env, obj))->setText((TQString)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_slotCancel(JNIEnv* env, jobject obj) -{ - ((KEdFindJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_slotUser1(JNIEnv* env, jobject obj) -{ - ((KEdFindJBridge*) QtSupport::getQt(env, obj))->protected_slotUser1(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdFind_textSearchChanged(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KEdFindJBridge*) QtSupport::getQt(env, obj))->protected_textSearchChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KEdFind.h b/kdejava/koala/kdejava/KEdFind.h deleted file mode 100644 index 52ba69ab..00000000 --- a/kdejava/koala/kdejava/KEdFind.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEdFind__ -#define __org_kde_koala_KEdFind__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdFind_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdFind_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_newKEdFind__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_newKEdFind__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_newKEdFind__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_newKEdFind__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdFind_getText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_setCaseSensitive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdFind_case_1sensitive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_setDirection (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdFind_get_1direction (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdFind_searchCombo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_slotUser1 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_textSearchChanged (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdFind_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdFind_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEdFind__ */ diff --git a/kdejava/koala/kdejava/KEdGotoLine.cpp b/kdejava/koala/kdejava/KEdGotoLine.cpp deleted file mode 100644 index 4f7d1285..00000000 --- a/kdejava/koala/kdejava/KEdGotoLine.cpp +++ /dev/null @@ -1,522 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KEdGotoLineJBridge : public KEdGotoLine -{ -public: - KEdGotoLineJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KEdGotoLine(arg1,arg2,arg3) {}; - KEdGotoLineJBridge(TQWidget* arg1,const char* arg2) : KEdGotoLine(arg1,arg2) {}; - KEdGotoLineJBridge(TQWidget* arg1) : KEdGotoLine(arg1) {}; - KEdGotoLineJBridge() : KEdGotoLine() {}; - ~KEdGotoLineJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KEdGotoLine","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdGotoLine","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdGotoLine_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEdGotoLine*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEdGotoLine_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEdGotoLine*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEdGotoLine*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEdGotoLine_getLineNumber(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEdGotoLine*) QtSupport::getQt(env, obj))->getLineNumber(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdGotoLine_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdGotoLine_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdGotoLine*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdGotoLineJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdGotoLineJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__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 KEdGotoLineJBridge((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_koala_KEdGotoLine_newKEdGotoLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdGotoLineJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdGotoLine_selected(JNIEnv* env, jobject obj, jint arg1) -{ - ((KEdGotoLine*) QtSupport::getQt(env, obj))->selected((int) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/KEdGotoLine.h b/kdejava/koala/kdejava/KEdGotoLine.h deleted file mode 100644 index 09b6ca2f..00000000 --- a/kdejava/koala/kdejava/KEdGotoLine.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEdGotoLine__ -#define __org_kde_koala_KEdGotoLine__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdGotoLine_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdGotoLine_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_newKEdGotoLine__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEdGotoLine_getLineNumber (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_selected (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdGotoLine_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdGotoLine_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEdGotoLine__ */ diff --git a/kdejava/koala/kdejava/KEdReplace.cpp b/kdejava/koala/kdejava/KEdReplace.cpp deleted file mode 100644 index ab0e5148..00000000 --- a/kdejava/koala/kdejava/KEdReplace.cpp +++ /dev/null @@ -1,598 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KEdReplaceJBridge : public KEdReplace -{ -public: - KEdReplaceJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KEdReplace(arg1,arg2,arg3) {}; - KEdReplaceJBridge(TQWidget* arg1,const char* arg2) : KEdReplace(arg1,arg2) {}; - KEdReplaceJBridge(TQWidget* arg1) : KEdReplace(arg1) {}; - KEdReplaceJBridge() : KEdReplace() {}; - void protected_slotCancel() { - KEdReplace::slotCancel(); - return; - } - void protected_slotClose() { - KEdReplace::slotClose(); - return; - } - void protected_slotUser1() { - KEdReplace::slotUser1(); - return; - } - void protected_slotUser2() { - KEdReplace::slotUser2(); - return; - } - void protected_slotUser3() { - KEdReplace::slotUser3(); - return; - } - void protected_textSearchChanged(const TQString& arg1) { - KEdReplace::textSearchChanged(arg1); - return; - } - ~KEdReplaceJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KEdReplace","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotApply")) { - KDialogBase::slotApply(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdReplace","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdReplace_case_1sensitive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEdReplace*) QtSupport::getQt(env, obj))->case_sensitive(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdReplace_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEdReplace*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEdReplace_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEdReplace*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEdReplace*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdReplace_getReplaceText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEdReplace*) QtSupport::getQt(env, obj))->getReplaceText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdReplace_getText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEdReplace*) QtSupport::getQt(env, obj))->getText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdReplace_get_1direction(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEdReplace*) QtSupport::getQt(env, obj))->get_direction(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdReplace_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdReplace_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdReplace*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_newKEdReplace__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdReplaceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_newKEdReplace__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdReplaceJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_newKEdReplace__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 KEdReplaceJBridge((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_koala_KEdReplace_newKEdReplace__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEdReplaceJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdReplace_replaceCombo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdReplace*) QtSupport::getQt(env, obj))->replaceCombo(), "org.kde.koala.KHistoryCombo"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdReplace_searchCombo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdReplace*) QtSupport::getQt(env, obj))->searchCombo(), "org.kde.koala.KHistoryCombo"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KEdReplace*) QtSupport::getQt(env, obj))->setText((TQString)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_slotCancel(JNIEnv* env, jobject obj) -{ - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_slotClose(JNIEnv* env, jobject obj) -{ - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotClose(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_slotUser1(JNIEnv* env, jobject obj) -{ - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotUser1(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_slotUser2(JNIEnv* env, jobject obj) -{ - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotUser2(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_slotUser3(JNIEnv* env, jobject obj) -{ - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotUser3(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdReplace_textSearchChanged(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KEdReplaceJBridge*) QtSupport::getQt(env, obj))->protected_textSearchChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KEdReplace.h b/kdejava/koala/kdejava/KEdReplace.h deleted file mode 100644 index a8d44e80..00000000 --- a/kdejava/koala/kdejava/KEdReplace.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEdReplace__ -#define __org_kde_koala_KEdReplace__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdReplace_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdReplace_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_newKEdReplace__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_newKEdReplace__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_newKEdReplace__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_newKEdReplace__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdReplace_getText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdReplace_getReplaceText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdReplace_searchCombo (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdReplace_replaceCombo (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdReplace_case_1sensitive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdReplace_get_1direction (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_slotClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_slotUser1 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_slotUser2 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_slotUser3 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_textSearchChanged (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdReplace_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdReplace_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEdReplace__ */ diff --git a/kdejava/koala/kdejava/KEdit.cpp b/kdejava/koala/kdejava/KEdit.cpp deleted file mode 100644 index 04b98fb4..00000000 --- a/kdejava/koala/kdejava/KEdit.cpp +++ /dev/null @@ -1,1041 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KEditJBridge : public KEdit -{ -public: - KEditJBridge(TQWidget* arg1,const char* arg2) : KEdit(arg1,arg2) {}; - KEditJBridge(TQWidget* arg1) : KEdit(arg1) {}; - KEditJBridge() : KEdit() {}; - void protected_computePosition() { - KEdit::computePosition(); - return; - } - int protected_doSearch(TQString arg1,bool arg2,bool arg3,bool arg4,int arg5,int arg6) { - return (int) KEdit::doSearch(arg1,arg2,arg3,arg4,arg5,arg6); - } - int protected_doReplace(TQString arg1,bool arg2,bool arg3,bool arg4,int arg5,int arg6,bool arg7) { - return (int) KEdit::doReplace(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - } - void protected_posToRowCol(unsigned int arg1,unsigned int& arg2,unsigned int& arg3) { - KEdit::posToRowCol(arg1,arg2,arg3); - return; - } - void protected_create(WId arg1,bool arg2,bool arg3) { - KEdit::create(arg1,arg2,arg3); - return; - } - void protected_create(WId arg1,bool arg2) { - KEdit::create(arg1,arg2); - return; - } - void protected_create(WId arg1) { - KEdit::create(arg1); - return; - } - void protected_create() { - KEdit::create(); - return; - } - void protected_ensureCursorVisible() { - KEdit::ensureCursorVisible(); - return; - } - void protected_setCursor(const TQCursor& arg1) { - KEdit::setCursor(arg1); - return; - } - void protected_viewportPaintEvent(TQPaintEvent* arg1) { - KEdit::viewportPaintEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KEdit::keyPressEvent(arg1); - return; - } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - KEdit::dragMoveEvent(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - KEdit::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KEdit::dropEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - KEdit::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - KEdit::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - KEdit::contentsDropEvent(arg1); - return; - } - ~KEditJBridge() {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.koala.KEdit","zoomOut")) { - TQTextEdit::zoomOut(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KEdit::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.koala.KEdit","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.koala.KEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - KEdit::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","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.koala.KEdit","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KEdit::dragMoveEvent(arg1); - } - return; - } - void resetFormat() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","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.koala.KEdit","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.koala.KEdit","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void killLine() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","killLine")) { - TQMultiLineEdit::killLine(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KEdit::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.koala.KEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","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")) { - KEdit::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","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")) { - KEdit::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")) { - KEdit::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.koala.KEdit","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")) { - KEdit::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")) { - KEdit::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.koala.KEdit","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.koala.KEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","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 backspace() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","backspace")) { - TQMultiLineEdit::backspace(); - } - 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.koala.KEdit","ensureCursorVisible")) { - KEdit::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 newLine() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","newLine")) { - TQMultiLineEdit::newLine(); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","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.koala.KEdit","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.koala.KEdit","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEdit","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.koala.KEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_cleanWhiteSpace(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->cleanWhiteSpace(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_computePosition(JNIEnv* env, jobject obj) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_computePosition(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_corrected(JNIEnv* env, jobject obj, jstring originalword, jstring newword, jint pos) -{ -static TQString* _qstring_originalword = 0; -static TQString* _qstring_newword = 0; - ((KEdit*) QtSupport::getQt(env, obj))->corrected((const TQString&)*(TQString*) QtSupport::toTQString(env, originalword, &_qstring_originalword), (const TQString&)*(TQString*) QtSupport::toTQString(env, newword, &_qstring_newword), (unsigned int) pos); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdit_createPopupMenu(JNIEnv* env, jobject obj, jobject pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdit*) QtSupport::getQt(env, obj))->createPopupMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_create__(JNIEnv* env, jobject obj) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_create(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_create__J(JNIEnv* env, jobject obj, jlong arg1) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_create__JZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_create__JZZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow, jboolean destroyOldWindow) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow, (bool) destroyOldWindow); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEdit_currentColumn(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEdit*) QtSupport::getQt(env, obj))->currentColumn(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEdit_currentLine(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEdit*) QtSupport::getQt(env, obj))->currentLine(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEdit_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_doGotoLine(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->doGotoLine(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEdit_doReplace(JNIEnv* env, jobject obj, jstring s_pattern, jboolean case_sensitive, jboolean regex, jboolean forward, jint line, jint col, jboolean replace) -{ -static TQString* _qstring_s_pattern = 0; - jint xret = (jint) ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_doReplace((TQString)*(TQString*) QtSupport::toTQString(env, s_pattern, &_qstring_s_pattern), (bool) case_sensitive, (bool) regex, (bool) forward, (int) line, (int) col, (bool) replace); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEdit_doSearch(JNIEnv* env, jobject obj, jstring s_pattern, jboolean case_sensitive, jboolean regex, jboolean forward, jint line, jint col) -{ -static TQString* _qstring_s_pattern = 0; - jint xret = (jint) ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_doSearch((TQString)*(TQString*) QtSupport::toTQString(env, s_pattern, &_qstring_s_pattern), (bool) case_sensitive, (bool) regex, (bool) forward, (int) line, (int) col); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_dragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_dragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_dropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_ensureCursorVisible(JNIEnv* env, jobject obj) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_ensureCursorVisible(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_insertText(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEdit*) QtSupport::getQt(env, obj))->insertText((TQTextStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_installRBPopup(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEdit*) QtSupport::getQt(env, obj))->installRBPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_misspelling(JNIEnv* env, jobject obj, jstring word, jobjectArray arg2, jint pos) -{ -static TQString* _qstring_word = 0; -static TQStringList* _qlist_arg2 = 0; - ((KEdit*) QtSupport::getQt(env, obj))->misspelling((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, arg2, &_qlist_arg2), (unsigned int) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_newKEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_newKEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject _parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditJBridge((TQWidget*) QtSupport::getQt(env, _parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_newKEdit__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 KEditJBridge((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_koala_KEdit_posToRowCol(JNIEnv* env, jobject obj, jint pos, jint line, jint col) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_posToRowCol((unsigned int) pos, (unsigned int&) line, (unsigned int&) col); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEdit_repeatSearch(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEdit*) QtSupport::getQt(env, obj))->repeatSearch(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_replace(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->replace(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_saveText__Lorg_kde_qt_QTextStream_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEdit*) QtSupport::getQt(env, obj))->saveText((TQTextStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_saveText__Lorg_kde_qt_QTextStream_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean softWrap) -{ - ((KEdit*) QtSupport::getQt(env, obj))->saveText((TQTextStream*) QtSupport::getQt(env, arg1), (bool) softWrap); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_search(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->search(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_selectFont(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->selectFont(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEdit_selectWordUnderCursor(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEdit*) QtSupport::getQt(env, obj))->selectWordUnderCursor(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_setAutoUpdate(JNIEnv* env, jobject obj, jboolean b) -{ - ((KEdit*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_setCursor(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_setCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_setOverwriteEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((KEdit*) QtSupport::getQt(env, obj))->setOverwriteEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_spellcheck_1start(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->spellcheck_start(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_spellcheck_1stop(JNIEnv* env, jobject obj) -{ - ((KEdit*) QtSupport::getQt(env, obj))->spellcheck_stop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEdit_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KEditJBridge*) QtSupport::getQt(env, obj))->protected_viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KEdit.h b/kdejava/koala/kdejava/KEdit.h deleted file mode 100644 index c468eae8..00000000 --- a/kdejava/koala/kdejava/KEdit.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEdit__ -#define __org_kde_koala_KEdit__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_newKEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_newKEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_newKEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_insertText (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_saveText__Lorg_kde_qt_QTextStream_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_saveText__Lorg_kde_qt_QTextStream_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_selectFont (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_search (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdit_repeatSearch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_replace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_doGotoLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_cleanWhiteSpace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_installRBPopup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEdit_currentLine (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEdit_currentColumn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_spellcheck_1start (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_spellcheck_1stop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_setOverwriteEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEdit_selectWordUnderCursor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEdit_createPopupMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_corrected (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_misspelling (JNIEnv *env, jobject, jstring, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_computePosition (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEdit_doSearch (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEdit_doReplace (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_posToRowCol (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_create__JZZ (JNIEnv *env, jobject, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_create__JZ (JNIEnv *env, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_create__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_create__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_ensureCursorVisible (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_setCursor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_viewportPaintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_dragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEdit__ */ diff --git a/kdejava/koala/kdejava/KEditListBox.cpp b/kdejava/koala/kdejava/KEditListBox.cpp deleted file mode 100644 index 27556c4e..00000000 --- a/kdejava/koala/kdejava/KEditListBox.cpp +++ /dev/null @@ -1,764 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KEditListBoxJBridge : public KEditListBox -{ -public: - KEditListBoxJBridge(TQWidget* arg1,const char* arg2,bool arg3,int arg4) : KEditListBox(arg1,arg2,arg3,arg4) {}; - KEditListBoxJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KEditListBox(arg1,arg2,arg3) {}; - KEditListBoxJBridge(TQWidget* arg1,const char* arg2) : KEditListBox(arg1,arg2) {}; - KEditListBoxJBridge(TQWidget* arg1) : KEditListBox(arg1) {}; - KEditListBoxJBridge() : KEditListBox() {}; - KEditListBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3,bool arg4,int arg5) : KEditListBox(arg1,arg2,arg3,arg4,arg5) {}; - KEditListBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3,bool arg4) : KEditListBox(arg1,arg2,arg3,arg4) {}; - KEditListBoxJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KEditListBox(arg1,arg2,arg3) {}; - KEditListBoxJBridge(const TQString& arg1,TQWidget* arg2) : KEditListBox(arg1,arg2) {}; - KEditListBoxJBridge(const TQString& arg1) : KEditListBox(arg1) {}; - void protected_moveItemUp() { - KEditListBox::moveItemUp(); - return; - } - void protected_moveItemDown() { - KEditListBox::moveItemDown(); - return; - } - void protected_addItem() { - KEditListBox::addItem(); - return; - } - void protected_removeItem() { - KEditListBox::removeItem(); - return; - } - void protected_enableMoveButtons(int arg1) { - KEditListBox::enableMoveButtons(arg1); - return; - } - void protected_typedSomething(const TQString& arg1) { - KEditListBox::typedSomething(arg1); - return; - } - ~KEditListBoxJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQGroupBox::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KEditListBox","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQGroupBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KEditListBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TQGroupBox::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQGroupBox::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KEditListBox",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditListBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_addButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->addButton(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_addItem(JNIEnv* env, jobject obj) -{ - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_addItem(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEditListBox_buttons(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEditListBox*) QtSupport::getQt(env, obj))->buttons(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditListBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEditListBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_clear(JNIEnv* env, jobject obj) -{ - ((KEditListBox*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEditListBox_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEditListBox*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KEditListBox_currentItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KEditListBox*) QtSupport::getQt(env, obj))->currentItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditListBox_currentText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KEditListBox*) QtSupport::getQt(env, obj))->currentText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEditListBox_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_downButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->downButton(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_enableMoveButtons(JNIEnv* env, jobject obj, jint index) -{ - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_enableMoveButtons((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEditListBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEditListBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list) -{ -static TQStrList* _qlist_list = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList*) QtSupport::toTQStrList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray list, jint index) -{ -static TQStrList* _qlist_list = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertStrList((const TQStrList*) QtSupport::toTQStrList(env, list, &_qlist_list), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobjectArray list, jint numStrings, jint index) -{ - ((KEditListBox*) QtSupport::getQt(env, obj))->insertStrList((const char**) QtSupport::toStringArray(env, list), (int) numStrings, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertStringList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list) -{ -static TQStringList* _qlist_list = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_insertStringList___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray list, jint index) -{ -static TQStringList* _qlist_list = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->insertStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEditListBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_items(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KEditListBox*) QtSupport::getQt(env, obj))->items(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_lineEdit(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->lineEdit(), "org.kde.koala.KLineEdit"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_listBox(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->listBox(), "org.kde.qt.TQListBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_moveItemDown(JNIEnv* env, jobject obj) -{ - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_moveItemDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_moveItemUp(JNIEnv* env, jobject obj) -{ - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_moveItemUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring title, jobject parent) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name) -{ -static TQString* _qstring_title = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (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_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name, jboolean checkAtEntering) -{ -static TQString* _qstring_title = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) checkAtEntering)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name, jboolean checkAtEntering, jint buttons) -{ -static TQString* _qstring_title = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) checkAtEntering, (int) buttons)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__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 KEditListBoxJBridge((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_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean checkAtEntering) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) checkAtEntering)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean checkAtEntering, jint buttons) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) checkAtEntering, (int) buttons)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_removeButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->removeButton(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_removeItem(JNIEnv* env, jobject obj) -{ - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_removeItem(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_setButtons(JNIEnv* env, jobject obj, jint buttons) -{ - ((KEditListBox*) QtSupport::getQt(env, obj))->setButtons((uint) buttons); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_setItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((KEditListBox*) QtSupport::getQt(env, obj))->setItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditListBox_text(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KEditListBox*) QtSupport::getQt(env, obj))->text((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditListBox_typedSomething(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KEditListBoxJBridge*) QtSupport::getQt(env, obj))->protected_typedSomething((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditListBox_upButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditListBox*) QtSupport::getQt(env, obj))->upButton(), "org.kde.qt.TQPushButton"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KEditListBox.h b/kdejava/koala/kdejava/KEditListBox.h deleted file mode 100644 index 03624497..00000000 --- a/kdejava/koala/kdejava/KEditListBox.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEditListBox__ -#define __org_kde_koala_KEditListBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditListBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_newKEditListBox__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_listBox (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_lineEdit (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_addButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_removeButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_upButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_downButton (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEditListBox_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertStringList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertStringList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertStrList___3Ljava_lang_String_2II (JNIEnv *env, jobject, jobjectArray, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_clear (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditListBox_text (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEditListBox_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditListBox_currentText (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditListBox_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_setItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KEditListBox_buttons (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_setButtons (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_moveItemUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_moveItemDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_addItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_removeItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_enableMoveButtons (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_typedSomething (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditListBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEditListBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEditListBox__ */ diff --git a/kdejava/koala/kdejava/KEditToolbar.cpp b/kdejava/koala/kdejava/KEditToolbar.cpp deleted file mode 100644 index 746ab734..00000000 --- a/kdejava/koala/kdejava/KEditToolbar.cpp +++ /dev/null @@ -1,706 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KEditToolbarJBridge : public KEditToolbar -{ -public: - KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4,const char* arg5) : KEditToolbar(arg1,arg2,arg3,arg4,arg5) {}; - KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4) : KEditToolbar(arg1,arg2,arg3,arg4) {}; - KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3) : KEditToolbar(arg1,arg2,arg3) {}; - KEditToolbarJBridge(TDEActionCollection* arg1,const TQString& arg2) : KEditToolbar(arg1,arg2) {}; - KEditToolbarJBridge(TDEActionCollection* arg1) : KEditToolbar(arg1) {}; - KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5,const char* arg6) : KEditToolbar(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5) : KEditToolbar(arg1,arg2,arg3,arg4,arg5) {}; - KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4) : KEditToolbar(arg1,arg2,arg3,arg4) {}; - KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3) : KEditToolbar(arg1,arg2,arg3) {}; - KEditToolbarJBridge(const TQString& arg1,TDEActionCollection* arg2) : KEditToolbar(arg1,arg2) {}; - KEditToolbarJBridge(KXMLGUIFactory* arg1,TQWidget* arg2,const char* arg3) : KEditToolbar(arg1,arg2,arg3) {}; - KEditToolbarJBridge(KXMLGUIFactory* arg1,TQWidget* arg2) : KEditToolbar(arg1,arg2) {}; - KEditToolbarJBridge(KXMLGUIFactory* arg1) : KEditToolbar(arg1) {}; - KEditToolbarJBridge(const TQString& arg1,KXMLGUIFactory* arg2,TQWidget* arg3,const char* arg4) : KEditToolbar(arg1,arg2,arg3,arg4) {}; - KEditToolbarJBridge(const TQString& arg1,KXMLGUIFactory* arg2,TQWidget* arg3) : KEditToolbar(arg1,arg2,arg3) {}; - KEditToolbarJBridge(const TQString& arg1,KXMLGUIFactory* arg2) : KEditToolbar(arg1,arg2) {}; - void protected_slotOk() { - KEditToolbar::slotOk(); - return; - } - void protected_slotApply() { - KEditToolbar::slotApply(); - return; - } - void protected_acceptOK(bool arg1) { - KEditToolbar::acceptOK(arg1); - return; - } - void protected_slotDefault() { - KEditToolbar::slotDefault(); - return; - } - ~KEditToolbarJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KEditToolbar","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotApply")) { - KEditToolbar::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotOk")) { - KEditToolbar::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_acceptOK(JNIEnv* env, jobject obj, jboolean b) -{ - ((KEditToolbarJBridge*) QtSupport::getQt(env, obj))->protected_acceptOK((bool) b); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditToolbar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEditToolbar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEditToolbar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEditToolbar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEditToolbar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEditToolbar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditToolbar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global, jobject parent) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring xmlfile, jboolean global, jobject parent, jstring name) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_xmlfile = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (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_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject factory) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KXMLGUIFactory*) QtSupport::getQt(env, factory))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject factory, jobject parent) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KXMLGUIFactory*) QtSupport::getQt(env, factory), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject factory, jobject parent, jstring name) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KXMLGUIFactory*) QtSupport::getQt(env, factory), (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_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject collection) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent, jstring name) -{ -static TQString* _qstring_xmlfile = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (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_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2(JNIEnv* env, jobject obj, jobject factory) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((KXMLGUIFactory*) QtSupport::getQt(env, factory))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject factory, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((KXMLGUIFactory*) QtSupport::getQt(env, factory), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject factory, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarJBridge((KXMLGUIFactory*) QtSupport::getQt(env, factory), (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_koala_KEditToolbar_setDefaultToolbar(JNIEnv* env, jclass cls, jstring toolbarName) -{ - (void) cls; -static TQCString* _qstring_toolbarName = 0; - KEditToolbarJBridge::setDefaultToolbar((const char*) QtSupport::toCharString(env, toolbarName, &_qstring_toolbarName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_slotApply(JNIEnv* env, jobject obj) -{ - ((KEditToolbarJBridge*) QtSupport::getQt(env, obj))->protected_slotApply(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_slotDefault(JNIEnv* env, jobject obj) -{ - ((KEditToolbarJBridge*) QtSupport::getQt(env, obj))->protected_slotDefault(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbar_slotOk(JNIEnv* env, jobject obj) -{ - ((KEditToolbarJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - diff --git a/kdejava/koala/kdejava/KEditToolbar.h b/kdejava/koala/kdejava/KEditToolbar.h deleted file mode 100644 index 5abf85be..00000000 --- a/kdejava/koala/kdejava/KEditToolbar.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEditToolbar__ -#define __org_kde_koala_KEditToolbar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Lorg_kde_koala_KXMLGUIFactory_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_newKEditToolbar__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_setDefaultToolbar (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_slotApply (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_acceptOK (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_slotDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEditToolbar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEditToolbar__ */ diff --git a/kdejava/koala/kdejava/KEditToolbarWidget.cpp b/kdejava/koala/kdejava/KEditToolbarWidget.cpp deleted file mode 100644 index bd5dbe62..00000000 --- a/kdejava/koala/kdejava/KEditToolbarWidget.cpp +++ /dev/null @@ -1,1071 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KEditToolbarWidgetJBridge : public KEditToolbarWidget -{ -public: - KEditToolbarWidgetJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3,TQWidget* arg4) : KEditToolbarWidget(arg1,arg2,arg3,arg4) {}; - KEditToolbarWidgetJBridge(TDEActionCollection* arg1,const TQString& arg2,bool arg3) : KEditToolbarWidget(arg1,arg2,arg3) {}; - KEditToolbarWidgetJBridge(TDEActionCollection* arg1,const TQString& arg2) : KEditToolbarWidget(arg1,arg2) {}; - KEditToolbarWidgetJBridge(TDEActionCollection* arg1) : KEditToolbarWidget(arg1) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4,TQWidget* arg5) : KEditToolbarWidget(arg1,arg2,arg3,arg4,arg5) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3,bool arg4) : KEditToolbarWidget(arg1,arg2,arg3,arg4) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2,const TQString& arg3) : KEditToolbarWidget(arg1,arg2,arg3) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,TDEActionCollection* arg2) : KEditToolbarWidget(arg1,arg2) {}; - KEditToolbarWidgetJBridge(KXMLGUIFactory* arg1,TQWidget* arg2) : KEditToolbarWidget(arg1,arg2) {}; - KEditToolbarWidgetJBridge(KXMLGUIFactory* arg1) : KEditToolbarWidget(arg1) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,KXMLGUIFactory* arg2,TQWidget* arg3) : KEditToolbarWidget(arg1,arg2,arg3) {}; - KEditToolbarWidgetJBridge(const TQString& arg1,KXMLGUIFactory* arg2) : KEditToolbarWidget(arg1,arg2) {}; - void protected_setupLayout() { - KEditToolbarWidget::setupLayout(); - return; - } - void protected_initNonKPart(TDEActionCollection* arg1,const TQString& arg2,bool arg3) { - KEditToolbarWidget::initNonKPart(arg1,arg2,arg3); - return; - } - void protected_initKPart(KXMLGUIFactory* arg1) { - KEditToolbarWidget::initKPart(arg1); - return; - } - void protected_loadToolbarCombo(const TQString& arg1) { - KEditToolbarWidget::loadToolbarCombo(arg1); - return; - } - void protected_loadToolbarCombo() { - KEditToolbarWidget::loadToolbarCombo(); - return; - } - void protected_loadActionList(TQDomElement& arg1) { - KEditToolbarWidget::loadActionList(arg1); - return; - } - void protected_updateLocal(TQDomElement& arg1) { - KEditToolbarWidget::updateLocal(arg1); - return; - } - void protected_slotToolbarSelected(const TQString& arg1) { - KEditToolbarWidget::slotToolbarSelected(arg1); - return; - } - void protected_slotInactiveSelected(TQListViewItem* arg1) { - KEditToolbarWidget::slotInactiveSelected(arg1); - return; - } - void protected_slotActiveSelected(TQListViewItem* arg1) { - KEditToolbarWidget::slotActiveSelected(arg1); - return; - } - void protected_slotDropped(TDEListView* arg1,TQDropEvent* arg2,TQListViewItem* arg3) { - KEditToolbarWidget::slotDropped(arg1,arg2,arg3); - return; - } - void protected_slotInsertButton() { - KEditToolbarWidget::slotInsertButton(); - return; - } - void protected_slotRemoveButton() { - KEditToolbarWidget::slotRemoveButton(); - return; - } - void protected_slotUpButton() { - KEditToolbarWidget::slotUpButton(); - return; - } - void protected_slotDownButton() { - KEditToolbarWidget::slotDownButton(); - return; - } - void protected_slotChangeIcon() { - KEditToolbarWidget::slotChangeIcon(); - return; - } - ~KEditToolbarWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_setInstance(TDEInstance* arg1) { - KXMLGUIClient::setInstance(arg1); - return; - } - void protected_setXMLFile(const TQString& arg1,bool arg2,bool arg3) { - KXMLGUIClient::setXMLFile(arg1,arg2,arg3); - return; - } - void protected_setXMLFile(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXMLFile(arg1,arg2); - return; - } - void protected_setXMLFile(const TQString& arg1) { - KXMLGUIClient::setXMLFile(arg1); - return; - } - void protected_setLocalXMLFile(const TQString& arg1) { - KXMLGUIClient::setLocalXMLFile(arg1); - return; - } - void protected_setXML(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXML(arg1,arg2); - return; - } - void protected_setXML(const TQString& arg1) { - KXMLGUIClient::setXML(arg1); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1,bool arg2) { - KXMLGUIClient::setDOMDocument(arg1,arg2); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1) { - KXMLGUIClient::setDOMDocument(arg1); - return; - } - void protected_conserveMemory() { - KXMLGUIClient::conserveMemory(); - return; - } - void protected_stateChanged(const TQString& arg1,KXMLGUIClient::ReverseStateChange arg2) { - KXMLGUIClient::stateChanged(arg1,arg2); - return; - } - void protected_stateChanged(const TQString& arg1) { - KXMLGUIClient::stateChanged(arg1); - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - 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.koala.KEditToolbarWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KEditToolbarWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void setInstance(TDEInstance* arg1) { - if (!QtSupport::eventDelegate(this,"setInstance",(void*)arg1,"org.kde.koala.TDEInstanceInterface")) { - KXMLGUIClient::setInstance(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KEditToolbarWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditToolbarWidget*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_addStateActionDisabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->addStateActionDisabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_addStateActionEnabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->addStateActionEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_beginXMLPlug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->beginXMLPlug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditToolbarWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KEditToolbarWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_clientBuilder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->clientBuilder(), "org.kde.koala.KXMLGUIBuilderInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_conserveMemory(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_conserveMemory(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEditToolbarWidget_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_domDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_endXMLPlug(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->endXMLPlug(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_factory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->factory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KEditToolbarWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KEditToolbarWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditToolbarWidget_findMostRecentXMLFile(JNIEnv* env, jclass cls, jobjectArray files, jobject doc) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_files = 0; -static TQString* _qstring_doc = 0; - _qstring = KEditToolbarWidgetJBridge::findMostRecentXMLFile((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, doc, &_qstring_doc)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_doc, doc); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_initKPart(JNIEnv* env, jobject obj, jobject factory) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initKPart((KXMLGUIFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_initNonKPart(JNIEnv* env, jobject obj, jobject collection, jstring file, jboolean global) -{ -static TQString* _qstring_file = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initNonKPart((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_insertChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->insertChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEditToolbarWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_loadActionList(JNIEnv* env, jobject obj, jobject elem) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_loadActionList((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, elem)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_loadToolbarCombo__(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_loadToolbarCombo(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_loadToolbarCombo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar) -{ -static TQString* _qstring_defaultToolbar = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_loadToolbarCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditToolbarWidget_localXMLFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->localXMLFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KEditToolbarWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_file = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file, jboolean global) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_file = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject collection, jstring file, jboolean global, jobject parent) -{ -static TQString* _qstring_defaultToolbar = 0; -static TQString* _qstring_file = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject factory) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KXMLGUIFactory*) QtSupport::getQt(env, factory))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring defaultToolbar, jobject factory, jobject parent) -{ -static TQString* _qstring_defaultToolbar = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, defaultToolbar, &_qstring_defaultToolbar), (KXMLGUIFactory*) QtSupport::getQt(env, factory), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject collection) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject collection, jstring xmlfile, jboolean global, jobject parent) -{ -static TQString* _qstring_xmlfile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((TDEActionCollection*) QtSupport::getQt(env, collection), (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) global, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KXMLGUIFactory_2(JNIEnv* env, jobject obj, jobject factory) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((KXMLGUIFactory*) QtSupport::getQt(env, factory))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject factory, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEditToolbarWidgetJBridge((KXMLGUIFactory*) QtSupport::getQt(env, factory), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_parentClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->parentClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_prepareXMLUnplug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_rebuildKXMLGUIClients(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidget*) QtSupport::getQt(env, obj))->rebuildKXMLGUIClients(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_reloadXML(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->reloadXML(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_removeChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->removeChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEditToolbarWidget_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KEditToolbarWidget*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setClientBuilder(JNIEnv* env, jobject obj, jobject builder) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->setClientBuilder((KXMLGUIBuilder*) QtSupport::getQt(env, builder)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setDOMDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject document) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jobject obj, jobject document, jboolean merge) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setFactory(JNIEnv* env, jobject obj, jobject factory) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->setFactory((KXMLGUIFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setLocalXMLFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring file, jboolean merge) -{ -static TQString* _qstring_file = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring file, jboolean merge, jboolean setXMLDoc) -{ -static TQString* _qstring_file = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge, (bool) setXMLDoc); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setXMLGUIBuildDocument(JNIEnv* env, jobject obj, jobject doc) -{ - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setXML__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring document) -{ -static TQString* _qstring_document = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setXML__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring document, jboolean merge) -{ -static TQString* _qstring_document = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_setupLayout(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setupLayout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotActiveSelected(JNIEnv* env, jobject obj, jobject item) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotActiveSelected((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotChangeIcon(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotChangeIcon(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotDownButton(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotDownButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotDropped(JNIEnv* env, jobject obj, jobject list, jobject e, jobject after) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotDropped((TDEListView*) QtSupport::getQt(env, list), (TQDropEvent*) QtSupport::getQt(env, e), (TQListViewItem*) QtSupport::getQt(env, after)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotInactiveSelected(JNIEnv* env, jobject obj, jobject item) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotInactiveSelected((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotInsertButton(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotInsertButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotRemoveButton(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotRemoveButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotToolbarSelected(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotToolbarSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_slotUpButton(JNIEnv* env, jobject obj) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_slotUpButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_stateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_stateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint reverse) -{ -static TQString* _qstring_newstate = 0; - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_unplugActionList(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->unplugActionList((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEditToolbarWidget_updateLocal(JNIEnv* env, jobject obj, jobject elem) -{ - ((KEditToolbarWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateLocal((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, elem)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KEditToolbarWidget_xmlFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->xmlFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KEditToolbarWidget_xmlguiBuildDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KEditToolbarWidget*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KEditToolbarWidget.h b/kdejava/koala/kdejava/KEditToolbarWidget.h deleted file mode 100644 index 1ca3daf0..00000000 --- a/kdejava/koala/kdejava/KEditToolbarWidget.h +++ /dev/null @@ -1,89 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEditToolbarWidget__ -#define __org_kde_koala_KEditToolbarWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbarWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Lorg_kde_koala_KXMLGUIFactory_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_newKEditToolbarWidget__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIFactory_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEditToolbarWidget_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_rebuildKXMLGUIClients (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setupLayout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_initNonKPart (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_initKPart (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_loadToolbarCombo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_loadToolbarCombo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_loadActionList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_updateLocal (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotToolbarSelected (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotInactiveSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotActiveSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotDropped (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotInsertButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotRemoveButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotUpButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotDownButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_slotChangeIcon (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEditToolbarWidget_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_action__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_domDocument (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbarWidget_xmlFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbarWidget_localXMLFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXMLGUIBuildDocument (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_xmlguiBuildDocument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setFactory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_factory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_parentClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_insertChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_removeChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setClientBuilder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KEditToolbarWidget_clientBuilder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_reloadXML (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_unplugActionList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_addStateActionEnabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_addStateActionDisabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_beginXMLPlug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_endXMLPlug (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_prepareXMLUnplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KEditToolbarWidget_findMostRecentXMLFile (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXMLFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setLocalXMLFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXML__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setXML__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_setDOMDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_conserveMemory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_stateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEditToolbarWidget_stateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEditToolbarWidget__ */ diff --git a/kdejava/koala/kdejava/KEntry.cpp b/kdejava/koala/kdejava/KEntry.cpp deleted file mode 100644 index 4b613e5c..00000000 --- a/kdejava/koala/kdejava/KEntry.cpp +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KEntryJBridge : public KEntry -{ -public: - KEntryJBridge() : KEntry() {}; - ~KEntryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntry_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEntry_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntry_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KEntry*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEntry_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntry_newKEntry(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEntryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KEntry.h b/kdejava/koala/kdejava/KEntry.h deleted file mode 100644 index 27c16a12..00000000 --- a/kdejava/koala/kdejava/KEntry.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEntry__ -#define __org_kde_koala_KEntry__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntry_newKEntry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntry_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntry_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEntry_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEntry__ */ diff --git a/kdejava/koala/kdejava/KEntryKey.cpp b/kdejava/koala/kdejava/KEntryKey.cpp deleted file mode 100644 index 94c493d9..00000000 --- a/kdejava/koala/kdejava/KEntryKey.cpp +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KEntryKeyJBridge : public KEntryKey -{ -public: - KEntryKeyJBridge(const TQCString& arg1,const TQCString& arg2) : KEntryKey(arg1,arg2) {}; - KEntryKeyJBridge(const TQCString& arg1) : KEntryKey(arg1) {}; - KEntryKeyJBridge() : KEntryKey() {}; - ~KEntryKeyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntryKey_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KEntryKey_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntryKey_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KEntryKey*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KEntryKey_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntryKey_newKEntryKey__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEntryKeyJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntryKey_newKEntryKey__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _group) -{ -static TQCString* _qcstring__group = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEntryKeyJBridge((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, _group, &_qcstring__group))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KEntryKey_newKEntryKey__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _group, jstring _key) -{ -static TQCString* _qcstring__group = 0; -static TQCString* _qcstring__key = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KEntryKeyJBridge((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, _group, &_qcstring__group), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, _key, &_qcstring__key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KEntryKey.h b/kdejava/koala/kdejava/KEntryKey.h deleted file mode 100644 index 7137fb2d..00000000 --- a/kdejava/koala/kdejava/KEntryKey.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KEntryKey__ -#define __org_kde_koala_KEntryKey__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntryKey_newKEntryKey__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntryKey_newKEntryKey__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntryKey_newKEntryKey__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntryKey_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KEntryKey_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KEntryKey_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KEntryKey__ */ diff --git a/kdejava/koala/kdejava/KExecMimeType.cpp b/kdejava/koala/kdejava/KExecMimeType.cpp deleted file mode 100644 index 1d264359..00000000 --- a/kdejava/koala/kdejava/KExecMimeType.cpp +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KExecMimeTypeJBridge : public KExecMimeType -{ -public: - KExecMimeTypeJBridge(KDesktopFile* arg1) : KExecMimeType(arg1) {}; - KExecMimeTypeJBridge(TQDataStream& arg1,int arg2) : KExecMimeType(arg1,arg2) {}; - ~KExecMimeTypeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KExecMimeType_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KExecMimeType_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KExecMimeType_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KExecMimeType*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KExecMimeType_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KExecMimeType_newKExecMimeType__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KExecMimeTypeJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KExecMimeType_newKExecMimeType__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KExecMimeTypeJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KExecMimeType.h b/kdejava/koala/kdejava/KExecMimeType.h deleted file mode 100644 index 0348d94f..00000000 --- a/kdejava/koala/kdejava/KExecMimeType.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KExecMimeType__ -#define __org_kde_koala_KExecMimeType__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KExecMimeType_newKExecMimeType__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KExecMimeType_newKExecMimeType__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KExecMimeType_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KExecMimeType_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KExecMimeType_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KExecMimeType__ */ diff --git a/kdejava/koala/kdejava/KFile.cpp b/kdejava/koala/kdejava/KFile.cpp deleted file mode 100644 index 9ec7fb63..00000000 --- a/kdejava/koala/kdejava/KFile.cpp +++ /dev/null @@ -1,147 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KFileJBridge : public KFile -{ -public: - KFileJBridge() : KFile() {}; - ~KFileJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFile_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isDefaultView(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isDefaultView((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isDetailView(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isDetailView((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isPreviewContents(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isPreviewContents((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isPreviewInfo(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isPreviewInfo((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSeparateDirs(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSeparateDirs((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSimpleView(JNIEnv* env, jclass cls, jint view) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSimpleView((const KFile::FileView&) view); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSortByDate(JNIEnv* env, jclass cls, jint sort) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSortByDate((const TQDir::SortSpec&) sort); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSortByName(JNIEnv* env, jclass cls, jint sort) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSortByName((const TQDir::SortSpec&) sort); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSortBySize(JNIEnv* env, jclass cls, jint sort) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSortBySize((const TQDir::SortSpec&) sort); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSortCaseInsensitive(JNIEnv* env, jclass cls, jint sort) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSortCaseInsensitive((const TQDir::SortSpec&) sort); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFile_isSortDirsFirst(JNIEnv* env, jclass cls, jint sort) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileJBridge::isSortDirsFirst((const TQDir::SortSpec&) sort); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFile_newKFile(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KFile.h b/kdejava/koala/kdejava/KFile.h deleted file mode 100644 index 6eaf3188..00000000 --- a/kdejava/koala/kdejava/KFile.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFile__ -#define __org_kde_koala_KFile__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFile_newKFile (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSortByName (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSortBySize (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSortByDate (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSortDirsFirst (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSortCaseInsensitive (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isDefaultView (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSimpleView (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isDetailView (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isSeparateDirs (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isPreviewContents (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isPreviewInfo (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFile__ */ diff --git a/kdejava/koala/kdejava/KFileDetailView.cpp b/kdejava/koala/kdejava/KFileDetailView.cpp deleted file mode 100644 index 26d8bab6..00000000 --- a/kdejava/koala/kdejava/KFileDetailView.cpp +++ /dev/null @@ -1,1156 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KFileDetailViewJBridge : public KFileDetailView -{ -public: - KFileDetailViewJBridge(TQWidget* arg1,const char* arg2) : KFileDetailView(arg1,arg2) {}; - void public_clearView() { - KFileDetailView::clearView(); - return; - } - void public_listingCompleted() { - KFileDetailView::listingCompleted(); - return; - } - void public_clearSelection() { - KFileDetailView::clearSelection(); - return; - } - void public_selectAll() { - KFileDetailView::selectAll(); - return; - } - void public_invertSelection() { - KFileDetailView::invertSelection(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KFileDetailView::keyPressEvent(arg1); - return; - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) KFileDetailView::dragObject(); - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - KFileDetailView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - KFileDetailView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - KFileDetailView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - KFileDetailView::contentsDropEvent(arg1); - return; - } - bool protected_acceptDrag(TQDropEvent* arg1) { - return (bool) KFileDetailView::acceptDrag(arg1); - } - void protected_slotSelectionChanged() { - KFileDetailView::slotSelectionChanged(); - return; - } - ~KFileDetailViewJBridge() {QtSupport::qtKeyDeleted(this);} - void public_clear() { - KFileView::clear(); - return; - } - void public_updateView() { - KFileView::updateView(); - return; - } - void protected_setDropOptions_impl(int arg1) { - KFileView::setDropOptions_impl(arg1); - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void clearView() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","clearView")) { - KFileDetailView::clearView(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListView::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 removeItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileDetailView::removeItem(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")) { - TDEListView::contentsMouseReleaseEvent(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","selectAll")) { - KFileDetailView::selectAll(); - } - return; - } - void listingCompleted() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","listingCompleted")) { - KFileDetailView::listingCompleted(); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEListView::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 contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - KFileDetailView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KFileDetailView","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")) { - TDEListView::viewportResizeEvent(arg1); - } - return; - } - void sort() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","sort")) { - TQListView::sort(); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQListView::setPalette(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","clear")) { - KFileView::clear(); - } - return; - } - void updateView(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"updateView",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileDetailView::updateView(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KFileDetailView::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.koala.KFileDetailView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","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")) { - TQListView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TDEListView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KFileDetailView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","clearSelection")) { - KFileDetailView::clearSelection(); - } - 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")) { - KFileDetailView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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 setParentView(KFileView* arg1) { - if (!QtSupport::eventDelegate(this,"setParentView",(void*)arg1,"org.kde.koala.KFileViewInterface")) { - KFileView::setParentView(arg1); - } - return; - } - void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","startDrag")) { - TDEListView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void fileManagerKeyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"fileManagerKeyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListView::fileManagerKeyPressEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KFileDetailView::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")) { - TDEListView::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 invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","invertSelection")) { - KFileDetailView::invertSelection(); - } - 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")) { - TDEListView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDetailView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 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 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.koala.KFileDetailView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileDetailView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TDEListView::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")) { - TDEListView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - 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")) { - TQListView::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.koala.KFileDetailView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_acceptDrag(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_acceptDrag((TQDropEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_addItemList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static KFileItemList* _qlist_list = 0; - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->addItemList((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_autoOpenDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFileDetailViewJBridge::autoOpenDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDetailView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileDetailView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_clearSelection(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_clearView(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_clearView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_clear(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_contentsDropEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_currentFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->currentFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_determineIcon(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->determineIcon((KFileListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileDetailView_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_dropOptions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->dropOptions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->ensureItemVisible((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFileDetailView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFileDetailView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_firstFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->firstFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_insertItem(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->insertItem((KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_invertSelection(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_isReversed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->isReversed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_isSelected(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileDetailView*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_items(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_listingCompleted(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_listingCompleted(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_mimeTypeDeterminationFinished(JNIEnv* env, jobject obj) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->mimeTypeDeterminationFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_newKFileDetailView(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileDetailViewJBridge((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_koala_KFileDetailView_nextItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->nextItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_prevItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->prevItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileDetailView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_removeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_scrollWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->scrollWidget(), "org.kde.qt.TQScrollView"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_selectAll(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setAutoUpdate(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setCurrentItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->setCurrentItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setDropOptions_1impl(JNIEnv* env, jobject obj, jint options) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_setDropOptions_impl((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setParentView(JNIEnv* env, jobject obj, jobject parent) -{ - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setParentView((KFileView*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->setSelected((const KFileItem*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setSelectionMode(JNIEnv* env, jobject obj, jint sm) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->setSelectionMode((KFile::SelectionMode) sm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setSorting(JNIEnv* env, jobject obj, jint arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setViewMode(JNIEnv* env, jobject obj, jint vm) -{ - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setViewMode((KFileView::ViewMode) vm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_setViewName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->setViewName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_signaler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->signaler(), "org.kde.koala.KFileViewSignaler"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_slotSelectionChanged(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSelectionChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_sortReversed(JNIEnv* env, jobject obj) -{ - ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->sortReversed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDetailView_sortingKey__JZI(JNIEnv* env, jclass cls, jlong value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; - _qstring = KFileDetailViewJBridge::sortingKey((TDEIO::filesize_t) value, (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDetailView_sortingKey__Ljava_lang_String_2ZI(JNIEnv* env, jclass cls, jstring value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_value = 0; - _qstring = KFileDetailViewJBridge::sortingKey((const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDetailView_updateNumbers(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->updateNumbers((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_updateView__(JNIEnv* env, jobject obj) -{ - ((KFileDetailViewJBridge*) QtSupport::getQt(env, obj))->public_updateView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_updateView__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->updateView((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_updateView__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->updateView((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDetailView_viewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->viewMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDetailView_viewName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileView*)(KFileDetailView*) QtSupport::getQt(env, obj))->viewName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDetailView_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDetailView*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDetailView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDetailView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileDetailView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KFileDetailView.h b/kdejava/koala/kdejava/KFileDetailView.h deleted file mode 100644 index 3b7da559..00000000 --- a/kdejava/koala/kdejava/KFileDetailView.h +++ /dev/null @@ -1,88 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileDetailView__ -#define __org_kde_koala_KFileDetailView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDetailView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_newKFileDetailView (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_clearView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_updateView__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_updateView__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_listingCompleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setSelected (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setCurrentItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_currentFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_firstFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_nextItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_prevItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_mimeTypeDeterminationFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_determineIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_scrollWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_acceptDrag (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_slotSelectionChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_addItemList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_updateView__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_sorting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_isReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setViewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_viewMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDetailView_viewName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setViewName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setParentView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDetailView_updateNumbers (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDetailView_signaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_dropOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDetailView_sortingKey__Ljava_lang_String_2ZI (JNIEnv *env, jclass, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDetailView_sortingKey__JZI (JNIEnv *env, jclass, jlong, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDetailView_autoOpenDelay (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDetailView_setDropOptions_1impl (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileDetailView__ */ diff --git a/kdejava/koala/kdejava/KFileDialog.cpp b/kdejava/koala/kdejava/KFileDialog.cpp deleted file mode 100644 index 48ee5465..00000000 --- a/kdejava/koala/kdejava/KFileDialog.cpp +++ /dev/null @@ -1,1571 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KFileDialogJBridge : public KFileDialog -{ -public: - KFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5) : KFileDialog(arg1,arg2,arg3,arg4,arg5) {}; - KFileDialogJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5,TQWidget* arg6) : KFileDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void public_show() { - KFileDialog::show(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KFileDialog::keyPressEvent(arg1); - return; - } - void protected_init(const TQString& arg1,const TQString& arg2,TQWidget* arg3) { - KFileDialog::init(arg1,arg2,arg3); - return; - } - void protected_initGUI() { - KFileDialog::initGUI(); - return; - } - void protected_multiSelectionChanged() { - KFileDialog::multiSelectionChanged(); - return; - } - void protected_readConfig(TDEConfig* arg1,const TQString& arg2) { - KFileDialog::readConfig(arg1,arg2); - return; - } - void protected_readConfig(TDEConfig* arg1) { - KFileDialog::readConfig(arg1); - return; - } - void protected_writeConfig(TDEConfig* arg1,const TQString& arg2) { - KFileDialog::writeConfig(arg1,arg2); - return; - } - void protected_writeConfig(TDEConfig* arg1) { - KFileDialog::writeConfig(arg1); - return; - } - void protected_readRecentFiles(TDEConfig* arg1) { - KFileDialog::readRecentFiles(arg1); - return; - } - void protected_saveRecentFiles(TDEConfig* arg1) { - KFileDialog::saveRecentFiles(arg1); - return; - } - KURL::List protected_tokenize(const TQString& arg1) { - return (KURL::List) KFileDialog::tokenize(arg1); - } - KURL protected_getCompleteURL(const TQString& arg1) { - return (KURL) KFileDialog::getCompleteURL(arg1); - } - TQString protected_currentFilterExtension() { - return (TQString) KFileDialog::currentFilterExtension(); - } - void protected_updateAutoSelectExtension() { - KFileDialog::updateAutoSelectExtension(); - return; - } - KURL::List& protected_parseSelectedURLs() { - return (KURL::List&) KFileDialog::parseSelectedURLs(); - } - void protected_urlEntered(const KURL& arg1) { - KFileDialog::urlEntered(arg1); - return; - } - void protected_enterURL(const KURL& arg1) { - KFileDialog::enterURL(arg1); - return; - } - void protected_enterURL(const TQString& arg1) { - KFileDialog::enterURL(arg1); - return; - } - void protected_locationActivated(const TQString& arg1) { - KFileDialog::locationActivated(arg1); - return; - } - void protected_slotFilterChanged() { - KFileDialog::slotFilterChanged(); - return; - } - void protected_fileHighlighted(const KFileItem* arg1) { - KFileDialog::fileHighlighted(arg1); - return; - } - void protected_fileSelected(const KFileItem* arg1) { - KFileDialog::fileSelected(arg1); - return; - } - void protected_slotStatResult(TDEIO::Job* arg1) { - KFileDialog::slotStatResult(arg1); - return; - } - void protected_slotLoadingFinished() { - KFileDialog::slotLoadingFinished(); - return; - } - void protected_fileCompletion(const TQString& arg1) { - KFileDialog::fileCompletion(arg1); - return; - } - void protected_toggleSpeedbar(bool arg1) { - KFileDialog::toggleSpeedbar(arg1); - return; - } - void protected_toggleBookmarks(bool arg1) { - KFileDialog::toggleBookmarks(arg1); - return; - } - void protected_slotOk() { - KFileDialog::slotOk(); - return; - } - void protected_accept() { - KFileDialog::accept(); - return; - } - void protected_slotCancel() { - KFileDialog::slotCancel(); - return; - } - void protected_slotAutoSelectExtClicked() { - KFileDialog::slotAutoSelectExtClicked(); - return; - } - void protected_addToRecentDocuments() { - KFileDialog::addToRecentDocuments(); - return; - } - void protected_initSpeedbar() { - KFileDialog::initSpeedbar(); - return; - } - ~KFileDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void saveRecentFiles(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveRecentFiles",(void*)arg1,"org.kde.koala.TDEConfig")) { - KFileDialog::saveRecentFiles(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","accept")) { - KFileDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","show")) { - KFileDialog::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KFileDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","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 initGUI() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","initGUI")) { - KFileDialog::initGUI(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KFileDialog::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotCancel")) { - KFileDialog::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 readRecentFiles(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readRecentFiles",(void*)arg1,"org.kde.koala.TDEConfig")) { - KFileDialog::readRecentFiles(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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotOk")) { - KFileDialog::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_accept(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_accept(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_addToRecentDocuments(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_addToRecentDocuments(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_baseURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileDialog*) QtSupport::getQt(env, obj))->baseURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_cancelButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->cancelButton(), "org.kde.koala.KPushButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_clearFilter(JNIEnv* env, jobject obj) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->clearFilter(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_currentFilterExtension(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_currentFilterExtension(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_currentFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileDialog*) QtSupport::getQt(env, obj))->currentFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_currentMimeFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileDialog*) QtSupport::getQt(env, obj))->currentMimeFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_enterURL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_enterURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_enterURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_enterURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_fileCompletion(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_fileCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_fileHighlighted(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_fileHighlighted((const KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_fileSelected(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_fileSelected((const KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFileDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFileDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getCompleteURL(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_getCompleteURL((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getExistingDirectory__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KFileDialogJBridge::getExistingDirectory(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; - _qstring = KFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; - _qstring = KFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_caption = 0; - _qstring = KFileDialogJBridge::getExistingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getExistingURL__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getExistingURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getImageOpenURL__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getImageOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNameWId(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jlong parent_id, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qstring = KFileDialogJBridge::getOpenFileNameWId((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileName__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KFileDialogJBridge::getOpenFileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; - _qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qstring = KFileDialogJBridge::getOpenFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNames__(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KFileDialogJBridge::getOpenFileNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; - _qlist = KFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qlist = KFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qlist = KFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qlist = KFileDialogJBridge::getOpenFileNames((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURL__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getOpenURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURLs__(JNIEnv* env, jclass cls) -{ - KURL::List _qlist; - (void) cls; - _qlist = KFileDialogJBridge::getOpenURLs(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - KURL::List _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; - _qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - KURL::List _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - KURL::List _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - KURL::List _qlist; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qlist = KFileDialogJBridge::getOpenURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileNameWId(JNIEnv* env, jclass cls, jstring dir, jstring filter, jlong parent_id, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_dir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qstring = KFileDialogJBridge::getSaveFileNameWId((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileName__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KFileDialogJBridge::getSaveFileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; - _qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - _qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - _qstring = KFileDialogJBridge::getSaveFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getSaveURL__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir) -{ - (void) cls; -static TQString* _qstring_startDir = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring startDir, jstring filter, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getSaveURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_getStartURL(JNIEnv* env, jclass cls, jstring startDir, jobject recentDirClass) -{ - (void) cls; -static TQString* _qstring_startDir = 0; -static TQString* _qstring_recentDirClass = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KFileDialogJBridge::getStartURL((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, recentDirClass, &_qstring_recentDirClass))), "org.kde.koala.KURL", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_recentDirClass, recentDirClass); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_initGUI(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_initGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_initSpeedbar(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_initSpeedbar(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_init(JNIEnv* env, jobject obj, jstring startDir, jstring filter, jobject widget) -{ -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileDialog_keepsLocation(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileDialog*) QtSupport::getQt(env, obj))->keepsLocation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_locationActivated(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_locationActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDialog_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileDialog*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_multiSelectionChanged(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_multiSelectionChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_newKFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring startDir, jstring filter, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_newKFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring startDir, jstring filter, jobject parent, jstring name, jboolean modal, jobject widget) -{ -static TQString* _qstring_startDir = 0; -static TQString* _qstring_filter = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, startDir, &_qstring_startDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (TQWidget*) QtSupport::getQt(env, widget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_okButton(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->okButton(), "org.kde.koala.KPushButton"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDialog_operationMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileDialog*) QtSupport::getQt(env, obj))->operationMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_parseSelectedURLs(JNIEnv* env, jobject obj) -{ - KURL::List _qlist; - _qlist = ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_parseSelectedURLs(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileDialog_pathComboIndex(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileDialog*) QtSupport::getQt(env, obj))->pathComboIndex(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_readRecentFiles(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_readRecentFiles((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_saveRecentFiles(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_saveRecentFiles((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileDialog_selectedFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileDialog*) QtSupport::getQt(env, obj))->selectedFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_selectedFiles(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileDialog*) QtSupport::getQt(env, obj))->selectedFiles(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_selectedURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileDialog*) QtSupport::getQt(env, obj))->selectedURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_selectedURLs(JNIEnv* env, jobject obj) -{ - KURL::List _qlist; - _qlist = ((KFileDialog*) QtSupport::getQt(env, obj))->selectedURLs(); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KFileDialog*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setKeepLocation(JNIEnv* env, jobject obj, jboolean keep) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setKeepLocation((bool) keep); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setLocationLabel(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KFileDialog*) QtSupport::getQt(env, obj))->setLocationLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setMimeFilter___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray types) -{ -static TQStringList* _qlist_types = 0; - ((KFileDialog*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, types, &_qlist_types)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setMimeFilter___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray types, jstring defaultType) -{ -static TQStringList* _qlist_types = 0; -static TQString* _qstring_defaultType = 0; - ((KFileDialog*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, types, &_qlist_types), (const TQString&)*(TQString*) QtSupport::toTQString(env, defaultType, &_qstring_defaultType)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setMode(JNIEnv* env, jobject obj, jint m) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setMode((KFile::Mode) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setOperationMode(JNIEnv* env, jobject obj, jint arg1) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setOperationMode((KFileDialog::OperationMode) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setPreviewWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setPreviewWidget((const KPreviewWidgetBase*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setSelection(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileDialog*) QtSupport::getQt(env, obj))->setSelection((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setStartDir(JNIEnv* env, jclass cls, jobject directory) -{ - (void) cls; - KFileDialogJBridge::setStartDir((const KURL&)*(const KURL*) QtSupport::getQt(env, directory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_setURL__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject url, jboolean clearforward) -{ - ((KFileDialog*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) clearforward); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_show(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotAutoSelectExtClicked(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelectExtClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotCancel(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotFilterChanged(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotFilterChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotLoadingFinished(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotLoadingFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_slotStatResult(JNIEnv* env, jobject obj, jobject job) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotStatResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_speedBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->speedBar(), "org.kde.koala.KURLBar"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_toggleBookmarks(JNIEnv* env, jobject obj, jboolean show) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_toggleBookmarks((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_toggleSpeedbar(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_toggleSpeedbar((bool) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_tokenize(JNIEnv* env, jobject obj, jstring line) -{ - KURL::List _qlist; -static TQString* _qstring_line = 0; - _qlist = ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_tokenize((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileDialog_toolBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileDialog*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.TDEToolBar"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_updateAutoSelectExtension(JNIEnv* env, jobject obj) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_updateAutoSelectExtension(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_urlEntered(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_urlEntered((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileDialog_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileDialogJBridge*) QtSupport::getQt(env, obj))->protected_writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KFileDialog.h b/kdejava/koala/kdejava/KFileDialog.h deleted file mode 100644 index 4717ff30..00000000 --- a/kdejava/koala/kdejava/KFileDialog.h +++ /dev/null @@ -1,133 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileDialog__ -#define __org_kde_koala_KFileDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_newKFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_newKFileDialog__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_selectedURL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_selectedURLs (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_baseURL (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_selectedFile (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_selectedFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setURL__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setSelection (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setOperationMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDialog_operationMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setKeepLocation (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDialog_keepsLocation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_currentFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setMimeFilter___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setMimeFilter___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_currentMimeFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_clearFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setPreviewWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDialog_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setLocationLabel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_toolBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_okButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_cancelButton (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_speedBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileDialog_pathComboIndex (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileName__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNameWId (JNIEnv *env, jclass, jstring, jstring, jlong, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNames__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenFileNames__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURL__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURL__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURLs__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getOpenURLs__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileName__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getSaveFileNameWId (JNIEnv *env, jclass, jstring, jstring, jlong, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getSaveURL__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getSaveURL__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getExistingDirectory__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_getExistingDirectory__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getExistingURL__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getExistingURL__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getImageOpenURL__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getImageOpenURL__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getStartURL (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_setStartDir (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_init (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_initGUI (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_multiSelectionChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_readRecentFiles (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_saveRecentFiles (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_tokenize (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_getCompleteURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileDialog_currentFilterExtension (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_updateAutoSelectExtension (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileDialog_parseSelectedURLs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_urlEntered (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_enterURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_enterURL__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_locationActivated (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotFilterChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_fileHighlighted (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_fileSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotStatResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotLoadingFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_fileCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_toggleSpeedbar (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_toggleBookmarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_slotAutoSelectExtClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_addToRecentDocuments (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_initSpeedbar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileDialog__ */ diff --git a/kdejava/koala/kdejava/KFileFilter.cpp b/kdejava/koala/kdejava/KFileFilter.cpp deleted file mode 100644 index 6398f9ee..00000000 --- a/kdejava/koala/kdejava/KFileFilter.cpp +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileFilter_passesFilter(JNIEnv* env, jobject obj, jobject item) -{ - jboolean xret = (jboolean) ((KFileFilter*) QtSupport::getQt(env, obj))->passesFilter((const KFileItem*) QtSupport::getQt(env, item)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileFilter.h b/kdejava/koala/kdejava/KFileFilter.h deleted file mode 100644 index ea666600..00000000 --- a/kdejava/koala/kdejava/KFileFilter.h +++ /dev/null @@ -1,19 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileFilter__ -#define __org_kde_koala_KFileFilter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileFilter_passesFilter (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileFilter__ */ diff --git a/kdejava/koala/kdejava/KFileFilterCombo.cpp b/kdejava/koala/kdejava/KFileFilterCombo.cpp deleted file mode 100644 index 53fa3278..00000000 --- a/kdejava/koala/kdejava/KFileFilterCombo.cpp +++ /dev/null @@ -1,505 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KFileFilterComboJBridge : public KFileFilterCombo -{ -public: - KFileFilterComboJBridge(TQWidget* arg1,const char* arg2) : KFileFilterCombo(arg1,arg2) {}; - KFileFilterComboJBridge(TQWidget* arg1) : KFileFilterCombo(arg1) {}; - KFileFilterComboJBridge() : KFileFilterCombo() {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KFileFilterCombo::eventFilter(arg1,arg2); - } - ~KFileFilterComboJBridge() {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 setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQComboBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KFileFilterCombo","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQComboBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KComboBox::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - KComboBox::setLineEdit(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFileFilterCombo",object,event)) { - return KFileFilterCombo::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileFilterCombo","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileFilterCombo_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileFilterCombo*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileFilterCombo_currentFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileFilterCombo*) QtSupport::getQt(env, obj))->currentFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileFilterCombo_defaultFilter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileFilterCombo*) QtSupport::getQt(env, obj))->defaultFilter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileFilterCombo_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileFilterCombo_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KFileFilterComboJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFileFilterCombo*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFileFilterCombo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileFilterCombo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileFilterCombo_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileFilterCombo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileFilterComboJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileFilterComboJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__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 KFileFilterComboJBridge((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_koala_KFileFilterCombo_setCurrentFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KFileFilterCombo*) QtSupport::getQt(env, obj))->setCurrentFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_setDefaultFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KFileFilterCombo*) QtSupport::getQt(env, obj))->setDefaultFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_setFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KFileFilterCombo*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileFilterCombo_setMimeFilter(JNIEnv* env, jobject obj, jobjectArray types, jstring defaultType) -{ -static TQStringList* _qlist_types = 0; -static TQString* _qstring_defaultType = 0; - ((KFileFilterCombo*) QtSupport::getQt(env, obj))->setMimeFilter((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, types, &_qlist_types), (const TQString&)*(TQString*) QtSupport::toTQString(env, defaultType, &_qstring_defaultType)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileFilterCombo_showsAllTypes(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileFilterCombo*) QtSupport::getQt(env, obj))->showsAllTypes(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileFilterCombo.h b/kdejava/koala/kdejava/KFileFilterCombo.h deleted file mode 100644 index d201be1e..00000000 --- a/kdejava/koala/kdejava/KFileFilterCombo.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileFilterCombo__ -#define __org_kde_koala_KFileFilterCombo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileFilterCombo_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileFilterCombo_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_newKFileFilterCombo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_setFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileFilterCombo_currentFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_setCurrentFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_setMimeFilter (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileFilterCombo_showsAllTypes (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_setDefaultFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileFilterCombo_defaultFilter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileFilterCombo_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileFilterCombo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileFilterCombo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileFilterCombo__ */ diff --git a/kdejava/koala/kdejava/KFileIconView.cpp b/kdejava/koala/kdejava/KFileIconView.cpp deleted file mode 100644 index 2149fe1d..00000000 --- a/kdejava/koala/kdejava/KFileIconView.cpp +++ /dev/null @@ -1,1301 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KFileIconViewJBridge : public KFileIconView -{ -public: - KFileIconViewJBridge(TQWidget* arg1,const char* arg2) : KFileIconView(arg1,arg2) {}; - void public_clearView() { - KFileIconView::clearView(); - return; - } - void public_listingCompleted() { - KFileIconView::listingCompleted(); - return; - } - void public_clearSelection() { - KFileIconView::clearSelection(); - return; - } - void public_selectAll() { - KFileIconView::selectAll(); - return; - } - void public_invertSelection() { - KFileIconView::invertSelection(); - return; - } - void public_arrangeItemsInGrid() { - KFileIconView::arrangeItemsInGrid(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KFileIconView::keyPressEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - KFileIconView::hideEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KFileIconView::showEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KFileIconView::eventFilter(arg1,arg2); - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) KFileIconView::dragObject(); - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - KFileIconView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - KFileIconView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - KFileIconView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - KFileIconView::contentsDropEvent(arg1); - return; - } - bool protected_acceptDrag(TQDropEvent* arg1) { - return (bool) KFileIconView::acceptDrag(arg1); - } - ~KFileIconViewJBridge() {QtSupport::qtKeyDeleted(this);} - void public_clear() { - KFileView::clear(); - return; - } - void public_updateView() { - KFileView::updateView(); - return; - } - void protected_setDropOptions_impl(int arg1) { - KFileView::setDropOptions_impl(arg1); - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void clearView() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","clearView")) { - KFileIconView::clearView(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void doAutoScroll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","doAutoScroll")) { - TQIconView::doAutoScroll(); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQIconView::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 removeItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileIconView::removeItem(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")) { - TDEIconView::contentsMouseReleaseEvent(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","selectAll")) { - KFileIconView::selectAll(); - } - return; - } - void listingCompleted() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","listingCompleted")) { - KFileIconView::listingCompleted(); - } - 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 setItemTextBackground(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQIconView::setItemTextBackground(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - KFileIconView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEIconView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void slotUpdate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","slotUpdate")) { - TQIconView::slotUpdate(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void updateContents() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","updateContents")) { - TQIconView::updateContents(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","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")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQIconView::setPalette(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","clear")) { - KFileView::clear(); - } - return; - } - void updateView(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"updateView",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileIconView::updateView(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KFileIconView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KFileIconView::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.koala.KFileIconView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","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")) { - KFileIconView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TDEIconView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KFileIconView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void repaintItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::repaintItem(arg1); - } - return; - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","clearSelection")) { - KFileIconView::clearSelection(); - } - 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")) { - KFileIconView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void insertInGrid(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::insertInGrid(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 setParentView(KFileView* arg1) { - if (!QtSupport::eventDelegate(this,"setParentView",(void*)arg1,"org.kde.koala.KFileViewInterface")) { - KFileView::setParentView(arg1); - } - return; - } - void startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","startDrag")) { - TQIconView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TDEIconView::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")) { - KFileIconView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQIconView::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")) { - TQIconView::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 invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","invertSelection")) { - KFileIconView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void drawRubber(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { - TQIconView::drawRubber(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEIconView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 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 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.koala.KFileIconView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDEIconView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFileIconView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQIconView::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 adjustItems() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileIconView","adjustItems")) { - TQIconView::adjustItems(); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFileIconView",object,event)) { - return KFileIconView::eventFilter(object,event); - } else { - return TRUE; - } - } - 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")) { - TQIconView::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.koala.KFileIconView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_acceptDrag(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_acceptDrag((TQDropEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_addItemList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static KFileItemList* _qlist_list = 0; - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->addItemList((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_arrangeItemsInGrid__(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_arrangeItemsInGrid(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_arrangeItemsInGrid__Z(JNIEnv* env, jobject obj, jboolean updated) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->arrangeItemsInGrid((bool) updated); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_autoOpenDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFileIconViewJBridge::autoOpenDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileIconView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileIconView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_clearSelection(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_clearView(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_clearView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_clear(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_currentFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->currentFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_determineIcon(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->determineIcon((KFileIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileIconView_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_dropOptions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->dropOptions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->ensureItemVisible((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFileIconView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFileIconView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_firstFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->firstFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileIconView*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_insertItem(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->insertItem((KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_invertSelection(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_isReversed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->isReversed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_isSelected(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileIconView*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_items(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_listingCompleted(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_listingCompleted(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_mimeTypeDeterminationFinished(JNIEnv* env, jobject obj) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->mimeTypeDeterminationFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_newKFileIconView(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileIconViewJBridge((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_koala_KFileIconView_nextItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->nextItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_prevItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->prevItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileIconView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_removeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_scrollWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->scrollWidget(), "org.kde.qt.TQScrollView"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_selectAll(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setAcceptDrops(JNIEnv* env, jobject obj, jboolean b) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setAutoUpdate(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setCurrentItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setCurrentItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setDropOptions_1impl(JNIEnv* env, jobject obj, jint options) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_setDropOptions_impl((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setIconSize(JNIEnv* env, jobject obj, jint size) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setIgnoreMaximumSize__(JNIEnv* env, jobject obj) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setIgnoreMaximumSize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setIgnoreMaximumSize__Z(JNIEnv* env, jobject obj, jboolean ignoreSize) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setIgnoreMaximumSize((bool) ignoreSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setParentView(JNIEnv* env, jobject obj, jobject parent) -{ - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setParentView((KFileView*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setPreviewSize(JNIEnv* env, jobject obj, jint size) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setPreviewSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setSelected((const KFileItem*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setSelectionMode(JNIEnv* env, jobject obj, jint sm) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setSelectionMode((KFile::SelectionMode) sm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setSorting(JNIEnv* env, jobject obj, jint sort) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) sort); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setViewMode(JNIEnv* env, jobject obj, jint vm) -{ - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setViewMode((KFileView::ViewMode) vm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_setViewName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->setViewName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_showPreviews(JNIEnv* env, jobject obj) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->showPreviews(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_signaler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->signaler(), "org.kde.koala.KFileViewSignaler"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_sortReversed(JNIEnv* env, jobject obj) -{ - ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->sortReversed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileIconView_sortingKey__JZI(JNIEnv* env, jclass cls, jlong value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; - _qstring = KFileIconViewJBridge::sortingKey((TDEIO::filesize_t) value, (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileIconView_sortingKey__Ljava_lang_String_2ZI(JNIEnv* env, jclass cls, jstring value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_value = 0; - _qstring = KFileIconViewJBridge::sortingKey((const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconView_updateNumbers(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->updateNumbers((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_updateView__(JNIEnv* env, jobject obj) -{ - ((KFileIconViewJBridge*) QtSupport::getQt(env, obj))->public_updateView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_updateView__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->updateView((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_updateView__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->updateView((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileIconView_viewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->viewMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileIconView_viewName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileView*)(KFileIconView*) QtSupport::getQt(env, obj))->viewName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconView_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconView*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileIconView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_zoomIn(JNIEnv* env, jobject obj) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->zoomIn(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconView_zoomOut(JNIEnv* env, jobject obj) -{ - ((KFileIconView*) QtSupport::getQt(env, obj))->zoomOut(); - return; -} - diff --git a/kdejava/koala/kdejava/KFileIconView.h b/kdejava/koala/kdejava/KFileIconView.h deleted file mode 100644 index f61867a2..00000000 --- a/kdejava/koala/kdejava/KFileIconView.h +++ /dev/null @@ -1,101 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileIconView__ -#define __org_kde_koala_KFileIconView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileIconView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_newKFileIconView (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_clearView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_updateView__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_updateView__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_listingCompleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setSelected (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setCurrentItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_currentFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_firstFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_nextItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_prevItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setIconSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setPreviewSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setIgnoreMaximumSize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setIgnoreMaximumSize__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_mimeTypeDeterminationFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_determineIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_scrollWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setAcceptDrops (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_showPreviews (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_zoomIn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_zoomOut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_arrangeItemsInGrid__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_arrangeItemsInGrid__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_acceptDrag (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_addItemList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_updateView__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_sorting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_isReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setViewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_viewMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileIconView_viewName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setViewName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setParentView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconView_updateNumbers (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconView_signaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_dropOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileIconView_sortingKey__Ljava_lang_String_2ZI (JNIEnv *env, jclass, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileIconView_sortingKey__JZI (JNIEnv *env, jclass, jlong, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileIconView_autoOpenDelay (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconView_setDropOptions_1impl (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileIconView__ */ diff --git a/kdejava/koala/kdejava/KFileIconViewItem.cpp b/kdejava/koala/kdejava/KFileIconViewItem.cpp deleted file mode 100644 index fd76934c..00000000 --- a/kdejava/koala/kdejava/KFileIconViewItem.cpp +++ /dev/null @@ -1,68 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KFileIconViewItemJBridge : public KFileIconViewItem -{ -public: - KFileIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3,KFileItem* arg4) : KFileIconViewItem(arg1,arg2,arg3,arg4) {}; - KFileIconViewItemJBridge(TQIconView* arg1,KFileItem* arg2) : KFileIconViewItem(arg1,arg2) {}; - ~KFileIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileIconViewItem_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileIconViewItem_fileInfo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileIconViewItem*) QtSupport::getQt(env, obj))->fileInfo(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconViewItem*)(KFileIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) { - delete (KFileIconViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileIconViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconViewItem_newKFileIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject pixmap, jobject fi) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (KFileItem*) QtSupport::getQt(env, fi))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileIconViewItem_newKFileIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject parent, jobject fi) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (KFileItem*) QtSupport::getQt(env, fi))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KFileIconViewItem.h b/kdejava/koala/kdejava/KFileIconViewItem.h deleted file mode 100644 index dbcc0041..00000000 --- a/kdejava/koala/kdejava/KFileIconViewItem.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileIconViewItem__ -#define __org_kde_koala_KFileIconViewItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconViewItem_newKFileIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconViewItem_newKFileIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileIconViewItem_fileInfo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileIconViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileIconViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileIconViewItem__ */ diff --git a/kdejava/koala/kdejava/KFileItem.cpp b/kdejava/koala/kdejava/KFileItem.cpp deleted file mode 100644 index f95b67b6..00000000 --- a/kdejava/koala/kdejava/KFileItem.cpp +++ /dev/null @@ -1,509 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KFileItemJBridge : public KFileItem -{ -public: - KFileItemJBridge(mode_t arg1,mode_t arg2,const KURL& arg3,bool arg4) : KFileItem(arg1,arg2,arg3,arg4) {}; - KFileItemJBridge(mode_t arg1,mode_t arg2,const KURL& arg3) : KFileItem(arg1,arg2,arg3) {}; - KFileItemJBridge(const KURL& arg1,const TQString& arg2,mode_t arg3) : KFileItem(arg1,arg2,arg3) {}; - KFileItemJBridge(const KFileItem& arg1) : KFileItem(arg1) {}; - void protected_init(bool arg1) { - KFileItem::init(arg1); - return; - } - void protected_readUDSEntry(bool arg1) { - KFileItem::readUDSEntry(arg1); - return; - } - TQString protected_parsePermissions(mode_t arg1) { - return (TQString) KFileItem::parsePermissions(arg1); - } - ~KFileItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_acceptsDrops(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->acceptsDrops(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_assign(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->assign((const KFileItem&)*(const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_cmp(JNIEnv* env, jobject obj, jobject item) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->cmp((const KFileItem&)*(const KFileItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFileItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_getStatusBarInfo(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->getStatusBarInfo(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_getToolTipText__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->getToolTipText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_getToolTipText__I(JNIEnv* env, jobject obj, jint maxcount) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->getToolTipText((int) maxcount); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_hasExtendedACL(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->hasExtendedACL(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->iconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_init(JNIEnv* env, jobject obj, jboolean _determineMimeTypeOnDemand) -{ - ((KFileItemJBridge*) QtSupport::getQt(env, obj))->protected_init((bool) _determineMimeTypeOnDemand); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isDir(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isDir(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isHidden(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isHidden(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isLink(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isLink(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isLocalFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isLocalFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isMarked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isMarked(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isMimeTypeKnown(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isMimeTypeKnown(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isReadable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isReadable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileItem_isWritable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileItem*) QtSupport::getQt(env, obj))->isWritable(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_linkDest(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->linkDest(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_localPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->localPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_mark(JNIEnv* env, jobject obj) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->mark(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_metaInfo__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KFileMetaInfo *) &((KFileItem*) QtSupport::getQt(env, obj))->metaInfo(), "org.kde.koala.KFileMetaInfo"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_metaInfo__Z(JNIEnv* env, jobject obj, jboolean autoget) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KFileMetaInfo *) &((KFileItem*) QtSupport::getQt(env, obj))->metaInfo((bool) autoget), "org.kde.koala.KFileMetaInfo"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_metaInfo__ZI(JNIEnv* env, jobject obj, jboolean autoget, jint what) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KFileMetaInfo *) &((KFileItem*) QtSupport::getQt(env, obj))->metaInfo((bool) autoget, (int) what), "org.kde.koala.KFileMetaInfo"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_mimeComment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->mimeComment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_mimetype(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->mimetype(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFileItem_mode(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFileItem*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_mostLocalURL(JNIEnv* env, jobject obj, jboolean local) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileItem*) QtSupport::getQt(env, obj))->mostLocalURL((bool&) local)), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_name__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_name__Z(JNIEnv* env, jobject obj, jboolean lowerCase) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->name((bool) lowerCase); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_newKFileItem__JJLorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jlong _mode, jlong _permissions, jobject _url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileItemJBridge((mode_t) _mode, (mode_t) _permissions, (const KURL&)*(const KURL*) QtSupport::getQt(env, _url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_newKFileItem__JJLorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jlong _mode, jlong _permissions, jobject _url, jboolean _determineMimeTypeOnDemand) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileItemJBridge((mode_t) _mode, (mode_t) _permissions, (const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _determineMimeTypeOnDemand)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_newKFileItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject item) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileItemJBridge((const KFileItem&)*(const KFileItem*) QtSupport::getQt(env, item))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_newKFileItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jobject url, jstring mimeType, jlong mode) -{ -static TQString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileItemJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType), (mode_t) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileItem_overlays(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileItem*) QtSupport::getQt(env, obj))->overlays(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_parsePermissions(JNIEnv* env, jobject obj, jlong perm) -{ - TQString _qstring; - _qstring = ((KFileItemJBridge*) QtSupport::getQt(env, obj))->protected_parsePermissions((mode_t) perm); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_permissionsString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->permissionsString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFileItem_permissions(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFileItem*) QtSupport::getQt(env, obj))->permissions(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_pixmap__I(JNIEnv* env, jobject obj, jint _size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KFileItem*) QtSupport::getQt(env, obj))->pixmap((int) _size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_pixmap__II(JNIEnv* env, jobject obj, jint _size, jint _state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KFileItem*) QtSupport::getQt(env, obj))->pixmap((int) _size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_readUDSEntry(JNIEnv* env, jobject obj, jboolean _urlIsDirectory) -{ - ((KFileItemJBridge*) QtSupport::getQt(env, obj))->protected_readUDSEntry((bool) _urlIsDirectory); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_refreshMimeType(JNIEnv* env, jobject obj) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->refreshMimeType(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_refresh(JNIEnv* env, jobject obj) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->refresh(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_run(JNIEnv* env, jobject obj) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->run(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_setFileMode(JNIEnv* env, jobject obj, jlong m) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->setFileMode((mode_t) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_setMetaInfo(JNIEnv* env, jobject obj, jobject info) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->setMetaInfo((const KFileMetaInfo&)*(const KFileMetaInfo*) QtSupport::getQt(env, info)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_setMimeType(JNIEnv* env, jobject obj, jstring mimetype) -{ -static TQString* _qstring_mimetype = 0; - ((KFileItem*) QtSupport::getQt(env, obj))->setMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileItem*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_setURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFileItem_size__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFileItem*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFileItem_size__Z(JNIEnv* env, jobject obj, jboolean hasSize) -{ - jlong xret = (jlong) ((KFileItem*) QtSupport::getQt(env, obj))->size((bool&) hasSize); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_timeString__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->timeString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_timeString__I(JNIEnv* env, jobject obj, jint which) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->timeString((unsigned int) which); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileItem_time__I(JNIEnv* env, jobject obj, jint which) -{ - jint xret = (jint) ((KFileItem*) QtSupport::getQt(env, obj))->time((unsigned int) which); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileItem_time__IZ(JNIEnv* env, jobject obj, jint which, jboolean hasTime) -{ - jint xret = (jint) ((KFileItem*) QtSupport::getQt(env, obj))->time((unsigned int) which, (bool&) hasTime); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileItem_unmark(JNIEnv* env, jobject obj) -{ - ((KFileItem*) QtSupport::getQt(env, obj))->unmark(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileItem_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KURL *) &((KFileItem*) QtSupport::getQt(env, obj))->url(), "org.kde.koala.KURL"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileItem_user(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileItem*) QtSupport::getQt(env, obj))->user(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KFileItem.h b/kdejava/koala/kdejava/KFileItem.h deleted file mode 100644 index 6d63bc8f..00000000 --- a/kdejava/koala/kdejava/KFileItem.h +++ /dev/null @@ -1,81 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileItem__ -#define __org_kde_koala_KFileItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_newKFileItem__JJLorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jlong, jlong, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_newKFileItem__JJLorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jlong, jlong, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_newKFileItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2J (JNIEnv *env, jobject, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_newKFileItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_refresh (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_refreshMimeType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_url (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_setURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFileItem_permissions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_permissionsString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_hasExtendedACL (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFileItem_mode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_user (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_group (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isLink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isDir (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isFile (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isReadable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isWritable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isHidden (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_linkDest (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_localPath (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFileItem_size__ (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFileItem_size__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileItem_time__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileItem_time__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_timeString__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_timeString__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isLocalFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_text (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_name__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_name__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_mimetype (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isMimeTypeKnown (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_mimeComment (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_iconName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_pixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_pixmap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileItem_overlays (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_getStatusBarInfo (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_getToolTipText__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_getToolTipText__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_acceptsDrops (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_run (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isMarked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_mark (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_unmark (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_cmp (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_setMetaInfo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_setFileMode (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_setMimeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_metaInfo__ZI (JNIEnv *env, jobject, jboolean, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_metaInfo__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_metaInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileItem_mostLocalURL (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_init (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_readUDSEntry (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileItem_parsePermissions (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileItem__ */ diff --git a/kdejava/koala/kdejava/KFileListViewItem.cpp b/kdejava/koala/kdejava/KFileListViewItem.cpp deleted file mode 100644 index 43747d56..00000000 --- a/kdejava/koala/kdejava/KFileListViewItem.cpp +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KFileListViewItemJBridge : public KFileListViewItem -{ -public: - KFileListViewItemJBridge(TQListView* arg1,const TQString& arg2,const TQPixmap& arg3,KFileItem* arg4) : KFileListViewItem(arg1,arg2,arg3,arg4) {}; - KFileListViewItemJBridge(TQListView* arg1,KFileItem* arg2) : KFileListViewItem(arg1,arg2) {}; - KFileListViewItemJBridge(TQListView* arg1,const TQString& arg2,const TQPixmap& arg3,KFileItem* arg4,TQListViewItem* arg5) : KFileListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - ~KFileListViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileListViewItem_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileListViewItem_fileInfo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileListViewItem*) QtSupport::getQt(env, obj))->fileInfo(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQListViewItem*)(KFileListViewItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQListViewItem*)(KFileListViewItem*)QtSupport::getQt(env, obj))->listView() == 0) { - delete (KFileListViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_init(JNIEnv* env, jobject obj) -{ - ((KFileListViewItem*) QtSupport::getQt(env, obj))->init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileListViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileListViewItem_key(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) -{ - TQString _qstring; - _qstring = ((KFileListViewItem*) QtSupport::getQt(env, obj))->key((int) arg1, (bool) arg2); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject icon, jobject fi) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (KFileItem*) QtSupport::getQt(env, fi))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject icon, jobject fi, jobject after) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (KFileItem*) QtSupport::getQt(env, fi), (TQListViewItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject parent, jobject fi) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (KFileItem*) QtSupport::getQt(env, fi))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileListViewItem_rect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KFileListViewItem*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileListViewItem_setKey(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - ((KFileListViewItem*) QtSupport::getQt(env, obj))->setKey((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return; -} - diff --git a/kdejava/koala/kdejava/KFileListViewItem.h b/kdejava/koala/kdejava/KFileListViewItem.h deleted file mode 100644 index fb711b2c..00000000 --- a/kdejava/koala/kdejava/KFileListViewItem.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileListViewItem__ -#define __org_kde_koala_KFileListViewItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_newKFileListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_koala_KFileItem_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileListViewItem_fileInfo (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileListViewItem_key (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_setKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileListViewItem_rect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileListViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileListViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileListViewItem__ */ diff --git a/kdejava/koala/kdejava/KFileMetaInfo.cpp b/kdejava/koala/kdejava/KFileMetaInfo.cpp deleted file mode 100644 index 37d51373..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfo.cpp +++ /dev/null @@ -1,358 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KFileMetaInfoJBridge : public KFileMetaInfo -{ -public: - KFileMetaInfoJBridge(const TQString& arg1,const TQString& arg2,uint arg3) : KFileMetaInfo(arg1,arg2,arg3) {}; - KFileMetaInfoJBridge(const TQString& arg1,const TQString& arg2) : KFileMetaInfo(arg1,arg2) {}; - KFileMetaInfoJBridge(const TQString& arg1) : KFileMetaInfo(arg1) {}; - KFileMetaInfoJBridge(const KURL& arg1,const TQString& arg2,uint arg3) : KFileMetaInfo(arg1,arg2,arg3) {}; - KFileMetaInfoJBridge(const KURL& arg1,const TQString& arg2) : KFileMetaInfo(arg1,arg2) {}; - KFileMetaInfoJBridge(const KURL& arg1) : KFileMetaInfo(arg1) {}; - KFileMetaInfoJBridge() : KFileMetaInfo() {}; - KFileMetaInfoJBridge(const KFileMetaInfo& arg1) : KFileMetaInfo(arg1) {}; - KFileMetaInfoGroup protected_appendGroup(const TQString& arg1) { - return (KFileMetaInfoGroup) KFileMetaInfo::appendGroup(arg1); - } - void protected_ref() { - KFileMetaInfo::ref(); - return; - } - void protected_deref() { - KFileMetaInfo::deref(); - return; - } - ~KFileMetaInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_addGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->addGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_appendGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoGroup(((KFileMetaInfoJBridge*) QtSupport::getQt(env, obj))->protected_appendGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))), "org.kde.koala.KFileMetaInfoGroup", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_applyChanges(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->applyChanges(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_containsGroup(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->containsGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_contains(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_deref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoJBridge*) QtSupport::getQt(env, obj))->protected_deref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileMetaInfo_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_editableGroups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->editableGroups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFileMetaInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_group(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoGroup(((KFileMetaInfo*) QtSupport::getQt(env, obj))->group((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoGroup", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_groups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->groups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_item(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfo*) QtSupport::getQt(env, obj))->item((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfo_mimeType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->mimeType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path, jstring mimeType) -{ -static TQString* _qstring_path = 0; -static TQString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring path, jstring mimeType, jint what) -{ -static TQString* _qstring_path = 0; -static TQString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType), (uint) what)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KFileMetaInfo_2(JNIEnv* env, jobject obj, jobject original) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const KFileMetaInfo&)*(const KFileMetaInfo*) QtSupport::getQt(env, original))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring mimeType) -{ -static TQString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject url, jstring mimeType, jint what) -{ -static TQString* _qstring_mimeType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType), (uint) what)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_op_1at(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoGroup(((KFileMetaInfo*) QtSupport::getQt(env, obj))->operator[]((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoGroup", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfo_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_preferredGroups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->preferredGroups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_preferredKeys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->preferredKeys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfo_ref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoJBridge*) QtSupport::getQt(env, obj))->protected_ref(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfo_removeGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((KFileMetaInfo*) QtSupport::getQt(env, obj))->removeGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_removedGroups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->removedGroups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfo*) QtSupport::getQt(env, obj))->saveItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key, jstring preferredGroup) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_preferredGroup = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfo*) QtSupport::getQt(env, obj))->saveItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferredGroup, &_qstring_preferredGroup))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring key, jstring preferredGroup, jboolean createGroup) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_preferredGroup = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfo*) QtSupport::getQt(env, obj))->saveItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferredGroup, &_qstring_preferredGroup), (bool) createGroup)), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_supportedGroups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->supportedGroups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_supportedKeys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfo*) QtSupport::getQt(env, obj))->supportedKeys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileMetaInfo*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfo_value(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KFileMetaInfo*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileMetaInfo.h b/kdejava/koala/kdejava/KFileMetaInfo.h deleted file mode 100644 index 2181e32c..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfo.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileMetaInfo__ -#define __org_kde_koala_KFileMetaInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_newKFileMetaInfo__Lorg_kde_koala_KFileMetaInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_groups (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_supportedGroups (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_preferredGroups (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_preferredKeys (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_supportedKeys (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_editableGroups (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_item (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_saveItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_group (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_op_1at (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_addGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_removeGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_removedGroups (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_applyChanges (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_containsGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_value (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfo_mimeType (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfo_path (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_url (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfo_appendGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_deref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileMetaInfo__ */ diff --git a/kdejava/koala/kdejava/KFileMetaInfoGroup.cpp b/kdejava/koala/kdejava/KFileMetaInfoGroup.cpp deleted file mode 100644 index ec132d28..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfoGroup.cpp +++ /dev/null @@ -1,243 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KFileMetaInfoGroupJBridge : public KFileMetaInfoGroup -{ -public: - KFileMetaInfoGroupJBridge(const KFileMetaInfoGroup& arg1) : KFileMetaInfoGroup(arg1) {}; - KFileMetaInfoGroupJBridge() : KFileMetaInfoGroup() {}; - void protected_setAdded() { - KFileMetaInfoGroup::setAdded(); - return; - } - KFileMetaInfoItem protected_appendItem(const TQString& arg1,const TQVariant& arg2) { - return (KFileMetaInfoItem) KFileMetaInfoGroup::appendItem(arg1,arg2); - } - void protected_ref() { - KFileMetaInfoGroup::ref(); - return; - } - void protected_deref() { - KFileMetaInfoGroup::deref(); - return; - } - ~KFileMetaInfoGroupJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_addItem(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->addItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_appendItem(JNIEnv* env, jobject obj, jstring key, jobject value) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_appendItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_attributes(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->attributes(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_contains(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->contains((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_deref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_deref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileMetaInfoGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFileMetaInfoGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_item__I(JNIEnv* env, jobject obj, jint hint) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->item((uint) hint)), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_item__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->item((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_keys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->keys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_newKFileMetaInfoGroup__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoGroupJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_newKFileMetaInfoGroup__Lorg_kde_koala_KFileMetaInfoGroup_2(JNIEnv* env, jobject obj, jobject original) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoGroupJBridge((const KFileMetaInfoGroup&)*(const KFileMetaInfoGroup*) QtSupport::getQt(env, original))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_op_1at(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KFileMetaInfoItem(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->operator[]((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.koala.KFileMetaInfoItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_preferredKeys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->preferredKeys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_ref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_ref(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_removeItem(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->removeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_removedItems(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->removedItems(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_setAdded(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoGroupJBridge*) QtSupport::getQt(env, obj))->protected_setAdded(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_supportedKeys(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->supportedKeys(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_supportsVariableKeys(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->supportsVariableKeys(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_translatedName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->translatedName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoGroup_value(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KFileMetaInfoGroup*) QtSupport::getQt(env, obj))->value((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileMetaInfoGroup.h b/kdejava/koala/kdejava/KFileMetaInfoGroup.h deleted file mode 100644 index 1b0c4747..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfoGroup.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileMetaInfoGroup__ -#define __org_kde_koala_KFileMetaInfoGroup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_newKFileMetaInfoGroup__Lorg_kde_koala_KFileMetaInfoGroup_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_newKFileMetaInfoGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_isModified (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_op_1at (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_item__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_item__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_value (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_supportedKeys (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_supportsVariableKeys (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_contains (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_keys (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_preferredKeys (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_addItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_removeItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_removedItems (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoGroup_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoGroup_translatedName (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileMetaInfoGroup_attributes (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_setAdded (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoGroup_appendItem (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_deref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileMetaInfoGroup__ */ diff --git a/kdejava/koala/kdejava/KFileMetaInfoItem.cpp b/kdejava/koala/kdejava/KFileMetaInfoItem.cpp deleted file mode 100644 index 160c3eb2..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfoItem.cpp +++ /dev/null @@ -1,215 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KFileMetaInfoItemJBridge : public KFileMetaInfoItem -{ -public: - KFileMetaInfoItemJBridge(const KFileMetaInfoItem& arg1) : KFileMetaInfoItem(arg1) {}; - KFileMetaInfoItemJBridge() : KFileMetaInfoItem() {}; - void protected_setAdded() { - KFileMetaInfoItem::setAdded(); - return; - } - void protected_setRemoved() { - KFileMetaInfoItem::setRemoved(); - return; - } - void protected_ref() { - KFileMetaInfoItem::ref(); - return; - } - void protected_deref() { - KFileMetaInfoItem::deref(); - return; - } - ~KFileMetaInfoItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileMetaInfoItem_attributes(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->attributes(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_deref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_deref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileMetaInfoItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFileMetaInfoItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileMetaInfoItem_hint(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->hint(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_isEditable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isEditable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_isRemoved(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isRemoved(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_key(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->key(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_newKFileMetaInfoItem__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoItemJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_newKFileMetaInfoItem__Lorg_kde_koala_KFileMetaInfoItem_2(JNIEnv* env, jobject obj, jobject item) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileMetaInfoItemJBridge((const KFileMetaInfoItem&)*(const KFileMetaInfoItem*) QtSupport::getQt(env, item))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_prefix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->prefix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_ref(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_ref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_setAdded(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_setAdded(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileMetaInfoItem_setRemoved(JNIEnv* env, jobject obj) -{ - ((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_setRemoved(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileMetaInfoItem_setValue(JNIEnv* env, jobject obj, jobject value) -{ - jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->setValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_string__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->string(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_string__Z(JNIEnv* env, jobject obj, jboolean mangle) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->string((bool) mangle); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_suffix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->suffix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileMetaInfoItem_translatedKey(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->translatedKey(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileMetaInfoItem_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->type(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileMetaInfoItem_value(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQVariant *) &((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->value(), "org.kde.qt.TQVariant"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileMetaInfoItem.h b/kdejava/koala/kdejava/KFileMetaInfoItem.h deleted file mode 100644 index 5748a242..00000000 --- a/kdejava/koala/kdejava/KFileMetaInfoItem.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileMetaInfoItem__ -#define __org_kde_koala_KFileMetaInfoItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_newKFileMetaInfoItem__Lorg_kde_koala_KFileMetaInfoItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_newKFileMetaInfoItem__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_key (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_translatedKey (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileMetaInfoItem_value (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_string__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_string__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_setValue (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileMetaInfoItem_type (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_isEditable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_isRemoved (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_isModified (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_prefix (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileMetaInfoItem_suffix (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileMetaInfoItem_hint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileMetaInfoItem_attributes (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_isValid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_setAdded (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_setRemoved (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_deref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileMetaInfoItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileMetaInfoItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileMetaInfoItem__ */ diff --git a/kdejava/koala/kdejava/KFilePlugin.cpp b/kdejava/koala/kdejava/KFilePlugin.cpp deleted file mode 100644 index 378aaee4..00000000 --- a/kdejava/koala/kdejava/KFilePlugin.cpp +++ /dev/null @@ -1,56 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilePlugin_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFilePlugin*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePlugin_createValidator(JNIEnv* env, jobject obj, jstring mimeType, jstring group, jstring key, jobject parent, jstring name) -{ -static TQString* _qstring_mimeType = 0; -static TQString* _qstring_group = 0; -static TQString* _qstring_key = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePlugin*) QtSupport::getQt(env, obj))->createValidator((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.qt.TQValidator"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePlugin_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePlugin*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePlugin_readInfo__Lorg_kde_koala_KFileMetaInfo_2(JNIEnv* env, jobject obj, jobject info) -{ - jboolean xret = (jboolean) ((KFilePlugin*) QtSupport::getQt(env, obj))->readInfo((KFileMetaInfo&)*(KFileMetaInfo*) QtSupport::getQt(env, info)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePlugin_readInfo__Lorg_kde_koala_KFileMetaInfo_2I(JNIEnv* env, jobject obj, jobject info, jint what) -{ - jboolean xret = (jboolean) ((KFilePlugin*) QtSupport::getQt(env, obj))->readInfo((KFileMetaInfo&)*(KFileMetaInfo*) QtSupport::getQt(env, info), (uint) what); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePlugin_writeInfo(JNIEnv* env, jobject obj, jobject info) -{ - jboolean xret = (jboolean) ((KFilePlugin*) QtSupport::getQt(env, obj))->writeInfo((const KFileMetaInfo&)*(const KFileMetaInfo*) QtSupport::getQt(env, info)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFilePlugin.h b/kdejava/koala/kdejava/KFilePlugin.h deleted file mode 100644 index f47d79b9..00000000 --- a/kdejava/koala/kdejava/KFilePlugin.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFilePlugin__ -#define __org_kde_koala_KFilePlugin__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePlugin_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilePlugin_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePlugin_readInfo__Lorg_kde_koala_KFileMetaInfo_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePlugin_readInfo__Lorg_kde_koala_KFileMetaInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePlugin_writeInfo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePlugin_createValidator (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFilePlugin__ */ diff --git a/kdejava/koala/kdejava/KFilePreview.cpp b/kdejava/koala/kdejava/KFilePreview.cpp deleted file mode 100644 index 93b1bb45..00000000 --- a/kdejava/koala/kdejava/KFilePreview.cpp +++ /dev/null @@ -1,961 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KFilePreviewJBridge : public KFilePreview -{ -public: - KFilePreviewJBridge(TQWidget* arg1,const char* arg2) : KFilePreview(arg1,arg2) {}; - KFilePreviewJBridge(KFileView* arg1,TQWidget* arg2,const char* arg3) : KFilePreview(arg1,arg2,arg3) {}; - void public_clearView() { - KFilePreview::clearView(); - return; - } - void public_listingCompleted() { - KFilePreview::listingCompleted(); - return; - } - void public_clearSelection() { - KFilePreview::clearSelection(); - return; - } - void public_selectAll() { - KFilePreview::selectAll(); - return; - } - void public_invertSelection() { - KFilePreview::invertSelection(); - return; - } - void public_clear() { - KFilePreview::clear(); - return; - } - void protected_slotHighlighted(const KFileItem* arg1) { - KFilePreview::slotHighlighted(arg1); - return; - } - ~KFilePreviewJBridge() {QtSupport::qtKeyDeleted(this);} - void public_updateView() { - KFileView::updateView(); - return; - } - void protected_setDropOptions_impl(int arg1) { - KFileView::setDropOptions_impl(arg1); - return; - } - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void clearView() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","clearView")) { - KFilePreview::clearView(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQSplitter::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void removeItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFilePreview::removeItem(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","selectAll")) { - KFilePreview::selectAll(); - } - return; - } - void listingCompleted() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","listingCompleted")) { - KFilePreview::listingCompleted(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void insertItem(KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFilePreview::insertItem(arg1); - } - 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.koala.KFilePreview","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","clear")) { - KFilePreview::clear(); - } - return; - } - void updateView(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"updateView",(void*)arg1,"org.kde.koala.KFileItem")) { - KFilePreview::updateView(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void slotHighlighted(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"slotHighlighted",(void*)arg1,"org.kde.koala.KFileItem")) { - KFilePreview::slotHighlighted(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.koala.KFilePreview","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","clearSelection")) { - KFilePreview::clearSelection(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 setParentView(KFileView* arg1) { - if (!QtSupport::eventDelegate(this,"setParentView",(void*)arg1,"org.kde.koala.KFileViewInterface")) { - KFileView::setParentView(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TQSplitter::childEvent(arg1); - } - return; - } - void invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","invertSelection")) { - KFilePreview::invertSelection(); - } - 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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void setCurrentItem(const KFileItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.koala.KFileItem")) { - KFilePreview::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFilePreview",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFilePreview","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_addItemList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static KFileItemList* _qlist_list = 0; - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->addItemList((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_autoOpenDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFilePreviewJBridge::autoOpenDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilePreview_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFilePreview*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_clearSelection(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_clearView(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_clearView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_clear(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_currentFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->currentFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFilePreview_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_dropOptions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->dropOptions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_ensureItemVisible(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->ensureItemVisible((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_fileView(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->fileView(), "org.kde.koala.KFileViewInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFilePreview*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFilePreview*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_firstFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->firstFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_insertItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->insertItem((KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_invertSelection(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePreview_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePreview_isReversed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->isReversed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePreview_isSelected(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KFilePreview*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_items(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_listingCompleted(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_listingCompleted(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_newKFilePreview__Lorg_kde_koala_KFileViewInterface_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject view, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFilePreviewJBridge((KFileView*) QtSupport::getQt(env, view), (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_koala_KFilePreview_newKFilePreview__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 KFilePreviewJBridge((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_koala_KFilePreview_nextItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->nextItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePreview_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_prevItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->prevItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFilePreview*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_removeItem(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_selectAll(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setCurrentItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setCurrentItem((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setDropOptions_1impl(JNIEnv* env, jobject obj, jint options) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->protected_setDropOptions_impl((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setFileView(JNIEnv* env, jobject obj, jobject view) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setFileView((KFileView*) QtSupport::getQt(env, view)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setParentView(JNIEnv* env, jobject obj, jobject parent) -{ - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setParentView((KFileView*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setPreviewWidget(JNIEnv* env, jobject obj, jobject w, jobject u) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setPreviewWidget((const TQWidget*) QtSupport::getQt(env, w), (const KURL&)*(const KURL*) QtSupport::getQt(env, u)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setSelected((const KFileItem*) QtSupport::getQt(env, arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setSelectionMode(JNIEnv* env, jobject obj, jint sm) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setSelectionMode((KFile::SelectionMode) sm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setSorting(JNIEnv* env, jobject obj, jint sort) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) sort); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setViewMode(JNIEnv* env, jobject obj, jint vm) -{ - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setViewMode((KFileView::ViewMode) vm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_setViewName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->setViewName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_signaler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->signaler(), "org.kde.koala.KFileViewSignaler"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_slotHighlighted(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->protected_slotHighlighted((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_sortReversed(JNIEnv* env, jobject obj) -{ - ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->sortReversed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilePreview_sortingKey__JZI(JNIEnv* env, jclass cls, jlong value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; - _qstring = KFilePreviewJBridge::sortingKey((TDEIO::filesize_t) value, (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilePreview_sortingKey__Ljava_lang_String_2ZI(JNIEnv* env, jclass cls, jstring value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_value = 0; - _qstring = KFilePreviewJBridge::sortingKey((const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilePreview_updateNumbers(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->updateNumbers((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_updateView__(JNIEnv* env, jobject obj) -{ - ((KFilePreviewJBridge*) QtSupport::getQt(env, obj))->public_updateView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_updateView__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->updateView((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_updateView__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->updateView((bool) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilePreview_viewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->viewMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilePreview_viewName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileView*)(KFilePreview*) QtSupport::getQt(env, obj))->viewName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilePreview_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilePreview*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFilePreview*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilePreview_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFilePreview*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KFilePreview.h b/kdejava/koala/kdejava/KFilePreview.h deleted file mode 100644 index 78664bbd..00000000 --- a/kdejava/koala/kdejava/KFilePreview.h +++ /dev/null @@ -1,81 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFilePreview__ -#define __org_kde_koala_KFilePreview__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilePreview_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_newKFilePreview__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_newKFilePreview__Lorg_kde_koala_KFileViewInterface_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_clearView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setFileView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_fileView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_updateView__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_updateView__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_listingCompleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setSelected (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePreview_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setCurrentItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_currentFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_firstFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_nextItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_prevItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setPreviewWidget (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_slotHighlighted (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePreview_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_addItemList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_updateView__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_sorting (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePreview_isReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setViewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_viewMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilePreview_viewName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setViewName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setParentView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePreview_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilePreview_updateNumbers (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilePreview_signaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_dropOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilePreview_sortingKey__Ljava_lang_String_2ZI (JNIEnv *env, jclass, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilePreview_sortingKey__JZI (JNIEnv *env, jclass, jlong, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilePreview_autoOpenDelay (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilePreview_setDropOptions_1impl (JNIEnv *env, jobject, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFilePreview__ */ diff --git a/kdejava/koala/kdejava/KFileShare.cpp b/kdejava/koala/kdejava/KFileShare.cpp deleted file mode 100644 index 03740be9..00000000 --- a/kdejava/koala/kdejava/KFileShare.cpp +++ /dev/null @@ -1,157 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KFileShareJBridge : public KFileShare -{ -public: - KFileShareJBridge() : KFileShare() {}; - ~KFileShareJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileShare_authorization(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFileShareJBridge::authorization(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileShare_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileShare_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileShare_fileShareGroup(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KFileShareJBridge::fileShareGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileShare_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFileShare*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileShare_findExe(JNIEnv* env, jclass cls, jstring exeName) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_exeName = 0; - _qstring = KFileShareJBridge::findExe((const char*) QtSupport::toCharString(env, exeName, &_qstring_exeName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_isDirectoryShared(JNIEnv* env, jclass cls, jstring path) -{ - (void) cls; -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) KFileShareJBridge::isDirectoryShared((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_isRestricted(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileShareJBridge::isRestricted(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileShare_newKFileShare(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileShareJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_nfsEnabled(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileShareJBridge::nfsEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileShare_readConfig(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KFileShareJBridge::readConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileShare_readShareList(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KFileShareJBridge::readShareList(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_sambaEnabled(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileShareJBridge::sambaEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_setShared(JNIEnv* env, jclass cls, jstring path, jboolean shared) -{ - (void) cls; -static TQString* _qstring_path = 0; - jboolean xret = (jboolean) KFileShareJBridge::setShared((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) shared); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileShare_shareMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFileShareJBridge::shareMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileShare_sharingEnabled(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KFileShareJBridge::sharingEnabled(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileShare.h b/kdejava/koala/kdejava/KFileShare.h deleted file mode 100644 index 63261bb8..00000000 --- a/kdejava/koala/kdejava/KFileShare.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileShare__ -#define __org_kde_koala_KFileShare__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileShare_newKFileShare (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileShare_readConfig (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileShare_readShareList (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_isDirectoryShared (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileShare_authorization (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileShare_findExe (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_setShared (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_sharingEnabled (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_isRestricted (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileShare_fileShareGroup (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileShare_shareMode (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_sambaEnabled (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_nfsEnabled (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileShare_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileShare_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileShare_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileShare__ */ diff --git a/kdejava/koala/kdejava/KFileTreeBranch.cpp b/kdejava/koala/kdejava/KFileTreeBranch.cpp deleted file mode 100644 index 7fb78266..00000000 --- a/kdejava/koala/kdejava/KFileTreeBranch.cpp +++ /dev/null @@ -1,306 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KFileTreeBranchJBridge : public KFileTreeBranch -{ -public: - KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TQString& arg3,const TQPixmap& arg4,bool arg5,KFileTreeViewItem* arg6) : KFileTreeBranch(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TQString& arg3,const TQPixmap& arg4,bool arg5) : KFileTreeBranch(arg1,arg2,arg3,arg4,arg5) {}; - KFileTreeBranchJBridge(KFileTreeView* arg1,const KURL& arg2,const TQString& arg3,const TQPixmap& arg4) : KFileTreeBranch(arg1,arg2,arg3,arg4) {}; - void public_setShowExtensions() { - KFileTreeBranch::setShowExtensions(); - return; - } - KFileTreeViewItem* protected_createTreeViewItem(KFileTreeViewItem* arg1,KFileItem* arg2) { - return (KFileTreeViewItem*) KFileTreeBranch::createTreeViewItem(arg1,arg2); - } - ~KFileTreeBranchJBridge() {QtSupport::qtKeyDeleted(this);} - void clearMimeFilter() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeBranch","clearMimeFilter")) { - KDirLister::clearMimeFilter(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void setRoot(KFileTreeViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setRoot",(void*)arg1,"org.kde.koala.KFileTreeViewItem")) { - KFileTreeBranch::setRoot(arg1); - } - return; - } - void emitChanges() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeBranch","emitChanges")) { - KDirLister::emitChanges(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void updateDirectory(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"updateDirectory",(void*)&arg1,"org.kde.koala.KURL")) { - KDirLister::updateDirectory(arg1); - } - return; - } - void handleError(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"handleError",(void*)arg1,"org.kde.koala.Job")) { - KDirLister::handleError(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFileTreeBranch",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"stop",(void*)&arg1,"org.kde.koala.KURL")) { - KDirLister::stop(arg1); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeBranch_childRecurse(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileTreeBranch*) QtSupport::getQt(env, obj))->childRecurse(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileTreeBranch_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileTreeBranch*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_createTreeViewItem(JNIEnv* env, jobject obj, jobject parent, jobject fileItem) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeBranchJBridge*) QtSupport::getQt(env, obj))->protected_createTreeViewItem((KFileTreeViewItem*) QtSupport::getQt(env, parent), (KFileItem*) QtSupport::getQt(env, fileItem)), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileTreeBranch_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFileTreeBranch*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KFileTreeBranch*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_findTVIByURL(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeBranch*) QtSupport::getQt(env, obj))->findTVIByURL((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeBranch_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeBranch*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileTreeBranch_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileTreeBranch*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1, jobject url, jstring name, jobject pix) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Z(JNIEnv* env, jobject obj, jobject arg1, jobject url, jstring name, jobject pix, jboolean showHidden) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (bool) showHidden)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2ZLorg_kde_koala_KFileTreeViewItem_2(JNIEnv* env, jobject obj, jobject arg1, jobject url, jstring name, jobject pix, jboolean showHidden, jobject branchRoot) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeBranchJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (bool) showHidden, (KFileTreeViewItem*) QtSupport::getQt(env, branchRoot))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_openPixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((KFileTreeBranch*) QtSupport::getQt(env, obj))->openPixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((KFileTreeBranch*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeBranch_populate(JNIEnv* env, jobject obj, jobject url, jobject currItem) -{ - jboolean xret = (jboolean) ((KFileTreeBranch*) QtSupport::getQt(env, obj))->populate((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (KFileTreeViewItem*) QtSupport::getQt(env, currItem)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_rootUrl(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileTreeBranch*) QtSupport::getQt(env, obj))->rootUrl()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeBranch_root(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeBranch*) QtSupport::getQt(env, obj))->root(), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setChildRecurse__(JNIEnv* env, jobject obj) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setChildRecurse(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setChildRecurse__Z(JNIEnv* env, jobject obj, jboolean t) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setChildRecurse((bool) t); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setName(JNIEnv* env, jobject obj, jstring n) -{ -static TQString* _qstring_n = 0; - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setName((const TQString)*(TQString*) QtSupport::toTQString(env, n, &_qstring_n)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setOpenPixmap(JNIEnv* env, jobject obj, jobject pix) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setOpenPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setOpen__(JNIEnv* env, jobject obj) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setOpen(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setOpen__Z(JNIEnv* env, jobject obj, jboolean setopen) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setOpen((bool) setopen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setRoot(JNIEnv* env, jobject obj, jobject r) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setRoot((KFileTreeViewItem*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setShowExtensions__(JNIEnv* env, jobject obj) -{ - ((KFileTreeBranchJBridge*) QtSupport::getQt(env, obj))->public_setShowExtensions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeBranch_setShowExtensions__Z(JNIEnv* env, jobject obj, jboolean visible) -{ - ((KFileTreeBranch*) QtSupport::getQt(env, obj))->setShowExtensions((bool) visible); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeBranch_showExtensions(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileTreeBranch*) QtSupport::getQt(env, obj))->showExtensions(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileTreeBranch.h b/kdejava/koala/kdejava/KFileTreeBranch.h deleted file mode 100644 index 99b5f140..00000000 --- a/kdejava/koala/kdejava/KFileTreeBranch.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileTreeBranch__ -#define __org_kde_koala_KFileTreeBranch__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileTreeBranch_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2ZLorg_kde_koala_KFileTreeViewItem_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Z (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_newKFileTreeBranch__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_rootUrl (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setRoot (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_root (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileTreeBranch_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_openPixmap (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeBranch_showExtensions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setOpen__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setOpen__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setChildRecurse__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setChildRecurse__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeBranch_childRecurse (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_findTVIByURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeBranch_populate (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setShowExtensions__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setShowExtensions__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_setOpenPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeBranch_createTreeViewItem (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeBranch_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeBranch_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileTreeBranch__ */ diff --git a/kdejava/koala/kdejava/KFileTreeView.cpp b/kdejava/koala/kdejava/KFileTreeView.cpp deleted file mode 100644 index e03e69fa..00000000 --- a/kdejava/koala/kdejava/KFileTreeView.cpp +++ /dev/null @@ -1,886 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KFileTreeViewJBridge : public KFileTreeView -{ -public: - KFileTreeViewJBridge(TQWidget* arg1,const char* arg2) : KFileTreeView(arg1,arg2) {}; - KFileTreeViewJBridge(TQWidget* arg1) : KFileTreeView(arg1) {}; - void public_setShowFolderOpenPixmap() { - KFileTreeView::setShowFolderOpenPixmap(); - return; - } - bool protected_acceptDrag(TQDropEvent* arg1) { - return (bool) KFileTreeView::acceptDrag(arg1); - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) KFileTreeView::dragObject(); - } - void protected_startAnimation(KFileTreeViewItem* arg1,const char* arg2,uint arg3) { - KFileTreeView::startAnimation(arg1,arg2,arg3); - return; - } - void protected_startAnimation(KFileTreeViewItem* arg1,const char* arg2) { - KFileTreeView::startAnimation(arg1,arg2); - return; - } - void protected_startAnimation(KFileTreeViewItem* arg1) { - KFileTreeView::startAnimation(arg1); - return; - } - void protected_stopAnimation(KFileTreeViewItem* arg1) { - KFileTreeView::stopAnimation(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - KFileTreeView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - KFileTreeView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - KFileTreeView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - KFileTreeView::contentsDropEvent(arg1); - return; - } - void protected_slotSetNextUrlToSelect(const KURL& arg1) { - KFileTreeView::slotSetNextUrlToSelect(arg1); - return; - } - TQPixmap protected_itemIcon(KFileTreeViewItem* arg1,int arg2) { - return (TQPixmap) KFileTreeView::itemIcon(arg1,arg2); - } - TQPixmap protected_itemIcon(KFileTreeViewItem* arg1) { - return (TQPixmap) KFileTreeView::itemIcon(arg1); - } - ~KFileTreeViewJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListView::resizeEvent(arg1); - } - return; - } - void setFrameRect(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setFrameRect",(void*)&arg1,"org.kde.qt.TQRect")) { - TQFrame::setFrameRect(arg1); - } - return; - } - void stopAnimation(KFileTreeViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"stopAnimation",(void*)arg1,"org.kde.koala.KFileTreeViewItem")) { - KFileTreeView::stopAnimation(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mouseDoubleClickEvent(arg1); - } - return; - } - void removeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::removeItem(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")) { - TDEListView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEListView::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 contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - KFileTreeView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void insertItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::insertItem(arg1); - } - 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.koala.KFileTreeView","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")) { - TDEListView::viewportResizeEvent(arg1); - } - return; - } - void sort() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","sort")) { - TQListView::sort(); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQListView::setPalette(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","clear")) { - TQListView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KFileTreeView::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.koala.KFileTreeView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","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")) { - TQListView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TDEListView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","clearSelection")) { - TQListView::clearSelection(); - } - 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")) { - KFileTreeView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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 startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","startDrag")) { - TDEListView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void fileManagerKeyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"fileManagerKeyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListView::fileManagerKeyPressEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KFileTreeView::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")) { - TDEListView::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 invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","invertSelection")) { - TQListView::invertSelection(); - } - 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")) { - TDEListView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFileTreeView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 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 slotSetNextUrlToSelect(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotSetNextUrlToSelect",(void*)&arg1,"org.kde.koala.KURL")) { - KFileTreeView::slotSetNextUrlToSelect(arg1); - } - 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.koala.KFileTreeView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TDEListView::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")) { - TDEListView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - 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")) { - TQListView::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.koala.KFileTreeView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeView_acceptDrag(JNIEnv* env, jobject obj, jobject event) -{ - jboolean xret = (jboolean) ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_acceptDrag((TQDropEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KFileTreeBranch_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->addBranch((KFileTreeBranch*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject path, jstring name) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->addBranch((const KURL&)*(const KURL*) QtSupport::getQt(env, path), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject path, jstring name, jobject pix) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->addBranch((const KURL&)*(const KURL*) QtSupport::getQt(env, path), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Z(JNIEnv* env, jobject obj, jobject path, jstring name, jobject pix, jboolean showHidden) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->addBranch((const KURL&)*(const KURL*) QtSupport::getQt(env, path), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (bool) showHidden), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject path, jstring name, jboolean showHidden) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->addBranch((const KURL&)*(const KURL*) QtSupport::getQt(env, path), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) showHidden), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_branch(JNIEnv* env, jobject obj, jstring searchName) -{ -static TQString* _qstring_searchName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->branch((const TQString&)*(TQString*) QtSupport::toTQString(env, searchName, &_qstring_searchName)), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileTreeView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileTreeView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_contentsDropEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_currentKFileTreeViewItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->currentKFileTreeViewItem(), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_currentURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileTreeView*) QtSupport::getQt(env, obj))->currentURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileTreeView_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFileTreeView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFileTreeView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_findItem__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring branchName, jstring relUrl) -{ -static TQString* _qstring_branchName = 0; -static TQString* _qstring_relUrl = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->findItem((const TQString&)*(TQString*) QtSupport::toTQString(env, branchName, &_qstring_branchName), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl)), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_findItem__Lorg_kde_koala_KFileTreeBranch_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject brnch, jstring relUrl) -{ -static TQString* _qstring_relUrl = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->findItem((KFileTreeBranch*) QtSupport::getQt(env, brnch), (const TQString&)*(TQString*) QtSupport::toTQString(env, relUrl, &_qstring_relUrl)), "org.kde.koala.KFileTreeViewItem"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_itemIcon__Lorg_kde_koala_KFileTreeViewItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_itemIcon((KFileTreeViewItem*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_itemIcon__Lorg_kde_koala_KFileTreeViewItem_2I(JNIEnv* env, jobject obj, jobject arg1, jint gap) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_itemIcon((KFileTreeViewItem*) QtSupport::getQt(env, arg1), (int) gap)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_newKFileTreeView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_newKFileTreeView__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 KFileTreeViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeView_removeBranch(JNIEnv* env, jobject obj, jobject branch) -{ - jboolean xret = (jboolean) ((KFileTreeView*) QtSupport::getQt(env, obj))->removeBranch((KFileTreeBranch*) QtSupport::getQt(env, branch)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_setDirOnlyMode(JNIEnv* env, jobject obj, jobject branch, jboolean arg2) -{ - ((KFileTreeView*) QtSupport::getQt(env, obj))->setDirOnlyMode((KFileTreeBranch*) QtSupport::getQt(env, branch), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_setShowFolderOpenPixmap__(JNIEnv* env, jobject obj) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->public_setShowFolderOpenPixmap(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_setShowFolderOpenPixmap__Z(JNIEnv* env, jobject obj, jboolean showIt) -{ - ((KFileTreeView*) QtSupport::getQt(env, obj))->setShowFolderOpenPixmap((bool) showIt); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeView_showFolderOpenPixmap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileTreeView*) QtSupport::getQt(env, obj))->showFolderOpenPixmap(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_slotSetNextUrlToSelect(JNIEnv* env, jobject obj, jobject url) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSetNextUrlToSelect((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_startAnimation((KFileTreeViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jstring iconBaseName) -{ -static TQCString* _qstring_iconBaseName = 0; - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_startAnimation((KFileTreeViewItem*) QtSupport::getQt(env, item), (const char*) QtSupport::toCharString(env, iconBaseName, &_qstring_iconBaseName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject item, jstring iconBaseName, jint iconCount) -{ -static TQCString* _qstring_iconBaseName = 0; - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_startAnimation((KFileTreeViewItem*) QtSupport::getQt(env, item), (const char*) QtSupport::toCharString(env, iconBaseName, &_qstring_iconBaseName), (uint) iconCount); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeView_stopAnimation(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileTreeViewJBridge*) QtSupport::getQt(env, obj))->protected_stopAnimation((KFileTreeViewItem*) QtSupport::getQt(env, item)); - return; -} - diff --git a/kdejava/koala/kdejava/KFileTreeView.h b/kdejava/koala/kdejava/KFileTreeView.h deleted file mode 100644 index 9947022c..00000000 --- a/kdejava/koala/kdejava/KFileTreeView.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileTreeView__ -#define __org_kde_koala_KFileTreeView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileTreeView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_newKFileTreeView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_newKFileTreeView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_currentKFileTreeViewItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_currentURL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Z (JNIEnv *env, jobject, jobject, jstring, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_addBranch__Lorg_kde_koala_KFileTreeBranch_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeView_removeBranch (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_branch (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_setDirOnlyMode (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_findItem__Lorg_kde_koala_KFileTreeBranch_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_findItem__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeView_showFolderOpenPixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_setShowFolderOpenPixmap__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_setShowFolderOpenPixmap__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeView_acceptDrag (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_startAnimation__Lorg_kde_koala_KFileTreeViewItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_stopAnimation (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_slotSetNextUrlToSelect (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_itemIcon__Lorg_kde_koala_KFileTreeViewItem_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeView_itemIcon__Lorg_kde_koala_KFileTreeViewItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileTreeView__ */ diff --git a/kdejava/koala/kdejava/KFileTreeViewItem.cpp b/kdejava/koala/kdejava/KFileTreeViewItem.cpp deleted file mode 100644 index f68ddf34..00000000 --- a/kdejava/koala/kdejava/KFileTreeViewItem.cpp +++ /dev/null @@ -1,110 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KFileTreeViewItemJBridge : public KFileTreeViewItem -{ -public: - KFileTreeViewItemJBridge(KFileTreeViewItem* arg1,KFileItem* arg2,KFileTreeBranch* arg3) : KFileTreeViewItem(arg1,arg2,arg3) {}; - KFileTreeViewItemJBridge(KFileTreeView* arg1,KFileItem* arg2,KFileTreeBranch* arg3) : KFileTreeViewItem(arg1,arg2,arg3) {}; - ~KFileTreeViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeViewItem_alreadyListed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileTreeViewItem*) QtSupport::getQt(env, obj))->alreadyListed(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeViewItem_branch(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeViewItem*) QtSupport::getQt(env, obj))->branch(), "org.kde.koala.KFileTreeBranch"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileTreeViewItem_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeViewItem_fileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileTreeViewItem*) QtSupport::getQt(env, obj))->fileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQListViewItem*)(KFileTreeViewItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQListViewItem*)(KFileTreeViewItem*)QtSupport::getQt(env, obj))->listView() == 0) { - delete (KFileTreeViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeViewItem_isDir(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileTreeViewItem*) QtSupport::getQt(env, obj))->isDir(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewItem_newKFileTreeViewItem__Lorg_kde_koala_KFileTreeViewItem_2Lorg_kde_koala_KFileItem_2Lorg_kde_koala_KFileTreeBranch_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeViewItemJBridge((KFileTreeViewItem*) QtSupport::getQt(env, arg1), (KFileItem*) QtSupport::getQt(env, arg2), (KFileTreeBranch*) QtSupport::getQt(env, arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewItem_newKFileTreeViewItem__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KFileItem_2Lorg_kde_koala_KFileTreeBranch_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeViewItemJBridge((KFileTreeView*) QtSupport::getQt(env, arg1), (KFileItem*) QtSupport::getQt(env, arg2), (KFileTreeBranch*) QtSupport::getQt(env, arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileTreeViewItem_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileTreeViewItem*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewItem_setListed(JNIEnv* env, jobject obj, jboolean wasListed) -{ - ((KFileTreeViewItem*) QtSupport::getQt(env, obj))->setListed((bool) wasListed); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileTreeViewItem_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KFileTreeViewItem*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFileTreeViewItem.h b/kdejava/koala/kdejava/KFileTreeViewItem.h deleted file mode 100644 index c8707efb..00000000 --- a/kdejava/koala/kdejava/KFileTreeViewItem.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileTreeViewItem__ -#define __org_kde_koala_KFileTreeViewItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewItem_newKFileTreeViewItem__Lorg_kde_koala_KFileTreeViewItem_2Lorg_kde_koala_KFileItem_2Lorg_kde_koala_KFileTreeBranch_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewItem_newKFileTreeViewItem__Lorg_kde_koala_KFileTreeView_2Lorg_kde_koala_KFileItem_2Lorg_kde_koala_KFileTreeBranch_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeViewItem_branch (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeViewItem_fileItem (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileTreeViewItem_path (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileTreeViewItem_url (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeViewItem_isDir (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeViewItem_alreadyListed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewItem_setListed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileTreeViewItem__ */ diff --git a/kdejava/koala/kdejava/KFileTreeViewToolTip.cpp b/kdejava/koala/kdejava/KFileTreeViewToolTip.cpp deleted file mode 100644 index 3e119137..00000000 --- a/kdejava/koala/kdejava/KFileTreeViewToolTip.cpp +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KFileTreeViewToolTipJBridge : public KFileTreeViewToolTip -{ -public: - KFileTreeViewToolTipJBridge(TQListView* arg1) : KFileTreeViewToolTip(arg1) {}; - void protected_maybeTip(const TQPoint& arg1) { - KFileTreeViewToolTip::maybeTip(arg1); - return; - } - ~KFileTreeViewToolTipJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewToolTip_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileTreeViewToolTip_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewToolTip_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFileTreeViewToolTip*)QtSupport::getQt(env, obj))->parentWidget() == 0) { - delete (KFileTreeViewToolTip*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileTreeViewToolTip_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewToolTip_maybeTip(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileTreeViewToolTipJBridge*) QtSupport::getQt(env, obj))->protected_maybeTip((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileTreeViewToolTip_newKFileTreeViewToolTip(JNIEnv* env, jobject obj, jobject view) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileTreeViewToolTipJBridge((TQListView*) QtSupport::getQt(env, view))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KFileTreeViewToolTip.h b/kdejava/koala/kdejava/KFileTreeViewToolTip.h deleted file mode 100644 index bdae0d63..00000000 --- a/kdejava/koala/kdejava/KFileTreeViewToolTip.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileTreeViewToolTip__ -#define __org_kde_koala_KFileTreeViewToolTip__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewToolTip_newKFileTreeViewToolTip (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewToolTip_maybeTip (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewToolTip_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileTreeViewToolTip_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileTreeViewToolTip_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileTreeViewToolTip__ */ diff --git a/kdejava/koala/kdejava/KFileView.cpp b/kdejava/koala/kdejava/KFileView.cpp deleted file mode 100644 index 30a3d02b..00000000 --- a/kdejava/koala/kdejava/KFileView.cpp +++ /dev/null @@ -1,384 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_addItemList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static KFileItemList* _qlist_list = 0; - ((KFileView*) QtSupport::getQt(env, obj))->addItemList((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_autoOpenDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KFileView::autoOpenDelay(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_clearSelection(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->clearSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_clearView(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->clearView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_clear(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_currentFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->currentFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_dropOptions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->dropOptions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_ensureItemVisible(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileView*) QtSupport::getQt(env, obj))->ensureItemVisible((const KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_firstFileItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->firstFileItem(), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_insertItem(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileView*) QtSupport::getQt(env, obj))->insertItem((KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_invertSelection(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->invertSelection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileView_isReversed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*) QtSupport::getQt(env, obj))->isReversed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileView_isSelected(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KFileView*) QtSupport::getQt(env, obj))->isSelected((const KFileItem*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_items(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*) QtSupport::getQt(env, obj))->items(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_listingCompleted(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->listingCompleted(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_nextItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->nextItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_numDirs(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->numDirs(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_numFiles(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->numFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileView_onlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFileView*) QtSupport::getQt(env, obj))->onlyDoubleClickSelectsFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_prevItem(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->prevItem((const KFileItem*) QtSupport::getQt(env, arg1)), "org.kde.koala.KFileItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_readConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileView*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_removeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileView*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_selectAll(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_selectedItems(JNIEnv* env, jobject obj) -{ - const KFileItemList* _qlist; - _qlist = ((KFileView*) QtSupport::getQt(env, obj))->selectedItems(); - return (jobject) KDESupport::arrayWithKFileItemList(env, (KFileItemList*) _qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setCurrentItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - ((KFileView*) QtSupport::getQt(env, obj))->setCurrentItem((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setCurrentItem__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setCurrentItem((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setDropOptions(JNIEnv* env, jobject obj, jint options) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setDropOptions((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setOnlyDoubleClickSelectsFiles(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setOnlyDoubleClickSelectsFiles((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setParentView(JNIEnv* env, jobject obj, jobject parent) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setParentView((KFileView*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setSelected(JNIEnv* env, jobject obj, jobject arg1, jboolean enable) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setSelected((const KFileItem*) QtSupport::getQt(env, arg1), (bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setSelectionMode(JNIEnv* env, jobject obj, jint sm) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setSelectionMode((KFile::SelectionMode) sm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setSorting(JNIEnv* env, jobject obj, jint sort) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setSorting((TQDir::SortSpec) sort); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setViewMode(JNIEnv* env, jobject obj, jint vm) -{ - ((KFileView*) QtSupport::getQt(env, obj))->setViewMode((KFileView::ViewMode) vm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_setViewName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KFileView*) QtSupport::getQt(env, obj))->setViewName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_signaler(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->signaler(), "org.kde.koala.KFileViewSignaler"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_sortReversed(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->sortReversed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileView_sortingKey__JZI(JNIEnv* env, jclass cls, jlong value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; - _qstring = KFileView::sortingKey((TDEIO::filesize_t) value, (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileView_sortingKey__Ljava_lang_String_2ZI(JNIEnv* env, jclass cls, jstring value, jboolean isDir, jint sortSpec) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_value = 0; - _qstring = KFileView::sortingKey((const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool) isDir, (int) sortSpec); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_sorting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->sorting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileView_updateNumbers(JNIEnv* env, jobject obj, jobject i) -{ - jboolean xret = (jboolean) ((KFileView*) QtSupport::getQt(env, obj))->updateNumbers((const KFileItem*) QtSupport::getQt(env, i)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_updateView__(JNIEnv* env, jobject obj) -{ - ((KFileView*) QtSupport::getQt(env, obj))->updateView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_updateView__Lorg_kde_koala_KFileItem_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileView*) QtSupport::getQt(env, obj))->updateView((const KFileItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_updateView__Z(JNIEnv* env, jobject obj, jboolean f) -{ - ((KFileView*) QtSupport::getQt(env, obj))->updateView((bool) f); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFileView_viewMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFileView*) QtSupport::getQt(env, obj))->viewMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileView_viewName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFileView*) QtSupport::getQt(env, obj))->viewName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileView_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileView*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_writeConfig__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFileView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring group) -{ -static TQString* _qstring_group = 0; - ((KFileView*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - diff --git a/kdejava/koala/kdejava/KFileView.h b/kdejava/koala/kdejava/KFileView.h deleted file mode 100644 index 22e81205..00000000 --- a/kdejava/koala/kdejava/KFileView.h +++ /dev/null @@ -1,69 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileView__ -#define __org_kde_koala_KFileView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_addItemList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setCurrentItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setCurrentItem__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_currentFileItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_updateView__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_updateView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_updateView__Lorg_kde_koala_KFileItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_listingCompleted (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_sorting (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileView_isReversed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_sortReversed (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_count (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_numFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_numDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setSelectionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setViewMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_viewMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileView_viewName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setViewName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setParentView (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_clearView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_ensureItemVisible (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_clearSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_invertSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setSelected (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileView_isSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_selectedItems (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_items (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_firstFileItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_nextItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_prevItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setOnlyDoubleClickSelectsFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileView_onlyDoubleClickSelectsFiles (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileView_updateNumbers (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileView_signaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_readConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_readConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_writeConfig__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_writeConfig__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileView_setDropOptions (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_dropOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileView_sortingKey__Ljava_lang_String_2ZI (JNIEnv *env, jclass, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileView_sortingKey__JZI (JNIEnv *env, jclass, jlong, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFileView_autoOpenDelay (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileView__ */ diff --git a/kdejava/koala/kdejava/KFileViewSignaler.cpp b/kdejava/koala/kdejava/KFileViewSignaler.cpp deleted file mode 100644 index bbb0146a..00000000 --- a/kdejava/koala/kdejava/KFileViewSignaler.cpp +++ /dev/null @@ -1,138 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KFileViewSignalerJBridge : public KFileViewSignaler -{ -public: - KFileViewSignalerJBridge() : KFileViewSignaler() {}; - ~KFileViewSignalerJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFileViewSignaler",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_activateMenu(JNIEnv* env, jobject obj, jobject i, jobject pos) -{ - ((KFileViewSignaler*) QtSupport::getQt(env, obj))->activateMenu((const KFileItem*) QtSupport::getQt(env, i), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_activate(JNIEnv* env, jobject obj, jobject item) -{ - ((KFileViewSignaler*) QtSupport::getQt(env, obj))->activate((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_changeSorting(JNIEnv* env, jobject obj, jint sorting) -{ - ((KFileViewSignaler*) QtSupport::getQt(env, obj))->changeSorting((TQDir::SortSpec) sorting); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFileViewSignaler_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFileViewSignaler*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFileViewSignaler_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_dropURLs(JNIEnv* env, jobject obj, jobject i, jobject e, jobjectArray urls) -{ -static KURL::List* _qlist_urls = 0; - ((KFileViewSignaler*) QtSupport::getQt(env, obj))->dropURLs((const KFileItem*) QtSupport::getQt(env, i), (TQDropEvent*) QtSupport::getQt(env, e), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFileViewSignaler*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KFileViewSignaler*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_highlightFile(JNIEnv* env, jobject obj, jobject i) -{ - ((KFileViewSignaler*) QtSupport::getQt(env, obj))->highlightFile((const KFileItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFileViewSignaler_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFileViewSignaler_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFileViewSignaler*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFileViewSignaler_newKFileViewSignaler(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFileViewSignalerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KFileViewSignaler.h b/kdejava/koala/kdejava/KFileViewSignaler.h deleted file mode 100644 index 315490aa..00000000 --- a/kdejava/koala/kdejava/KFileViewSignaler.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFileViewSignaler__ -#define __org_kde_koala_KFileViewSignaler__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFileViewSignaler_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFileViewSignaler_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_activate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_highlightFile (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_activateMenu (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_changeSorting (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_dropURLs (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_newKFileViewSignaler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFileViewSignaler_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFileViewSignaler_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFileViewSignaler__ */ diff --git a/kdejava/koala/kdejava/KFilterBase.cpp b/kdejava/koala/kdejava/KFilterBase.cpp deleted file mode 100644 index a6da2c8d..00000000 --- a/kdejava/koala/kdejava/KFilterBase.cpp +++ /dev/null @@ -1,164 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFilterBase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFilterBase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterBase_compress(JNIEnv* env, jobject obj, jboolean finish) -{ - jint xret = (jint) ((KFilterBase*) QtSupport::getQt(env, obj))->compress((bool) finish); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterBase_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilterBase*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterBase_findFilterByFileName(JNIEnv* env, jclass cls, jstring fileName) -{ - (void) cls; -static TQString* _qstring_fileName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterBase::findFilterByFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)), "org.kde.koala.KFilterBase"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterBase_findFilterByMimeType(JNIEnv* env, jclass cls, jstring mimeType) -{ - (void) cls; -static TQString* _qstring_mimeType = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterBase::findFilterByMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType)), "org.kde.koala.KFilterBase"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterBase_inBufferAvailable(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFilterBase*) QtSupport::getQt(env, obj))->inBufferAvailable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterBase_inBufferEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFilterBase*) QtSupport::getQt(env, obj))->inBufferEmpty(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_init(JNIEnv* env, jobject obj, jint mode) -{ - ((KFilterBase*) QtSupport::getQt(env, obj))->init((int) mode); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterBase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFilterBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterBase_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFilterBase*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterBase_outBufferAvailable(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFilterBase*) QtSupport::getQt(env, obj))->outBufferAvailable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterBase_outBufferFull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFilterBase*) QtSupport::getQt(env, obj))->outBufferFull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterBase_readHeader(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFilterBase*) QtSupport::getQt(env, obj))->readHeader(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_reset(JNIEnv* env, jobject obj) -{ - ((KFilterBase*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_setDevice__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - ((KFilterBase*) QtSupport::getQt(env, obj))->setDevice((TQIODevice*) QtSupport::getQt(env, dev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_setDevice__Lorg_kde_qt_QIODeviceInterface_2Z(JNIEnv* env, jobject obj, jobject dev, jboolean autodelete) -{ - ((KFilterBase*) QtSupport::getQt(env, obj))->setDevice((TQIODevice*) QtSupport::getQt(env, dev), (bool) autodelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_setInBuffer(JNIEnv* env, jobject obj, jstring data, jint size) -{ -static TQCString* _qstring_data = 0; - ((KFilterBase*) QtSupport::getQt(env, obj))->setInBuffer((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_setOutBuffer(JNIEnv* env, jobject obj, jstring data, jint maxlen) -{ -static TQCString* _qstring_data = 0; - ((KFilterBase*) QtSupport::getQt(env, obj))->setOutBuffer((char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) maxlen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterBase_terminate(JNIEnv* env, jobject obj) -{ - ((KFilterBase*) QtSupport::getQt(env, obj))->terminate(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterBase_uncompress(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFilterBase*) QtSupport::getQt(env, obj))->uncompress(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterBase_writeHeader(JNIEnv* env, jobject obj, jstring filename) -{ -static TQCString* _qcstring_filename = 0; - jboolean xret = (jboolean) ((KFilterBase*) QtSupport::getQt(env, obj))->writeHeader((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, filename, &_qcstring_filename)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFilterBase.h b/kdejava/koala/kdejava/KFilterBase.h deleted file mode 100644 index 4e286094..00000000 --- a/kdejava/koala/kdejava/KFilterBase.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFilterBase__ -#define __org_kde_koala_KFilterBase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterBase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFilterBase_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_setDevice__Lorg_kde_qt_QIODeviceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_setDevice__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterBase_device (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_init (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterBase_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_terminate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_reset (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterBase_readHeader (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterBase_writeHeader (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_setOutBuffer (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterBase_setInBuffer (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterBase_inBufferEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterBase_inBufferAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterBase_outBufferFull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterBase_outBufferAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterBase_uncompress (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterBase_compress (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterBase_findFilterByFileName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterBase_findFilterByMimeType (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFilterBase__ */ diff --git a/kdejava/koala/kdejava/KFilterDev.cpp b/kdejava/koala/kdejava/KFilterDev.cpp deleted file mode 100644 index 21c9ac03..00000000 --- a/kdejava/koala/kdejava/KFilterDev.cpp +++ /dev/null @@ -1,221 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KFilterDevJBridge : public KFilterDev -{ -public: - KFilterDevJBridge(KFilterBase* arg1,bool arg2) : KFilterDev(arg1,arg2) {}; - KFilterDevJBridge(KFilterBase* arg1) : KFilterDev(arg1) {}; - void public_close() { - KFilterDev::close(); - return; - } - void public_flush() { - KFilterDev::flush(); - return; - } - ~KFilterDevJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterDev_atEnd(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFilterDev*) QtSupport::getQt(env, obj))->atEnd(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFilterDev_at__(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFilterDev*) QtSupport::getQt(env, obj))->at(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterDev_at__J(JNIEnv* env, jobject obj, jlong arg1) -{ - jboolean xret = (jboolean) ((KFilterDev*) QtSupport::getQt(env, obj))->at((TQIODevice::Offset) arg1); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_close(JNIEnv* env, jobject obj) -{ - ((KFilterDevJBridge*) QtSupport::getQt(env, obj))->public_close(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName) -{ - (void) cls; -static TQString* _qstring_fileName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterDevJBridge::deviceForFile((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName, jstring mimetype) -{ - (void) cls; -static TQString* _qstring_fileName = 0; -static TQString* _qstring_mimetype = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterDevJBridge::deviceForFile((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring fileName, jstring mimetype, jboolean forceFilter) -{ - (void) cls; -static TQString* _qstring_fileName = 0; -static TQString* _qstring_mimetype = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterDevJBridge::deviceForFile((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype), (bool) forceFilter), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterDev_device__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject inDevice, jstring mimetype) -{ - (void) cls; -static TQString* _qstring_mimetype = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterDevJBridge::device((TQIODevice*) QtSupport::getQt(env, inDevice), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFilterDev_device__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject inDevice, jstring mimetype, jboolean autoDeleteInDevice) -{ - (void) cls; -static TQString* _qstring_mimetype = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KFilterDevJBridge::device((TQIODevice*) QtSupport::getQt(env, inDevice), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype), (bool) autoDeleteInDevice), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFilterDev_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFilterDev*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_flush(JNIEnv* env, jobject obj) -{ - ((KFilterDevJBridge*) QtSupport::getQt(env, obj))->public_flush(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterDev_getch(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFilterDev*) QtSupport::getQt(env, obj))->getch(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterDev_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_newKFilterDev__Lorg_kde_koala_KFilterBase_2(JNIEnv* env, jobject obj, jobject filter) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFilterDevJBridge((KFilterBase*) QtSupport::getQt(env, filter))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_newKFilterDev__Lorg_kde_koala_KFilterBase_2Z(JNIEnv* env, jobject obj, jobject filter, jboolean autoDeleteFilterBase) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFilterDevJBridge((KFilterBase*) QtSupport::getQt(env, filter), (bool) autoDeleteFilterBase)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFilterDev_open(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((KFilterDev*) QtSupport::getQt(env, obj))->open((int) mode); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterDev_putch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((KFilterDev*) QtSupport::getQt(env, obj))->putch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFilterDev_readBlock(JNIEnv* env, jobject obj, jobject data, jlong maxlen) -{ -static TQCString* _qstring_data = 0; - if (_qstring_data == 0) { _qstring_data = new TQCString(); } - _qstring_data->resize((uint) maxlen); - jlong xret = (jlong) ((KFilterDev*) QtSupport::getQt(env, obj))->readBlock((char*) _qstring_data->data(), (TQ_ULONG) maxlen); - QtSupport::fromTQCStringToStringBuffer(env, _qstring_data, data); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_setOrigFileName(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQCString* _qcstring_fileName = 0; - ((KFilterDev*) QtSupport::getQt(env, obj))->setOrigFileName((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fileName, &_qcstring_fileName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFilterDev_setSkipHeaders(JNIEnv* env, jobject obj) -{ - ((KFilterDev*) QtSupport::getQt(env, obj))->setSkipHeaders(); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFilterDev_size(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFilterDev*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFilterDev_ungetch(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((KFilterDev*) QtSupport::getQt(env, obj))->ungetch((int) arg1); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFilterDev_writeBlock(JNIEnv* env, jobject obj, jstring data, jlong len) -{ -static TQCString* _qstring_data = 0; - jlong xret = (jlong) ((KFilterDev*) QtSupport::getQt(env, obj))->writeBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (TQ_ULONG) len); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFilterDev.h b/kdejava/koala/kdejava/KFilterDev.h deleted file mode 100644 index d1fde0d9..00000000 --- a/kdejava/koala/kdejava/KFilterDev.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFilterDev__ -#define __org_kde_koala_KFilterDev__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_newKFilterDev__Lorg_kde_koala_KFilterBase_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_newKFilterDev__Lorg_kde_koala_KFilterBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterDev_open (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_flush (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_setOrigFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_setSkipHeaders (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFilterDev_size (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFilterDev_at__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterDev_at__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterDev_atEnd (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFilterDev_readBlock (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFilterDev_writeBlock (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterDev_getch (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterDev_putch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFilterDev_ungetch (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterDev_deviceForFile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterDev_device__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFilterDev_device__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFilterDev_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFilterDev_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFilterDev__ */ diff --git a/kdejava/koala/kdejava/KFind.cpp b/kdejava/koala/kdejava/KFind.cpp deleted file mode 100644 index 6f033558..00000000 --- a/kdejava/koala/kdejava/KFind.cpp +++ /dev/null @@ -1,341 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KFindJBridge : public KFind -{ -public: - KFindJBridge(const TQString& arg1,long arg2,TQWidget* arg3) : KFind(arg1,arg2,arg3) {}; - void public_resetCounts() { - KFind::resetCounts(); - return; - } - void public_displayFinalDialog() { - KFind::displayFinalDialog(); - return; - } - TQWidget* protected_parentWidget() { - return (TQWidget*) KFind::parentWidget(); - } - TQWidget* protected_dialogsParent() { - return (TQWidget*) KFind::dialogsParent(); - } - void protected_slotFindNext() { - KFind::slotFindNext(); - return; - } - void protected_slotDialogClosed() { - KFind::slotDialogClosed(); - return; - } - ~KFindJBridge() {QtSupport::qtKeyDeleted(this);} - void displayFinalDialog() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFind","displayFinalDialog")) { - KFind::displayFinalDialog(); - } - return; - } - void resetCounts() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFind","resetCounts")) { - KFind::resetCounts(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFind",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFind_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFind*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_closeFindNextDialog(JNIEnv* env, jobject obj) -{ - ((KFind*) QtSupport::getQt(env, obj))->closeFindNextDialog(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFind_dialogsParent(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFindJBridge*) QtSupport::getQt(env, obj))->protected_dialogsParent(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_displayFinalDialog(JNIEnv* env, jobject obj) -{ - ((KFindJBridge*) QtSupport::getQt(env, obj))->public_displayFinalDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFind_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFind*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KFind*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFind_findNextDialog__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFind*) QtSupport::getQt(env, obj))->findNextDialog(), "org.kde.koala.KDialogBase"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFind_findNextDialog__Z(JNIEnv* env, jobject obj, jboolean create) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFind*) QtSupport::getQt(env, obj))->findNextDialog((bool) create), "org.kde.koala.KDialogBase"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFind_find__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFind*) QtSupport::getQt(env, obj))->find(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFind_find__Ljava_lang_String_2Ljava_lang_String_2IJ_3I(JNIEnv* env, jclass cls, jstring text, jstring pattern, jint index, jlong options, jintArray matchedlength) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_pattern = 0; - int* _int_matchedlength = QtSupport::toIntPtr(env, matchedlength); - jint xret = (jint) KFindJBridge::find((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (int) index, (long) options, (int*) _int_matchedlength); - env->SetIntArrayRegion(matchedlength, 0, 1, (jint *) _int_matchedlength); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFind_find__Ljava_lang_String_2Lorg_kde_qt_QRegExp_2IJ_3I(JNIEnv* env, jclass cls, jstring text, jobject pattern, jint index, jlong options, jintArray matchedlength) -{ - (void) cls; -static TQString* _qstring_text = 0; - int* _int_matchedlength = QtSupport::toIntPtr(env, matchedlength); - jint xret = (jint) KFindJBridge::find((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, pattern), (int) index, (long) options, (int*) _int_matchedlength); - env->SetIntArrayRegion(matchedlength, 0, 1, (jint *) _int_matchedlength); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFind_index(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFind*) QtSupport::getQt(env, obj))->index(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFind_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFind*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_needData(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFind*) QtSupport::getQt(env, obj))->needData(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_newKFind(JNIEnv* env, jobject obj, jstring pattern, jlong options, jobject parent) -{ -static TQString* _qstring_pattern = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (long) options, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFind_numMatches(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KFind*) QtSupport::getQt(env, obj))->numMatches(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFind_options(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFind*) QtSupport::getQt(env, obj))->options(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFind_parentWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFindJBridge*) QtSupport::getQt(env, obj))->protected_parentWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFind_pattern(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFind*) QtSupport::getQt(env, obj))->pattern(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_resetCounts(JNIEnv* env, jobject obj) -{ - ((KFindJBridge*) QtSupport::getQt(env, obj))->public_resetCounts(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setData__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring data) -{ -static TQString* _qstring_data = 0; - ((KFind*) QtSupport::getQt(env, obj))->setData((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setData__ILjava_lang_String_2I(JNIEnv* env, jobject obj, jint id, jstring data, jint startPos) -{ -static TQString* _qstring_data = 0; - ((KFind*) QtSupport::getQt(env, obj))->setData((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data), (int) startPos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setData__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring data) -{ -static TQString* _qstring_data = 0; - ((KFind*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setData__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring data, jint startPos) -{ -static TQString* _qstring_data = 0; - ((KFind*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, data, &_qstring_data), (int) startPos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setOptions(JNIEnv* env, jobject obj, jlong options) -{ - ((KFind*) QtSupport::getQt(env, obj))->setOptions((long) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_setPattern(JNIEnv* env, jobject obj, jstring pattern) -{ -static TQString* _qstring_pattern = 0; - ((KFind*) QtSupport::getQt(env, obj))->setPattern((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_shouldRestart__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFind*) QtSupport::getQt(env, obj))->shouldRestart(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_shouldRestart__Z(JNIEnv* env, jobject obj, jboolean forceAsking) -{ - jboolean xret = (jboolean) ((KFind*) QtSupport::getQt(env, obj))->shouldRestart((bool) forceAsking); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_shouldRestart__ZZ(JNIEnv* env, jobject obj, jboolean forceAsking, jboolean showNumMatches) -{ - jboolean xret = (jboolean) ((KFind*) QtSupport::getQt(env, obj))->shouldRestart((bool) forceAsking, (bool) showNumMatches); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_slotDialogClosed(JNIEnv* env, jobject obj) -{ - ((KFindJBridge*) QtSupport::getQt(env, obj))->protected_slotDialogClosed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFind_slotFindNext(JNIEnv* env, jobject obj) -{ - ((KFindJBridge*) QtSupport::getQt(env, obj))->protected_slotFindNext(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFind_validateMatch(JNIEnv* env, jobject obj, jstring text, jint index, jint matchedlength) -{ -static TQString* _qstring_text = 0; - jboolean xret = (jboolean) ((KFind*) QtSupport::getQt(env, obj))->validateMatch((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index, (int) matchedlength); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFind.h b/kdejava/koala/kdejava/KFind.h deleted file mode 100644 index 1a5aff1a..00000000 --- a/kdejava/koala/kdejava/KFind.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFind__ -#define __org_kde_koala_KFind__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFind_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFind_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_newKFind (JNIEnv *env, jobject, jstring, jlong, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_needData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setData__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setData__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setData__ILjava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setData__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFind_find__ (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFind_options (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setOptions (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFind_pattern (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_setPattern (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFind_numMatches (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_resetCounts (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_validateMatch (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_shouldRestart__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_shouldRestart__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_shouldRestart__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_displayFinalDialog (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFind_findNextDialog__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFind_findNextDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_closeFindNextDialog (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFind_index (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFind_find__Ljava_lang_String_2Ljava_lang_String_2IJ_3I (JNIEnv *env, jclass, jstring, jstring, jint, jlong, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFind_find__Ljava_lang_String_2Lorg_kde_qt_QRegExp_2IJ_3I (JNIEnv *env, jclass, jstring, jobject, jint, jlong, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFind_parentWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFind_dialogsParent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_slotFindNext (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_slotDialogClosed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFind_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFind_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFind__ */ diff --git a/kdejava/koala/kdejava/KFindDialog.cpp b/kdejava/koala/kdejava/KFindDialog.cpp deleted file mode 100644 index 5a308373..00000000 --- a/kdejava/koala/kdejava/KFindDialog.cpp +++ /dev/null @@ -1,764 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KFindDialogJBridge : public KFindDialog -{ -public: - KFindDialogJBridge(TQWidget* arg1,const char* arg2,long arg3,const TQStringList& arg4,bool arg5) : KFindDialog(arg1,arg2,arg3,arg4,arg5) {}; - KFindDialogJBridge(TQWidget* arg1,const char* arg2,long arg3,const TQStringList& arg4) : KFindDialog(arg1,arg2,arg3,arg4) {}; - KFindDialogJBridge(TQWidget* arg1,const char* arg2,long arg3) : KFindDialog(arg1,arg2,arg3) {}; - KFindDialogJBridge(TQWidget* arg1,const char* arg2) : KFindDialog(arg1,arg2) {}; - KFindDialogJBridge(TQWidget* arg1) : KFindDialog(arg1) {}; - KFindDialogJBridge() : KFindDialog() {}; - KFindDialogJBridge(bool arg1,TQWidget* arg2,const char* arg3,long arg4,const TQStringList& arg5,bool arg6) : KFindDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KFindDialogJBridge(bool arg1,TQWidget* arg2,const char* arg3,long arg4,const TQStringList& arg5) : KFindDialog(arg1,arg2,arg3,arg4,arg5) {}; - KFindDialogJBridge(bool arg1,TQWidget* arg2,const char* arg3,long arg4) : KFindDialog(arg1,arg2,arg3,arg4) {}; - KFindDialogJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KFindDialog(arg1,arg2,arg3) {}; - KFindDialogJBridge(bool arg1,TQWidget* arg2) : KFindDialog(arg1,arg2) {}; - KFindDialogJBridge(bool arg1) : KFindDialog(arg1) {}; - void protected_showEvent(TQShowEvent* arg1) { - KFindDialog::showEvent(arg1); - return; - } - void protected_slotOk() { - KFindDialog::slotOk(); - return; - } - void protected_slotSelectedTextToggled(bool arg1) { - KFindDialog::slotSelectedTextToggled(arg1); - return; - } - void protected_showPatterns() { - KFindDialog::showPatterns(); - return; - } - void protected_showPlaceholders() { - KFindDialog::showPlaceholders(); - return; - } - void protected_textSearchChanged(const TQString& arg1) { - KFindDialog::textSearchChanged(arg1); - return; - } - ~KFindDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KFindDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","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")) { - KFindDialog::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KFindDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFindDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KFindDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFindDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KFindDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KFindDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFindDialog_findExtension(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFindDialog*) QtSupport::getQt(env, obj))->findExtension(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFindDialog_findHistory(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KFindDialog*) QtSupport::getQt(env, obj))->findHistory(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFindDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KFindDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KFindDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__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 KFindDialogJBridge((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_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options, jobjectArray findStrings) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options, jobjectArray findStrings, jboolean hasSelection) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings), (bool) hasSelection)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__Z(JNIEnv* env, jobject obj, jboolean modal) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean modal, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean modal, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal, (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_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jboolean modal, jobject parent, jstring name, jlong options) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean modal, jobject parent, jstring name, jlong options, jobjectArray findStrings) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jboolean modal, jobject parent, jstring name, jlong options, jobjectArray findStrings, jboolean hasSelection) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFindDialogJBridge((bool) modal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings), (bool) hasSelection)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KFindDialog_options(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KFindDialog*) QtSupport::getQt(env, obj))->options(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFindDialog_pattern(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KFindDialog*) QtSupport::getQt(env, obj))->pattern(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setFindHistory(JNIEnv* env, jobject obj, jobjectArray history) -{ -static TQStringList* _qlist_history = 0; - ((KFindDialog*) QtSupport::getQt(env, obj))->setFindHistory((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, history, &_qlist_history)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setHasCursor(JNIEnv* env, jobject obj, jboolean hasCursor) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setHasCursor((bool) hasCursor); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setHasSelection(JNIEnv* env, jobject obj, jboolean hasSelection) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setHasSelection((bool) hasSelection); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setOptions(JNIEnv* env, jobject obj, jlong options) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setOptions((long) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setPattern(JNIEnv* env, jobject obj, jstring pattern) -{ -static TQString* _qstring_pattern = 0; - ((KFindDialog*) QtSupport::getQt(env, obj))->setPattern((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setSupportsBackwardsFind(JNIEnv* env, jobject obj, jboolean supports) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setSupportsBackwardsFind((bool) supports); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setSupportsCaseSensitiveFind(JNIEnv* env, jobject obj, jboolean supports) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setSupportsCaseSensitiveFind((bool) supports); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setSupportsRegularExpressionFind(JNIEnv* env, jobject obj, jboolean supports) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setSupportsRegularExpressionFind((bool) supports); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_setSupportsWholeWordsFind(JNIEnv* env, jobject obj, jboolean supports) -{ - ((KFindDialog*) QtSupport::getQt(env, obj))->setSupportsWholeWordsFind((bool) supports); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_showPatterns(JNIEnv* env, jobject obj) -{ - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_showPatterns(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_showPlaceholders(JNIEnv* env, jobject obj) -{ - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_showPlaceholders(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_slotSelectedTextToggled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotSelectedTextToggled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFindDialog_textSearchChanged(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KFindDialogJBridge*) QtSupport::getQt(env, obj))->protected_textSearchChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KFindDialog.h b/kdejava/koala/kdejava/KFindDialog.h deleted file mode 100644 index 902b4a5a..00000000 --- a/kdejava/koala/kdejava/KFindDialog.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFindDialog__ -#define __org_kde_koala_KFindDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFindDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFindDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jlong, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jlong, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J (JNIEnv *env, jobject, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jboolean, jobject, jstring, jlong, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring, jlong, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2J (JNIEnv *env, jobject, jboolean, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_newKFindDialog__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setFindHistory (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFindDialog_findHistory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setHasSelection (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setHasCursor (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setSupportsBackwardsFind (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setSupportsCaseSensitiveFind (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setSupportsWholeWordsFind (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setSupportsRegularExpressionFind (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setOptions (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KFindDialog_options (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFindDialog_pattern (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_setPattern (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KFindDialog_findExtension (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_slotSelectedTextToggled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_showPatterns (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_showPlaceholders (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_textSearchChanged (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFindDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFindDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFindDialog__ */ diff --git a/kdejava/koala/kdejava/KFloatValidator.cpp b/kdejava/koala/kdejava/KFloatValidator.cpp deleted file mode 100644 index 17460c02..00000000 --- a/kdejava/koala/kdejava/KFloatValidator.cpp +++ /dev/null @@ -1,199 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KFloatValidatorJBridge : public KFloatValidator -{ -public: - KFloatValidatorJBridge(TQWidget* arg1,const char* arg2) : KFloatValidator(arg1,arg2) {}; - KFloatValidatorJBridge(TQWidget* arg1) : KFloatValidator(arg1) {}; - KFloatValidatorJBridge(double arg1,double arg2,TQWidget* arg3,const char* arg4) : KFloatValidator(arg1,arg2,arg3,arg4) {}; - KFloatValidatorJBridge(double arg1,double arg2,TQWidget* arg3) : KFloatValidator(arg1,arg2,arg3) {}; - KFloatValidatorJBridge(double arg1,double arg2,bool arg3,TQWidget* arg4,const char* arg5) : KFloatValidator(arg1,arg2,arg3,arg4,arg5) {}; - KFloatValidatorJBridge(double arg1,double arg2,bool arg3,TQWidget* arg4) : KFloatValidator(arg1,arg2,arg3,arg4) {}; - ~KFloatValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KFloatValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFloatValidator_acceptLocalizedNumbers(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KFloatValidator*) QtSupport::getQt(env, obj))->acceptLocalizedNumbers(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KFloatValidator_bottom(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KFloatValidator*) QtSupport::getQt(env, obj))->bottom(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFloatValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KFloatValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KFloatValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_fixup(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KFloatValidator*) QtSupport::getQt(env, obj))->fixup((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFloatValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFloatValidatorJBridge((double) bottom, (double) top, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFloatValidatorJBridge((double) bottom, (double) top, (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_koala_KFloatValidator_newKFloatValidator__DDZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jboolean localeAware, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFloatValidatorJBridge((double) bottom, (double) top, (bool) localeAware, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jdouble bottom, jdouble top, jboolean localeAware, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFloatValidatorJBridge((double) bottom, (double) top, (bool) localeAware, (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_koala_KFloatValidator_newKFloatValidator__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFloatValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_newKFloatValidator__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 KFloatValidatorJBridge((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_koala_KFloatValidator_setAcceptLocalizedNumbers(JNIEnv* env, jobject obj, jboolean b) -{ - ((KFloatValidator*) QtSupport::getQt(env, obj))->setAcceptLocalizedNumbers((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFloatValidator_setRange(JNIEnv* env, jobject obj, jdouble bottom, jdouble top) -{ - ((KFloatValidator*) QtSupport::getQt(env, obj))->setRange((double) bottom, (double) top); - return; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KFloatValidator_top(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KFloatValidator*) QtSupport::getQt(env, obj))->top(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KFloatValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) -{ -static TQString* _qstring_arg1 = 0; - int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((KFloatValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int&) *_int_arg2); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); - return xret; -} - diff --git a/kdejava/koala/kdejava/KFloatValidator.h b/kdejava/koala/kdejava/KFloatValidator.h deleted file mode 100644 index 202e9275..00000000 --- a/kdejava/koala/kdejava/KFloatValidator.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFloatValidator__ -#define __org_kde_koala_KFloatValidator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jdouble, jdouble, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jdouble, jdouble, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_newKFloatValidator__DDZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jdouble, jdouble, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KFloatValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_fixup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_setRange (JNIEnv *env, jobject, jdouble, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KFloatValidator_bottom (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KFloatValidator_top (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_setAcceptLocalizedNumbers (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFloatValidator_acceptLocalizedNumbers (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFloatValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFloatValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFloatValidator__ */ diff --git a/kdejava/koala/kdejava/KFolderType.cpp b/kdejava/koala/kdejava/KFolderType.cpp deleted file mode 100644 index 4c2fa89f..00000000 --- a/kdejava/koala/kdejava/KFolderType.cpp +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KFolderTypeJBridge : public KFolderType -{ -public: - KFolderTypeJBridge(KDesktopFile* arg1) : KFolderType(arg1) {}; - KFolderTypeJBridge(TQDataStream& arg1,int arg2) : KFolderType(arg1,arg2) {}; - ~KFolderTypeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFolderType_comment__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _url, jboolean _is_local) -{ - TQString _qstring; -static TQString* _qstring__url = 0; - _qstring = ((KFolderType*) QtSupport::getQt(env, obj))->comment((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFolderType_comment__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject _url, jboolean _is_local) -{ - TQString _qstring; - _qstring = ((KFolderType*) QtSupport::getQt(env, obj))->comment((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFolderType_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KFolderType_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFolderType_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KFolderType*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFolderType_icon__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _url, jboolean _is_local) -{ - TQString _qstring; -static TQString* _qstring__url = 0; - _qstring = ((KFolderType*) QtSupport::getQt(env, obj))->icon((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KFolderType_icon__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject _url, jboolean _is_local) -{ - TQString _qstring; - _qstring = ((KFolderType*) QtSupport::getQt(env, obj))->icon((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (bool) _is_local); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KFolderType_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFolderType_newKFolderType__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFolderTypeJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KFolderType_newKFolderType__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KFolderTypeJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KFolderType.h b/kdejava/koala/kdejava/KFolderType.h deleted file mode 100644 index 58da39f6..00000000 --- a/kdejava/koala/kdejava/KFolderType.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KFolderType__ -#define __org_kde_koala_KFolderType__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFolderType_newKFolderType__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFolderType_newKFolderType__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFolderType_icon__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFolderType_icon__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFolderType_comment__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KFolderType_comment__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFolderType_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KFolderType_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KFolderType_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KFolderType__ */ diff --git a/kdejava/koala/kdejava/KGradientSelector.cpp b/kdejava/koala/kdejava/KGradientSelector.cpp deleted file mode 100644 index e07f02e8..00000000 --- a/kdejava/koala/kdejava/KGradientSelector.cpp +++ /dev/null @@ -1,590 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KGradientSelectorJBridge : public KGradientSelector -{ -public: - KGradientSelectorJBridge(TQWidget* arg1,const char* arg2) : KGradientSelector(arg1,arg2) {}; - KGradientSelectorJBridge(TQWidget* arg1) : KGradientSelector(arg1) {}; - KGradientSelectorJBridge() : KGradientSelector() {}; - KGradientSelectorJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : KGradientSelector(arg1,arg2,arg3) {}; - KGradientSelectorJBridge(TQt::Orientation arg1,TQWidget* arg2) : KGradientSelector(arg1,arg2) {}; - KGradientSelectorJBridge(TQt::Orientation arg1) : KGradientSelector(arg1) {}; - void protected_drawContents(TQPainter* arg1) { - KGradientSelector::drawContents(arg1); - return; - } - TQSize protected_minimumSize() { - return (TQSize) KGradientSelector::minimumSize(); - } - ~KGradientSelectorJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KGradientSelector::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","stepChange")) { - TQRangeControl::stepChange(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void valueChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","valueChange")) { - TDESelector::valueChange(); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDESelector::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KGradientSelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDESelector::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDESelector::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void rangeChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","rangeChange")) { - TQRangeControl::rangeChange(); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDESelector::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KGradientSelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KGradientSelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGradientSelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KGradientSelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KGradientSelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KGradientSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KGradientSelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KGradientSelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGradientSelector_firstColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KGradientSelector*) QtSupport::getQt(env, obj))->firstColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGradientSelector_firstText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGradientSelector*) QtSupport::getQt(env, obj))->firstText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KGradientSelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGradientSelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KGradientSelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGradientSelector_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KGradientSelectorJBridge*) QtSupport::getQt(env, obj))->protected_minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_newKGradientSelector__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGradientSelectorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_newKGradientSelector__I(JNIEnv* env, jobject obj, jint o) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGradientSelectorJBridge((TQt::Orientation) o)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_newKGradientSelector__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint o, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGradientSelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_newKGradientSelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint o, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGradientSelectorJBridge((TQt::Orientation) o, (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_koala_KGradientSelector_newKGradientSelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGradientSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_newKGradientSelector__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 KGradientSelectorJBridge((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_koala_KGradientSelector_secondColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KGradientSelector*) QtSupport::getQt(env, obj))->secondColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGradientSelector_secondText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGradientSelector*) QtSupport::getQt(env, obj))->secondText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setColors(JNIEnv* env, jobject obj, jobject col1, jobject col2) -{ - ((KGradientSelector*) QtSupport::getQt(env, obj))->setColors((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setFirstColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KGradientSelector*) QtSupport::getQt(env, obj))->setFirstColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setFirstText(JNIEnv* env, jobject obj, jstring t) -{ -static TQString* _qstring_t = 0; - ((KGradientSelector*) QtSupport::getQt(env, obj))->setFirstText((const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setSecondColor(JNIEnv* env, jobject obj, jobject col) -{ - ((KGradientSelector*) QtSupport::getQt(env, obj))->setSecondColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setSecondText(JNIEnv* env, jobject obj, jstring t) -{ -static TQString* _qstring_t = 0; - ((KGradientSelector*) QtSupport::getQt(env, obj))->setSecondText((const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGradientSelector_setText(JNIEnv* env, jobject obj, jstring t1, jstring t2) -{ -static TQString* _qstring_t1 = 0; -static TQString* _qstring_t2 = 0; - ((KGradientSelector*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, t1, &_qstring_t1), (const TQString&)*(TQString*) QtSupport::toTQString(env, t2, &_qstring_t2)); - return; -} - diff --git a/kdejava/koala/kdejava/KGradientSelector.h b/kdejava/koala/kdejava/KGradientSelector.h deleted file mode 100644 index d0bc1db3..00000000 --- a/kdejava/koala/kdejava/KGradientSelector.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KGradientSelector__ -#define __org_kde_koala_KGradientSelector__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGradientSelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGradientSelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_newKGradientSelector__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setColors (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setText (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setFirstColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setSecondColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setFirstText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_setSecondText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGradientSelector_firstColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGradientSelector_secondColor (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGradientSelector_firstText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGradientSelector_secondText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGradientSelector_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGradientSelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGradientSelector_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KGradientSelector__ */ diff --git a/kdejava/koala/kdejava/KGuiItem.cpp b/kdejava/koala/kdejava/KGuiItem.cpp deleted file mode 100644 index d33f9293..00000000 --- a/kdejava/koala/kdejava/KGuiItem.cpp +++ /dev/null @@ -1,289 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KGuiItemJBridge : public KGuiItem -{ -public: - KGuiItemJBridge() : KGuiItem() {}; - KGuiItemJBridge(const TQString& arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4) : KGuiItem(arg1,arg2,arg3,arg4) {}; - KGuiItemJBridge(const TQString& arg1,const TQString& arg2,const TQString& arg3) : KGuiItem(arg1,arg2,arg3) {}; - KGuiItemJBridge(const TQString& arg1,const TQString& arg2) : KGuiItem(arg1,arg2) {}; - KGuiItemJBridge(const TQString& arg1) : KGuiItem(arg1) {}; - KGuiItemJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3,const TQString& arg4) : KGuiItem(arg1,arg2,arg3,arg4) {}; - KGuiItemJBridge(const TQString& arg1,const TQIconSet& arg2,const TQString& arg3) : KGuiItem(arg1,arg2,arg3) {}; - KGuiItemJBridge(const TQString& arg1,const TQIconSet& arg2) : KGuiItem(arg1,arg2) {}; - KGuiItemJBridge(const KGuiItem& arg1) : KGuiItem(arg1) {}; - ~KGuiItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KGuiItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KGuiItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KGuiItem_hasIconSet(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KGuiItem*) QtSupport::getQt(env, obj))->hasIconSet(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KGuiItem_hasIcon(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KGuiItem*) QtSupport::getQt(env, obj))->hasIcon(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGuiItem_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGuiItem*) QtSupport::getQt(env, obj))->iconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGuiItem_iconSet__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGuiItem_iconSet__I(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) arg1)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGuiItem_iconSet__II(JNIEnv* env, jobject obj, jint arg1, jint size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) arg1, (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KGuiItem_iconSet__IILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jint arg1, jint size, jobject instance) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((KGuiItem*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) arg1, (int) size, (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KGuiItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KGuiItem_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KGuiItem*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__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 KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring iconName) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_iconName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring iconName, jstring toolTip) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_iconName = 0; -static TQString* _qstring_toolTip = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName), (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTip, &_qstring_toolTip))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring iconName, jstring toolTip, jstring whatsThis) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_iconName = 0; -static TQString* _qstring_toolTip = 0; -static TQString* _qstring_whatsThis = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName), (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTip, &_qstring_toolTip), (const TQString&)*(TQString*) QtSupport::toTQString(env, whatsThis, &_qstring_whatsThis))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject iconSet) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject iconSet, jstring toolTip) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_toolTip = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet), (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTip, &_qstring_toolTip))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject iconSet, jstring toolTip, jstring whatsThis) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_toolTip = 0; -static TQString* _qstring_whatsThis = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet), (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTip, &_qstring_toolTip), (const TQString&)*(TQString*) QtSupport::toTQString(env, whatsThis, &_qstring_whatsThis))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_newKGuiItem__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject rhs) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KGuiItemJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, rhs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGuiItem_plainText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGuiItem*) QtSupport::getQt(env, obj))->plainText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KGuiItem*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setIconName(JNIEnv* env, jobject obj, jstring iconName) -{ -static TQString* _qstring_iconName = 0; - ((KGuiItem*) QtSupport::getQt(env, obj))->setIconName((const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setIconSet(JNIEnv* env, jobject obj, jobject iconset) -{ - ((KGuiItem*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KGuiItem*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setToolTip(JNIEnv* env, jobject obj, jstring tooltip) -{ -static TQString* _qstring_tooltip = 0; - ((KGuiItem*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, tooltip, &_qstring_tooltip)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KGuiItem_setWhatsThis(JNIEnv* env, jobject obj, jstring whatsThis) -{ -static TQString* _qstring_whatsThis = 0; - ((KGuiItem*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, whatsThis, &_qstring_whatsThis)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGuiItem_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGuiItem*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGuiItem_toolTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGuiItem*) QtSupport::getQt(env, obj))->toolTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KGuiItem_whatsThis(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KGuiItem*) QtSupport::getQt(env, obj))->whatsThis(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KGuiItem.h b/kdejava/koala/kdejava/KGuiItem.h deleted file mode 100644 index 94efd8d0..00000000 --- a/kdejava/koala/kdejava/KGuiItem.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KGuiItem__ -#define __org_kde_koala_KGuiItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_newKGuiItem__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGuiItem_text (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGuiItem_plainText (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGuiItem_iconSet__IILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGuiItem_iconSet__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGuiItem_iconSet__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGuiItem_iconSet__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGuiItem_iconName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGuiItem_toolTip (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGuiItem_whatsThis (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGuiItem_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGuiItem_hasIcon (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGuiItem_hasIconSet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setIconName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setToolTip (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setWhatsThis (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KGuiItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KGuiItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KGuiItem__ */ diff --git a/kdejava/koala/kdejava/KHSSelector.cpp b/kdejava/koala/kdejava/KHSSelector.cpp deleted file mode 100644 index 20f08e24..00000000 --- a/kdejava/koala/kdejava/KHSSelector.cpp +++ /dev/null @@ -1,476 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KHSSelectorJBridge : public KHSSelector -{ -public: - KHSSelectorJBridge(TQWidget* arg1,const char* arg2) : KHSSelector(arg1,arg2) {}; - KHSSelectorJBridge(TQWidget* arg1) : KHSSelector(arg1) {}; - KHSSelectorJBridge() : KHSSelector() {}; - void protected_drawPalette(TQPixmap* arg1) { - KHSSelector::drawPalette(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KHSSelector::resizeEvent(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - KHSSelector::drawContents(arg1); - return; - } - ~KHSSelectorJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KHSSelector::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KHSSelector::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KXYSelector::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KHSSelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void drawPalette(TQPixmap* arg1) { - if (!QtSupport::eventDelegate(this,"drawPalette",(void*)arg1,"org.kde.qt.TQPixmap")) { - KHSSelector::drawPalette(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KXYSelector::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KXYSelector::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KXYSelector::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KHSSelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHSSelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KHSSelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KHSSelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KHSSelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_drawContents(JNIEnv* env, jobject obj, jobject painter) -{ - ((KHSSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, painter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_drawPalette(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((KHSSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawPalette((TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KHSSelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KHSSelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KHSSelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KHSSelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KHSSelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_newKHSSelector__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHSSelectorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_newKHSSelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHSSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHSSelector_newKHSSelector__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 KHSSelectorJBridge((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_koala_KHSSelector_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KHSSelectorJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KHSSelector.h b/kdejava/koala/kdejava/KHSSelector.h deleted file mode 100644 index 12707c20..00000000 --- a/kdejava/koala/kdejava/KHSSelector.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KHSSelector__ -#define __org_kde_koala_KHSSelector__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHSSelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KHSSelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_newKHSSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_newKHSSelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_newKHSSelector__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_drawPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHSSelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KHSSelector_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KHSSelector__ */ diff --git a/kdejava/koala/kdejava/KHelpMenu.cpp b/kdejava/koala/kdejava/KHelpMenu.cpp deleted file mode 100644 index 3d35415e..00000000 --- a/kdejava/koala/kdejava/KHelpMenu.cpp +++ /dev/null @@ -1,210 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KHelpMenuJBridge : public KHelpMenu -{ -public: - KHelpMenuJBridge(TQWidget* arg1,const TQString& arg2,bool arg3) : KHelpMenu(arg1,arg2,arg3) {}; - KHelpMenuJBridge(TQWidget* arg1,const TQString& arg2) : KHelpMenu(arg1,arg2) {}; - KHelpMenuJBridge(TQWidget* arg1) : KHelpMenu(arg1) {}; - KHelpMenuJBridge() : KHelpMenu() {}; - KHelpMenuJBridge(TQWidget* arg1,const TDEAboutData* arg2,bool arg3,TDEActionCollection* arg4) : KHelpMenu(arg1,arg2,arg3,arg4) {}; - KHelpMenuJBridge(TQWidget* arg1,const TDEAboutData* arg2,bool arg3) : KHelpMenu(arg1,arg2,arg3) {}; - KHelpMenuJBridge(TQWidget* arg1,const TDEAboutData* arg2) : KHelpMenu(arg1,arg2) {}; - ~KHelpMenuJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KHelpMenu",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_aboutApplication(JNIEnv* env, jobject obj) -{ - ((KHelpMenu*) QtSupport::getQt(env, obj))->aboutApplication(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_aboutKDE(JNIEnv* env, jobject obj) -{ - ((KHelpMenu*) QtSupport::getQt(env, obj))->aboutKDE(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_appHelpActivated(JNIEnv* env, jobject obj) -{ - ((KHelpMenu*) QtSupport::getQt(env, obj))->appHelpActivated(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KHelpMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KHelpMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_contextHelpActivated(JNIEnv* env, jobject obj) -{ - ((KHelpMenu*) QtSupport::getQt(env, obj))->contextHelpActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KHelpMenu_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KHelpMenu*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KHelpMenu*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KHelpMenu_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KHelpMenu_menu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KHelpMenu*) QtSupport::getQt(env, obj))->menu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KHelpMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KHelpMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring aboutAppText) -{ -static TQString* _qstring_aboutAppText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring aboutAppText, jboolean showWhatsThis) -{ -static TQString* _qstring_aboutAppText = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText), (bool) showWhatsThis)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2(JNIEnv* env, jobject obj, jobject parent, jobject aboutData) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TDEAboutData*) QtSupport::getQt(env, aboutData))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2Z(JNIEnv* env, jobject obj, jobject parent, jobject aboutData, jboolean showWhatsThis) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TDEAboutData*) QtSupport::getQt(env, aboutData), (bool) showWhatsThis)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2ZLorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject parent, jobject aboutData, jboolean showWhatsThis, jobject actions) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHelpMenuJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TDEAboutData*) QtSupport::getQt(env, aboutData), (bool) showWhatsThis, (TDEActionCollection*) QtSupport::getQt(env, actions))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHelpMenu_reportBug(JNIEnv* env, jobject obj) -{ - ((KHelpMenu*) QtSupport::getQt(env, obj))->reportBug(); - return; -} - diff --git a/kdejava/koala/kdejava/KHelpMenu.h b/kdejava/koala/kdejava/KHelpMenu.h deleted file mode 100644 index 26ffa31e..00000000 --- a/kdejava/koala/kdejava/KHelpMenu.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KHelpMenu__ -#define __org_kde_koala_KHelpMenu__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHelpMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KHelpMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2ZLorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_newKHelpMenu__Lorg_kde_qt_QWidget_2Lorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHelpMenu_menu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_appHelpActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_contextHelpActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_aboutApplication (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_aboutKDE (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_reportBug (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHelpMenu_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KHelpMenu_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KHelpMenu__ */ diff --git a/kdejava/koala/kdejava/KHistoryCombo.cpp b/kdejava/koala/kdejava/KHistoryCombo.cpp deleted file mode 100644 index 1f5425e7..00000000 --- a/kdejava/koala/kdejava/KHistoryCombo.cpp +++ /dev/null @@ -1,585 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KHistoryComboJBridge : public KHistoryCombo -{ -public: - KHistoryComboJBridge(TQWidget* arg1,const char* arg2) : KHistoryCombo(arg1,arg2) {}; - KHistoryComboJBridge(TQWidget* arg1) : KHistoryCombo(arg1) {}; - KHistoryComboJBridge() : KHistoryCombo() {}; - KHistoryComboJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KHistoryCombo(arg1,arg2,arg3) {}; - KHistoryComboJBridge(bool arg1,TQWidget* arg2) : KHistoryCombo(arg1,arg2) {}; - KHistoryComboJBridge(bool arg1) : KHistoryCombo(arg1) {}; - void protected_keyPressEvent(TQKeyEvent* arg1) { - KHistoryCombo::keyPressEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KHistoryCombo::wheelEvent(arg1); - return; - } - void protected_insertItems(const TQStringList& arg1) { - KHistoryCombo::insertItems(arg1); - return; - } - bool protected_useCompletion() { - return (bool) KHistoryCombo::useCompletion(); - } - ~KHistoryComboJBridge() {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 setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQComboBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KHistoryCombo","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KHistoryCombo::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KHistoryCombo::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - KComboBox::setLineEdit(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KHistoryCombo",object,event)) { - return KComboBox::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KHistoryCombo","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_addToHistory(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((KHistoryCombo*) QtSupport::getQt(env, obj))->addToHistory((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KHistoryCombo_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KHistoryCombo*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_clearHistory(JNIEnv* env, jobject obj) -{ - ((KHistoryCombo*) QtSupport::getQt(env, obj))->clearHistory(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KHistoryCombo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KHistoryCombo*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KHistoryCombo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KHistoryCombo_historyItems(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KHistoryCombo*) QtSupport::getQt(env, obj))->historyItems(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_insertItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((KHistoryComboJBridge*) QtSupport::getQt(env, obj))->protected_insertItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KHistoryCombo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KHistoryComboJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KHistoryCombo_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KHistoryCombo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHistoryComboJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHistoryComboJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__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 KHistoryComboJBridge((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_koala_KHistoryCombo_newKHistoryCombo__Z(JNIEnv* env, jobject obj, jboolean useCompletion) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHistoryComboJBridge((bool) useCompletion)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean useCompletion, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHistoryComboJBridge((bool) useCompletion, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean useCompletion, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KHistoryComboJBridge((bool) useCompletion, (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_koala_KHistoryCombo_pixmapProvider(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KHistoryCombo*) QtSupport::getQt(env, obj))->pixmapProvider(), "org.kde.koala.KPixmapProvider"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KHistoryCombo_removeFromHistory(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - jboolean xret = (jboolean) ((KHistoryCombo*) QtSupport::getQt(env, obj))->removeFromHistory((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_reset(JNIEnv* env, jobject obj) -{ - ((KHistoryCombo*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_setHistoryItems___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((KHistoryCombo*) QtSupport::getQt(env, obj))->setHistoryItems((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_setHistoryItems___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray items, jboolean setCompletionList) -{ -static TQStringList* _qlist_items = 0; - ((KHistoryCombo*) QtSupport::getQt(env, obj))->setHistoryItems((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (bool) setCompletionList); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_setPixmapProvider(JNIEnv* env, jobject obj, jobject prov) -{ - ((KHistoryCombo*) QtSupport::getQt(env, obj))->setPixmapProvider((KPixmapProvider*) QtSupport::getQt(env, prov)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KHistoryCombo_useCompletion(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KHistoryComboJBridge*) QtSupport::getQt(env, obj))->protected_useCompletion(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KHistoryCombo_wheelEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((KHistoryComboJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, ev)); - return; -} - diff --git a/kdejava/koala/kdejava/KHistoryCombo.h b/kdejava/koala/kdejava/KHistoryCombo.h deleted file mode 100644 index 208406ad..00000000 --- a/kdejava/koala/kdejava/KHistoryCombo.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KHistoryCombo__ -#define __org_kde_koala_KHistoryCombo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHistoryCombo_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KHistoryCombo_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_newKHistoryCombo__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_setHistoryItems___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_setHistoryItems___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHistoryCombo_historyItems (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KHistoryCombo_removeFromHistory (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_setPixmapProvider (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KHistoryCombo_pixmapProvider (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_addToHistory (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_clearHistory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_insertItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KHistoryCombo_useCompletion (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KHistoryCombo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KHistoryCombo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KHistoryCombo__ */ diff --git a/kdejava/koala/kdejava/KIDNA.cpp b/kdejava/koala/kdejava/KIDNA.cpp deleted file mode 100644 index c540dec7..00000000 --- a/kdejava/koala/kdejava/KIDNA.cpp +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIDNA_toAsciiCString(JNIEnv* env, jclass cls, jstring idna) -{ - TQCString _qstring; - (void) cls; -static TQString* _qstring_idna = 0; - _qstring = KIDNA::toAsciiCString((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIDNA_toAscii(JNIEnv* env, jclass cls, jstring idna) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_idna = 0; - _qstring = KIDNA::toAscii((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIDNA_toUnicode(JNIEnv* env, jclass cls, jstring idna) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_idna = 0; - _qstring = KIDNA::toUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KIDNA.h b/kdejava/koala/kdejava/KIDNA.h deleted file mode 100644 index d24fabe9..00000000 --- a/kdejava/koala/kdejava/KIDNA.h +++ /dev/null @@ -1,21 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KIDNA__ -#define __org_kde_koala_KIDNA__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIDNA_toAsciiCString (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIDNA_toAscii (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIDNA_toUnicode (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KIDNA__ */ diff --git a/kdejava/koala/kdejava/KIPC.cpp b/kdejava/koala/kdejava/KIPC.cpp deleted file mode 100644 index 66900fd7..00000000 --- a/kdejava/koala/kdejava/KIPC.cpp +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KIPCJBridge : public KIPC -{ -public: - KIPCJBridge() : KIPC() {}; - ~KIPCJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KIPC_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KIPC*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KIPC_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_newKIPC(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIPCJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_sendMessageAll__I(JNIEnv* env, jclass cls, jint msg) -{ - (void) cls; - (void) env; - KIPCJBridge::sendMessageAll((KIPC::Message) msg); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_sendMessageAll__II(JNIEnv* env, jclass cls, jint msg, jint data) -{ - (void) cls; - (void) env; - KIPCJBridge::sendMessageAll((KIPC::Message) msg, (int) data); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_sendMessage__IJ(JNIEnv* env, jclass cls, jint msg, jlong w) -{ - (void) cls; - (void) env; - KIPCJBridge::sendMessage((KIPC::Message) msg, (WId) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIPC_sendMessage__IJI(JNIEnv* env, jclass cls, jint msg, jlong w, jint data) -{ - (void) cls; - (void) env; - KIPCJBridge::sendMessage((KIPC::Message) msg, (WId) w, (int) data); - return; -} - diff --git a/kdejava/koala/kdejava/KIPC.h b/kdejava/koala/kdejava/KIPC.h deleted file mode 100644 index c193fe20..00000000 --- a/kdejava/koala/kdejava/KIPC.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KIPC__ -#define __org_kde_koala_KIPC__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_newKIPC (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_sendMessage__IJI (JNIEnv *env, jclass, jint, jlong, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_sendMessage__IJ (JNIEnv *env, jclass, jint, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_sendMessageAll__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_sendMessageAll__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIPC_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIPC_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KIPC__ */ diff --git a/kdejava/koala/kdejava/KImageEffect.cpp b/kdejava/koala/kdejava/KImageEffect.cpp deleted file mode 100644 index ac4c08ea..00000000 --- a/kdejava/koala/kdejava/KImageEffect.cpp +++ /dev/null @@ -1,712 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KImageEffectJBridge : public KImageEffect -{ -public: - KImageEffectJBridge() : KImageEffect() {}; - ~KImageEffectJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_addNoise__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::addNoise((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_addNoise__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint type) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::addNoise((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (KImageEffect::NoiseType) type)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageEffect_blendOnLower__IILorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jint x, jint y, jobject upper, jobject lower) -{ - (void) cls; - jboolean xret = (jboolean) KImageEffectJBridge::blendOnLower((int) x, (int) y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, lower)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2IF(JNIEnv* env, jclass cls, jobject upper, jobject lower, jint disposition, jfloat opacity) -{ - (void) cls; - KImageEffectJBridge::blendOnLower((TQImage&)*(TQImage*) QtSupport::getQt(env, upper), (TQImage&)*(TQImage*) QtSupport::getQt(env, lower), (KImageEffect::Disposition) disposition, (float) opacity); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject upper, jobject upperOffset, jobject lower, jobject lowerRect) -{ - (void) cls; - KImageEffectJBridge::blendOnLower((const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, upperOffset), (TQImage&)*(TQImage*) QtSupport::getQt(env, lower), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, lowerRect)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2F(JNIEnv* env, jclass cls, jobject upper, jobject upperOffset, jobject lower, jobject lowerRect, jfloat opacity) -{ - (void) cls; - KImageEffectJBridge::blendOnLower((const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, upperOffset), (TQImage&)*(TQImage*) QtSupport::getQt(env, lower), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, lowerRect), (float) opacity); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QColor_2Lorg_kde_qt_QImage_2F(JNIEnv* env, jclass cls, jobject clr, jobject dst, jfloat opacity) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((const TQColor&)*(const TQColor*) QtSupport::getQt(env, clr), (TQImage&)*(TQImage*) QtSupport::getQt(env, dst), (float) opacity), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2FLorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject image, jfloat initial_intensity, jobject bgnd, jint eff) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KImageEffect::GradientType) eff), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2FLorg_kde_qt_QColor_2IZ(JNIEnv* env, jclass cls, jobject image, jfloat initial_intensity, jobject bgnd, jint eff, jboolean anti_dir) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KImageEffect::GradientType) eff, (bool) anti_dir), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2F(JNIEnv* env, jclass cls, jobject src, jobject dst, jfloat opacity) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (TQImage&)*(TQImage*) QtSupport::getQt(env, dst), (float) opacity), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2II(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt, jint xf) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt, (int) xf), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2III(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt, jint xf, jint yf) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt, (int) xf, (int) yf), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject upper, jobject lower, jobject output) -{ - (void) cls; - jboolean xret = (jboolean) KImageEffectJBridge::blend((const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, lower), (TQImage&)*(TQImage*) QtSupport::getQt(env, output)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image1, jobject image2, jobject blendImage, jint channel) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::blend((TQImage&)*(TQImage*) QtSupport::getQt(env, image1), (TQImage&)*(TQImage*) QtSupport::getQt(env, image2), (TQImage&)*(TQImage*) QtSupport::getQt(env, blendImage), (KImageEffect::RGBComponent) channel), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageEffect_blend___3I_3ILorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jintArray x, jintArray y, jobject upper, jobject lower, jobject output) -{ - (void) cls; - int* _int_x = QtSupport::toIntPtr(env, x); - int* _int_y = QtSupport::toIntPtr(env, y); - jboolean xret = (jboolean) KImageEffectJBridge::blend( (int&) *_int_x, (int&) *_int_y, (const TQImage&)*(const TQImage*) QtSupport::getQt(env, upper), (const TQImage&)*(const TQImage*) QtSupport::getQt(env, lower), (TQImage&)*(TQImage*) QtSupport::getQt(env, output)); - env->SetIntArrayRegion(x, 0, 1, (jint *) _int_x); - env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::blur((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::blur((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::blur((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_bumpmap(JNIEnv* env, jclass cls, jobject img, jobject map, jdouble azimuth, jdouble elevation, jint depth, jint xofs, jint yofs, jint waterlevel, jint ambient, jboolean compensate, jboolean invert, jint type, jboolean tiled) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::bumpmap((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (TQImage&)*(TQImage*) QtSupport::getQt(env, map), (double) azimuth, (double) elevation, (int) depth, (int) xofs, (int) yofs, (int) waterlevel, (int) ambient, (bool) compensate, (bool) invert, (KImageEffect::BumpmapType) type, (bool) tiled)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_channelIntensity(JNIEnv* env, jclass cls, jobject image, jfloat percent, jint channel) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::channelIntensity((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) percent, (KImageEffect::RGBComponent) channel), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::charcoal((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::charcoal((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::charcoal((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_computeDestinationRect(JNIEnv* env, jclass cls, jobject lowerSize, jint disposition, jobject upper) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(KImageEffectJBridge::computeDestinationRect((const TQSize&)*(const TQSize*) QtSupport::getQt(env, lowerSize), (KImageEffect::Disposition) disposition, (TQImage&)*(TQImage*) QtSupport::getQt(env, upper))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_contrastHSV__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject img) -{ - (void) cls; - KImageEffectJBridge::contrastHSV((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_contrastHSV__Lorg_kde_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject img, jboolean sharpen) -{ - (void) cls; - KImageEffectJBridge::contrastHSV((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (bool) sharpen); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_contrast(JNIEnv* env, jclass cls, jobject image, jint c) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::contrast((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (int) c), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_desaturate__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::desaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_desaturate__Lorg_kde_qt_QImage_2F(JNIEnv* env, jclass cls, jobject image, jfloat desat) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::desaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) desat), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_despeckle(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::despeckle((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KImageEffect_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_dither(JNIEnv* env, jclass cls, jobject image, jobject palette, jint size) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::dither((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor*) QtSupport::getQt(env, palette), (int) size), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_edge(JNIEnv* env, jclass cls, jobject src, jdouble radius) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::edge((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_emboss__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::emboss((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_emboss__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::emboss((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_equalize(JNIEnv* env, jclass cls, jobject img) -{ - (void) cls; - KImageEffectJBridge::equalize((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_fade(JNIEnv* env, jclass cls, jobject image, jfloat val, jobject color) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::fade((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) val, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KImageEffect*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_flatten__Lorg_kde_qt_QImage_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject image, jobject ca, jobject cb) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::flatten((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_flatten__Lorg_kde_qt_QImage_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject image, jobject ca, jobject cb, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::flatten((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (int) ncols), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_gradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::gradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_gradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::gradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) ncols)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::hash((TQImage&)*(TQImage*) QtSupport::getQt(env, image)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image, jint lite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::hash((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (KImageEffect::Lighting) lite), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2II(JNIEnv* env, jclass cls, jobject image, jint lite, jint spacing) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::hash((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (KImageEffect::Lighting) lite, (unsigned int) spacing), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::implode((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::implode((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2DI(JNIEnv* env, jclass cls, jobject src, jdouble factor, jint background) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::implode((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor, (unsigned int) background)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_intensity(JNIEnv* env, jclass cls, jobject image, jfloat percent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::intensity((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) percent), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageEffect_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_modulate(JNIEnv* env, jclass cls, jobject image, jobject modImage, jboolean reverse, jint type, jint factor, jint channel) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::modulate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (TQImage&)*(TQImage*) QtSupport::getQt(env, modImage), (bool) reverse, (KImageEffect::ModulationType) type, (int) factor, (KImageEffect::RGBComponent) channel), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_newKImageEffect(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KImageEffectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_normalize(JNIEnv* env, jclass cls, jobject img) -{ - (void) cls; - KImageEffectJBridge::normalize((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_oilPaintConvolve(JNIEnv* env, jclass cls, jobject src, jdouble radius) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::oilPaintConvolve((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_oilPaint__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::oilPaint((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_oilPaint__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint radius) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::oilPaint((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (int) radius)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_rotate(JNIEnv* env, jclass cls, jobject src, jint r) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::rotate((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (KImageEffect::RotateDirection) r)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_sample(JNIEnv* env, jclass cls, jobject src, jint w, jint h) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sample((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (int) w, (int) h)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_selectedImage(JNIEnv* env, jclass cls, jobject img, jobject col) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::selectedImage((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject src, jboolean color_shading) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (bool) color_shading)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2ZD(JNIEnv* env, jclass cls, jobject src, jboolean color_shading, jdouble azimuth) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (bool) color_shading, (double) azimuth)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2ZDD(JNIEnv* env, jclass cls, jobject src, jboolean color_shading, jdouble azimuth, jdouble elevation) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::shade((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (bool) color_shading, (double) azimuth, (double) elevation)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sharpen((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sharpen((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::sharpen((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_solarize__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject img) -{ - (void) cls; - KImageEffectJBridge::solarize((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_solarize__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject img, jdouble factor) -{ - (void) cls; - KImageEffectJBridge::solarize((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (double) factor); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_spread__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::spread((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_spread__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint amount) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::spread((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (unsigned int) amount)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::swirl((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble degrees) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::swirl((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) degrees)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2DI(JNIEnv* env, jclass cls, jobject src, jdouble degrees, jint background) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::swirl((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) degrees, (unsigned int) background)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_threshold__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject img) -{ - (void) cls; - KImageEffectJBridge::threshold((TQImage&)*(TQImage*) QtSupport::getQt(env, img)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageEffect_threshold__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject img, jint value) -{ - (void) cls; - KImageEffectJBridge::threshold((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (unsigned int) value); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_toGray__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image)), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_toGray__Lorg_kde_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject image, jboolean fast) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &KImageEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (bool) fast), "org.kde.qt.TQImage"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2III(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor, (int) yfactor)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2IIII(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::unbalancedGradient((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor, (int) yfactor, (int) ncols)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble amplitude) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) amplitude)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble amplitude, jdouble frequency) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) amplitude, (double) frequency)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2DDI(JNIEnv* env, jclass cls, jobject src, jdouble amplitude, jdouble frequency, jint background) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(KImageEffectJBridge::wave((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (double) amplitude, (double) frequency, (unsigned int) background)), "org.kde.qt.TQImage", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KImageEffect.h b/kdejava/koala/kdejava/KImageEffect.h deleted file mode 100644 index 5d2a97a5..00000000 --- a/kdejava/koala/kdejava/KImageEffect.h +++ /dev/null @@ -1,104 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KImageEffect__ -#define __org_kde_koala_KImageEffect__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_newKImageEffect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_gradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_gradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2IIII (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2III (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QColor_2Lorg_kde_qt_QImage_2F (JNIEnv *env, jclass, jobject, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2F (JNIEnv *env, jclass, jobject, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2FLorg_kde_qt_QColor_2IZ (JNIEnv *env, jclass, jobject, jfloat, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2FLorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jfloat, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2III (JNIEnv *env, jclass, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2II (JNIEnv *env, jclass, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageEffect_blend___3I_3ILorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jintArray, jintArray, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageEffect_blendOnLower__IILorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jint, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jclass, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2F (JNIEnv *env, jclass, jobject, jobject, jobject, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_computeDestinationRect (JNIEnv *env, jclass, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2IF (JNIEnv *env, jclass, jobject, jobject, jint, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_channelIntensity (JNIEnv *env, jclass, jobject, jfloat, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_fade (JNIEnv *env, jclass, jobject, jfloat, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_flatten__Lorg_kde_qt_QImage_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_flatten__Lorg_kde_qt_QImage_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2II (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_intensity (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_modulate (JNIEnv *env, jclass, jobject, jobject, jboolean, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_toGray__Lorg_kde_qt_QImage_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_toGray__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_desaturate__Lorg_kde_qt_QImage_2F (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_desaturate__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_contrast (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_dither (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_selectedImage (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_contrastHSV__Lorg_kde_qt_QImage_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_contrastHSV__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_normalize (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_equalize (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_threshold__Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_threshold__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_solarize__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_solarize__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_emboss__Lorg_kde_qt_QImage_2DD (JNIEnv *env, jclass, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_emboss__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_despeckle (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2DD (JNIEnv *env, jclass, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_rotate (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_sample (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_addNoise__Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_addNoise__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2DD (JNIEnv *env, jclass, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_edge (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2DI (JNIEnv *env, jclass, jobject, jdouble, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_oilPaintConvolve (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_oilPaint__Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_oilPaint__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2DD (JNIEnv *env, jclass, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_spread__Lorg_kde_qt_QImage_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_spread__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2ZDD (JNIEnv *env, jclass, jobject, jboolean, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2ZD (JNIEnv *env, jclass, jobject, jboolean, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2DI (JNIEnv *env, jclass, jobject, jdouble, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2DDI (JNIEnv *env, jclass, jobject, jdouble, jdouble, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2DD (JNIEnv *env, jclass, jobject, jdouble, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2D (JNIEnv *env, jclass, jobject, jdouble); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageEffect_bumpmap (JNIEnv *env, jclass, jobject, jobject, jdouble, jdouble, jint, jint, jint, jint, jint, jboolean, jboolean, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageEffect_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageEffect_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KImageEffect__ */ diff --git a/kdejava/koala/kdejava/KImageIO.cpp b/kdejava/koala/kdejava/KImageIO.cpp deleted file mode 100644 index 35d7f943..00000000 --- a/kdejava/koala/kdejava/KImageIO.cpp +++ /dev/null @@ -1,188 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KImageIOJBridge : public KImageIO -{ -public: - KImageIOJBridge() : KImageIO() {}; - ~KImageIOJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageIO_canRead(JNIEnv* env, jclass cls, jstring type) -{ - (void) cls; -static TQString* _qstring_type = 0; - jboolean xret = (jboolean) KImageIOJBridge::canRead((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageIO_canWrite(JNIEnv* env, jclass cls, jstring type) -{ - (void) cls; -static TQString* _qstring_type = 0; - jboolean xret = (jboolean) KImageIOJBridge::canWrite((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageIO_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KImageIO_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageIO_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KImageIO*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageIO_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageIO_isSupported__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _mimeType) -{ - (void) cls; -static TQString* _qstring__mimeType = 0; - jboolean xret = (jboolean) KImageIOJBridge::isSupported((const TQString&)*(TQString*) QtSupport::toTQString(env, _mimeType, &_qstring__mimeType)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KImageIO_isSupported__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring _mimeType, jint _mode) -{ - (void) cls; -static TQString* _qstring__mimeType = 0; - jboolean xret = (jboolean) KImageIOJBridge::isSupported((const TQString&)*(TQString*) QtSupport::toTQString(env, _mimeType, &_qstring__mimeType), (KImageIO::Mode) _mode); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_mimeType(JNIEnv* env, jclass cls, jstring _filename) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring__filename = 0; - _qstring = KImageIOJBridge::mimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _filename, &_qstring__filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageIO_mimeTypes__(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KImageIOJBridge::mimeTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageIO_mimeTypes__I(JNIEnv* env, jclass cls, jint mode) -{ - TQStringList _qlist; - (void) cls; - _qlist = KImageIOJBridge::mimeTypes((KImageIO::Mode) mode); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageIO_newKImageIO(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KImageIOJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_pattern__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KImageIOJBridge::pattern(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_pattern__I(JNIEnv* env, jclass cls, jint mode) -{ - TQString _qstring; - (void) cls; - _qstring = KImageIOJBridge::pattern((KImageIO::Mode) mode); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KImageIO_registerFormats(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KImageIOJBridge::registerFormats(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_suffix(JNIEnv* env, jclass cls, jstring type) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_type = 0; - _qstring = KImageIOJBridge::suffix((const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_typeForMime(JNIEnv* env, jclass cls, jstring mimeType) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_mimeType = 0; - _qstring = KImageIOJBridge::typeForMime((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KImageIO_type(JNIEnv* env, jclass cls, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = KImageIOJBridge::type((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageIO_types__(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KImageIOJBridge::types(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KImageIO_types__I(JNIEnv* env, jclass cls, jint mode) -{ - TQStringList _qlist; - (void) cls; - _qlist = KImageIOJBridge::types((KImageIO::Mode) mode); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KImageIO.h b/kdejava/koala/kdejava/KImageIO.h deleted file mode 100644 index ef96d30a..00000000 --- a/kdejava/koala/kdejava/KImageIO.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KImageIO__ -#define __org_kde_koala_KImageIO__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageIO_newKImageIO (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageIO_registerFormats (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_canWrite (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_canRead (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_types__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_types__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_pattern__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_pattern__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_suffix (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_typeForMime (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_type (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_mimeTypes__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_mimeTypes__ (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_isSupported__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_isSupported__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_mimeType (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageIO_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KImageIO_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KImageIO__ */ diff --git a/kdejava/koala/kdejava/KInputDialog.cpp b/kdejava/koala/kdejava/KInputDialog.cpp deleted file mode 100644 index e0c264b7..00000000 --- a/kdejava/koala/kdejava/KInputDialog.cpp +++ /dev/null @@ -1,475 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KInputDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jobjectArray select) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; -static TQStringList* _qlist_select = 0; - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, select, &_qlist_select)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jobjectArray select, jboolean multiple) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; -static TQStringList* _qlist_select = 0; - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, select, &_qlist_select), (bool) multiple); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jobjectArray select, jboolean multiple, jbooleanArray ok) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; -static TQStringList* _qlist_select = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, select, &_qlist_select), (bool) multiple, (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jobjectArray select, jboolean multiple, jbooleanArray ok, jobject parent) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; -static TQStringList* _qlist_select = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, select, &_qlist_select), (bool) multiple, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jobjectArray select, jboolean multiple, jbooleanArray ok, jobject parent, jstring name) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; -static TQStringList* _qlist_select = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qlist = KInputDialog::getItemList((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, select, &_qlist_select), (bool) multiple, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jint current) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jint current, jboolean editable) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current, (bool) editable); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jint current, jboolean editable, jbooleanArray ok) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jint current, jboolean editable, jbooleanArray ok, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jobjectArray list, jint current, jboolean editable, jbooleanArray ok, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQStringList* _qlist_list = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::getItem((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) current, (bool) editable, (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - _qstring = KInputDialog::getMultiLineText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - _qstring = KInputDialog::getMultiLineText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getMultiLineText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getMultiLineText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::getMultiLineText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name, jobject validator) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQValidator*) QtSupport::getQt(env, validator)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name, jobject validator, jstring mask) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; -static TQString* _qstring_mask = 0; - _qstring = KInputDialog::getText((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQValidator*) QtSupport::getQt(env, validator), (const TQString&)*(TQString*) QtSupport::toTQString(env, mask, &_qstring_mask)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KInputDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KInputDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name, jobject validator) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQValidator*) QtSupport::getQt(env, validator)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name, jobject validator, jstring mask) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; -static TQString* _qstring_mask = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQValidator*) QtSupport::getQt(env, validator), (const TQString&)*(TQString*) QtSupport::toTQString(env, mask, &_qstring_mask)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring label, jstring value, jbooleanArray ok, jobject parent, jstring name, jobject validator, jstring mask, jstring whatsThis) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_label = 0; -static TQString* _qstring_value = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); -static TQCString* _qstring_name = 0; -static TQString* _qstring_mask = 0; -static TQString* _qstring_whatsThis = 0; - _qstring = KInputDialog::text((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (bool*) _bool_ok, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQValidator*) QtSupport::getQt(env, validator), (const TQString&)*(TQString*) QtSupport::toTQString(env, mask, &_qstring_mask), (const TQString&)*(TQString*) QtSupport::toTQString(env, whatsThis, &_qstring_whatsThis)); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KInputDialog.h b/kdejava/koala/kdejava/KInputDialog.h deleted file mode 100644 index 46ce41c3..00000000 --- a/kdejava/koala/kdejava/KInputDialog.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KInputDialog__ -#define __org_kde_koala_KInputDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getText__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QValidator_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_text__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jclass, jstring, jstring, jstring, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getMultiLineText__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jint, jboolean, jbooleanArray, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jint, jboolean, jbooleanArray, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ_3Z (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jint, jboolean, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2IZ (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KInputDialog_getItem__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jobjectArray, jboolean, jbooleanArray, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jobjectArray, jboolean, jbooleanArray, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z_3Z (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jobjectArray, jboolean, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jobjectArray, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KInputDialog_getItemList__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KInputDialog__ */ diff --git a/kdejava/koala/kdejava/KIntNumInput.cpp b/kdejava/koala/kdejava/KIntNumInput.cpp deleted file mode 100644 index 5cb180d6..00000000 --- a/kdejava/koala/kdejava/KIntNumInput.cpp +++ /dev/null @@ -1,727 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KIntNumInputJBridge : public KIntNumInput -{ -public: - KIntNumInputJBridge(TQWidget* arg1,const char* arg2) : KIntNumInput(arg1,arg2) {}; - KIntNumInputJBridge(TQWidget* arg1) : KIntNumInput(arg1) {}; - KIntNumInputJBridge() : KIntNumInput() {}; - KIntNumInputJBridge(int arg1,TQWidget* arg2,int arg3,const char* arg4) : KIntNumInput(arg1,arg2,arg3,arg4) {}; - KIntNumInputJBridge(int arg1,TQWidget* arg2,int arg3) : KIntNumInput(arg1,arg2,arg3) {}; - KIntNumInputJBridge(int arg1,TQWidget* arg2) : KIntNumInput(arg1,arg2) {}; - KIntNumInputJBridge(int arg1) : KIntNumInput(arg1) {}; - KIntNumInputJBridge(KNumInput* arg1,int arg2,TQWidget* arg3,int arg4,const char* arg5) : KIntNumInput(arg1,arg2,arg3,arg4,arg5) {}; - KIntNumInputJBridge(KNumInput* arg1,int arg2,TQWidget* arg3,int arg4) : KIntNumInput(arg1,arg2,arg3,arg4) {}; - KIntNumInputJBridge(KNumInput* arg1,int arg2,TQWidget* arg3) : KIntNumInput(arg1,arg2,arg3) {}; - KIntNumInputJBridge(KNumInput* arg1,int arg2) : KIntNumInput(arg1,arg2) {}; - void protected_doLayout() { - KIntNumInput::doLayout(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KIntNumInput::resizeEvent(arg1); - return; - } - ~KIntNumInputJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KIntNumInput::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KIntNumInput","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void doLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","doLayout")) { - KIntNumInput::doLayout(); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KIntNumInput",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntNumInput","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntNumInput_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KIntNumInput*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KIntNumInput_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_doLayout(JNIEnv* env, jobject obj) -{ - ((KIntNumInputJBridge*) QtSupport::getQt(env, obj))->protected_doLayout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KIntNumInput*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KIntNumInput*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KIntNumInput_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntNumInput_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntNumInput*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KIntNumInput_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KIntNumInput*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntNumInput_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntNumInput*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KIntNumInput_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KIntNumInput*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__I(JNIEnv* env, jobject obj, jint value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((int) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint value, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((int) value, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint value, jobject parent, jint base) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((int) value, (TQWidget*) QtSupport::getQt(env, parent), (int) base)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jint value, jobject parent, jint base, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((int) value, (TQWidget*) QtSupport::getQt(env, parent), (int) base, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2I(JNIEnv* env, jobject obj, jobject below, jint value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (int) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject below, jint value, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (int) value, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject below, jint value, jobject parent, jint base) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (int) value, (TQWidget*) QtSupport::getQt(env, parent), (int) base)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject below, jint value, jobject parent, jint base, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((KNumInput*) QtSupport::getQt(env, below), (int) value, (TQWidget*) QtSupport::getQt(env, parent), (int) base, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntNumInputJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_newKIntNumInput__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 KIntNumInputJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntNumInput_prefix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KIntNumInput*) QtSupport::getQt(env, obj))->prefix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntNumInput_referencePoint(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntNumInput*) QtSupport::getQt(env, obj))->referencePoint(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KIntNumInput_relativeValue(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KIntNumInput*) QtSupport::getQt(env, obj))->relativeValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KIntNumInputJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setEditFocus__(JNIEnv* env, jobject obj) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setEditFocus(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setEditFocus__Z(JNIEnv* env, jobject obj, jboolean mark) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setEditFocus((bool) mark); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - ((KIntNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint a) -{ -static TQString* _qstring_label = 0; - ((KIntNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setMaxValue(JNIEnv* env, jobject obj, jint max) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setMaxValue((int) max); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setMinValue(JNIEnv* env, jobject obj, jint min) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setMinValue((int) min); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setPrefix(JNIEnv* env, jobject obj, jstring prefix) -{ -static TQString* _qstring_prefix = 0; - ((KIntNumInput*) QtSupport::getQt(env, obj))->setPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setRange__II(JNIEnv* env, jobject obj, jint min, jint max) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setRange((int) min, (int) max); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setRange__III(JNIEnv* env, jobject obj, jint min, jint max, jint step) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setRange((int) min, (int) max, (int) step); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setRange__IIIZ(JNIEnv* env, jobject obj, jint min, jint max, jint step, jboolean slider) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setRange((int) min, (int) max, (int) step, (bool) slider); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setReferencePoint(JNIEnv* env, jobject obj, jint arg1) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setReferencePoint((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setRelativeValue(JNIEnv* env, jobject obj, jdouble arg1) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setRelativeValue((double) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setSpecialValueText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KIntNumInput*) QtSupport::getQt(env, obj))->setSpecialValueText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setSuffix(JNIEnv* env, jobject obj, jstring suffix) -{ -static TQString* _qstring_suffix = 0; - ((KIntNumInput*) QtSupport::getQt(env, obj))->setSuffix((const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntNumInput_setValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((KIntNumInput*) QtSupport::getQt(env, obj))->setValue((int) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntNumInput_specialValueText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KIntNumInput*) QtSupport::getQt(env, obj))->specialValueText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntNumInput_suffix(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KIntNumInput*) QtSupport::getQt(env, obj))->suffix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntNumInput_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntNumInput*) QtSupport::getQt(env, obj))->value(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KIntNumInput.h b/kdejava/koala/kdejava/KIntNumInput.h deleted file mode 100644 index 6fe8946d..00000000 --- a/kdejava/koala/kdejava/KIntNumInput.h +++ /dev/null @@ -1,60 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KIntNumInput__ -#define __org_kde_koala_KIntNumInput__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIntNumInput_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntNumInput_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_newKIntNumInput__Lorg_kde_koala_KNumInput_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntNumInput_value (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KIntNumInput_relativeValue (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntNumInput_referencePoint (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntNumInput_suffix (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntNumInput_prefix (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntNumInput_specialValueText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setRange__IIIZ (JNIEnv *env, jobject, jint, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setRange__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setRange__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntNumInput_minValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntNumInput_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setSpecialValueText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setLabel__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIntNumInput_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setRelativeValue (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setReferencePoint (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setSuffix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setEditFocus__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_setEditFocus__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_doLayout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntNumInput_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIntNumInput_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KIntNumInput__ */ diff --git a/kdejava/koala/kdejava/KIntSpinBox.cpp b/kdejava/koala/kdejava/KIntSpinBox.cpp deleted file mode 100644 index 9edf00c0..00000000 --- a/kdejava/koala/kdejava/KIntSpinBox.cpp +++ /dev/null @@ -1,562 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KIntSpinBoxJBridge : public KIntSpinBox -{ -public: - KIntSpinBoxJBridge(TQWidget* arg1,const char* arg2) : KIntSpinBox(arg1,arg2) {}; - KIntSpinBoxJBridge(TQWidget* arg1) : KIntSpinBox(arg1) {}; - KIntSpinBoxJBridge() : KIntSpinBox() {}; - KIntSpinBoxJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,TQWidget* arg6,const char* arg7) : KIntSpinBox(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KIntSpinBoxJBridge(int arg1,int arg2,int arg3,int arg4,int arg5,TQWidget* arg6) : KIntSpinBox(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KIntSpinBoxJBridge(int arg1,int arg2,int arg3,int arg4,int arg5) : KIntSpinBox(arg1,arg2,arg3,arg4,arg5) {}; - KIntSpinBoxJBridge(int arg1,int arg2,int arg3,int arg4) : KIntSpinBox(arg1,arg2,arg3,arg4) {}; - TQString protected_mapValueToText(int arg1) { - return (TQString) KIntSpinBox::mapValueToText(arg1); - } - int protected_mapTextToValue(bool* arg1) { - return (int) KIntSpinBox::mapTextToValue(arg1); - } - ~KIntSpinBoxJBridge() {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 setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQSpinBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQSpinBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","selectAll")) { - TQSpinBox::selectAll(); - } - return; - } - void interpretText() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","interpretText")) { - TQSpinBox::interpretText(); - } - return; - } - void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","stepChange")) { - TQRangeControl::stepChange(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void valueChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","valueChange")) { - TQSpinBox::valueChange(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","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 updateDisplay() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","updateDisplay")) { - TQSpinBox::updateDisplay(); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void stepDown() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","stepDown")) { - TQSpinBox::stepDown(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KIntSpinBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TQSpinBox::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void rangeChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","rangeChange")) { - TQSpinBox::rangeChange(); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQSpinBox::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void stepUp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","stepUp")) { - TQSpinBox::stepUp(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KIntSpinBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntSpinBox_base(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntSpinBox*) QtSupport::getQt(env, obj))->base(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntSpinBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KIntSpinBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KIntSpinBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KIntSpinBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KIntSpinBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KIntSpinBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntSpinBox_mapTextToValue(JNIEnv* env, jobject obj, jbooleanArray arg1) -{ - bool* _bool_arg1 = QtSupport::toBooleanPtr(env, arg1); - jint xret = (jint) ((KIntSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_mapTextToValue( (bool*) _bool_arg1); - env->SetBooleanArrayRegion(arg1, 0, 1, (jboolean*) _bool_arg1); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KIntSpinBox_mapValueToText(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((KIntSpinBoxJBridge*) QtSupport::getQt(env, obj))->protected_mapValueToText((int) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KIntSpinBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KIntSpinBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIII(JNIEnv* env, jobject obj, jint lower, jint upper, jint step, jint value) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge((int) lower, (int) upper, (int) step, (int) value)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIII(JNIEnv* env, jobject obj, jint lower, jint upper, jint step, jint value, jint base) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge((int) lower, (int) upper, (int) step, (int) value, (int) base)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint lower, jint upper, jint step, jint value, jint base, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge((int) lower, (int) upper, (int) step, (int) value, (int) base, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint lower, jint upper, jint step, jint value, jint base, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge((int) lower, (int) upper, (int) step, (int) value, (int) base, (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_koala_KIntSpinBox_newKIntSpinBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntSpinBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__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 KIntSpinBoxJBridge((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_koala_KIntSpinBox_setBase(JNIEnv* env, jobject obj, jint base) -{ - ((KIntSpinBox*) QtSupport::getQt(env, obj))->setBase((int) base); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntSpinBox_setEditFocus(JNIEnv* env, jobject obj, jboolean mark) -{ - ((KIntSpinBox*) QtSupport::getQt(env, obj))->setEditFocus((bool) mark); - return; -} - diff --git a/kdejava/koala/kdejava/KIntSpinBox.h b/kdejava/koala/kdejava/KIntSpinBox.h deleted file mode 100644 index eb8c2743..00000000 --- a/kdejava/koala/kdejava/KIntSpinBox.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KIntSpinBox__ -#define __org_kde_koala_KIntSpinBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KIntSpinBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntSpinBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIIII (JNIEnv *env, jobject, jint, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_newKIntSpinBox__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_setBase (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntSpinBox_base (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_setEditFocus (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KIntSpinBox_mapValueToText (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntSpinBox_mapTextToValue (JNIEnv *env, jobject, jbooleanArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntSpinBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIntSpinBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KIntSpinBox__ */ diff --git a/kdejava/koala/kdejava/KIntValidator.cpp b/kdejava/koala/kdejava/KIntValidator.cpp deleted file mode 100644 index 528ebb29..00000000 --- a/kdejava/koala/kdejava/KIntValidator.cpp +++ /dev/null @@ -1,198 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KIntValidatorJBridge : public KIntValidator -{ -public: - KIntValidatorJBridge(TQWidget* arg1,int arg2,const char* arg3) : KIntValidator(arg1,arg2,arg3) {}; - KIntValidatorJBridge(TQWidget* arg1,int arg2) : KIntValidator(arg1,arg2) {}; - KIntValidatorJBridge(TQWidget* arg1) : KIntValidator(arg1) {}; - KIntValidatorJBridge(int arg1,int arg2,TQWidget* arg3,int arg4,const char* arg5) : KIntValidator(arg1,arg2,arg3,arg4,arg5) {}; - KIntValidatorJBridge(int arg1,int arg2,TQWidget* arg3,int arg4) : KIntValidator(arg1,arg2,arg3,arg4) {}; - KIntValidatorJBridge(int arg1,int arg2,TQWidget* arg3) : KIntValidator(arg1,arg2,arg3) {}; - ~KIntValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KIntValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntValidator_base(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntValidator*) QtSupport::getQt(env, obj))->base(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntValidator_bottom(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntValidator*) QtSupport::getQt(env, obj))->bottom(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KIntValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KIntValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KIntValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_fixup(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KIntValidator*) QtSupport::getQt(env, obj))->fixup((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KIntValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((int) bottom, (int) top, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent, jint base) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((int) bottom, (int) top, (TQWidget*) QtSupport::getQt(env, parent), (int) base)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jint bottom, jint top, jobject parent, jint base, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((int) bottom, (int) top, (TQWidget*) QtSupport::getQt(env, parent), (int) base, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint base) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) base)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint base, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KIntValidatorJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) base, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_setBase(JNIEnv* env, jobject obj, jint base) -{ - ((KIntValidator*) QtSupport::getQt(env, obj))->setBase((int) base); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KIntValidator_setRange(JNIEnv* env, jobject obj, jint bottom, jint top) -{ - ((KIntValidator*) QtSupport::getQt(env, obj))->setRange((int) bottom, (int) top); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntValidator_top(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KIntValidator*) QtSupport::getQt(env, obj))->top(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KIntValidator_validate(JNIEnv* env, jobject obj, jobject arg1, jintArray arg2) -{ -static TQString* _qstring_arg1 = 0; - int* _int_arg2 = QtSupport::toIntPtr(env, arg2); - jint xret = (jint) ((KIntValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, arg1, &_qstring_arg1), (int&) *_int_arg2); - QtSupport::fromTQStringToStringBuffer(env, _qstring_arg1, arg1); - env->SetIntArrayRegion(arg2, 0, 1, (jint *) _int_arg2); - return xret; -} - diff --git a/kdejava/koala/kdejava/KIntValidator.h b/kdejava/koala/kdejava/KIntValidator.h deleted file mode 100644 index 82a07bde..00000000 --- a/kdejava/koala/kdejava/KIntValidator.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KIntValidator__ -#define __org_kde_koala_KIntValidator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_newKIntValidator__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_fixup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_setBase (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntValidator_bottom (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntValidator_top (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KIntValidator_base (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KIntValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KIntValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KIntValidator__ */ diff --git a/kdejava/koala/kdejava/KJanusWidget.cpp b/kdejava/koala/kdejava/KJanusWidget.cpp deleted file mode 100644 index ac288c96..00000000 --- a/kdejava/koala/kdejava/KJanusWidget.cpp +++ /dev/null @@ -1,896 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KJanusWidgetJBridge : public KJanusWidget -{ -public: - KJanusWidgetJBridge(TQWidget* arg1,const char* arg2,int arg3) : KJanusWidget(arg1,arg2,arg3) {}; - KJanusWidgetJBridge(TQWidget* arg1,const char* arg2) : KJanusWidget(arg1,arg2) {}; - KJanusWidgetJBridge(TQWidget* arg1) : KJanusWidget(arg1) {}; - KJanusWidgetJBridge() : KJanusWidget() {}; - void public_setFocus() { - KJanusWidget::setFocus(); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KJanusWidget::showEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KJanusWidget::eventFilter(arg1,arg2); - } - bool protected_showPage(TQWidget* arg1) { - return (bool) KJanusWidget::showPage(arg1); - } - void protected_addPageWidget(TQFrame* arg1,const TQStringList& arg2,const TQString& arg3,const TQPixmap& arg4) { - KJanusWidget::addPageWidget(arg1,arg2,arg3,arg4); - return; - } - void protected_InsertTreeListItem(const TQStringList& arg1,const TQPixmap& arg2,TQFrame* arg3) { - KJanusWidget::InsertTreeListItem(arg1,arg2,arg3); - return; - } - TQWidget* protected_FindParent() { - return (TQWidget*) KJanusWidget::FindParent(); - } - ~KJanusWidgetJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","setFocus")) { - KJanusWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KJanusWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","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")) { - KJanusWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - bool isValid() { - return QtSupport::booleanDelegate(this,"isValid"); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KJanusWidget",object,event)) { - return KJanusWidget::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KJanusWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_FindParent(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_FindParent(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_InsertTreeListItem(JNIEnv* env, jobject obj, jobjectArray items, jobject pixmap, jobject page) -{ -static TQStringList* _qlist_items = 0; - ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_InsertTreeListItem((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQFrame*) QtSupport::getQt(env, page)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KJanusWidget_activePageIndex(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KJanusWidget*) QtSupport::getQt(env, obj))->activePageIndex(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_addButtonBelowList__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject recv, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_slot = 0; - ((KJanusWidget*) QtSupport::getQt(env, obj))->addButtonBelowList((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::getQt(env, recv), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_addButtonBelowList__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject guiitem, jobject recv, jstring slot) -{ -static TQCString* _qstring_slot = 0; - ((KJanusWidget*) QtSupport::getQt(env, obj))->addButtonBelowList((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, guiitem), (TQObject*) QtSupport::getQt(env, recv), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint n, jint dir, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint n, jint dir, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addGridPage((int) n, (TQt::Orientation) dir, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQGrid"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName) -{ -static TQString* _qstring_itemName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring itemName, jstring header) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring itemName, jstring header, jobject pixmap) -{ -static TQString* _qstring_itemName = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, itemName, &_qstring_itemName), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addHBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQHBox"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_addPageWidget(JNIEnv* env, jobject obj, jobject page, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_addPageWidget((TQFrame*) QtSupport::getQt(env, page), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item, jstring header) -{ -static TQString* _qstring_item = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring item, jstring header, jobject pixmap) -{ -static TQString* _qstring_item = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item, jstring header) -{ -static TQString* _qstring_item = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring item, jstring header, jobject pixmap) -{ -static TQString* _qstring_item = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobjectArray items, jstring header, jobject pixmap) -{ -static TQStringList* _qlist_items = 0; -static TQString* _qstring_header = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->addVBoxPage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_addWidgetBelowList(JNIEnv* env, jobject obj, jobject widget) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->addWidgetBelowList((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KJanusWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KJanusWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KJanusWidget_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KJanusWidget_face(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KJanusWidget*) QtSupport::getQt(env, obj))->face(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KJanusWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KJanusWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KJanusWidget*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KJanusWidget*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_newKJanusWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KJanusWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_newKJanusWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KJanusWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_newKJanusWidget__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 KJanusWidgetJBridge((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_koala_KJanusWidget_newKJanusWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint face) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KJanusWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) face)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KJanusWidget_pageIndex(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KJanusWidget*) QtSupport::getQt(env, obj))->pageIndex((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KJanusWidget_pageTitle(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KJanusWidget*) QtSupport::getQt(env, obj))->pageTitle((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_pageWidget(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->pageWidget((int) index), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_plainPage(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KJanusWidget*) QtSupport::getQt(env, obj))->plainPage(), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_removePage(JNIEnv* env, jobject obj, jobject page) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->removePage((TQWidget*) QtSupport::getQt(env, page)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setFocus(JNIEnv* env, jobject obj) -{ - ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->public_setFocus(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setFolderIcon(JNIEnv* env, jobject obj, jobjectArray path, jobject pixmap) -{ -static TQStringList* _qlist_path = 0; - ((KJanusWidget*) QtSupport::getQt(env, obj))->setFolderIcon((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, path, &_qlist_path), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setIconListAllVisible(JNIEnv* env, jobject obj, jboolean state) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->setIconListAllVisible((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setRootIsDecorated(JNIEnv* env, jobject obj, jboolean state) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->setRootIsDecorated((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setShowIconsInTreeList(JNIEnv* env, jobject obj, jboolean state) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->setShowIconsInTreeList((bool) state); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_setSwallowedWidget(JNIEnv* env, jobject obj, jobject widget) -{ - jboolean xret = (jboolean) ((KJanusWidget*) QtSupport::getQt(env, obj))->setSwallowedWidget((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_setTreeListAutoResize(JNIEnv* env, jobject obj, jboolean state) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->setTreeListAutoResize((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_showPage__I(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((KJanusWidget*) QtSupport::getQt(env, obj))->showPage((int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KJanusWidget_showPage__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject w) -{ - jboolean xret = (jboolean) ((KJanusWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showPage((TQWidget*) QtSupport::getQt(env, w)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KJanusWidget_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KJanusWidget*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_unfoldTreeList__(JNIEnv* env, jobject obj) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->unfoldTreeList(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KJanusWidget_unfoldTreeList__Z(JNIEnv* env, jobject obj, jboolean persist) -{ - ((KJanusWidget*) QtSupport::getQt(env, obj))->unfoldTreeList((bool) persist); - return; -} - diff --git a/kdejava/koala/kdejava/KJanusWidget.h b/kdejava/koala/kdejava/KJanusWidget.h deleted file mode 100644 index abfccf39..00000000 --- a/kdejava/koala/kdejava/KJanusWidget.h +++ /dev/null @@ -1,80 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KJanusWidget__ -#define __org_kde_koala_KJanusWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KJanusWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_newKJanusWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_newKJanusWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_newKJanusWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_newKJanusWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_showPage__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KJanusWidget_activePageIndex (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KJanusWidget_face (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_plainPage (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addVBoxPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addHBoxPage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jint, jint, jobjectArray, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobjectArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_addGridPage__II_3Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_removePage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KJanusWidget_pageIndex (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_setSwallowedWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setTreeListAutoResize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setShowIconsInTreeList (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setRootIsDecorated (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_unfoldTreeList__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_unfoldTreeList__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_addWidgetBelowList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_addButtonBelowList__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_addButtonBelowList__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setIconListAllVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setFolderIcon (JNIEnv *env, jobject, jobjectArray, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KJanusWidget_pageTitle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_pageWidget (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_setFocus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_showPage__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_addPageWidget (JNIEnv *env, jobject, jobject, jobjectArray, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_InsertTreeListItem (JNIEnv *env, jobject, jobjectArray, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KJanusWidget_FindParent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KJanusWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KJanusWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KJanusWidget__ */ diff --git a/kdejava/koala/kdejava/KKey.cpp b/kdejava/koala/kdejava/KKey.cpp deleted file mode 100644 index 19e507ec..00000000 --- a/kdejava/koala/kdejava/KKey.cpp +++ /dev/null @@ -1,262 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KKeyJBridge : public KKey -{ -public: - KKeyJBridge() : KKey() {}; - KKeyJBridge(int arg1) : KKey(arg1) {}; - KKeyJBridge(const TQKeySequence& arg1) : KKey(arg1) {}; - KKeyJBridge(const TQKeyEvent* arg1) : KKey(arg1) {}; - KKeyJBridge(const KKey& arg1) : KKey(arg1) {}; - KKeyJBridge(const TQString& arg1) : KKey(arg1) {}; - KKeyJBridge(uint arg1,uint arg2) : KKey(arg1,arg2) {}; - ~KKeyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_clear(JNIEnv* env, jobject obj) -{ - ((KKey*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKey_compare(JNIEnv* env, jobject obj, jobject key) -{ - jint xret = (jint) ((KKey*) QtSupport::getQt(env, obj))->compare((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKey_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KKey*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__I(JNIEnv* env, jobject obj, jint keyQt) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((int) keyQt); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__II(JNIEnv* env, jobject obj, jint key, jint mod) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((uint) key, (uint) mod); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__Lorg_kde_qt_QKeyEvent_2(JNIEnv* env, jobject obj, jobject keyEvent) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((const TQKeyEvent*) QtSupport::getQt(env, keyEvent)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_init__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->init((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKey_keyCodeQt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKey*) QtSupport::getQt(env, obj))->keyCodeQt(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKey_modFlagLabel(JNIEnv* env, jclass cls, jint f) -{ - TQString _qstring; - (void) cls; - _qstring = KKeyJBridge::modFlagLabel((KKey::ModFlag) f); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKey_modFlags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKey*) QtSupport::getQt(env, obj))->modFlags(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__I(JNIEnv* env, jobject obj, jint keyQt) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((int) keyQt)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__II(JNIEnv* env, jobject obj, jint key, jint mod) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((uint) key, (uint) mod)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((const KKey&)*(const KKey*) QtSupport::getQt(env, key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__Lorg_kde_qt_QKeyEvent_2(JNIEnv* env, jobject obj, jobject keyEvent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((const TQKeyEvent*) QtSupport::getQt(env, keyEvent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_newKKey__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKey_nil(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KKey *) &KKeyJBridge::null(), "org.kde.koala.KKey"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_op_1equals(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->operator==((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_op_1lt(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->operator<((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKey_op_1not_1equals(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KKey*) QtSupport::getQt(env, obj))->operator!=((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKey_simplify(JNIEnv* env, jobject obj) -{ - ((KKey*) QtSupport::getQt(env, obj))->simplify(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKey_sym(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKey*) QtSupport::getQt(env, obj))->sym(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKey_toStringInternal(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KKey*) QtSupport::getQt(env, obj))->toStringInternal(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKey_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KKey*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KKey.h b/kdejava/koala/kdejava/KKey.h deleted file mode 100644 index 2154252e..00000000 --- a/kdejava/koala/kdejava/KKey.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKey__ -#define __org_kde_koala_KKey__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__Lorg_kde_qt_QKeyEvent_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_newKKey__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_clear (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__Lorg_kde_qt_QKeyEvent_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_init__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKey_sym (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKey_modFlags (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKey_compare (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKey_keyCodeQt (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKey_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKey_toStringInternal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_simplify (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKey_nil (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKey_modFlagLabel (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKey_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKey_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKey__ */ diff --git a/kdejava/koala/kdejava/KKeyButton.cpp b/kdejava/koala/kdejava/KKeyButton.cpp deleted file mode 100644 index dfd8471d..00000000 --- a/kdejava/koala/kdejava/KKeyButton.cpp +++ /dev/null @@ -1,473 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KKeyButtonJBridge : public KKeyButton -{ -public: - KKeyButtonJBridge(TQWidget* arg1,const char* arg2) : KKeyButton(arg1,arg2) {}; - KKeyButtonJBridge(TQWidget* arg1) : KKeyButton(arg1) {}; - KKeyButtonJBridge() : KKeyButton() {}; - void protected_drawButton(TQPainter* arg1) { - KKeyButton::drawButton(arg1); - return; - } - ~KKeyButtonJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KKeyButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQPushButton::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")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KKeyButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_captureShortcut(JNIEnv* env, jobject obj) -{ - ((KKeyButton*) QtSupport::getQt(env, obj))->captureShortcut(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKeyButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KKeyButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKeyButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_drawButton(JNIEnv* env, jobject obj, jobject _painter) -{ - ((KKeyButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, _painter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KKeyButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KKeyButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KKeyButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_newKKeyButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_newKKeyButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_newKKeyButton__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 KKeyButtonJBridge((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_koala_KKeyButton_setShortcut(JNIEnv* env, jobject obj, jobject cut, jboolean bQtShortcut) -{ - ((KKeyButton*) QtSupport::getQt(env, obj))->setShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) bQtShortcut); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyButton_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KKeyButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyButton_shortcut(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((KKeyButton*) QtSupport::getQt(env, obj))->shortcut(), "org.kde.koala.TDEShortcut"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KKeyButton.h b/kdejava/koala/kdejava/KKeyButton.h deleted file mode 100644 index 7315309c..00000000 --- a/kdejava/koala/kdejava/KKeyButton.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKeyButton__ -#define __org_kde_koala_KKeyButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKeyButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_newKKeyButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_newKKeyButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_newKKeyButton__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_setShortcut (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyButton_shortcut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_captureShortcut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKeyButton__ */ diff --git a/kdejava/koala/kdejava/KKeyChooser.cpp b/kdejava/koala/kdejava/KKeyChooser.cpp deleted file mode 100644 index 8d72afb4..00000000 --- a/kdejava/koala/kdejava/KKeyChooser.cpp +++ /dev/null @@ -1,753 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KKeyChooserJBridge : public KKeyChooser -{ -public: - KKeyChooserJBridge(TQWidget* arg1) : KKeyChooser(arg1) {}; - KKeyChooserJBridge(TDEActionCollection* arg1,TQWidget* arg2,bool arg3) : KKeyChooser(arg1,arg2,arg3) {}; - KKeyChooserJBridge(TDEActionCollection* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; - KKeyChooserJBridge(TDEAccel* arg1,TQWidget* arg2,bool arg3) : KKeyChooser(arg1,arg2,arg3) {}; - KKeyChooserJBridge(TDEAccel* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; - KKeyChooserJBridge(TDEGlobalAccel* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; - KKeyChooserJBridge(TDEShortcutList* arg1,TQWidget* arg2) : KKeyChooser(arg1,arg2) {}; - bool protected_insert(TDEAccel* arg1) { - return (bool) KKeyChooser::insert(arg1); - } - bool protected_insert(TDEGlobalAccel* arg1) { - return (bool) KKeyChooser::insert(arg1); - } - bool protected_insert(TDEShortcutList* arg1) { - return (bool) KKeyChooser::insert(arg1); - } - void protected_buildListView(uint arg1,const TQString& arg2) { - KKeyChooser::buildListView(arg1,arg2); - return; - } - void protected_buildListView(uint arg1) { - KKeyChooser::buildListView(arg1); - return; - } - void protected_readGlobalKeys() { - KKeyChooser::readGlobalKeys(); - return; - } - void protected_updateButtons() { - KKeyChooser::updateButtons(); - return; - } - void protected_fontChange(const TQFont& arg1) { - KKeyChooser::fontChange(arg1); - return; - } - void protected_setShortcut(const TDEShortcut& arg1) { - KKeyChooser::setShortcut(arg1); - return; - } - bool protected_isKeyPresent(const TDEShortcut& arg1,bool arg2) { - return (bool) KKeyChooser::isKeyPresent(arg1,arg2); - } - bool protected_isKeyPresent(const TDEShortcut& arg1) { - return (bool) KKeyChooser::isKeyPresent(arg1); - } - void protected__warning(const KKeySequence& arg1,TQString arg2,TQString arg3) { - KKeyChooser::_warning(arg1,arg2,arg3); - return; - } - void protected_slotNoKey() { - KKeyChooser::slotNoKey(); - return; - } - void protected_slotDefaultKey() { - KKeyChooser::slotDefaultKey(); - return; - } - void protected_slotCustomKey() { - KKeyChooser::slotCustomKey(); - return; - } - void protected_slotListItemSelected(TQListViewItem* arg1) { - KKeyChooser::slotListItemSelected(arg1); - return; - } - void protected_capturedShortcut(const TDEShortcut& arg1) { - KKeyChooser::capturedShortcut(arg1); - return; - } - void protected_slotSettingsChanged(int arg1) { - KKeyChooser::slotSettingsChanged(arg1); - return; - } - void protected_slotListItemDoubleClicked(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { - KKeyChooser::slotListItemDoubleClicked(arg1,arg2,arg3); - return; - } - ~KKeyChooserJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KKeyChooser","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KKeyChooser",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyChooser","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser__1warning(JNIEnv* env, jobject obj, jobject seq, jstring sAction, jstring sTitle) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sTitle = 0; - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected__warning((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, seq), (TQString)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (TQString)*(TQString*) QtSupport::toTQString(env, sTitle, &_qstring_sTitle)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_allDefault(JNIEnv* env, jobject obj) -{ - ((KKeyChooser*) QtSupport::getQt(env, obj))->allDefault(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_buildListView__I(JNIEnv* env, jobject obj, jint iList) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_buildListView((uint) iList); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_buildListView__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint iList, jstring title) -{ -static TQString* _qstring_title = 0; - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_buildListView((uint) iList, (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_capturedShortcut(JNIEnv* env, jobject obj, jobject cut) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_capturedShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_checkGlobalShortcutsConflict(JNIEnv* env, jclass cls, jobject cut, jboolean warnUser, jobject parent) -{ - (void) cls; - jboolean xret = (jboolean) KKeyChooserJBridge::checkGlobalShortcutsConflict((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) warnUser, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_checkStandardShortcutsConflict(JNIEnv* env, jclass cls, jobject cut, jboolean warnUser, jobject parent) -{ - (void) cls; - jboolean xret = (jboolean) KKeyChooserJBridge::checkStandardShortcutsConflict((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) warnUser, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKeyChooser_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KKeyChooser*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_commitChanges(JNIEnv* env, jobject obj) -{ - ((KKeyChooser*) QtSupport::getQt(env, obj))->commitChanges(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKeyChooser_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KKeyChooser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KKeyChooser*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_fontChange(JNIEnv* env, jobject obj, jobject _font) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, _font)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEAccel_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((TDEAccel*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KKeyChooser*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring title) -{ -static TQString* _qstring_title = 0; - jboolean xret = (jboolean) ((KKeyChooser*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((TDEGlobalAccel*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEShortcutList_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_insert((TDEShortcutList*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_isKeyPresent((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2Z(JNIEnv* env, jobject obj, jobject cut, jboolean warnuser) -{ - jboolean xret = (jboolean) ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_isKeyPresent((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (bool) warnuser); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_listSync(JNIEnv* env, jobject obj) -{ - ((KKeyChooser*) QtSupport::getQt(env, obj))->listSync(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyChooser_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KKeyChooser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actions, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject actions, jobject parent, jboolean bAllowLetterShortcuts) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent), (bool) bAllowLetterShortcuts)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject coll, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject coll, jobject parent, jboolean bAllowLetterShortcuts) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent), (bool) bAllowLetterShortcuts)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject actions, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEGlobalAccel*) QtSupport::getQt(env, actions), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEShortcutList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TDEShortcutList*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyChooserJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_readGlobalKeys(JNIEnv* env, jobject obj) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_readGlobalKeys(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_save(JNIEnv* env, jobject obj) -{ - ((KKeyChooser*) QtSupport::getQt(env, obj))->save(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_setPreferFourModifierKeys(JNIEnv* env, jobject obj, jboolean preferFourModifierKeys) -{ - ((KKeyChooser*) QtSupport::getQt(env, obj))->setPreferFourModifierKeys((bool) preferFourModifierKeys); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_setShortcut(JNIEnv* env, jobject obj, jobject cut) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_setShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotCustomKey(JNIEnv* env, jobject obj) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotCustomKey(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotDefaultKey(JNIEnv* env, jobject obj) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotDefaultKey(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotListItemDoubleClicked(JNIEnv* env, jobject obj, jobject ipoTQListViewItem, jobject ipoTQPoint, jint c) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotListItemDoubleClicked((TQListViewItem*) QtSupport::getQt(env, ipoTQListViewItem), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, ipoTQPoint), (int) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotListItemSelected(JNIEnv* env, jobject obj, jobject item) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotListItemSelected((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotNoKey(JNIEnv* env, jobject obj) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotNoKey(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_syncToConfig(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bClearUnset) -{ -static TQString* _qstring_sConfigGroup = 0; - ((KKeyChooser*) QtSupport::getQt(env, obj))->syncToConfig((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bClearUnset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyChooser_updateButtons(JNIEnv* env, jobject obj) -{ - ((KKeyChooserJBridge*) QtSupport::getQt(env, obj))->protected_updateButtons(); - return; -} - diff --git a/kdejava/koala/kdejava/KKeyChooser.h b/kdejava/koala/kdejava/KKeyChooser.h deleted file mode 100644 index d02a10eb..00000000 --- a/kdejava/koala/kdejava/KKeyChooser.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKeyChooser__ -#define __org_kde_koala_KKeyChooser__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyChooser_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKeyChooser_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_newKKeyChooser__Lorg_kde_koala_TDEShortcutList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_syncToConfig (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_commitChanges (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_allDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_setPreferFourModifierKeys (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_listSync (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_checkGlobalShortcutsConflict (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_checkStandardShortcutsConflict (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEAccel_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_insert__Lorg_kde_koala_TDEShortcutList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_buildListView__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_buildListView__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_readGlobalKeys (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_updateButtons (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_setShortcut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_isKeyPresent__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser__1warning (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotNoKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotDefaultKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotCustomKey (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotListItemSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_capturedShortcut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotSettingsChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_slotListItemDoubleClicked (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyChooser_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyChooser_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKeyChooser__ */ diff --git a/kdejava/koala/kdejava/KKeyDialog.cpp b/kdejava/koala/kdejava/KKeyDialog.cpp deleted file mode 100644 index 36e08efc..00000000 --- a/kdejava/koala/kdejava/KKeyDialog.cpp +++ /dev/null @@ -1,688 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KKeyDialogJBridge : public KKeyDialog -{ -public: - KKeyDialogJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KKeyDialog(arg1,arg2,arg3) {}; - KKeyDialogJBridge(bool arg1,TQWidget* arg2) : KKeyDialog(arg1,arg2) {}; - KKeyDialogJBridge(bool arg1) : KKeyDialog(arg1) {}; - KKeyDialogJBridge() : KKeyDialog() {}; - ~KKeyDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KKeyDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KKeyDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKeyDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KKeyDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_commitChanges(JNIEnv* env, jobject obj) -{ - ((KKeyDialog*) QtSupport::getQt(env, obj))->commitChanges(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_configure__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->configure(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2(JNIEnv* env, jclass cls, jobject keys) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject coll) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject coll, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject coll, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Z(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject coll, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEActionCollection*) QtSupport::getQt(env, coll), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* env, jclass cls, jobject keys) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject keys, jboolean bAllowLetterShortcuts, jobject parent, jboolean bSaveSettings) -{ - (void) cls; - jint xret = (jint) KKeyDialogJBridge::configure((TDEGlobalAccel*) QtSupport::getQt(env, keys), (bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_configure__Z(JNIEnv* env, jobject obj, jboolean bSaveSettings) -{ - jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->configure((bool) bSaveSettings); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKeyDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KKeyDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KKeyDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring title) -{ -static TQString* _qstring_title = 0; - jboolean xret = (jboolean) ((KKeyDialog*) QtSupport::getQt(env, obj))->insert((TDEActionCollection*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KKeyDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_newKKeyDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_newKKeyDialog__Z(JNIEnv* env, jobject obj, jboolean bAllowLetterShortcuts) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyDialogJBridge((bool) bAllowLetterShortcuts)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_newKKeyDialog__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean bAllowLetterShortcuts, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyDialogJBridge((bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyDialog_newKKeyDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean bAllowLetterShortcuts, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyDialogJBridge((bool) bAllowLetterShortcuts, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KKeyDialog.h b/kdejava/koala/kdejava/KKeyDialog.h deleted file mode 100644 index 71b7a2a8..00000000 --- a/kdejava/koala/kdejava/KKeyDialog.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKeyDialog__ -#define __org_kde_koala_KKeyDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKeyDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_newKKeyDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_insert__Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_configure__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_configure__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_commitChanges (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEActionCollection_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEAccel_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyDialog_configure__Lorg_kde_koala_TDEGlobalAccel_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKeyDialog__ */ diff --git a/kdejava/koala/kdejava/KKeyNative.cpp b/kdejava/koala/kdejava/KKeyNative.cpp deleted file mode 100644 index 7e3d1f12..00000000 --- a/kdejava/koala/kdejava/KKeyNative.cpp +++ /dev/null @@ -1,143 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KKeyNativeJBridge : public KKeyNative -{ -public: - KKeyNativeJBridge() : KKeyNative() {}; - KKeyNativeJBridge(const KKey& arg1) : KKeyNative(arg1) {}; - KKeyNativeJBridge(uint arg1,uint arg2,uint arg3) : KKeyNative(arg1,arg2,arg3) {}; - ~KKeyNativeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_clear(JNIEnv* env, jobject obj) -{ - ((KKeyNative*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyNative_code(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeyNative*) QtSupport::getQt(env, obj))->code(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKeyNative_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KKeyNative*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyNative_init(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((KKeyNative*) QtSupport::getQt(env, obj))->init((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyNative_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyNative_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KKeyNative*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyNative_keyCodeQt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeyNative*) QtSupport::getQt(env, obj))->keyCodeQt(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyNative_key(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KKey(((KKeyNative*) QtSupport::getQt(env, obj))->key()), "org.kde.koala.KKey", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeyNative_keyboardHasWinKey(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KKeyNativeJBridge::keyboardHasWinKey(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyNative_mod(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeyNative*) QtSupport::getQt(env, obj))->mod(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_newKKeyNative__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyNativeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_newKKeyNative__III(JNIEnv* env, jobject obj, jint code, jint mod, jint sym) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyNativeJBridge((uint) code, (uint) mod, (uint) sym)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeyNative_newKKeyNative__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeyNativeJBridge((const KKey&)*(const KKey*) QtSupport::getQt(env, key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeyNative_nil(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KKeyNative *) &KKeyNativeJBridge::null(), "org.kde.koala.KKeyNative"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeyNative_sym(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeyNative*) QtSupport::getQt(env, obj))->sym(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KKeyNative.h b/kdejava/koala/kdejava/KKeyNative.h deleted file mode 100644 index 4b818329..00000000 --- a/kdejava/koala/kdejava/KKeyNative.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKeyNative__ -#define __org_kde_koala_KKeyNative__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_newKKeyNative__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_newKKeyNative__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_newKKeyNative__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_clear (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyNative_init (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyNative_keyCodeQt (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyNative_key (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyNative_code (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyNative_mod (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeyNative_sym (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyNative_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeyNative_nil (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyNative_keyboardHasWinKey (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeyNative_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeyNative_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKeyNative__ */ diff --git a/kdejava/koala/kdejava/KKeySequence.cpp b/kdejava/koala/kdejava/KKeySequence.cpp deleted file mode 100644 index 925114eb..00000000 --- a/kdejava/koala/kdejava/KKeySequence.cpp +++ /dev/null @@ -1,209 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KKeySequenceJBridge : public KKeySequence -{ -public: - KKeySequenceJBridge() : KKeySequence() {}; - KKeySequenceJBridge(const TQKeySequence& arg1) : KKeySequence(arg1) {}; - KKeySequenceJBridge(const KKey& arg1) : KKeySequence(arg1) {}; - KKeySequenceJBridge(const KKeySequence& arg1) : KKeySequence(arg1) {}; - KKeySequenceJBridge(const TQString& arg1) : KKeySequence(arg1) {}; - ~KKeySequenceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_clear(JNIEnv* env, jobject obj) -{ - ((KKeySequence*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeySequence_compare(JNIEnv* env, jobject obj, jobject keySeq) -{ - jint xret = (jint) ((KKeySequence*) QtSupport::getQt(env, obj))->compare((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeySequence_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeySequence*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KKeySequence_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KKeySequence*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_isTriggerOnRelease(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->isTriggerOnRelease(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KKeySequence_keyCodeQt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KKeySequence*) QtSupport::getQt(env, obj))->keyCodeQt(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeySequence_key(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KKey *) &((KKeySequence*) QtSupport::getQt(env, obj))->key((uint) i), "org.kde.koala.KKey"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_newKKeySequence__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeySequenceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_newKKeySequence__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring keySeq) -{ -static TQString* _qstring_keySeq = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeySequenceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, keySeq, &_qstring_keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeySequenceJBridge((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeySequenceJBridge((const KKey&)*(const KKey*) QtSupport::getQt(env, key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KKeySequenceJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeySequence_nil(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KKeySequence *) &KKeySequenceJBridge::null(), "org.kde.koala.KKeySequence"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_op_1equals(JNIEnv* env, jobject obj, jobject seq) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->operator==((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, seq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_op_1lt(JNIEnv* env, jobject obj, jobject seq) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->operator<((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, seq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_op_1not_1equals(JNIEnv* env, jobject obj, jobject seq) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->operator!=((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, seq)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KKeySequence_qt(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((KKeySequence*) QtSupport::getQt(env, obj))->qt()), "org.kde.qt.TQKeySequence", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_setKey(JNIEnv* env, jobject obj, jint i, jobject key) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->setKey((uint) i, (const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KKeySequence_startsWith(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((KKeySequence*) QtSupport::getQt(env, obj))->startsWith((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKeySequence_toStringInternal(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KKeySequence*) QtSupport::getQt(env, obj))->toStringInternal(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KKeySequence_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KKeySequence*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KKeySequence.h b/kdejava/koala/kdejava/KKeySequence.h deleted file mode 100644 index b63e105a..00000000 --- a/kdejava/koala/kdejava/KKeySequence.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KKeySequence__ -#define __org_kde_koala_KKeySequence__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_newKKeySequence__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_newKKeySequence__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_newKKeySequence__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_clear (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeySequence_count (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeySequence_key (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_isTriggerOnRelease (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_setKey (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_startsWith (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeySequence_compare (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeySequence_qt (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KKeySequence_keyCodeQt (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKeySequence_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KKeySequence_toStringInternal (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KKeySequence_nil (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KKeySequence_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KKeySequence_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KKeySequence__ */ diff --git a/kdejava/koala/kdejava/KLed.cpp b/kdejava/koala/kdejava/KLed.cpp deleted file mode 100644 index acfbaad6..00000000 --- a/kdejava/koala/kdejava/KLed.cpp +++ /dev/null @@ -1,716 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KLedJBridge : public KLed -{ -public: - KLedJBridge(TQWidget* arg1,const char* arg2) : KLed(arg1,arg2) {}; - KLedJBridge(TQWidget* arg1) : KLed(arg1) {}; - KLedJBridge() : KLed() {}; - KLedJBridge(const TQColor& arg1,TQWidget* arg2,const char* arg3) : KLed(arg1,arg2,arg3) {}; - KLedJBridge(const TQColor& arg1,TQWidget* arg2) : KLed(arg1,arg2) {}; - KLedJBridge(const TQColor& arg1) : KLed(arg1) {}; - KLedJBridge(const TQColor& arg1,KLed::State arg2,KLed::Look arg3,KLed::Shape arg4,TQWidget* arg5,const char* arg6) : KLed(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KLedJBridge(const TQColor& arg1,KLed::State arg2,KLed::Look arg3,KLed::Shape arg4,TQWidget* arg5) : KLed(arg1,arg2,arg3,arg4,arg5) {}; - KLedJBridge(const TQColor& arg1,KLed::State arg2,KLed::Look arg3,KLed::Shape arg4) : KLed(arg1,arg2,arg3,arg4) {}; - void protected_paintFlat() { - KLed::paintFlat(); - return; - } - void protected_paintRound() { - KLed::paintRound(); - return; - } - void protected_paintSunken() { - KLed::paintSunken(); - return; - } - void protected_paintRect() { - KLed::paintRect(); - return; - } - void protected_paintRectFrame(bool arg1) { - KLed::paintRectFrame(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KLed::paintEvent(arg1); - return; - } - int protected_ensureRoundLed() { - return (int) KLed::ensureRoundLed(); - } - bool protected_paintCachedPixmap() { - return (bool) KLed::paintCachedPixmap(); - } - ~KLedJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void paintRect() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","paintRect")) { - KLed::paintRect(); - } - return; - } - void paintRound() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","paintRound")) { - KLed::paintRound(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KLed::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KLed","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void paintFlat() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","paintFlat")) { - KLed::paintFlat(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 paintSunken() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","paintSunken")) { - KLed::paintSunken(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KLed",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLed","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLed_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KLed*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLed_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KLed*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLed_darkFactor(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KLed*) QtSupport::getQt(env, obj))->darkFactor(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KLed_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLed_ensureRoundLed(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_ensureRoundLed(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KLed*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KLed*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLed_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLed_look(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KLed*) QtSupport::getQt(env, obj))->look(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLed_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLed*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLed_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KLed*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject col) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2III(JNIEnv* env, jobject obj, jobject col, jint state, jint look, jint shape) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (KLed::State) state, (KLed::Look) look, (KLed::Shape) shape)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2IIILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject col, jint state, jint look, jint shape, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (KLed::State) state, (KLed::Look) look, (KLed::Shape) shape, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject col, jint state, jint look, jint shape, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (KLed::State) state, (KLed::Look) look, (KLed::Shape) shape, (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_koala_KLed_newKLed__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject col, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject col, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (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_koala_KLed_newKLed__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLedJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_newKLed__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 KLedJBridge((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_koala_KLed_off(JNIEnv* env, jobject obj) -{ - ((KLed*) QtSupport::getQt(env, obj))->off(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_on(JNIEnv* env, jobject obj) -{ - ((KLed*) QtSupport::getQt(env, obj))->on(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLed_paintCachedPixmap(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintCachedPixmap(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintFlat(JNIEnv* env, jobject obj) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintFlat(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintRectFrame(JNIEnv* env, jobject obj, jboolean raised) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintRectFrame((bool) raised); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintRect(JNIEnv* env, jobject obj) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintRect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintRound(JNIEnv* env, jobject obj) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintRound(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_paintSunken(JNIEnv* env, jobject obj) -{ - ((KLedJBridge*) QtSupport::getQt(env, obj))->protected_paintSunken(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_setColor(JNIEnv* env, jobject obj, jobject color) -{ - ((KLed*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_setDarkFactor(JNIEnv* env, jobject obj, jint darkfactor) -{ - ((KLed*) QtSupport::getQt(env, obj))->setDarkFactor((int) darkfactor); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_setLook(JNIEnv* env, jobject obj, jint look) -{ - ((KLed*) QtSupport::getQt(env, obj))->setLook((KLed::Look) look); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_setShape(JNIEnv* env, jobject obj, jint s) -{ - ((KLed*) QtSupport::getQt(env, obj))->setShape((KLed::Shape) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_setState(JNIEnv* env, jobject obj, jint state) -{ - ((KLed*) QtSupport::getQt(env, obj))->setState((KLed::State) state); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLed_shape(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KLed*) QtSupport::getQt(env, obj))->shape(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLed_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KLed*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLed_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KLed*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLed_toggle(JNIEnv* env, jobject obj) -{ - ((KLed*) QtSupport::getQt(env, obj))->toggle(); - return; -} - diff --git a/kdejava/koala/kdejava/KLed.h b/kdejava/koala/kdejava/KLed.h deleted file mode 100644 index dd7f162f..00000000 --- a/kdejava/koala/kdejava/KLed.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KLed__ -#define __org_kde_koala_KLed__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLed_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLed_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2IIILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2IIILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_newKLed__Lorg_kde_qt_QColor_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLed_state (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLed_shape (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLed_color (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLed_look (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLed_darkFactor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_setState (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_setShape (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_setDarkFactor (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_setLook (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLed_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLed_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_toggle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_on (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_off (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintFlat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintRound (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintSunken (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintRectFrame (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLed_ensureRoundLed (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLed_paintCachedPixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLed_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLed_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KLed__ */ diff --git a/kdejava/koala/kdejava/KLibFactory.cpp b/kdejava/koala/kdejava/KLibFactory.cpp deleted file mode 100644 index fd29c4ee..00000000 --- a/kdejava/koala/kdejava/KLibFactory.cpp +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLibFactory_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KLibFactory*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_create__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent)), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring classname) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_classname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname)), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring classname, jobjectArray args) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_classname = 0; -static TQStringList* _qlist_args = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibFactory_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KLibFactory.h b/kdejava/koala/kdejava/KLibFactory.h deleted file mode 100644 index 8a535387..00000000 --- a/kdejava/koala/kdejava/KLibFactory.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KLibFactory__ -#define __org_kde_koala_KLibFactory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLibFactory_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_create__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibFactory_create__ (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KLibFactory__ */ diff --git a/kdejava/koala/kdejava/KLibLoader.cpp b/kdejava/koala/kdejava/KLibLoader.cpp deleted file mode 100644 index 2930d3ab..00000000 --- a/kdejava/koala/kdejava/KLibLoader.cpp +++ /dev/null @@ -1,184 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KLibLoaderJBridge : public KLibLoader -{ -public: - KLibLoaderJBridge(TQObject* arg1,const char* arg2) : KLibLoader(arg1,arg2) {}; - KLibLoaderJBridge(TQObject* arg1) : KLibLoader(arg1) {}; - KLibLoaderJBridge() : KLibLoader() {}; - ~KLibLoaderJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KLibLoader",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLibLoader_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KLibLoader*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_cleanUp(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KLibLoaderJBridge::cleanUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KLibLoader_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibLoader_factory(JNIEnv* env, jobject obj, jstring libname) -{ -static TQCString* _qstring_libname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibLoader*) QtSupport::getQt(env, obj))->factory((const char*) QtSupport::toCharString(env, libname, &_qstring_libname)), "org.kde.koala.KLibFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KLibLoader*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KLibLoader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLibLoader_findLibrary__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_name = 0; - _qstring = KLibLoaderJBridge::findLibrary((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLibLoader_findLibrary__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring name, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_name = 0; - _qstring = KLibLoaderJBridge::findLibrary((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLibLoader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLibLoader_lastErrorMessage(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KLibLoader*) QtSupport::getQt(env, obj))->lastErrorMessage(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLibLoader_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibLoader*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_newKLibLoader__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLibLoaderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_newKLibLoader__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLibLoaderJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_newKLibLoader__Lorg_kde_qt_QObject_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 KLibLoaderJBridge((TQObject*) 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_koala_KLibLoader_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KLibLoaderJBridge::self(), "org.kde.koala.KLibLoader"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLibLoader_unloadLibrary(JNIEnv* env, jobject obj, jstring libname) -{ -static TQCString* _qstring_libname = 0; - ((KLibLoader*) QtSupport::getQt(env, obj))->unloadLibrary((const char*) QtSupport::toCharString(env, libname, &_qstring_libname)); - return; -} - diff --git a/kdejava/koala/kdejava/KLibLoader.h b/kdejava/koala/kdejava/KLibLoader.h deleted file mode 100644 index e4315038..00000000 --- a/kdejava/koala/kdejava/KLibLoader.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KLibLoader__ -#define __org_kde_koala_KLibLoader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibLoader_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLibLoader_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibLoader_factory (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLibLoader_lastErrorMessage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_unloadLibrary (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLibLoader_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_cleanUp (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLibLoader_findLibrary__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLibLoader_findLibrary__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_newKLibLoader__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_newKLibLoader__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_newKLibLoader__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLibLoader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLibLoader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KLibLoader__ */ diff --git a/kdejava/koala/kdejava/KLineEdit.cpp b/kdejava/koala/kdejava/KLineEdit.cpp deleted file mode 100644 index a7443c0b..00000000 --- a/kdejava/koala/kdejava/KLineEdit.cpp +++ /dev/null @@ -1,1042 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KLineEditJBridge : public KLineEdit -{ -public: - KLineEditJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KLineEdit(arg1,arg2,arg3) {}; - KLineEditJBridge(const TQString& arg1,TQWidget* arg2) : KLineEdit(arg1,arg2) {}; - KLineEditJBridge(TQWidget* arg1,const char* arg2) : KLineEdit(arg1,arg2) {}; - KLineEditJBridge(TQWidget* arg1) : KLineEdit(arg1) {}; - KLineEditJBridge() : KLineEdit() {}; - void public_copy() { - KLineEdit::copy(); - return; - } - void public_clear() { - KLineEdit::clear(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KLineEdit::resizeEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KLineEdit::keyPressEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KLineEdit::mousePressEvent(arg1); - return; - } - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - KLineEdit::mouseDoubleClickEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - KLineEdit::contextMenuEvent(arg1); - return; - } - TQPopupMenu* protected_createPopupMenu() { - return (TQPopupMenu*) KLineEdit::createPopupMenu(); - } - void protected_dropEvent(TQDropEvent* arg1) { - KLineEdit::dropEvent(arg1); - return; - } - void protected_setCompletedText(const TQString& arg1,bool arg2) { - KLineEdit::setCompletedText(arg1,arg2); - return; - } - void protected_setUserSelection(bool arg1) { - KLineEdit::setUserSelection(arg1); - return; - } - void protected_create(WId arg1,bool arg2,bool arg3) { - KLineEdit::create(arg1,arg2,arg3); - return; - } - void protected_create(WId arg1,bool arg2) { - KLineEdit::create(arg1,arg2); - return; - } - void protected_create(WId arg1) { - KLineEdit::create(arg1); - return; - } - void protected_create() { - KLineEdit::create(); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - KLineEdit::focusInEvent(arg1); - return; - } - bool protected_autoSuggest() { - return (bool) KLineEdit::autoSuggest(); - } - void protected_makeCompletion(const TQString& arg1) { - KLineEdit::makeCompletion(arg1); - return; - } - void protected_userCancelled(const TQString& arg1) { - KLineEdit::userCancelled(arg1); - return; - } - ~KLineEditJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_setDelegate(TDECompletionBase* arg1) { - TDECompletionBase::setDelegate(arg1); - return; - } - TDECompletionBase* protected_delegate() { - return (TDECompletionBase*) TDECompletionBase::delegate(); - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQLineEdit::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQLineEdit::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KLineEdit::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")) { - KLineEdit::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","selectAll")) { - TQLineEdit::selectAll(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQLineEdit::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","undo")) { - TQLineEdit::undo(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQLineEdit::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQLineEdit::dragMoveEvent(arg1); - } - 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.koala.KLineEdit","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 setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQLineEdit::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void deselect() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","deselect")) { - TQLineEdit::deselect(); - } - 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")) { - TQLineEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","cut")) { - TQLineEdit::cut(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","clear")) { - KLineEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KLineEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KLineEdit::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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.koala.KLineEdit","copy")) { - KLineEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQLineEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void clearValidator() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","clearValidator")) { - TQLineEdit::clearValidator(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::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")) { - KLineEdit::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KLineEdit::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::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")) { - KLineEdit::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - KLineEdit::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KLineEdit",object,event)) { - return KLineEdit::eventFilter(object,event); - } else { - return TRUE; - } - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","paste")) { - TQLineEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","redo")) { - TQLineEdit::redo(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KLineEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_autoSuggest(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_autoSuggest(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLineEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KLineEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_clear(JNIEnv* env, jobject obj) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_compObj(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->compObj(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_completionBox__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLineEdit*) QtSupport::getQt(env, obj))->completionBox(), "org.kde.koala.TDECompletionBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_completionBox__Z(JNIEnv* env, jobject obj, jboolean create) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLineEdit*) QtSupport::getQt(env, obj))->completionBox((bool) create), "org.kde.koala.TDECompletionBox"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KLineEdit_completionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->completionMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_completionObject__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->completionObject(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_completionObject__Z(JNIEnv* env, jobject obj, jboolean hsig) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->completionObject((bool) hsig), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_copy(JNIEnv* env, jobject obj) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->public_copy(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_createPopupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_create__(JNIEnv* env, jobject obj) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_create(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_create__J(JNIEnv* env, jobject obj, jlong arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_create__JZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_create__JZZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow, jboolean destroyOldWindow) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow, (bool) destroyOldWindow); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_delegate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_delegate(), "org.kde.koala.TDECompletionBaseInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KLineEdit_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_emitSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->emitSignals(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KLineEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KLineEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_getKeyBinding(JNIEnv* env, jobject obj, jint item) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->getKeyBinding((TDECompletionBase::KeyBindingType) item), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_handleSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->handleSignals(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_isCompletionObjectAutoDeleted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->isCompletionObjectAutoDeleted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_isContextMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->isContextMenuEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_isSqueezedTextEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->isSqueezedTextEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_isURLDropsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->isURLDropsEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_makeCompletion(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KLineEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KLineEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_newKLineEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLineEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_newKLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring string, jobject parent) -{ -static TQString* _qstring_string = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_newKLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring string, jobject parent, jstring name) -{ -static TQString* _qstring_string = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLineEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string), (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_koala_KLineEdit_newKLineEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_newKLineEdit__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 KLineEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KLineEdit_originalText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KLineEdit*) QtSupport::getQt(env, obj))->originalText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_rotateText(JNIEnv* env, jobject obj, jint type) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->rotateText((TDECompletionBase::KeyBindingType) type); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setAutoDeleteCompletionObject(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->setAutoDeleteCompletionObject((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletedItems___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletedItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletedItems___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray items, jboolean autoSuggest) -{ -static TQStringList* _qlist_items = 0; - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletedItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (bool) autoSuggest); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletedText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletedText__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQString* _qstring_arg1 = 0; - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletionBox(JNIEnv* env, jobject obj, jobject box) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionBox((TDECompletionBox*) QtSupport::getQt(env, box)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletionMode(JNIEnv* env, jobject obj, jint mode) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletionObject__Lorg_kde_koala_TDECompletion_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean hsig) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, arg1), (bool) hsig); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setContextMenuEnabled(JNIEnv* env, jobject obj, jboolean showMenu) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setContextMenuEnabled((bool) showMenu); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setDelegate(JNIEnv* env, jobject obj, jobject delegate) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_setDelegate((TDECompletionBase*) QtSupport::getQt(env, delegate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setEnableSignals(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->setEnableSignals((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setEnableSqueezedText(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setEnableSqueezedText((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setHandleSignals(JNIEnv* env, jobject obj, jboolean handle) -{ - ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->setHandleSignals((bool) handle); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key) -{ - jboolean xret = (jboolean) ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->setKeyBinding((TDECompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setSqueezedText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KLineEdit*) QtSupport::getQt(env, obj))->setSqueezedText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KLineEdit*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setTrapReturnKey(JNIEnv* env, jobject obj, jboolean trap) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setTrapReturnKey((bool) trap); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setURLDropsEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setURLDropsEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KLineEdit*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_setUserSelection(JNIEnv* env, jobject obj, jboolean userSelection) -{ - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_setUserSelection((bool) userSelection); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KLineEdit_trapReturnKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->trapReturnKey(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_useGlobalKeyBindings(JNIEnv* env, jobject obj) -{ - ((TDECompletionBase*)(KLineEdit*) QtSupport::getQt(env, obj))->useGlobalKeyBindings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KLineEdit_userCancelled(JNIEnv* env, jobject obj, jstring cancelText) -{ -static TQString* _qstring_cancelText = 0; - ((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_userCancelled((const TQString&)*(TQString*) QtSupport::toTQString(env, cancelText, &_qstring_cancelText)); - return; -} - diff --git a/kdejava/koala/kdejava/KLineEdit.h b/kdejava/koala/kdejava/KLineEdit.h deleted file mode 100644 index fc05f769..00000000 --- a/kdejava/koala/kdejava/KLineEdit.h +++ /dev/null @@ -1,86 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KLineEdit__ -#define __org_kde_koala_KLineEdit__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLineEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_newKLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_newKLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_newKLineEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_newKLineEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_newKLineEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setContextMenuEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_isContextMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setURLDropsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_isURLDropsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setTrapReturnKey (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_trapReturnKey (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_completionBox__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_completionBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletionObject__Lorg_kde_koala_TDECompletion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_copy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setEnableSqueezedText (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_isSqueezedTextEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KLineEdit_originalText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletionBox (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_rotateText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletedText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletedItems___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletedItems___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setSqueezedText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_createPopupMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setCompletedText__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setUserSelection (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_create__JZZ (JNIEnv *env, jobject, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_create__JZ (JNIEnv *env, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_create__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_create__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_autoSuggest (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_userCancelled (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_completionObject__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_completionObject__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setHandleSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_isCompletionObjectAutoDeleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setAutoDeleteCompletionObject (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setEnableSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_handleSignals (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_emitSignals (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KLineEdit_completionMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KLineEdit_setKeyBinding (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_getKeyBinding (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_useGlobalKeyBindings (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_compObj (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KLineEdit_setDelegate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KLineEdit_delegate (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KLineEdit__ */ diff --git a/kdejava/koala/kdejava/KMD5.cpp b/kdejava/koala/kdejava/KMD5.cpp deleted file mode 100644 index 2798c091..00000000 --- a/kdejava/koala/kdejava/KMD5.cpp +++ /dev/null @@ -1,184 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KMD5JBridge : public KMD5 -{ -public: - KMD5JBridge() : KMD5() {}; - KMD5JBridge(const char* arg1,int arg2) : KMD5(arg1,arg2) {}; - KMD5JBridge(const char* arg1) : KMD5(arg1) {}; - KMD5JBridge(const TQByteArray& arg1) : KMD5(arg1) {}; - void protected_finalize() { - KMD5::finalize(); - return; - } - ~KMD5JBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMD5_base64Digest(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((KMD5*) QtSupport::getQt(env, obj))->base64Digest(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMD5_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMD5*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_finalizeDigest(JNIEnv* env, jobject obj) -{ - ((KMD5JBridge*) QtSupport::getQt(env, obj))->protected_finalize(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMD5_hexDigest__(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((KMD5*) QtSupport::getQt(env, obj))->hexDigest(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_hexDigest__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject arg1) -{ -static TQCString* _qcstring_arg1 = 0; - if (_qcstring_arg1 == 0) { - _qcstring_arg1 = new TQCString(); - } - ((KMD5*) QtSupport::getQt(env, obj))->hexDigest((TQCString&)*(TQCString*) _qcstring_arg1); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_arg1, arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMD5_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_newKMD5__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMD5JBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_newKMD5__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring in) -{ -static TQCString* _qstring_in = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMD5JBridge((const char*) QtSupport::toCharString(env, in, &_qstring_in))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_newKMD5__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring in, jint len) -{ -static TQCString* _qstring_in = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMD5JBridge((const char*) QtSupport::toCharString(env, in, &_qstring_in), (int) len)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_newKMD5___3B(JNIEnv* env, jobject obj, jbyteArray a) -{ -static TQByteArray* _qbyteArray_a = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMD5JBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, a, &_qbyteArray_a))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_reset(JNIEnv* env, jobject obj) -{ - ((KMD5*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_update__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring in) -{ -static TQCString* _qstring_in = 0; - ((KMD5*) QtSupport::getQt(env, obj))->update((const char*) QtSupport::toCharString(env, in, &_qstring_in)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_update__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring in, jint len) -{ -static TQCString* _qstring_in = 0; - ((KMD5*) QtSupport::getQt(env, obj))->update((const char*) QtSupport::toCharString(env, in, &_qstring_in), (int) len); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMD5_update__Lorg_kde_qt_QIODevice_2(JNIEnv* env, jobject obj, jobject file) -{ - jboolean xret = (jboolean) ((KMD5*) QtSupport::getQt(env, obj))->update((TQIODevice&)*(TQIODevice*) QtSupport::getQt(env, file)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_update__S(JNIEnv* env, jobject obj, jshort in) -{ - ((KMD5*) QtSupport::getQt(env, obj))->update((const unsigned char*) in); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_update__SI(JNIEnv* env, jobject obj, jshort in, jint len) -{ - ((KMD5*) QtSupport::getQt(env, obj))->update((const unsigned char*) in, (int) len); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMD5_update___3B(JNIEnv* env, jobject obj, jbyteArray in) -{ -static TQByteArray* _qbyteArray_in = 0; - ((KMD5*) QtSupport::getQt(env, obj))->update((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, in, &_qbyteArray_in)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMD5_verify(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qcstring_arg1 = 0; - jboolean xret = (jboolean) ((KMD5*) QtSupport::getQt(env, obj))->verify((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMD5.h b/kdejava/koala/kdejava/KMD5.h deleted file mode 100644 index 9072644f..00000000 --- a/kdejava/koala/kdejava/KMD5.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMD5__ -#define __org_kde_koala_KMD5__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_newKMD5__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_newKMD5__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_newKMD5__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_newKMD5___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_update__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_update__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_update__SI (JNIEnv *env, jobject, jshort, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_update__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_update___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMD5_update__Lorg_kde_qt_QIODevice_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_reset (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMD5_hexDigest__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_hexDigest__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMD5_base64Digest (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMD5_verify (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_finalizeDigest (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMD5_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMD5_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMD5__ */ diff --git a/kdejava/koala/kdejava/KMacroCommand.cpp b/kdejava/koala/kdejava/KMacroCommand.cpp deleted file mode 100644 index b45e690f..00000000 --- a/kdejava/koala/kdejava/KMacroCommand.cpp +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KMacroCommandJBridge : public KMacroCommand -{ -public: - KMacroCommandJBridge(const TQString& arg1) : KMacroCommand(arg1) {}; - void public_execute() { - KMacroCommand::execute(); - return; - } - void public_unexecute() { - KMacroCommand::unexecute(); - return; - } - ~KMacroCommandJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_addCommand(JNIEnv* env, jobject obj, jobject command) -{ - ((KMacroCommand*) QtSupport::getQt(env, obj))->addCommand((KCommand*) QtSupport::getQt(env, command)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMacroCommand_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_execute(JNIEnv* env, jobject obj) -{ - ((KMacroCommandJBridge*) QtSupport::getQt(env, obj))->public_execute(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMacroCommand*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMacroCommand_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_newKMacroCommand(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMacroCommandJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMacroCommand_unexecute(JNIEnv* env, jobject obj) -{ - ((KMacroCommandJBridge*) QtSupport::getQt(env, obj))->public_unexecute(); - return; -} - diff --git a/kdejava/koala/kdejava/KMacroCommand.h b/kdejava/koala/kdejava/KMacroCommand.h deleted file mode 100644 index 3160616b..00000000 --- a/kdejava/koala/kdejava/KMacroCommand.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMacroCommand__ -#define __org_kde_koala_KMacroCommand__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_newKMacroCommand (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_addCommand (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_execute (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_unexecute (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMacroCommand_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMacroCommand_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMacroCommand__ */ diff --git a/kdejava/koala/kdejava/KMdi.cpp b/kdejava/koala/kdejava/KMdi.cpp deleted file mode 100644 index d8ca2f90..00000000 --- a/kdejava/koala/kdejava/KMdi.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - diff --git a/kdejava/koala/kdejava/KMdi.h b/kdejava/koala/kdejava/KMdi.h deleted file mode 100644 index 2d95216a..00000000 --- a/kdejava/koala/kdejava/KMdi.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdi__ -#define __org_kde_koala_KMdi__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdi__ */ diff --git a/kdejava/koala/kdejava/KMdiChildArea.cpp b/kdejava/koala/kdejava/KMdiChildArea.cpp deleted file mode 100644 index 8e49aa77..00000000 --- a/kdejava/koala/kdejava/KMdiChildArea.cpp +++ /dev/null @@ -1,662 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KMdiChildAreaJBridge : public KMdiChildArea -{ -public: - KMdiChildAreaJBridge(TQWidget* arg1) : KMdiChildArea(arg1) {}; - void protected_tileAllInternal(int arg1) { - KMdiChildArea::tileAllInternal(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KMdiChildArea::resizeEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KMdiChildArea::mousePressEvent(arg1); - return; - } - void protected_childMinimized(KMdiChildFrm* arg1,bool arg2) { - KMdiChildArea::childMinimized(arg1,arg2); - return; - } - ~KMdiChildAreaJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KMdiChildArea::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KMdiChildArea","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KMdiChildArea","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KMdiChildArea::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMdiChildArea",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildArea","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_cascadeMaximized(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->cascadeMaximized(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_cascadeWindows(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->cascadeWindows(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_childMinimized(JNIEnv* env, jobject obj, jobject lpC, jboolean bWasMaximized) -{ - ((KMdiChildAreaJBridge*) QtSupport::getQt(env, obj))->protected_childMinimized((KMdiChildFrm*) QtSupport::getQt(env, lpC), (bool) bWasMaximized); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildArea_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiChildArea*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_destroyChildButNotItsView__Lorg_kde_koala_KMdiChildFrm_2(JNIEnv* env, jobject obj, jobject lpC) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->destroyChildButNotItsView((KMdiChildFrm*) QtSupport::getQt(env, lpC)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_destroyChildButNotItsView__Lorg_kde_koala_KMdiChildFrm_2Z(JNIEnv* env, jobject obj, jobject lpC, jboolean bFocusTopChild) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->destroyChildButNotItsView((KMdiChildFrm*) QtSupport::getQt(env, lpC), (bool) bFocusTopChild); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_destroyChild__Lorg_kde_koala_KMdiChildFrm_2(JNIEnv* env, jobject obj, jobject child) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->destroyChild((KMdiChildFrm*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_destroyChild__Lorg_kde_koala_KMdiChildFrm_2Z(JNIEnv* env, jobject obj, jobject child, jboolean focusTopChild) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->destroyChild((KMdiChildFrm*) QtSupport::getQt(env, child), (bool) focusTopChild); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiChildArea_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_expandHorizontal(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->expandHorizontal(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_expandVertical(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->expandVertical(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiChildArea*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiChildArea*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_focusTopChild(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->focusTopChild(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildArea_getCascadePoint__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((KMdiChildArea*) QtSupport::getQt(env, obj))->getCascadePoint()), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildArea_getCascadePoint__I(JNIEnv* env, jobject obj, jint indexOfWindow) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((KMdiChildArea*) QtSupport::getQt(env, obj))->getCascadePoint((int) indexOfWindow)), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiChildArea_getVisibleChildCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiChildArea*) QtSupport::getQt(env, obj))->getVisibleChildCount(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildArea_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_layoutMinimizedChildren(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->layoutMinimizedChildren(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2(JNIEnv* env, jobject obj, jobject lpC) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->manageChild((KMdiChildFrm*) QtSupport::getQt(env, lpC)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2Z(JNIEnv* env, jobject obj, jobject lpC, jboolean bShow) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->manageChild((KMdiChildFrm*) QtSupport::getQt(env, lpC), (bool) bShow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2ZZ(JNIEnv* env, jobject obj, jobject lpC, jboolean bShow, jboolean bCascade) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->manageChild((KMdiChildFrm*) QtSupport::getQt(env, lpC), (bool) bShow, (bool) bCascade); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildArea_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildArea*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMdiChildAreaJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_newKMdiChildArea(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildAreaJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiChildAreaJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setMdiCaptionActiveBackColor(JNIEnv* env, jobject obj, jobject clr) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setMdiCaptionActiveBackColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, clr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setMdiCaptionActiveForeColor(JNIEnv* env, jobject obj, jobject clr) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setMdiCaptionActiveForeColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, clr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setMdiCaptionFont(JNIEnv* env, jobject obj, jobject fnt) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setMdiCaptionFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, fnt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setMdiCaptionInactiveBackColor(JNIEnv* env, jobject obj, jobject clr) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setMdiCaptionInactiveBackColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, clr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setMdiCaptionInactiveForeColor(JNIEnv* env, jobject obj, jobject clr) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setMdiCaptionInactiveForeColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, clr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setTopChild__Lorg_kde_koala_KMdiChildFrm_2(JNIEnv* env, jobject obj, jobject child) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setTopChild((KMdiChildFrm*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_setTopChild__Lorg_kde_koala_KMdiChildFrm_2Z(JNIEnv* env, jobject obj, jobject child, jboolean setFocus) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->setTopChild((KMdiChildFrm*) QtSupport::getQt(env, child), (bool) setFocus); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_tileAllInternal(JNIEnv* env, jobject obj, jint maxWnds) -{ - ((KMdiChildAreaJBridge*) QtSupport::getQt(env, obj))->protected_tileAllInternal((int) maxWnds); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_tileAnodine(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->tileAnodine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_tilePragma(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->tilePragma(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildArea_tileVertically(JNIEnv* env, jobject obj) -{ - ((KMdiChildArea*) QtSupport::getQt(env, obj))->tileVertically(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildArea_topChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildArea*) QtSupport::getQt(env, obj))->topChild(), "org.kde.koala.KMdiChildFrm"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMdiChildArea.h b/kdejava/koala/kdejava/KMdiChildArea.h deleted file mode 100644 index e95850bb..00000000 --- a/kdejava/koala/kdejava/KMdiChildArea.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildArea__ -#define __org_kde_koala_KMdiChildArea__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildArea_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildArea_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_newKMdiChildArea (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_manageChild__Lorg_kde_koala_KMdiChildFrm_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_destroyChild__Lorg_kde_koala_KMdiChildFrm_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_destroyChild__Lorg_kde_koala_KMdiChildFrm_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_destroyChildButNotItsView__Lorg_kde_koala_KMdiChildFrm_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_destroyChildButNotItsView__Lorg_kde_koala_KMdiChildFrm_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setTopChild__Lorg_kde_koala_KMdiChildFrm_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setTopChild__Lorg_kde_koala_KMdiChildFrm_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildArea_topChild (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiChildArea_getVisibleChildCount (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildArea_getCascadePoint__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildArea_getCascadePoint__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setMdiCaptionFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setMdiCaptionActiveForeColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setMdiCaptionActiveBackColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setMdiCaptionInactiveForeColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_setMdiCaptionInactiveBackColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_cascadeWindows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_cascadeMaximized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_expandVertical (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_expandHorizontal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_focusTopChild (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_tilePragma (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_tileAnodine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_tileVertically (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_layoutMinimizedChildren (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_tileAllInternal (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_childMinimized (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildArea_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildArea_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildArea__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrm.cpp b/kdejava/koala/kdejava/KMdiChildFrm.cpp deleted file mode 100644 index b7e43903..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrm.cpp +++ /dev/null @@ -1,196 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiChildFrm_captionHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->captionHeight(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildFrm_caption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMdiChildFrm*) QtSupport::getQt(env, obj))->caption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildFrm_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiChildFrm*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_enableClose(JNIEnv* env, jobject obj, jboolean bEnable) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->enableClose((bool) bEnable); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrm_icon(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->icon(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildFrm_isInDrag(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->isInDrag(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildFrm_isInResize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->isInResize(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrm_mdiAreaContentsRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->mdiAreaContentsRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrm_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_raiseAndActivate(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->raiseAndActivate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_redecorateButtons(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->redecorateButtons(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrm_restoreGeometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildFrm*) QtSupport::getQt(env, obj))->restoreGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setCaption(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setClient__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject w) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setClient((KMdiChildView*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setClient__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject w, jboolean bAutomaticResize) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setClient((KMdiChildView*) QtSupport::getQt(env, w), (bool) bAutomaticResize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setIcon(JNIEnv* env, jobject obj, jobject pxm) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pxm)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setMinimumSize(JNIEnv* env, jobject obj, jint minw, jint minh) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setRestoreGeometry(JNIEnv* env, jobject obj, jobject newRestGeo) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setRestoreGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, newRestGeo)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setState__I(JNIEnv* env, jobject obj, jint state) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setState((KMdiChildFrm::MdiWindowState) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_setState__IZ(JNIEnv* env, jobject obj, jint state, jboolean bAnimate) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->setState((KMdiChildFrm::MdiWindowState) state, (bool) bAnimate); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_slot_1resizeViaSystemMenu(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->slot_resizeViaSystemMenu(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiChildFrm_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiChildFrm*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrm_systemMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrm*) QtSupport::getQt(env, obj))->systemMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_unsetClient__(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->unsetClient(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_unsetClient__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject positionOffset) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->unsetClient((TQPoint)*(TQPoint*) QtSupport::getQt(env, positionOffset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrm_updateRects(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrm*) QtSupport::getQt(env, obj))->updateRects(); - return; -} - diff --git a/kdejava/koala/kdejava/KMdiChildFrm.h b/kdejava/koala/kdejava/KMdiChildFrm.h deleted file mode 100644 index f87477db..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrm.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrm__ -#define __org_kde_koala_KMdiChildFrm__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildFrm_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setClient__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setClient__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_unsetClient__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_unsetClient__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_icon (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_enableClose (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildFrm_caption (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setState__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setState__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiChildFrm_state (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_mdiAreaContentsRect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_restoreGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setRestoreGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_updateRects (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrm_systemMenu (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiChildFrm_captionHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_redecorateButtons (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildFrm_isInDrag (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildFrm_isInResize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_raiseAndActivate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_setMinimumSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrm_slot_1resizeViaSystemMenu (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrm__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmCaption.cpp b/kdejava/koala/kdejava/KMdiChildFrmCaption.cpp deleted file mode 100644 index 3f5a7794..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmCaption.cpp +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_heightHint(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->heightHint(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_setActive(JNIEnv* env, jobject obj, jboolean bActive) -{ - ((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->setActive((bool) bActive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_setCaption(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildFrmCaption_slot_1moveViaSystemMenu(JNIEnv* env, jobject obj) -{ - ((KMdiChildFrmCaption*) QtSupport::getQt(env, obj))->slot_moveViaSystemMenu(); - return; -} - diff --git a/kdejava/koala/kdejava/KMdiChildFrmCaption.h b/kdejava/koala/kdejava/KMdiChildFrmCaption.h deleted file mode 100644 index ae02a723..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmCaption.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmCaption__ -#define __org_kde_koala_KMdiChildFrmCaption__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildFrmCaption_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildFrmCaption_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrmCaption_setActive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrmCaption_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiChildFrmCaption_heightHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildFrmCaption_slot_1moveViaSystemMenu (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmCaption__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.cpp b/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.cpp deleted file mode 100644 index 8438a5a9..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - diff --git a/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.h b/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.h deleted file mode 100644 index 85aaf50a..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmDragBeginEvent.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmDragBeginEvent__ -#define __org_kde_koala_KMdiChildFrmDragBeginEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmDragBeginEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.cpp b/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.cpp deleted file mode 100644 index 59b74509..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - diff --git a/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.h b/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.h deleted file mode 100644 index 99c6805c..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmDragEndEvent.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmDragEndEvent__ -#define __org_kde_koala_KMdiChildFrmDragEndEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmDragEndEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.cpp b/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.cpp deleted file mode 100644 index f68f73dd..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - diff --git a/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.h b/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.h deleted file mode 100644 index bd1c29c6..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmMoveEvent.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmMoveEvent__ -#define __org_kde_koala_KMdiChildFrmMoveEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmMoveEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.cpp b/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.cpp deleted file mode 100644 index 60e2339b..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - diff --git a/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.h b/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.h deleted file mode 100644 index 8a2549e3..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmResizeBeginEvent.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmResizeBeginEvent__ -#define __org_kde_koala_KMdiChildFrmResizeBeginEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmResizeBeginEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.cpp b/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.cpp deleted file mode 100644 index c1f8ff97..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - diff --git a/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.h b/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.h deleted file mode 100644 index 2c606abf..00000000 --- a/kdejava/koala/kdejava/KMdiChildFrmResizeEndEvent.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildFrmResizeEndEvent__ -#define __org_kde_koala_KMdiChildFrmResizeEndEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildFrmResizeEndEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiChildView.cpp b/kdejava/koala/kdejava/KMdiChildView.cpp deleted file mode 100644 index 8f7e711d..00000000 --- a/kdejava/koala/kdejava/KMdiChildView.cpp +++ /dev/null @@ -1,1004 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KMdiChildViewJBridge : public KMdiChildView -{ -public: - KMdiChildViewJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KMdiChildView(arg1,arg2,arg3,arg4) {}; - KMdiChildViewJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KMdiChildView(arg1,arg2,arg3) {}; - KMdiChildViewJBridge(const TQString& arg1,TQWidget* arg2) : KMdiChildView(arg1,arg2) {}; - KMdiChildViewJBridge(const TQString& arg1) : KMdiChildView(arg1) {}; - KMdiChildViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KMdiChildView(arg1,arg2,arg3) {}; - KMdiChildViewJBridge(TQWidget* arg1,const char* arg2) : KMdiChildView(arg1,arg2) {}; - KMdiChildViewJBridge(TQWidget* arg1) : KMdiChildView(arg1) {}; - KMdiChildViewJBridge() : KMdiChildView() {}; - void public_attach() { - KMdiChildView::attach(); - return; - } - void public_detach() { - KMdiChildView::detach(); - return; - } - void public_minimize() { - KMdiChildView::minimize(); - return; - } - void public_maximize() { - KMdiChildView::maximize(); - return; - } - void public_restore() { - KMdiChildView::restore(); - return; - } - void public_youAreDetached() { - KMdiChildView::youAreDetached(); - return; - } - void public_slot_clickedInWindowMenu() { - KMdiChildView::slot_clickedInWindowMenu(); - return; - } - void public_slot_clickedInDockMenu() { - KMdiChildView::slot_clickedInDockMenu(); - return; - } - void public_show() { - KMdiChildView::show(); - return; - } - void public_hide() { - KMdiChildView::hide(); - return; - } - void public_raise() { - KMdiChildView::raise(); - return; - } - void public_showMinimized() { - KMdiChildView::showMinimized(); - return; - } - void public_showMaximized() { - KMdiChildView::showMaximized(); - return; - } - void public_showNormal() { - KMdiChildView::showNormal(); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - KMdiChildView::closeEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KMdiChildView::eventFilter(arg1,arg2); - } - void protected_focusInEvent(TQFocusEvent* arg1) { - KMdiChildView::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - KMdiChildView::focusOutEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KMdiChildView::resizeEvent(arg1); - return; - } - void protected_trackIconAndCaptionChanges(TQWidget* arg1) { - KMdiChildView::trackIconAndCaptionChanges(arg1); - return; - } - void protected_slot_childDestroyed() { - KMdiChildView::slot_childDestroyed(); - return; - } - ~KMdiChildViewJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KMdiChildView::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","show")) { - KMdiChildView::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - KMdiChildView::focusOutEvent(arg1); - } - return; - } - void detach() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","detach")) { - KMdiChildView::detach(); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void slot_clickedInDockMenu() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","slot_clickedInDockMenu")) { - KMdiChildView::slot_clickedInDockMenu(); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","hide")) { - KMdiChildView::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void maximize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","maximize")) { - KMdiChildView::maximize(); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void minimize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","minimize")) { - KMdiChildView::minimize(); - } - 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.koala.KMdiChildView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","showMaximized")) { - KMdiChildView::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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void attach() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","attach")) { - KMdiChildView::attach(); - } - return; - } - void setCursor(const TQCursor& arg1) { - if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.kde.qt.TQCursor")) { - TQWidget::setCursor(arg1); - } - return; - } - void restore() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","restore")) { - KMdiChildView::restore(); - } - return; - } - void closeEvent(TQCloseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.kde.qt.TQCloseEvent")) { - KMdiChildView::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void youAreAttached(KMdiChildFrm* arg1) { - if (!QtSupport::eventDelegate(this,"youAreAttached",(void*)arg1,"org.kde.koala.KMdiChildFrm")) { - KMdiChildView::youAreAttached(arg1); - } - return; - } - void slot_clickedInWindowMenu() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","slot_clickedInWindowMenu")) { - KMdiChildView::slot_clickedInWindowMenu(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 raise() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","raise")) { - KMdiChildView::raise(); - } - return; - } - void youAreDetached() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","youAreDetached")) { - KMdiChildView::youAreDetached(); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","showNormal")) { - KMdiChildView::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - KMdiChildView::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMdiChildView",object,event)) { - return KMdiChildView::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiChildView","showMinimized")) { - KMdiChildView::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_activate(JNIEnv* env, jobject obj) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->activate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_attach(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_attach(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildView_caption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMdiChildView*) QtSupport::getQt(env, obj))->caption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiChildView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_closeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_detach(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_detach(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiChildView_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject e) -{ - jboolean xret = (jboolean) ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_externalGeometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildView*) QtSupport::getQt(env, obj))->externalGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiChildView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiChildView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_focusOutEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_focusedChildWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildView*) QtSupport::getQt(env, obj))->focusedChildWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_getTimeStamp(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((KMdiChildView*) QtSupport::getQt(env, obj))->getTimeStamp(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_hide(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_hide(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_internalGeometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildView*) QtSupport::getQt(env, obj))->internalGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_isAttached(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildView*) QtSupport::getQt(env, obj))->isAttached(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_isMaximized(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildView*) QtSupport::getQt(env, obj))->isMaximized(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_isMinimized(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildView*) QtSupport::getQt(env, obj))->isMinimized(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiChildView_isToolView(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiChildView*) QtSupport::getQt(env, obj))->isToolView(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_maximize__(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_maximize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_maximize__Z(JNIEnv* env, jobject obj, jboolean bAnimate) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->maximize((bool) bAnimate); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_mdiParent(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildView*) QtSupport::getQt(env, obj))->mdiParent(), "org.kde.koala.KMdiChildFrm"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_minimize__(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_minimize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_minimize__Z(JNIEnv* env, jobject obj, jboolean bAnimate) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->minimize((bool) bAnimate); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_myIconPtr(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiChildView*) QtSupport::getQt(env, obj))->myIconPtr(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring caption, jobject parentWidget) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption, jobject parentWidget, jstring name) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring caption, jobject parentWidget, jstring name, jint f) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWidget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parentWidget, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiChildViewJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_raise(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_raise(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_removeEventFilterForAllChildren(JNIEnv* env, jobject obj) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->removeEventFilterForAllChildren(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiChildView_restoreGeometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KMdiChildView*) QtSupport::getQt(env, obj))->restoreGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_restore(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_restore(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setCaption(JNIEnv* env, jobject obj, jstring szCaption) -{ -static TQString* _qstring_szCaption = 0; - ((KMdiChildView*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, szCaption, &_qstring_szCaption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setExternalGeometry(JNIEnv* env, jobject obj, jobject newGeomety) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setExternalGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, newGeomety)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setFirstFocusableChildWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setFirstFocusableChildWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setInternalGeometry(JNIEnv* env, jobject obj, jobject newGeomety) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setInternalGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, newGeomety)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setLastFocusableChildWidget(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setLastFocusableChildWidget((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setMDICaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KMdiChildView*) QtSupport::getQt(env, obj))->setMDICaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setMaximumSize(JNIEnv* env, jobject obj, jint maxw, jint maxh) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setMaximumSize((int) maxw, (int) maxh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setMinimumSize(JNIEnv* env, jobject obj, jint minw, jint minh) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setRestoreGeometry(JNIEnv* env, jobject obj, jobject newRestGeo) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setRestoreGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, newRestGeo)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setTabCaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KMdiChildView*) QtSupport::getQt(env, obj))->setTabCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_setWindowMenuID(JNIEnv* env, jobject obj, jint id) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->setWindowMenuID((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_showMaximized(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_showMaximized(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_showMinimized(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_showMinimized(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_showNormal(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_showNormal(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_show(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_slot_1childDestroyed(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_slot_childDestroyed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_slot_1clickedInDockMenu(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_slot_clickedInDockMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_slot_1clickedInWindowMenu(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_slot_clickedInWindowMenu(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiChildView_tabCaption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMdiChildView*) QtSupport::getQt(env, obj))->tabCaption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_trackIconAndCaptionChanges(JNIEnv* env, jobject obj, jobject view) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->protected_trackIconAndCaptionChanges((TQWidget*) QtSupport::getQt(env, view)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_updateTimeStamp(JNIEnv* env, jobject obj) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->updateTimeStamp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_youAreAttached(JNIEnv* env, jobject obj, jobject lpC) -{ - ((KMdiChildView*) QtSupport::getQt(env, obj))->youAreAttached((KMdiChildFrm*) QtSupport::getQt(env, lpC)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiChildView_youAreDetached(JNIEnv* env, jobject obj) -{ - ((KMdiChildViewJBridge*) QtSupport::getQt(env, obj))->public_youAreDetached(); - return; -} - diff --git a/kdejava/koala/kdejava/KMdiChildView.h b/kdejava/koala/kdejava/KMdiChildView.h deleted file mode 100644 index 1cf9fa24..00000000 --- a/kdejava/koala/kdejava/KMdiChildView.h +++ /dev/null @@ -1,82 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiChildView__ -#define __org_kde_koala_KMdiChildView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_newKMdiChildView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_activate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setFirstFocusableChildWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setLastFocusableChildWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_focusedChildWidget (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_isAttached (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildView_caption (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiChildView_tabCaption (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setTabCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setMDICaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_mdiParent (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_isMinimized (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_isMaximized (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_internalGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setInternalGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_externalGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setExternalGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_myIconPtr (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_minimize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_maximize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_restoreGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setRestoreGeometry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_removeEventFilterForAllChildren (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setWindowMenuID (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setMinimumSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_setMaximumSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_isToolView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_updateTimeStamp (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiChildView_getTimeStamp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_attach (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_detach (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_minimize__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_maximize__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_restore (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_youAreAttached (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_youAreDetached (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_slot_1clickedInWindowMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_slot_1clickedInDockMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_raise (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_showMinimized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_showMaximized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_showNormal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_trackIconAndCaptionChanges (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_slot_1childDestroyed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiChildView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiChildView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiChildView__ */ diff --git a/kdejava/koala/kdejava/KMdiMainFrm.cpp b/kdejava/koala/kdejava/KMdiMainFrm.cpp deleted file mode 100644 index a3c39daf..00000000 --- a/kdejava/koala/kdejava/KMdiMainFrm.cpp +++ /dev/null @@ -1,1697 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KMdiMainFrmJBridge : public KMdiMainFrm -{ -public: - KMdiMainFrmJBridge(TQWidget* arg1,const char* arg2,KMdi::MdiMode arg3,TQt::WFlags arg4) : KMdiMainFrm(arg1,arg2,arg3,arg4) {}; - KMdiMainFrmJBridge(TQWidget* arg1,const char* arg2,KMdi::MdiMode arg3) : KMdiMainFrm(arg1,arg2,arg3) {}; - KMdiMainFrmJBridge(TQWidget* arg1,const char* arg2) : KMdiMainFrm(arg1,arg2) {}; - KMdiMainFrmJBridge(TQWidget* arg1) : KMdiMainFrm(arg1) {}; - void public_applyOptions() { - KMdiMainFrm::applyOptions(); - return; - } - void public_setSysButtonsAtMenuPosition() { - KMdiMainFrm::setSysButtonsAtMenuPosition(); - return; - } - void public_setMenuForSDIModeSysButtons() { - KMdiMainFrm::setMenuForSDIModeSysButtons(); - return; - } - void public_slot_toggleTaskBar() { - KMdiMainFrm::slot_toggleTaskBar(); - return; - } - void public_closeAllViews() { - KMdiMainFrm::closeAllViews(); - return; - } - void public_iconifyAllViews() { - KMdiMainFrm::iconifyAllViews(); - return; - } - void public_closeActiveView() { - KMdiMainFrm::closeActiveView(); - return; - } - void public_switchToToplevelMode() { - KMdiMainFrm::switchToToplevelMode(); - return; - } - void public_finishToplevelMode() { - KMdiMainFrm::finishToplevelMode(); - return; - } - void public_switchToChildframeMode() { - KMdiMainFrm::switchToChildframeMode(); - return; - } - void public_finishChildframeMode() { - KMdiMainFrm::finishChildframeMode(); - return; - } - void public_switchToTabPageMode() { - KMdiMainFrm::switchToTabPageMode(); - return; - } - void public_finishTabPageMode() { - KMdiMainFrm::finishTabPageMode(); - return; - } - void public_switchToIDEAlMode() { - KMdiMainFrm::switchToIDEAlMode(); - return; - } - void public_finishIDEAlMode() { - KMdiMainFrm::finishIDEAlMode(); - return; - } - void public_showViewTaskBar() { - KMdiMainFrm::showViewTaskBar(); - return; - } - void public_hideViewTaskBar() { - KMdiMainFrm::hideViewTaskBar(); - return; - } - void public_fillWindowMenu() { - KMdiMainFrm::fillWindowMenu(); - return; - } - void public_cascadeWindows() { - KMdiMainFrm::cascadeWindows(); - return; - } - void public_cascadeMaximized() { - KMdiMainFrm::cascadeMaximized(); - return; - } - void public_expandVertical() { - KMdiMainFrm::expandVertical(); - return; - } - void public_expandHorizontal() { - KMdiMainFrm::expandHorizontal(); - return; - } - void public_tilePragma() { - KMdiMainFrm::tilePragma(); - return; - } - void public_tileAnodine() { - KMdiMainFrm::tileAnodine(); - return; - } - void public_tileVertically() { - KMdiMainFrm::tileVertically(); - return; - } - void public_activateNextWin() { - KMdiMainFrm::activateNextWin(); - return; - } - void public_activatePrevWin() { - KMdiMainFrm::activatePrevWin(); - return; - } - void public_activateFirstWin() { - KMdiMainFrm::activateFirstWin(); - return; - } - void public_activateLastWin() { - KMdiMainFrm::activateLastWin(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KMdiMainFrm::resizeEvent(arg1); - return; - } - void protected_createTaskBar() { - KMdiMainFrm::createTaskBar(); - return; - } - void protected_createMdiManager() { - KMdiMainFrm::createMdiManager(); - return; - } - void protected_blockClearingOfWindowMenu(bool arg1) { - KMdiMainFrm::blockClearingOfWindowMenu(arg1); - return; - } - TQStringList protected_prepareIdealToTabs(KDockWidget* arg1) { - return (TQStringList) KMdiMainFrm::prepareIdealToTabs(arg1); - } - void protected_idealToolViewsToStandardTabs(TQStringList arg1,KDockWidget::DockPosition arg2,int arg3) { - KMdiMainFrm::idealToolViewsToStandardTabs(arg1,arg2,arg3); - return; - } - KMdi::TabWidgetVisibility protected_tabWidgetVisibility() { - return (KMdi::TabWidgetVisibility) KMdiMainFrm::tabWidgetVisibility(); - } - void protected_setTabWidgetVisibility(KMdi::TabWidgetVisibility arg1) { - KMdiMainFrm::setTabWidgetVisibility(arg1); - return; - } - KTabWidget* protected_tabWidget() { - return (KTabWidget*) KMdiMainFrm::tabWidget(); - } - void protected_activateView(KMdiChildView* arg1) { - KMdiMainFrm::activateView(arg1); - return; - } - void protected_taskbarButtonRightClicked(KMdiChildView* arg1) { - KMdiMainFrm::taskbarButtonRightClicked(arg1); - return; - } - void protected_switchOffMaximizeModeForMenu(KMdiChildFrm* arg1) { - KMdiMainFrm::switchOffMaximizeModeForMenu(arg1); - return; - } - void protected_updateSysButtonConnections(KMdiChildFrm* arg1,KMdiChildFrm* arg2) { - KMdiMainFrm::updateSysButtonConnections(arg1,arg2); - return; - } - void protected_windowMenuItemActivated(int arg1) { - KMdiMainFrm::windowMenuItemActivated(arg1); - return; - } - void protected_dockMenuItemActivated(int arg1) { - KMdiMainFrm::dockMenuItemActivated(arg1); - return; - } - void protected_popupWindowMenu(TQPoint arg1) { - KMdiMainFrm::popupWindowMenu(arg1); - return; - } - void protected_dragEndTimeOut() { - KMdiMainFrm::dragEndTimeOut(); - return; - } - void protected_closeViewButtonPressed() { - KMdiMainFrm::closeViewButtonPressed(); - return; - } - ~KMdiMainFrmJBridge() {QtSupport::qtKeyDeleted(this);} - void cascadeMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","cascadeMaximized")) { - KMdiMainFrm::cascadeMaximized(); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KMdiMainFrm::resizeEvent(arg1); - } - return; - } - void setSysButtonsAtMenuPosition() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","setSysButtonsAtMenuPosition")) { - KMdiMainFrm::setSysButtonsAtMenuPosition(); - } - return; - } - void cascadeWindows() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","cascadeWindows")) { - KMdiMainFrm::cascadeWindows(); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void closeAllViews() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","closeAllViews")) { - KMdiMainFrm::closeAllViews(); - } - return; - } - void tileVertically() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","tileVertically")) { - KMdiMainFrm::tileVertically(); - } - return; - } - bool queryClose() { - return QtSupport::booleanDelegate(this,"queryClose"); - } - void hideViewTaskBar() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","hideViewTaskBar")) { - KMdiMainFrm::hideViewTaskBar(); - } - return; - } - void setCentralWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCentralWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQMainWindow::setCentralWidget(arg1); - } - return; - } - void showViewTaskBar() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","showViewTaskBar")) { - KMdiMainFrm::showViewTaskBar(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","show")) { - TDEMainWindow::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void switchToChildframeMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","switchToChildframeMode")) { - KMdiMainFrm::switchToChildframeMode(); - } - return; - } - void activateNextWin() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","activateNextWin")) { - KMdiMainFrm::activateNextWin(); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","hide")) { - TDEMainWindow::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void slot_toggleTaskBar() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","slot_toggleTaskBar")) { - KMdiMainFrm::slot_toggleTaskBar(); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void applyOptions() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","applyOptions")) { - KMdiMainFrm::applyOptions(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEMainWindow::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void removeDockWindow(TQDockWindow* arg1) { - if (!QtSupport::eventDelegate(this,"removeDockWindow",(void*)arg1,"org.kde.qt.TQDockWindow")) { - TQMainWindow::removeDockWindow(arg1); - } - return; - } - void createMdiManager() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","createMdiManager")) { - KMdiMainFrm::createMdiManager(); - } - return; - } - void setMenuForSDIModeSysButtons(KMenuBar* arg1) { - if (!QtSupport::eventDelegate(this,"setMenuForSDIModeSysButtons",(void*)arg1,"org.kde.koala.KMenuBar")) { - KMdiMainFrm::setMenuForSDIModeSysButtons(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void switchToToplevelMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","switchToToplevelMode")) { - KMdiMainFrm::switchToToplevelMode(); - } - return; - } - void showAboutApplication() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","showAboutApplication")) { - TDEMainWindow::showAboutApplication(); - } - return; - } - void readGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readGlobalProperties(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - bool queryExit() { - return QtSupport::booleanDelegate(this,"queryExit"); - } - void saveProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveProperties(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.koala.KMdiMainFrm","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - KMdiMainFrm::setBackgroundPixmap(arg1); - } - return; - } - void removeWindowFromMdi(KMdiChildView* arg1) { - if (!QtSupport::eventDelegate(this,"removeWindowFromMdi",(void*)arg1,"org.kde.koala.KMdiChildView")) { - KMdiMainFrm::removeWindowFromMdi(arg1); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void switchToTabPageMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","switchToTabPageMode")) { - KMdiMainFrm::switchToTabPageMode(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void childWindowCloseRequest(KMdiChildView* arg1) { - if (!QtSupport::eventDelegate(this,"childWindowCloseRequest",(void*)arg1,"org.kde.koala.KMdiChildView")) { - KMdiMainFrm::childWindowCloseRequest(arg1); - } - return; - } - void expandHorizontal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","expandHorizontal")) { - KMdiMainFrm::expandHorizontal(); - } - 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")) { - TDEMainWindow::closeEvent(arg1); - } - return; - } - void switchToIDEAlMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","switchToIDEAlMode")) { - KMdiMainFrm::switchToIDEAlMode(); - } - return; - } - void tileAnodine() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","tileAnodine")) { - KMdiMainFrm::tileAnodine(); - } - return; - } - void readProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readProperties(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void setUpLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","setUpLayout")) { - TQMainWindow::setUpLayout(); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::enterEvent(arg1); - } - return; - } - void activateFirstWin() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","activateFirstWin")) { - KMdiMainFrm::activateFirstWin(); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TDEMainWindow::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void taskbarButtonRightClicked(KMdiChildView* arg1) { - if (!QtSupport::eventDelegate(this,"taskbarButtonRightClicked",(void*)arg1,"org.kde.koala.KMdiChildView")) { - KMdiMainFrm::taskbarButtonRightClicked(arg1); - } - return; - } - void expandVertical() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","expandVertical")) { - KMdiMainFrm::expandVertical(); - } - 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")) { - TDEMainWindow::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void activatePrevWin() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","activatePrevWin")) { - KMdiMainFrm::activatePrevWin(); - } - return; - } - void whatsThis() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","whatsThis")) { - TQMainWindow::whatsThis(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setUndockPositioningOffset(TQPoint arg1) { - if (!QtSupport::eventDelegate(this,"setUndockPositioningOffset",(void*)&arg1,"org.kde.qt.TQPoint")) { - KMdiMainFrm::setUndockPositioningOffset(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - KMdiMainFrm::setBackgroundColor(arg1); - } - return; - } - void activateView(KMdiChildView* arg1) { - if (!QtSupport::eventDelegate(this,"activateView",(void*)arg1,"org.kde.koala.KMdiChildView")) { - KMdiMainFrm::activateView(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void closeActiveView() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","closeActiveView")) { - KMdiMainFrm::closeActiveView(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void fillWindowMenu() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","fillWindowMenu")) { - KMdiMainFrm::fillWindowMenu(); - } - return; - } - void deleteToolWindow(KMdiToolViewAccessor* arg1) { - if (!QtSupport::eventDelegate(this,"deleteToolWindow",(void*)arg1,"org.kde.koala.KMdiToolViewAccessor")) { - KMdiMainFrm::deleteToolWindow(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void iconifyAllViews() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","iconifyAllViews")) { - KMdiMainFrm::iconifyAllViews(); - } - return; - } - void finishChildframeMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","finishChildframeMode")) { - KMdiMainFrm::finishChildframeMode(); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - bool isCustomizable() { - return QtSupport::booleanDelegate(this,"isCustomizable"); - } - void customize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","customize")) { - TQMainWindow::customize(); - } - return; - } - void saveGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveGlobalProperties(arg1); - } - return; - } - void createTaskBar() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","createTaskBar")) { - KMdiMainFrm::createTaskBar(); - } - return; - } - void finishTabPageMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","finishTabPageMode")) { - KMdiMainFrm::finishTabPageMode(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void tilePragma() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","tilePragma")) { - KMdiMainFrm::tilePragma(); - } - return; - } - void activateLastWin() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","activateLastWin")) { - KMdiMainFrm::activateLastWin(); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMdiMainFrm",object,event)) { - return KMdiMainFrm::eventFilter(object,event); - } else { - return TRUE; - } - } - void finishToplevelMode() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","finishToplevelMode")) { - KMdiMainFrm::finishToplevelMode(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiMainFrm","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activateFirstWin(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_activateFirstWin(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activateLastWin(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_activateLastWin(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activateNextWin(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_activateNextWin(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activatePrevWin(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_activatePrevWin(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activateView__I(JNIEnv* env, jobject obj, jint index) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->activateView((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_activateView__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_activateView((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_activeWindow(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->activeWindow(), "org.kde.koala.KMdiChildView"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd)), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject pWnd, jint pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd), (KDockWidget::DockPosition) pos), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pWnd, jint pos, jobject pTargetWnd) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd), (KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd)), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject pWnd, jint pos, jobject pTargetWnd, jint percent) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd), (KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject pWnd, jint pos, jobject pTargetWnd, jint percent, jstring tabToolTip) -{ -static TQString* _qstring_tabToolTip = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd), (KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent, (const TQString&)*(TQString*) QtSupport::toTQString(env, tabToolTip, &_qstring_tabToolTip)), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pWnd, jint pos, jobject pTargetWnd, jint percent, jstring tabToolTip, jstring tabCaption) -{ -static TQString* _qstring_tabToolTip = 0; -static TQString* _qstring_tabCaption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->addToolWindow((TQWidget*) QtSupport::getQt(env, pWnd), (KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent, (const TQString&)*(TQString*) QtSupport::toTQString(env, tabToolTip, &_qstring_tabToolTip), (const TQString&)*(TQString*) QtSupport::toTQString(env, tabCaption, &_qstring_tabCaption)), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2I(JNIEnv* env, jobject obj, jobject pWnd, jint flags) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2II(JNIEnv* env, jobject obj, jobject pWnd, jint flags, jint index) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (int) flags, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pWnd, jobject pos) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (TQPoint)*(TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pWnd, jobject pos, jint flags) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (TQPoint)*(TQPoint*) QtSupport::getQt(env, pos), (int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject pWnd, jobject rectNormal) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (TQRect)*(TQRect*) QtSupport::getQt(env, rectNormal)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject pWnd, jobject rectNormal, jint flags) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->addWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (TQRect)*(TQRect*) QtSupport::getQt(env, rectNormal), (int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_applyOptions(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_applyOptions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->attachWindow((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject pWnd, jboolean bShow) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->attachWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) bShow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2ZZ(JNIEnv* env, jobject obj, jobject pWnd, jboolean bShow, jboolean bAutomaticResize) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->attachWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) bShow, (bool) bAutomaticResize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_blockClearingOfWindowMenu(JNIEnv* env, jobject obj, jboolean bBlocked) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_blockClearingOfWindowMenu((bool) bBlocked); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_cascadeMaximized(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_cascadeMaximized(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_cascadeWindows(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_cascadeWindows(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiMainFrm_childFrameModeHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->childFrameModeHeight(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_childWindowCloseRequest(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->childWindowCloseRequest((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiMainFrm_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiMainFrm*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_closeActiveView(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_closeActiveView(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_closeAllViews(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_closeAllViews(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_closeViewButtonPressed(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_closeViewButtonPressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_closeWindow__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->closeWindow((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_closeWindow__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject pWnd, jboolean layoutTaskBar) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->closeWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) layoutTaskBar); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_createMdiManager(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_createMdiManager(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_createTaskBar(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_createTaskBar(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_createToolWindow(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->createToolWindow(), "org.kde.koala.KMdiToolViewAccessor"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_createWrapper(JNIEnv* env, jobject obj, jobject view, jstring name, jstring shortName) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_shortName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->createWrapper((TQWidget*) QtSupport::getQt(env, view), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, shortName, &_qstring_shortName)), "org.kde.koala.KMdiChildView"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_defaultChildFrmSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KMdiMainFrm*) QtSupport::getQt(env, obj))->defaultChildFrmSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_deleteToolWindow__Lorg_kde_koala_KMdiToolViewAccessor_2(JNIEnv* env, jobject obj, jobject accessor) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->deleteToolWindow((KMdiToolViewAccessor*) QtSupport::getQt(env, accessor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_deleteToolWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->deleteToolWindow((TQWidget*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_detachWindow__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->detachWindow((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_detachWindow__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject pWnd, jboolean bShow) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->detachWindow((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) bShow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiMainFrm_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_dockMenuItemActivated(JNIEnv* env, jobject obj, jint id) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_dockMenuItemActivated((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_dragEndTimeOut(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_dragEndTimeOut(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject e) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_expandHorizontal(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_expandHorizontal(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_expandVertical(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_expandVertical(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_fakeSDIApplication(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->fakeSDIApplication(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_fillWindowMenu(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_fillWindowMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiMainFrm*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiMainFrm*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_findWindow(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->findWindow((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)), "org.kde.koala.KMdiChildView"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finishChildframeMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_finishChildframeMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finishIDEAlMode__(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_finishIDEAlMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finishIDEAlMode__Z(JNIEnv* env, jobject obj, jboolean full) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->finishIDEAlMode((bool) full); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finishTabPageMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_finishTabPageMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_finishToplevelMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_finishToplevelMode(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiMainFrm_frameDecorOfAttachedViews(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KMdiMainFrmJBridge::frameDecorOfAttachedViews(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_hideViewTaskBar(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_hideViewTaskBar(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_iconifyAllViews(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_iconifyAllViews(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_idealToolViewsToStandardTabs(JNIEnv* env, jobject obj, jobjectArray widgetNames, jint pos, jint sizee) -{ -static TQStringList* _qlist_widgetNames = 0; - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_idealToolViewsToStandardTabs((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, widgetNames, &_qlist_widgetNames), (KDockWidget::DockPosition) pos, (int) sizee); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_isFakingSDIApplication(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->isFakingSDIApplication(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_isInMaximizedChildFrmMode(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->isInMaximizedChildFrmMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_isViewTaskBarOn(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->isViewTaskBarOn(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiMainFrm_mdiMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->mdiMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWidget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiMainFrmJBridge((TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiMainFrmJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parentWidget, jstring name, jint mdiMode) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiMainFrmJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (KMdi::MdiMode) mdiMode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject parentWidget, jstring name, jint mdiMode, jint flags) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiMainFrmJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (KMdi::MdiMode) mdiMode, (TQt::WFlags) flags)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_nextToolViewInDock(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->nextToolViewInDock(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_popupWindowMenu(JNIEnv* env, jobject obj, jobject p) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_popupWindowMenu((TQPoint)*(TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_prepareIdealToTabs(JNIEnv* env, jobject obj, jobject container) -{ - TQStringList _qlist; - _qlist = ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_prepareIdealToTabs((KDockWidget*) QtSupport::getQt(env, container)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_prevToolViewInDock(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->prevToolViewInDock(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_removeWindowFromMdi(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->removeWindowFromMdi((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setBackgroundColor(JNIEnv* env, jobject obj, jobject c) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setBackgroundPixmap(JNIEnv* env, jobject obj, jobject pm) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pm)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setDefaultChildFrmSize(JNIEnv* env, jobject obj, jobject sz) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setDefaultChildFrmSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, sz)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setEnableMaximizedChildFrmMode(JNIEnv* env, jobject obj, jboolean bEnable) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setEnableMaximizedChildFrmMode((bool) bEnable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setManagedDockPositionModeEnabled(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setManagedDockPositionModeEnabled((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setMenuForSDIModeSysButtons__(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_setMenuForSDIModeSysButtons(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setMenuForSDIModeSysButtons__Lorg_kde_koala_KMenuBar_2(JNIEnv* env, jobject obj, jobject menuBar) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setMenuForSDIModeSysButtons((KMenuBar*) QtSupport::getQt(env, menuBar)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setMinimumSize(JNIEnv* env, jobject obj, jint minw, jint minh) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setStandardMDIMenuEnabled__(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setStandardMDIMenuEnabled(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setStandardMDIMenuEnabled__Z(JNIEnv* env, jobject obj, jboolean showModeMenu) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setStandardMDIMenuEnabled((bool) showModeMenu); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setSwitching(JNIEnv* env, jobject obj, jboolean switching) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setSwitching((const bool) switching); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setSysButtonsAtMenuPosition(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_setSysButtonsAtMenuPosition(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setTabWidgetVisibility(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_setTabWidgetVisibility((KMdi::TabWidgetVisibility) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setToolviewStyle(JNIEnv* env, jobject obj, jint flags) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setToolviewStyle((int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_setUndockPositioningOffset(JNIEnv* env, jobject obj, jobject offset) -{ - ((KMdiMainFrm*) QtSupport::getQt(env, obj))->setUndockPositioningOffset((TQPoint)*(TQPoint*) QtSupport::getQt(env, offset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_showViewTaskBar(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_showViewTaskBar(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_slot_1toggleTaskBar(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_slot_toggleTaskBar(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_switchOffMaximizeModeForMenu(JNIEnv* env, jobject obj, jobject oldChild) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_switchOffMaximizeModeForMenu((KMdiChildFrm*) QtSupport::getQt(env, oldChild)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_switchToChildframeMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_switchToChildframeMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_switchToIDEAlMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_switchToIDEAlMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_switchToTabPageMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_switchToTabPageMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_switchToToplevelMode(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_switchToToplevelMode(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_switching(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->switching(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiMainFrm_tabWidgetVisibility(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_tabWidgetVisibility(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_tabWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_tabWidget(), "org.kde.koala.KTabWidget"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMdiMainFrm_taskBarHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->taskBarHeight(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_taskBarPopup__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->taskBarPopup((KMdiChildView*) QtSupport::getQt(env, pWnd)), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_taskBarPopup__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject pWnd, jboolean bIncludeWindowPopup) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->taskBarPopup((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) bIncludeWindowPopup), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_taskbarButtonRightClicked(JNIEnv* env, jobject obj, jobject pWnd) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_taskbarButtonRightClicked((KMdiChildView*) QtSupport::getQt(env, pWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_tileAnodine(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_tileAnodine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_tilePragma(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_tilePragma(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_tileVertically(JNIEnv* env, jobject obj) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->public_tileVertically(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_updateSysButtonConnections(JNIEnv* env, jobject obj, jobject oldChild, jobject newChild) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_updateSysButtonConnections((KMdiChildFrm*) QtSupport::getQt(env, oldChild), (KMdiChildFrm*) QtSupport::getQt(env, newChild)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiMainFrm_windowExists(JNIEnv* env, jobject obj, jobject pWnd, jint as) -{ - jboolean xret = (jboolean) ((KMdiMainFrm*) QtSupport::getQt(env, obj))->windowExists((KMdiChildView*) QtSupport::getQt(env, pWnd), (KMdiMainFrm::ExistsAs) as); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiMainFrm_windowMenuItemActivated(JNIEnv* env, jobject obj, jint id) -{ - ((KMdiMainFrmJBridge*) QtSupport::getQt(env, obj))->protected_windowMenuItemActivated((int) id); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_windowMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->windowMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_windowPopup__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject pWnd) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->windowPopup((KMdiChildView*) QtSupport::getQt(env, pWnd)), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiMainFrm_windowPopup__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject pWnd, jboolean bIncludeTaskbarPopup) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiMainFrm*) QtSupport::getQt(env, obj))->windowPopup((KMdiChildView*) QtSupport::getQt(env, pWnd), (bool) bIncludeTaskbarPopup), "org.kde.qt.TQPopupMenu"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMdiMainFrm.h b/kdejava/koala/kdejava/KMdiMainFrm.h deleted file mode 100644 index c71ca23c..00000000 --- a/kdejava/koala/kdejava/KMdiMainFrm.h +++ /dev/null @@ -1,136 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiMainFrm__ -#define __org_kde_koala_KMdiMainFrm__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiMainFrm_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_newKMdiMainFrm__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setStandardMDIMenuEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setStandardMDIMenuEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setManagedDockPositionModeEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_isInMaximizedChildFrmMode (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiMainFrm_mdiMode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_activeWindow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_taskBarPopup__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_taskBarPopup__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_windowPopup__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_windowPopup__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_applyOptions (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_findWindow (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_windowExists (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setSysButtonsAtMenuPosition (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiMainFrm_taskBarHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setUndockPositioningOffset (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_windowMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setBackgroundPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setDefaultChildFrmSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_defaultChildFrmSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setMinimumSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiMainFrm_childFrameModeHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setMenuForSDIModeSysButtons__Lorg_kde_koala_KMenuBar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setMenuForSDIModeSysButtons__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_fakeSDIApplication (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_isFakingSDIApplication (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setSwitching (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_switching (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_createWrapper (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_addWindow__Lorg_kde_koala_KMdiChildView_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jint, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_addToolWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_deleteToolWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_deleteToolWindow__Lorg_kde_koala_KMdiToolViewAccessor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_createToolWindow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_removeWindowFromMdi (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_closeWindow__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_closeWindow__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_slot_1toggleTaskBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_attachWindow__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_detachWindow__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_detachWindow__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_childWindowCloseRequest (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_closeAllViews (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_iconifyAllViews (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_closeActiveView (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_switchToToplevelMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finishToplevelMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_switchToChildframeMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finishChildframeMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_switchToTabPageMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finishTabPageMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_switchToIDEAlMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finishIDEAlMode__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finishIDEAlMode__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setToolviewStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_isViewTaskBarOn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_showViewTaskBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_hideViewTaskBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_fillWindowMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_cascadeWindows (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_cascadeMaximized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_expandVertical (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_expandHorizontal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_tilePragma (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_tileAnodine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_tileVertically (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setEnableMaximizedChildFrmMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activateNextWin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activatePrevWin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activateFirstWin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activateLastWin (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activateView__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_prevToolViewInDock (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_nextToolViewInDock (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiMainFrm_frameDecorOfAttachedViews (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_createTaskBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_createMdiManager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_blockClearingOfWindowMenu (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_prepareIdealToTabs (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_idealToolViewsToStandardTabs (JNIEnv *env, jobject, jobjectArray, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMdiMainFrm_tabWidgetVisibility (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_setTabWidgetVisibility (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiMainFrm_tabWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_activateView__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_taskbarButtonRightClicked (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_switchOffMaximizeModeForMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_updateSysButtonConnections (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_windowMenuItemActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_dockMenuItemActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_popupWindowMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_dragEndTimeOut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_closeViewButtonPressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiMainFrm_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiMainFrm_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiMainFrm__ */ diff --git a/kdejava/koala/kdejava/KMdiTaskBar.cpp b/kdejava/koala/kdejava/KMdiTaskBar.cpp deleted file mode 100644 index 0b7b07ec..00000000 --- a/kdejava/koala/kdejava/KMdiTaskBar.cpp +++ /dev/null @@ -1,502 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KMdiTaskBarJBridge : public KMdiTaskBar -{ -public: - KMdiTaskBarJBridge(KMdiMainFrm* arg1,TQMainWindow::ToolBarDock arg2) : KMdiTaskBar(arg1,arg2) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - KMdiTaskBar::resizeEvent(arg1); - return; - } - void protected_layoutTaskBar(int arg1) { - KMdiTaskBar::layoutTaskBar(arg1); - return; - } - void protected_layoutTaskBar() { - KMdiTaskBar::layoutTaskBar(); - return; - } - ~KMdiTaskBarJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KMdiTaskBar::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQDockWindow::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.koala.KMdiTaskBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","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")) { - TDEToolBar::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void dock() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","dock")) { - TQDockWindow::dock(); - } - 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 setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQDockWindow::setWidget(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TDEToolBar::childEvent(arg1); - } - return; - } - void undock() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","undock")) { - TQDockWindow::undock(); - } - 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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEToolBar::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDockWindow::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiTaskBar_addWinButton(JNIEnv* env, jobject obj, jobject win_ptr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiTaskBar*) QtSupport::getQt(env, obj))->addWinButton((KMdiChildView*) QtSupport::getQt(env, win_ptr)), "org.kde.koala.KMdiTaskBarButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiTaskBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiTaskBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiTaskBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiTaskBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiTaskBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiTaskBar_getButton(JNIEnv* env, jobject obj, jobject win_ptr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiTaskBar*) QtSupport::getQt(env, obj))->getButton((KMdiChildView*) QtSupport::getQt(env, win_ptr)), "org.kde.koala.KMdiTaskBarButton"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiTaskBar_getNextWindowButton(JNIEnv* env, jobject obj, jboolean bRight, jobject win_ptr) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiTaskBar*) QtSupport::getQt(env, obj))->getNextWindowButton((bool) bRight, (KMdiChildView*) QtSupport::getQt(env, win_ptr)), "org.kde.koala.KMdiTaskBarButton"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiTaskBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiTaskBar_isSwitchedOn(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMdiTaskBar*) QtSupport::getQt(env, obj))->isSwitchedOn(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_layoutTaskBar__(JNIEnv* env, jobject obj) -{ - ((KMdiTaskBarJBridge*) QtSupport::getQt(env, obj))->protected_layoutTaskBar(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_layoutTaskBar__I(JNIEnv* env, jobject obj, jint taskBarWidth) -{ - ((KMdiTaskBarJBridge*) QtSupport::getQt(env, obj))->protected_layoutTaskBar((int) taskBarWidth); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiTaskBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiTaskBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_newKMdiTaskBar(JNIEnv* env, jobject obj, jobject parent, jint dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiTaskBarJBridge((KMdiMainFrm*) QtSupport::getQt(env, parent), (TQMainWindow::ToolBarDock) dock)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_removeWinButton__Lorg_kde_koala_KMdiChildView_2(JNIEnv* env, jobject obj, jobject win_ptr) -{ - ((KMdiTaskBar*) QtSupport::getQt(env, obj))->removeWinButton((KMdiChildView*) QtSupport::getQt(env, win_ptr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_removeWinButton__Lorg_kde_koala_KMdiChildView_2Z(JNIEnv* env, jobject obj, jobject win_ptr, jboolean haveToLayoutTaskBar) -{ - ((KMdiTaskBar*) QtSupport::getQt(env, obj))->removeWinButton((KMdiChildView*) QtSupport::getQt(env, win_ptr), (bool) haveToLayoutTaskBar); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiTaskBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_setActiveButton(JNIEnv* env, jobject obj, jobject win_ptr) -{ - ((KMdiTaskBar*) QtSupport::getQt(env, obj))->setActiveButton((KMdiChildView*) QtSupport::getQt(env, win_ptr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBar_switchOn(JNIEnv* env, jobject obj, jboolean bOn) -{ - ((KMdiTaskBar*) QtSupport::getQt(env, obj))->switchOn((bool) bOn); - return; -} - diff --git a/kdejava/koala/kdejava/KMdiTaskBar.h b/kdejava/koala/kdejava/KMdiTaskBar.h deleted file mode 100644 index 75fe6f07..00000000 --- a/kdejava/koala/kdejava/KMdiTaskBar.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiTaskBar__ -#define __org_kde_koala_KMdiTaskBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiTaskBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiTaskBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_newKMdiTaskBar (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiTaskBar_addWinButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_removeWinButton__Lorg_kde_koala_KMdiChildView_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_removeWinButton__Lorg_kde_koala_KMdiChildView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiTaskBar_getNextWindowButton (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiTaskBar_getButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_switchOn (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiTaskBar_isSwitchedOn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_setActiveButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_layoutTaskBar__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_layoutTaskBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiTaskBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiTaskBar__ */ diff --git a/kdejava/koala/kdejava/KMdiTaskBarButton.cpp b/kdejava/koala/kdejava/KMdiTaskBarButton.cpp deleted file mode 100644 index e8212341..00000000 --- a/kdejava/koala/kdejava/KMdiTaskBarButton.cpp +++ /dev/null @@ -1,452 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KMdiTaskBarButtonJBridge : public KMdiTaskBarButton -{ -public: - KMdiTaskBarButtonJBridge(KMdiTaskBar* arg1,KMdiChildView* arg2) : KMdiTaskBarButton(arg1,arg2) {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - KMdiTaskBarButton::mousePressEvent(arg1); - return; - } - ~KMdiTaskBarButtonJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KMdiTaskBarButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KMdiTaskBarButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQPushButton::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")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMdiTaskBarButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiTaskBarButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiTaskBarButton_actualText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->actualText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiTaskBarButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiTaskBarButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiTaskBarButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiTaskBarButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_fitText(JNIEnv* env, jobject obj, jstring arg1, jint newWidth) -{ -static TQString* _qstring_arg1 = 0; - ((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->fitText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (int) newWidth); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiTaskBarButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiTaskBarButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiTaskBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_newKMdiTaskBarButton(JNIEnv* env, jobject obj, jobject pTaskBar, jobject win_ptr) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiTaskBarButtonJBridge((KMdiTaskBar*) QtSupport::getQt(env, pTaskBar), (KMdiChildView*) QtSupport::getQt(env, win_ptr))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_setNewText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->setNewText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiTaskBarButton_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KMdiTaskBarButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KMdiTaskBarButton.h b/kdejava/koala/kdejava/KMdiTaskBarButton.h deleted file mode 100644 index 123a58f2..00000000 --- a/kdejava/koala/kdejava/KMdiTaskBarButton.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiTaskBarButton__ -#define __org_kde_koala_KMdiTaskBarButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiTaskBarButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiTaskBarButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_newKMdiTaskBarButton (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiTaskBarButton_actualText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_fitText (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_setNewText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiTaskBarButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiTaskBarButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiTaskBarButton__ */ diff --git a/kdejava/koala/kdejava/KMdiToolViewAccessor.cpp b/kdejava/koala/kdejava/KMdiToolViewAccessor.cpp deleted file mode 100644 index 677abd0c..00000000 --- a/kdejava/koala/kdejava/KMdiToolViewAccessor.cpp +++ /dev/null @@ -1,132 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_hide(JNIEnv* env, jobject obj) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__(JNIEnv* env, jobject obj) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__I(JNIEnv* env, jobject obj, jint pos) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow((KDockWidget::DockPosition) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow((KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd, jint percent) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->placeAndShow((KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_place__(JNIEnv* env, jobject obj) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_place__I(JNIEnv* env, jobject obj, jint pos) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place((KDockWidget::DockPosition) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_place__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place((KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_place__ILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint pos, jobject pTargetWnd, jint percent) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->place((KDockWidget::DockPosition) pos, (TQWidget*) QtSupport::getQt(env, pTargetWnd), (int) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widgetToWrap) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->setWidgetToWrap((TQWidget*) QtSupport::getQt(env, widgetToWrap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject widgetToWrap, jstring tabToolTip) -{ -static TQString* _qstring_tabToolTip = 0; - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->setWidgetToWrap((TQWidget*) QtSupport::getQt(env, widgetToWrap), (const TQString&)*(TQString*) QtSupport::toTQString(env, tabToolTip, &_qstring_tabToolTip)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject widgetToWrap, jstring tabToolTip, jstring tabCaption) -{ -static TQString* _qstring_tabToolTip = 0; -static TQString* _qstring_tabCaption = 0; - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->setWidgetToWrap((TQWidget*) QtSupport::getQt(env, widgetToWrap), (const TQString&)*(TQString*) QtSupport::toTQString(env, tabToolTip, &_qstring_tabToolTip), (const TQString&)*(TQString*) QtSupport::toTQString(env, tabCaption, &_qstring_tabCaption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_show(JNIEnv* env, jobject obj) -{ - ((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_wrappedWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->wrappedWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiToolViewAccessor_wrapperWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiToolViewAccessor*) QtSupport::getQt(env, obj))->wrapperWidget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMdiToolViewAccessor.h b/kdejava/koala/kdejava/KMdiToolViewAccessor.h deleted file mode 100644 index 98e643fb..00000000 --- a/kdejava/koala/kdejava/KMdiToolViewAccessor.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiToolViewAccessor__ -#define __org_kde_koala_KMdiToolViewAccessor__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiToolViewAccessor_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiToolViewAccessor_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiToolViewAccessor_wrapperWidget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiToolViewAccessor_wrappedWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_place__ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_place__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_place__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_place__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_placeAndShow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_setWidgetToWrap__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiToolViewAccessor_hide (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiToolViewAccessor__ */ diff --git a/kdejava/koala/kdejava/KMdiViewCloseEvent.cpp b/kdejava/koala/kdejava/KMdiViewCloseEvent.cpp deleted file mode 100644 index c86c3636..00000000 --- a/kdejava/koala/kdejava/KMdiViewCloseEvent.cpp +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KMdiViewCloseEventJBridge : public KMdiViewCloseEvent -{ -public: - KMdiViewCloseEventJBridge(KMdiChildView* arg1) : KMdiViewCloseEvent(arg1) {}; - ~KMdiViewCloseEventJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiViewCloseEvent_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiViewCloseEvent_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiViewCloseEvent_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMdiViewCloseEvent*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiViewCloseEvent_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiViewCloseEvent_newKMdiViewCloseEvent(JNIEnv* env, jobject obj, jobject pWnd) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiViewCloseEventJBridge((KMdiChildView*) QtSupport::getQt(env, pWnd))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KMdiViewCloseEvent.h b/kdejava/koala/kdejava/KMdiViewCloseEvent.h deleted file mode 100644 index a70c09f2..00000000 --- a/kdejava/koala/kdejava/KMdiViewCloseEvent.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiViewCloseEvent__ -#define __org_kde_koala_KMdiViewCloseEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiViewCloseEvent_newKMdiViewCloseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiViewCloseEvent_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiViewCloseEvent_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiViewCloseEvent_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiViewCloseEvent__ */ diff --git a/kdejava/koala/kdejava/KMdiWin32IconButton.cpp b/kdejava/koala/kdejava/KMdiWin32IconButton.cpp deleted file mode 100644 index 38ec281b..00000000 --- a/kdejava/koala/kdejava/KMdiWin32IconButton.cpp +++ /dev/null @@ -1,457 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KMdiWin32IconButtonJBridge : public KMdiWin32IconButton -{ -public: - KMdiWin32IconButtonJBridge(TQWidget* arg1,const char* arg2) : KMdiWin32IconButton(arg1,arg2) {}; - KMdiWin32IconButtonJBridge(TQWidget* arg1) : KMdiWin32IconButton(arg1) {}; - ~KMdiWin32IconButtonJBridge() {QtSupport::qtKeyDeleted(this);} - void setMovie(const TQMovie& arg1) { - if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TQMovie")) { - TQLabel::setMovie(arg1); - } - return; - } - void setPicture(const TQPicture& arg1) { - if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TQPicture")) { - TQLabel::setPicture(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQLabel::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KMdiWin32IconButton","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KMdiWin32IconButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KMdiWin32IconButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQLabel::setPixmap(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMdiWin32IconButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setBuddy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQLabel::setBuddy(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMdiWin32IconButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMdiWin32IconButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMdiWin32IconButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiWin32IconButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMdiWin32IconButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiWin32IconButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMdiWin32IconButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMdiWin32IconButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMdiWin32IconButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMdiWin32IconButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMdiWin32IconButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiWin32IconButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMdiWin32IconButton*) QtSupport::getQt(env, obj))->mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiWin32IconButton_newKMdiWin32IconButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMdiWin32IconButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMdiWin32IconButton_newKMdiWin32IconButton__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 KMdiWin32IconButtonJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KMdiWin32IconButton.h b/kdejava/koala/kdejava/KMdiWin32IconButton.h deleted file mode 100644 index 17b69fdc..00000000 --- a/kdejava/koala/kdejava/KMdiWin32IconButton.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMdiWin32IconButton__ -#define __org_kde_koala_KMdiWin32IconButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMdiWin32IconButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMdiWin32IconButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiWin32IconButton_newKMdiWin32IconButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiWin32IconButton_newKMdiWin32IconButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiWin32IconButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiWin32IconButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMdiWin32IconButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMdiWin32IconButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMdiWin32IconButton__ */ diff --git a/kdejava/koala/kdejava/KMenuBar.cpp b/kdejava/koala/kdejava/KMenuBar.cpp deleted file mode 100644 index 3c91ad48..00000000 --- a/kdejava/koala/kdejava/KMenuBar.cpp +++ /dev/null @@ -1,577 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KMenuBarJBridge : public KMenuBar -{ -public: - KMenuBarJBridge(TQWidget* arg1,const char* arg2) : KMenuBar(arg1,arg2) {}; - KMenuBarJBridge(TQWidget* arg1) : KMenuBar(arg1) {}; - KMenuBarJBridge() : KMenuBar() {}; - void public_show() { - KMenuBar::show(); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KMenuBar::showEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KMenuBar::resizeEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KMenuBar::eventFilter(arg1,arg2); - } - void protected_closeEvent(TQCloseEvent* arg1) { - KMenuBar::closeEvent(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - KMenuBar::drawContents(arg1); - return; - } - void protected_slotReadConfig() { - KMenuBar::slotReadConfig(); - return; - } - ~KMenuBarJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KMenuBar::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KMenuBar::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","show")) { - KMenuBar::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQMenuBar::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KMenuBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","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")) { - KMenuBar::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQMenuBar::keyPressEvent(arg1); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KMenuBar::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQMenuBar::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")) { - TQMenuBar::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQMenuBar::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQMenuBar::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQMenuBar::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMenuBar",object,event)) { - return KMenuBar::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMenuBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMenuBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMenuBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMenuBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMenuBar_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMenuBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMenuBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMenuBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMenuBar_isTopLevelMenu(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMenuBar*) QtSupport::getQt(env, obj))->isTopLevelMenu(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMenuBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMenuBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_newKMenuBar__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMenuBarJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_newKMenuBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMenuBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_newKMenuBar__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 KMenuBarJBridge((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_koala_KMenuBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_resize__II(JNIEnv* env, jobject obj, jint w, jint h) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->resize((int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_resize__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setFrameStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setFrameStyle((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setGeometry__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setGeometry((int) x, (int) y, (int) w, (int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setGeometry__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setLineWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setLineWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setMargin(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setMargin((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setTopLevelMenu__(JNIEnv* env, jobject obj) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setTopLevelMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_setTopLevelMenu__Z(JNIEnv* env, jobject obj, jboolean top_level) -{ - ((KMenuBar*) QtSupport::getQt(env, obj))->setTopLevelMenu((bool) top_level); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_show(JNIEnv* env, jobject obj) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMenuBar_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KMenuBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMenuBar_slotReadConfig(JNIEnv* env, jobject obj) -{ - ((KMenuBarJBridge*) QtSupport::getQt(env, obj))->protected_slotReadConfig(); - return; -} - diff --git a/kdejava/koala/kdejava/KMenuBar.h b/kdejava/koala/kdejava/KMenuBar.h deleted file mode 100644 index 903a254b..00000000 --- a/kdejava/koala/kdejava/KMenuBar.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMenuBar__ -#define __org_kde_koala_KMenuBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMenuBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMenuBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_newKMenuBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_newKMenuBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_newKMenuBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setTopLevelMenu__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setTopLevelMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMenuBar_isTopLevelMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setGeometry__Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setGeometry__IIII (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_resize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_resize__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setFrameStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setLineWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_setMargin (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMenuBar_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMenuBar_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_slotReadConfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMenuBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMenuBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMenuBar__ */ diff --git a/kdejava/koala/kdejava/KMessageBox.cpp b/kdejava/koala/kdejava/KMessageBox.cpp deleted file mode 100644 index 29365b9b..00000000 --- a/kdejava/koala/kdejava/KMessageBox.cpp +++ /dev/null @@ -1,2027 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KMessageBoxJBridge : public KMessageBox -{ -public: - KMessageBoxJBridge() : KMessageBox() {}; - ~KMessageBoxJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::about((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::about((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::about((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2ILjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZI(JNIEnv* env, jclass cls, jobject dialog, jint icon, jstring text, jobjectArray strlist, jstring ask, jbooleanArray checkboxReturn, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_ask = 0; - bool* _bool_checkboxReturn = QtSupport::toBooleanPtr(env, checkboxReturn); - jint xret = (jint) KMessageBoxJBridge::createKMessageBox((KDialogBase*) QtSupport::getQt(env, dialog), (TQMessageBox::Icon) icon, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, ask, &_qstring_ask), (bool*) _bool_checkboxReturn, (int) options); - env->SetBooleanArrayRegion(checkboxReturn, 0, 1, (jboolean*) _bool_checkboxReturn); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2ILjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2(JNIEnv* env, jclass cls, jobject dialog, jint icon, jstring text, jobjectArray strlist, jstring ask, jbooleanArray checkboxReturn, jint options, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_ask = 0; - bool* _bool_checkboxReturn = QtSupport::toBooleanPtr(env, checkboxReturn); -static TQString* _qstring_details = 0; - jint xret = (jint) KMessageBoxJBridge::createKMessageBox((KDialogBase*) QtSupport::getQt(env, dialog), (TQMessageBox::Icon) icon, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, ask, &_qstring_ask), (bool*) _bool_checkboxReturn, (int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - env->SetBooleanArrayRegion(checkboxReturn, 0, 1, (jboolean*) _bool_checkboxReturn); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZI(JNIEnv* env, jclass cls, jobject dialog, jobject icon, jstring text, jobjectArray strlist, jstring ask, jbooleanArray checkboxReturn, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_ask = 0; - bool* _bool_checkboxReturn = QtSupport::toBooleanPtr(env, checkboxReturn); - jint xret = (jint) KMessageBoxJBridge::createKMessageBox((KDialogBase*) QtSupport::getQt(env, dialog), (TQPixmap)*(TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, ask, &_qstring_ask), (bool*) _bool_checkboxReturn, (int) options); - env->SetBooleanArrayRegion(checkboxReturn, 0, 1, (jboolean*) _bool_checkboxReturn); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2(JNIEnv* env, jclass cls, jobject dialog, jobject icon, jstring text, jobjectArray strlist, jstring ask, jbooleanArray checkboxReturn, jint options, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_ask = 0; - bool* _bool_checkboxReturn = QtSupport::toBooleanPtr(env, checkboxReturn); -static TQString* _qstring_details = 0; - jint xret = (jint) KMessageBoxJBridge::createKMessageBox((KDialogBase*) QtSupport::getQt(env, dialog), (TQPixmap)*(TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, ask, &_qstring_ask), (bool*) _bool_checkboxReturn, (int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - env->SetBooleanArrayRegion(checkboxReturn, 0, 1, (jboolean*) _bool_checkboxReturn); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2I(JNIEnv* env, jclass cls, jobject dialog, jobject icon, jstring text, jobjectArray strlist, jstring ask, jbooleanArray checkboxReturn, jint options, jstring details, jint notifyType) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_ask = 0; - bool* _bool_checkboxReturn = QtSupport::toBooleanPtr(env, checkboxReturn); -static TQString* _qstring_details = 0; - jint xret = (jint) KMessageBoxJBridge::createKMessageBox((KDialogBase*) QtSupport::getQt(env, dialog), (TQPixmap)*(TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, ask, &_qstring_ask), (bool*) _bool_checkboxReturn, (int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (TQMessageBox::Icon) notifyType); - env->SetBooleanArrayRegion(checkboxReturn, 0, 1, (jboolean*) _bool_checkboxReturn); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::detailedErrorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedErrorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedErrorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::detailedError((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedError((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedError((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::detailedSorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedSorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedSorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::detailedSorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedSorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::detailedSorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMessageBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_enableAllMessages(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KMessageBoxJBridge::enableAllMessages(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_enableMessage(JNIEnv* env, jclass cls, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::enableMessage((const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - KMessageBoxJBridge::errorListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - KMessageBoxJBridge::errorList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::errorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::errorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::error((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::error((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::error((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMessageBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - KMessageBoxJBridge::informationListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::informationListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jstring dontShowAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - KMessageBoxJBridge::informationList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::informationList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jstring dontShowAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::informationWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::informationWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jstring dontShowAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::informationWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jstring dontShowAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::information((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (int) options); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMessageBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontShowAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAskAgainName, &_qstring_dontShowAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontShowAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::messageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAskAgainName, &_qstring_dontShowAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2I(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontShowAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAskAgainName, &_qstring_dontShowAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontShowAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontShowAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::messageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAskAgainName, &_qstring_dontShowAskAgainName), (int) options); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_newKMessageBox(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMessageBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::questionYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedDetailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::queuedDetailedErrorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedDetailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedDetailedErrorWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedDetailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - KMessageBoxJBridge::queuedDetailedError((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedDetailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring details, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedDetailedError((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::queuedMessageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedMessageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jint type, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedMessageBoxWId((WId) parent_id, (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::queuedMessageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedMessageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jint type, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::queuedMessageBox((TQWidget*) QtSupport::getQt(env, parent), (KMessageBox::DialogType) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_saveDontShowAgainContinue(JNIEnv* env, jclass cls, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::saveDontShowAgainContinue((const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_saveDontShowAgainYesNo(JNIEnv* env, jclass cls, jstring dontShowAgainName, jint result) -{ - (void) cls; -static TQString* _qstring_dontShowAgainName = 0; - KMessageBoxJBridge::saveDontShowAgainYesNo((const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (KMessageBox::ButtonCode) result); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_setDontShowAskAgainConfig(JNIEnv* env, jclass cls, jobject cfg) -{ - (void) cls; - KMessageBoxJBridge::setDontShowAskAgainConfig((TDEConfig*) QtSupport::getQt(env, cfg)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMessageBox_shouldBeShownContinue(JNIEnv* env, jclass cls, jstring dontShowAgainName) -{ - (void) cls; -static TQString* _qstring_dontShowAgainName = 0; - jboolean xret = (jboolean) KMessageBoxJBridge::shouldBeShownContinue((const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMessageBox_shouldBeShownYesNo(JNIEnv* env, jclass cls, jstring dontShowAgainName, jint result) -{ - (void) cls; -static TQString* _qstring_dontShowAgainName = 0; - jboolean xret = (jboolean) KMessageBoxJBridge::shouldBeShownYesNo((const TQString&)*(TQString*) QtSupport::toTQString(env, dontShowAgainName, &_qstring_dontShowAgainName), (KMessageBox::ButtonCode&) result); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::sorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::sorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::sorryWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KMessageBoxJBridge::sorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::sorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - KMessageBoxJBridge::sorry((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) options); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonContinue, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonContinue) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonContinue, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonContinue, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonContinue) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonContinue, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonContinue, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningContinueCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonContinue), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancelWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoCancel((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoListWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jobjectArray strlist, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQStringList* _qlist_strlist = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoList((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, strlist, &_qlist_strlist), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jlong parent_id, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNoWId((WId) parent_id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject parent, jstring text, jstring caption, jobject buttonYes, jobject buttonNo, jstring dontAskAgainName, jint options) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) KMessageBoxJBridge::warningYesNo((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonYes), (const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName), (int) options); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMessageBox.h b/kdejava/koala/kdejava/KMessageBox.h deleted file mode 100644 index d870d53f..00000000 --- a/kdejava/koala/kdejava/KMessageBox.h +++ /dev/null @@ -1,210 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMessageBox__ -#define __org_kde_koala_KMessageBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_newKMessageBox (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoCancelWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_questionYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningContinueCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_warningYesNoCancelListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_error__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_errorListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedDetailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedDetailedError__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedDetailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedDetailedErrorWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_sorryWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorry__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_detailedSorryWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_information__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationWId__JLjava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationList__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_informationListWId__JLjava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_enableAllMessages (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_enableMessage (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_about__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2I (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jint, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jint, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jint, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jclass, jlong, jint, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jint, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_messageBoxWId__JILjava_lang_String_2 (JNIEnv *env, jclass, jlong, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jint, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jlong, jint, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBox__Lorg_kde_qt_QWidget_2ILjava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jlong, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_queuedMessageBoxWId__JILjava_lang_String_2 (JNIEnv *env, jclass, jlong, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMessageBox_shouldBeShownYesNo (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMessageBox_shouldBeShownContinue (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_saveDontShowAgainYesNo (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_saveDontShowAgainContinue (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_setDontShowAskAgainConfig (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2ILjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jstring, jobjectArray, jstring, jbooleanArray, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2ILjava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZI (JNIEnv *env, jclass, jobject, jint, jstring, jobjectArray, jstring, jbooleanArray, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2I (JNIEnv *env, jclass, jobject, jobject, jstring, jobjectArray, jstring, jbooleanArray, jint, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZILjava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring, jobjectArray, jstring, jbooleanArray, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMessageBox_createKMessageBox__Lorg_kde_koala_KDialogBase_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2_3ZI (JNIEnv *env, jclass, jobject, jobject, jstring, jobjectArray, jstring, jbooleanArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMessageBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMessageBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMessageBox__ */ diff --git a/kdejava/koala/kdejava/KMimeMagic.cpp b/kdejava/koala/kdejava/KMimeMagic.cpp deleted file mode 100644 index 42ed4d13..00000000 --- a/kdejava/koala/kdejava/KMimeMagic.cpp +++ /dev/null @@ -1,130 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KMimeMagicJBridge : public KMimeMagic -{ -public: - KMimeMagicJBridge() : KMimeMagic() {}; - KMimeMagicJBridge(const TQString& arg1) : KMimeMagic(arg1) {}; - static void protected_initStatic() { - KMimeMagic::initStatic(); - return; - } - ~KMimeMagicJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeMagic_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMimeMagic*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeMagic_findBufferFileType(JNIEnv* env, jobject obj, jbyteArray arg1, jstring filename) -{ -static TQByteArray* _qbyteArray_arg1 = 0; -static TQString* _qstring_filename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMimeMagic*) QtSupport::getQt(env, obj))->findBufferFileType((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg1, &_qbyteArray_arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.koala.KMimeMagicResult"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeMagic_findBufferType(JNIEnv* env, jobject obj, jbyteArray p) -{ -static TQByteArray* _qbyteArray_p = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMimeMagic*) QtSupport::getQt(env, obj))->findBufferType((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, p, &_qbyteArray_p)), "org.kde.koala.KMimeMagicResult"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeMagic_findFileType(JNIEnv* env, jobject obj, jstring _filename) -{ -static TQString* _qstring__filename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMimeMagic*) QtSupport::getQt(env, obj))->findFileType((const TQString&)*(TQString*) QtSupport::toTQString(env, _filename, &_qstring__filename)), "org.kde.koala.KMimeMagicResult"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_initStatic(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KMimeMagicJBridge::protected_initStatic(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeMagic_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeMagic_mergeBufConfig(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((KMimeMagic*) QtSupport::getQt(env, obj))->mergeBufConfig((char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeMagic_mergeConfig(JNIEnv* env, jobject obj, jstring configFile) -{ -static TQString* _qstring_configFile = 0; - jboolean xret = (jboolean) ((KMimeMagic*) QtSupport::getQt(env, obj))->mergeConfig((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_newKMimeMagic__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeMagicJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_newKMimeMagic__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring configFile) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeMagicJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeMagic_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KMimeMagicJBridge::self(), "org.kde.koala.KMimeMagic"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagic_setFollowLinks(JNIEnv* env, jobject obj, jboolean _enable) -{ - ((KMimeMagic*) QtSupport::getQt(env, obj))->setFollowLinks((bool) _enable); - return; -} - diff --git a/kdejava/koala/kdejava/KMimeMagic.h b/kdejava/koala/kdejava/KMimeMagic.h deleted file mode 100644 index f0f86d52..00000000 --- a/kdejava/koala/kdejava/KMimeMagic.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeMagic__ -#define __org_kde_koala_KMimeMagic__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_newKMimeMagic__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_newKMimeMagic__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeMagic_mergeConfig (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeMagic_mergeBufConfig (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_setFollowLinks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeMagic_findFileType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeMagic_findBufferType (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeMagic_findBufferFileType (JNIEnv *env, jobject, jbyteArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeMagic_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_initStatic (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagic_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeMagic_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeMagic__ */ diff --git a/kdejava/koala/kdejava/KMimeMagicResult.cpp b/kdejava/koala/kdejava/KMimeMagicResult.cpp deleted file mode 100644 index 552134df..00000000 --- a/kdejava/koala/kdejava/KMimeMagicResult.cpp +++ /dev/null @@ -1,92 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KMimeMagicResultJBridge : public KMimeMagicResult -{ -public: - KMimeMagicResultJBridge() : KMimeMagicResult() {}; - ~KMimeMagicResultJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMimeMagicResult_accuracy(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMimeMagicResult*) QtSupport::getQt(env, obj))->accuracy(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeMagicResult_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMimeMagicResult*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeMagicResult_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeMagicResult_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KMimeMagicResult*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeMagicResult_mimeType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMimeMagicResult*) QtSupport::getQt(env, obj))->mimeType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_newKMimeMagicResult(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeMagicResultJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_setAccuracy(JNIEnv* env, jobject obj, jint _accuracy) -{ - ((KMimeMagicResult*) QtSupport::getQt(env, obj))->setAccuracy((int) _accuracy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_setInvalid(JNIEnv* env, jobject obj) -{ - ((KMimeMagicResult*) QtSupport::getQt(env, obj))->setInvalid(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeMagicResult_setMimeType(JNIEnv* env, jobject obj, jstring _mime) -{ -static TQString* _qstring__mime = 0; - ((KMimeMagicResult*) QtSupport::getQt(env, obj))->setMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _mime, &_qstring__mime)); - return; -} - diff --git a/kdejava/koala/kdejava/KMimeMagicResult.h b/kdejava/koala/kdejava/KMimeMagicResult.h deleted file mode 100644 index 151fbe87..00000000 --- a/kdejava/koala/kdejava/KMimeMagicResult.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeMagicResult__ -#define __org_kde_koala_KMimeMagicResult__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_newKMimeMagicResult (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeMagicResult_mimeType (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMimeMagicResult_accuracy (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeMagicResult_isValid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_setMimeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_setAccuracy (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_setInvalid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeMagicResult_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeMagicResult_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeMagicResult__ */ diff --git a/kdejava/koala/kdejava/KMimeSourceFactory.cpp b/kdejava/koala/kdejava/KMimeSourceFactory.cpp deleted file mode 100644 index 99decbe1..00000000 --- a/kdejava/koala/kdejava/KMimeSourceFactory.cpp +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KMimeSourceFactoryJBridge : public KMimeSourceFactory -{ -public: - KMimeSourceFactoryJBridge(TDEIconLoader* arg1) : KMimeSourceFactory(arg1) {}; - KMimeSourceFactoryJBridge() : KMimeSourceFactory() {}; - ~KMimeSourceFactoryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeSourceFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeSourceFactory_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeSourceFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMimeSourceFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeSourceFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeSourceFactory_makeAbsolute(JNIEnv* env, jobject obj, jstring abs_or_rel_name, jstring context) -{ - TQString _qstring; -static TQString* _qstring_abs_or_rel_name = 0; -static TQString* _qstring_context = 0; - _qstring = ((KMimeSourceFactory*) QtSupport::getQt(env, obj))->makeAbsolute((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_or_rel_name, &_qstring_abs_or_rel_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeSourceFactoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__Lorg_kde_koala_TDEIconLoader_2(JNIEnv* env, jobject obj, jobject loader) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeSourceFactoryJBridge((TDEIconLoader*) QtSupport::getQt(env, loader))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KMimeSourceFactory.h b/kdejava/koala/kdejava/KMimeSourceFactory.h deleted file mode 100644 index a25c20f9..00000000 --- a/kdejava/koala/kdejava/KMimeSourceFactory.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeSourceFactory__ -#define __org_kde_koala_KMimeSourceFactory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__Lorg_kde_koala_TDEIconLoader_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_newKMimeSourceFactory__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeSourceFactory_makeAbsolute (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeSourceFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeSourceFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeSourceFactory__ */ diff --git a/kdejava/koala/kdejava/KMimeType.cpp b/kdejava/koala/kdejava/KMimeType.cpp deleted file mode 100644 index 2456bbab..00000000 --- a/kdejava/koala/kdejava/KMimeType.cpp +++ /dev/null @@ -1,407 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KMimeTypeJBridge : public KMimeType -{ -public: - KMimeTypeJBridge(const TQString& arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,const TQStringList& arg5) : KMimeType(arg1,arg2,arg3,arg4,arg5) {}; - KMimeTypeJBridge(const TQString& arg1) : KMimeType(arg1) {}; - KMimeTypeJBridge(KDesktopFile* arg1) : KMimeType(arg1) {}; - KMimeTypeJBridge(TQDataStream& arg1,int arg2) : KMimeType(arg1,arg2) {}; - void protected_loadInternal(TQDataStream& arg1) { - KMimeType::loadInternal(arg1); - return; - } - void protected_init(KDesktopFile* arg1) { - KMimeType::init(arg1); - return; - } - int protected_patternsAccuracy() { - return (int) KMimeType::patternsAccuracy(); - } - static void protected_errorMissingMimeType(const TQString& arg1) { - KMimeType::errorMissingMimeType(arg1); - return; - } - static void protected_buildDefaultType() { - KMimeType::buildDefaultType(); - return; - } - static void protected_checkEssentialMimeTypes() { - KMimeType::checkEssentialMimeTypes(); - return; - } - ~KMimeTypeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_buildDefaultType(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KMimeTypeJBridge::protected_buildDefaultType(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_checkEssentialMimeTypes(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KMimeTypeJBridge::protected_checkEssentialMimeTypes(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_comment__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->comment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_comment__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->comment((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_comment__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - TQString _qstring; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->comment((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1), (bool) arg2); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_defaultMimeType(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KMimeTypeJBridge::defaultMimeType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeType_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_errorMissingMimeType(JNIEnv* env, jclass cls, jstring _type) -{ - (void) cls; -static TQString* _qstring__type = 0; - KMimeTypeJBridge::protected_errorMissingMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _type, &_qstring__type)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_favIconForURL(JNIEnv* env, jclass cls, jobject url) -{ - TQString _qstring; - (void) cls; - _qstring = KMimeTypeJBridge::favIconForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KMimeType*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_iconForURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject _url) -{ - TQString _qstring; - (void) cls; - _qstring = KMimeTypeJBridge::iconForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_iconForURL__Lorg_kde_koala_KURL_2J(JNIEnv* env, jclass cls, jobject _url, jlong _mode) -{ - TQString _qstring; - (void) cls; - _qstring = KMimeTypeJBridge::iconForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_icon__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ - TQString _qstring; -static TQString* _qstring_arg1 = 0; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->icon((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_icon__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean arg2) -{ - TQString _qstring; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->icon((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1), (bool) arg2); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_init(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_init((KDesktopFile*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeType_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeType_is(JNIEnv* env, jobject obj, jstring mimeTypeName) -{ -static TQString* _qstring_mimeTypeName = 0; - jboolean xret = (jboolean) ((KMimeType*) QtSupport::getQt(env, obj))->is((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeTypeName, &_qstring_mimeTypeName)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_loadInternal(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_loadInternal((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_load(JNIEnv* env, jobject obj, jobject qs) -{ - ((KMimeType*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, qs)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_newKMimeType__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath) -{ -static TQString* _qstring__fullpath = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_newKMimeType__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath, jstring _type, jstring _icon, jstring _comment, jobjectArray _patterns) -{ -static TQString* _qstring__fullpath = 0; -static TQString* _qstring__type = 0; -static TQString* _qstring__icon = 0; -static TQString* _qstring__comment = 0; -static TQStringList* _qlist__patterns = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath), (const TQString&)*(TQString*) QtSupport::toTQString(env, _type, &_qstring__type), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, _comment, &_qstring__comment), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, _patterns, &_qlist__patterns))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_newKMimeType__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_newKMimeType__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeType_parentMimeType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMimeType*) QtSupport::getQt(env, obj))->parentMimeType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMimeType_patternsAccuracy(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMimeTypeJBridge*) QtSupport::getQt(env, obj))->protected_patternsAccuracy(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_patterns(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KMimeType*) QtSupport::getQt(env, obj))->patterns(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject _url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2J(JNIEnv* env, jclass cls, jobject _url, jlong _mode) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JI(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JII(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group, jint _force_size) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JIII(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group, jint _force_size, jint _state) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JIIILjava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject _url, jlong _mode, jint _group, jint _force_size, jint _state, jobject _path) -{ - (void) cls; -static TQString* _qstring__path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KMimeTypeJBridge::pixmapForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (mode_t) _mode, (TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__I(JNIEnv* env, jobject obj, jint group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__II(JNIEnv* env, jobject obj, jint group, jint force_size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group, (int) force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__III(JNIEnv* env, jobject obj, jint group, jint force_size, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group, (int) force_size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint group, jint force_size, jint state, jobject path) -{ -static TQString* _qstring_path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) group, (int) force_size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path, &_qstring_path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_path, path); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject _url, jint _group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2II(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2III(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject _url, jint _group, jint _force_size, jint _state, jobject _path) -{ -static TQString* _qstring__path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KMimeType*) QtSupport::getQt(env, obj))->pixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_propertyNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KMimeType*) QtSupport::getQt(env, obj))->propertyNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeType_property(JNIEnv* env, jobject obj, jstring _name) -{ -static TQString* _qstring__name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KMimeType*) QtSupport::getQt(env, obj))->property((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeType_save(JNIEnv* env, jobject obj, jobject qs) -{ - ((KMimeType*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, qs)); - return; -} - diff --git a/kdejava/koala/kdejava/KMimeType.h b/kdejava/koala/kdejava/KMimeType.h deleted file mode 100644 index f5f37b20..00000000 --- a/kdejava/koala/kdejava/KMimeType.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeType__ -#define __org_kde_koala_KMimeType__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_newKMimeType__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_newKMimeType__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_newKMimeType__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_newKMimeType__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_icon__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_icon__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmap__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_comment__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_comment__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_comment__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_patterns (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_property (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_propertyNames (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_parentMimeType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeType_is (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JIIILjava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jlong, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JIII (JNIEnv *env, jclass, jobject, jlong, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JII (JNIEnv *env, jclass, jobject, jlong, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2JI (JNIEnv *env, jclass, jobject, jlong, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2J (JNIEnv *env, jclass, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeType_pixmapForURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_iconForURL__Lorg_kde_koala_KURL_2J (JNIEnv *env, jclass, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_iconForURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_favIconForURL (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeType_defaultMimeType (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_loadInternal (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_init (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMimeType_patternsAccuracy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_errorMissingMimeType (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_buildDefaultType (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_checkEssentialMimeTypes (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeType_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeType_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeType__ */ diff --git a/kdejava/koala/kdejava/KMimeTypeResolverBase.cpp b/kdejava/koala/kdejava/KMimeTypeResolverBase.cpp deleted file mode 100644 index 5a90f8d1..00000000 --- a/kdejava/koala/kdejava/KMimeTypeResolverBase.cpp +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverBase_slotProcessMimeIcons(JNIEnv* env, jobject obj) -{ - ((KMimeTypeResolverBase*) QtSupport::getQt(env, obj))->slotProcessMimeIcons(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverBase_slotViewportAdjusted(JNIEnv* env, jobject obj) -{ - ((KMimeTypeResolverBase*) QtSupport::getQt(env, obj))->slotViewportAdjusted(); - return; -} - diff --git a/kdejava/koala/kdejava/KMimeTypeResolverBase.h b/kdejava/koala/kdejava/KMimeTypeResolverBase.h deleted file mode 100644 index 09212b1d..00000000 --- a/kdejava/koala/kdejava/KMimeTypeResolverBase.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeTypeResolverBase__ -#define __org_kde_koala_KMimeTypeResolverBase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverBase_slotViewportAdjusted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverBase_slotProcessMimeIcons (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeTypeResolverBase__ */ diff --git a/kdejava/koala/kdejava/KMimeTypeResolverHelper.cpp b/kdejava/koala/kdejava/KMimeTypeResolverHelper.cpp deleted file mode 100644 index 07a4ef2e..00000000 --- a/kdejava/koala/kdejava/KMimeTypeResolverHelper.cpp +++ /dev/null @@ -1,116 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KMimeTypeResolverHelperJBridge : public KMimeTypeResolverHelper -{ -public: - KMimeTypeResolverHelperJBridge(KMimeTypeResolverBase* arg1,TQScrollView* arg2) : KMimeTypeResolverHelper(arg1,arg2) {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KMimeTypeResolverHelper::eventFilter(arg1,arg2); - } - ~KMimeTypeResolverHelperJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMimeTypeResolverHelper",object,event)) { - return KMimeTypeResolverHelper::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMimeTypeResolverHelper*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeTypeResolverHelper_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((KMimeTypeResolverHelperJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KMimeTypeResolverHelper*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KMimeTypeResolverHelper*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMimeTypeResolverHelper*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_newKMimeTypeResolverHelper(JNIEnv* env, jobject obj, jobject resolver, jobject view) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeResolverHelperJBridge((KMimeTypeResolverBase*) QtSupport::getQt(env, resolver), (TQScrollView*) QtSupport::getQt(env, view))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeResolverHelper_start(JNIEnv* env, jobject obj, jint delay, jboolean singleShot) -{ - ((KMimeTypeResolverHelper*) QtSupport::getQt(env, obj))->start((int) delay, (bool) singleShot); - return; -} - diff --git a/kdejava/koala/kdejava/KMimeTypeResolverHelper.h b/kdejava/koala/kdejava/KMimeTypeResolverHelper.h deleted file mode 100644 index c6bb23e8..00000000 --- a/kdejava/koala/kdejava/KMimeTypeResolverHelper.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeTypeResolverHelper__ -#define __org_kde_koala_KMimeTypeResolverHelper__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_newKMimeTypeResolverHelper (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_start (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeTypeResolverHelper_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeTypeResolverHelper__ */ diff --git a/kdejava/koala/kdejava/KMimeTypeValidator.cpp b/kdejava/koala/kdejava/KMimeTypeValidator.cpp deleted file mode 100644 index d90f58bc..00000000 --- a/kdejava/koala/kdejava/KMimeTypeValidator.cpp +++ /dev/null @@ -1,133 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KMimeTypeValidatorJBridge : public KMimeTypeValidator -{ -public: - KMimeTypeValidatorJBridge(TQObject* arg1,const char* arg2) : KMimeTypeValidator(arg1,arg2) {}; - KMimeTypeValidatorJBridge(TQObject* arg1) : KMimeTypeValidator(arg1) {}; - ~KMimeTypeValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMimeTypeValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMimeTypeValidator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMimeTypeValidator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMimeTypeValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KMimeTypeValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KMimeTypeValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeValidator_fixup(JNIEnv* env, jobject obj, jobject input) -{ -static TQString* _qstring_input = 0; - ((KMimeTypeValidator*) QtSupport::getQt(env, obj))->fixup((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMimeTypeValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMimeTypeValidator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMimeTypeValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeValidator_newKMimeTypeValidator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMimeTypeValidatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMimeTypeValidator_newKMimeTypeValidator__Lorg_kde_qt_QObject_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 KMimeTypeValidatorJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMimeTypeValidator_validate(JNIEnv* env, jobject obj, jobject input, jintArray pos) -{ -static TQString* _qstring_input = 0; - int* _int_pos = QtSupport::toIntPtr(env, pos); - jint xret = (jint) ((KMimeTypeValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input), (int&) *_int_pos); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - env->SetIntArrayRegion(pos, 0, 1, (jint *) _int_pos); - return xret; -} - diff --git a/kdejava/koala/kdejava/KMimeTypeValidator.h b/kdejava/koala/kdejava/KMimeTypeValidator.h deleted file mode 100644 index 22665939..00000000 --- a/kdejava/koala/kdejava/KMimeTypeValidator.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMimeTypeValidator__ -#define __org_kde_koala_KMimeTypeValidator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMimeTypeValidator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMimeTypeValidator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeValidator_newKMimeTypeValidator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeValidator_newKMimeTypeValidator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMimeTypeValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeValidator_fixup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMimeTypeValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMimeTypeValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMimeTypeValidator__ */ diff --git a/kdejava/koala/kdejava/KMountPoint.cpp b/kdejava/koala/kdejava/KMountPoint.cpp deleted file mode 100644 index f2ca7720..00000000 --- a/kdejava/koala/kdejava/KMountPoint.cpp +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMountPoint_devNameFromOptions(JNIEnv* env, jclass cls, jobjectArray options) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_options = 0; - _qstring = KMountPoint::devNameFromOptions((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, options, &_qlist_options)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMountPoint_mountOptions(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KMountPoint*) QtSupport::getQt(env, obj))->mountOptions(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMountPoint_mountPoint(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMountPoint*) QtSupport::getQt(env, obj))->mountPoint(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMountPoint_mountType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMountPoint*) QtSupport::getQt(env, obj))->mountType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMountPoint_mountedFrom(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMountPoint*) QtSupport::getQt(env, obj))->mountedFrom(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMountPoint_realDeviceName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KMountPoint*) QtSupport::getQt(env, obj))->realDeviceName(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KMountPoint.h b/kdejava/koala/kdejava/KMountPoint.h deleted file mode 100644 index fc87c000..00000000 --- a/kdejava/koala/kdejava/KMountPoint.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMountPoint__ -#define __org_kde_koala_KMountPoint__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMountPoint_mountedFrom (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMountPoint_realDeviceName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMountPoint_mountPoint (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMountPoint_mountType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMountPoint_mountOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMountPoint_devNameFromOptions (JNIEnv *env, jclass, jobjectArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMountPoint__ */ diff --git a/kdejava/koala/kdejava/KMultiTabBar.cpp b/kdejava/koala/kdejava/KMultiTabBar.cpp deleted file mode 100644 index 9e689f0f..00000000 --- a/kdejava/koala/kdejava/KMultiTabBar.cpp +++ /dev/null @@ -1,591 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KMultiTabBarJBridge : public KMultiTabBar -{ -public: - KMultiTabBarJBridge(KMultiTabBar::KMultiTabBarMode arg1,TQWidget* arg2,const char* arg3) : KMultiTabBar(arg1,arg2,arg3) {}; - KMultiTabBarJBridge(KMultiTabBar::KMultiTabBarMode arg1,TQWidget* arg2) : KMultiTabBar(arg1,arg2) {}; - KMultiTabBarJBridge(KMultiTabBar::KMultiTabBarMode arg1) : KMultiTabBar(arg1) {}; - void protected_fontChange(const TQFont& arg1) { - KMultiTabBar::fontChange(arg1); - return; - } - void protected_updateSeparator() { - KMultiTabBar::updateSeparator(); - return; - } - ~KMultiTabBarJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KMultiTabBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - KMultiTabBar::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMultiTabBar",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pic) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pic, jint id) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pic, jint id, jobject popup) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pic, jint id, jobject popup, jstring not_used_yet) -{ -static TQString* _qstring_not_used_yet = 0; - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (const TQString&)*(TQString*) QtSupport::toTQString(env, not_used_yet, &_qstring_not_used_yet)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pic) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendTab((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pic, jint id) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendTab((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject pic, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->appendTab((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBar_button(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultiTabBar*) QtSupport::getQt(env, obj))->button((int) id), "org.kde.koala.KMultiTabBarButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMultiTabBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMultiTabBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMultiTabBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMultiTabBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMultiTabBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_fontChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMultiTabBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMultiTabBar_isTabRaised(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((KMultiTabBar*) QtSupport::getQt(env, obj))->isTabRaised((int) id); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultiTabBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__I(JNIEnv* env, jobject obj, jint bm) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarJBridge((KMultiTabBar::KMultiTabBarMode) bm)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint bm, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarJBridge((KMultiTabBar::KMultiTabBarMode) bm, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint bm, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarJBridge((KMultiTabBar::KMultiTabBarMode) bm, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_position(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->position(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_removeButton(JNIEnv* env, jobject obj, jint id) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->removeButton((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_removeTab(JNIEnv* env, jobject obj, jint id) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->removeTab((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_setPosition(JNIEnv* env, jobject obj, jint pos) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->setPosition((KMultiTabBar::KMultiTabBarPosition) pos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_setStyle(JNIEnv* env, jobject obj, jint style) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->setStyle((KMultiTabBar::KMultiTabBarStyle) style); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_setTab(JNIEnv* env, jobject obj, jint id, jboolean state) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->setTab((int) id, (bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_showActiveTabTexts__(JNIEnv* env, jobject obj) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->showActiveTabTexts(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_showActiveTabTexts__Z(JNIEnv* env, jobject obj, jboolean show) -{ - ((KMultiTabBar*) QtSupport::getQt(env, obj))->showActiveTabTexts((bool) show); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBar_tabStyle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMultiTabBar*) QtSupport::getQt(env, obj))->tabStyle(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBar_tab(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultiTabBar*) QtSupport::getQt(env, obj))->tab((int) id), "org.kde.koala.KMultiTabBarTab"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBar_updateSeparator(JNIEnv* env, jobject obj) -{ - ((KMultiTabBarJBridge*) QtSupport::getQt(env, obj))->protected_updateSeparator(); - return; -} - diff --git a/kdejava/koala/kdejava/KMultiTabBar.h b/kdejava/koala/kdejava/KMultiTabBar.h deleted file mode 100644 index 9e044314..00000000 --- a/kdejava/koala/kdejava/KMultiTabBar.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMultiTabBar__ -#define __org_kde_koala_KMultiTabBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMultiTabBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_newKMultiTabBar__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendButton__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_removeButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_appendTab__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_removeTab (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_setTab (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMultiTabBar_isTabRaised (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBar_button (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBar_tab (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_setPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_position (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_setStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBar_tabStyle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_showActiveTabTexts__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_showActiveTabTexts__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_updateSeparator (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMultiTabBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMultiTabBar__ */ diff --git a/kdejava/koala/kdejava/KMultiTabBarButton.cpp b/kdejava/koala/kdejava/KMultiTabBarButton.cpp deleted file mode 100644 index 70f5e668..00000000 --- a/kdejava/koala/kdejava/KMultiTabBarButton.cpp +++ /dev/null @@ -1,499 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KMultiTabBarButtonJBridge : public KMultiTabBarButton -{ -public: - KMultiTabBarButtonJBridge(const TQPixmap& arg1,const TQString& arg2,TQPopupMenu* arg3,int arg4,TQWidget* arg5,KMultiTabBar::KMultiTabBarPosition arg6,KMultiTabBar::KMultiTabBarStyle arg7) : KMultiTabBarButton(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KMultiTabBarButtonJBridge(const TQString& arg1,TQPopupMenu* arg2,int arg3,TQWidget* arg4,KMultiTabBar::KMultiTabBarPosition arg5,KMultiTabBar::KMultiTabBarStyle arg6) : KMultiTabBarButton(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void protected_hideEvent(TQHideEvent* arg1) { - KMultiTabBarButton::hideEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KMultiTabBarButton::showEvent(arg1); - return; - } - void protected_slotClicked() { - KMultiTabBarButton::slotClicked(); - return; - } - ~KMultiTabBarButtonJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KMultiTabBarButton::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.koala.KMultiTabBarButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","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")) { - KMultiTabBarButton::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQPushButton::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")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMultiTabBarButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void slotClicked() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","slotClicked")) { - KMultiTabBarButton::slotClicked(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMultiTabBarButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMultiTabBarButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMultiTabBarButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMultiTabBarButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMultiTabBarButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBarButton_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMultiTabBarButton*) QtSupport::getQt(env, obj))->id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMultiTabBarButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBarButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultiTabBarButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_newKMultiTabBarButton__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2ILorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jstring arg1, jobject popup, jint id, jobject parent, jint pos, jint style) -{ -static TQString* _qstring_arg1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (KMultiTabBar::KMultiTabBarPosition) pos, (KMultiTabBar::KMultiTabBarStyle) style)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_newKMultiTabBarButton__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2ILorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject pic, jstring arg2, jobject popup, jint id, jobject parent, jint pos, jint style) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (KMultiTabBar::KMultiTabBarPosition) pos, (KMultiTabBar::KMultiTabBarStyle) style)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_setPosition(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMultiTabBarButton*) QtSupport::getQt(env, obj))->setPosition((KMultiTabBar::KMultiTabBarPosition) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_setStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMultiTabBarButton*) QtSupport::getQt(env, obj))->setStyle((KMultiTabBar::KMultiTabBarStyle) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KMultiTabBarButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBarButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KMultiTabBarButton*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarButton_slotClicked(JNIEnv* env, jobject obj) -{ - ((KMultiTabBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); - return; -} - diff --git a/kdejava/koala/kdejava/KMultiTabBarButton.h b/kdejava/koala/kdejava/KMultiTabBarButton.h deleted file mode 100644 index cf87824a..00000000 --- a/kdejava/koala/kdejava/KMultiTabBarButton.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMultiTabBarButton__ -#define __org_kde_koala_KMultiTabBarButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBarButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMultiTabBarButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_newKMultiTabBarButton__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2ILorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jstring, jobject, jint, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_newKMultiTabBarButton__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2ILorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jstring, jobject, jint, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBarButton_id (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_setPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_setStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBarButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_slotClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMultiTabBarButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMultiTabBarButton__ */ diff --git a/kdejava/koala/kdejava/KMultiTabBarTab.cpp b/kdejava/koala/kdejava/KMultiTabBarTab.cpp deleted file mode 100644 index 33afa189..00000000 --- a/kdejava/koala/kdejava/KMultiTabBarTab.cpp +++ /dev/null @@ -1,563 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KMultiTabBarTabJBridge : public KMultiTabBarTab -{ -public: - KMultiTabBarTabJBridge(const TQPixmap& arg1,const TQString& arg2,int arg3,TQWidget* arg4,KMultiTabBar::KMultiTabBarPosition arg5,KMultiTabBar::KMultiTabBarStyle arg6) : KMultiTabBarTab(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void protected_setSize(int arg1) { - KMultiTabBarTab::setSize(arg1); - return; - } - int protected_neededSize() { - return (int) KMultiTabBarTab::neededSize(); - } - void protected_updateState() { - KMultiTabBarTab::updateState(); - return; - } - void protected_drawButton(TQPainter* arg1) { - KMultiTabBarTab::drawButton(arg1); - return; - } - void protected_drawButtonLabel(TQPainter* arg1) { - KMultiTabBarTab::drawButtonLabel(arg1); - return; - } - void protected_drawButtonStyled(TQPainter* arg1) { - KMultiTabBarTab::drawButtonStyled(arg1); - return; - } - void protected_drawButtonClassic(TQPainter* arg1) { - KMultiTabBarTab::drawButtonClassic(arg1); - return; - } - void protected_slotClicked() { - KMultiTabBarTab::slotClicked(); - return; - } - void protected_setTabsPosition(KMultiTabBar::KMultiTabBarPosition arg1) { - KMultiTabBarTab::setTabsPosition(arg1); - return; - } - ~KMultiTabBarTabJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KMultiTabBarButton::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.koala.KMultiTabBarTab","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","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")) { - KMultiTabBarButton::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::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")) { - KMultiTabBarTab::setIcon(arg1); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mousePressEvent(arg1); - } - return; - } - void drawButton(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawButton",(void*)arg1,"org.kde.qt.TQPainter")) { - KMultiTabBarTab::drawButton(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void drawButtonLabel(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawButtonLabel",(void*)arg1,"org.kde.qt.TQPainter")) { - KMultiTabBarTab::drawButtonLabel(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQPushButton::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")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMultiTabBarTab",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void slotClicked() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","slotClicked")) { - KMultiTabBarTab::slotClicked(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KMultiTabBarTab","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMultiTabBarTab_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMultiTabBarTab_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_drawButtonClassic(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonClassic((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_drawButtonLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonLabel((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_drawButtonStyled(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_drawButtonStyled((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_drawButton(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KMultiTabBarTab*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KMultiTabBarTab*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMultiTabBarTab_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultiTabBarTab_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultiTabBarTab*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KMultiTabBarTab_neededSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_neededSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_newKMultiTabBarTab(JNIEnv* env, jobject obj, jobject pic, jstring arg2, jint id, jobject parent, jint pos, jint style) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultiTabBarTabJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pic), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (KMultiTabBar::KMultiTabBarPosition) pos, (KMultiTabBar::KMultiTabBarStyle) style)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_resize(JNIEnv* env, jobject obj) -{ - ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->resize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_setIcon__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_setIcon__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_setSize(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_setSize((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_setState(JNIEnv* env, jobject obj, jboolean state) -{ - ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->setState((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_setTabsPosition(JNIEnv* env, jobject obj, jint arg1) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_setTabsPosition((KMultiTabBar::KMultiTabBarPosition) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_showActiveTabText(JNIEnv* env, jobject obj, jboolean show) -{ - ((KMultiTabBarTab*) QtSupport::getQt(env, obj))->showActiveTabText((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_slotClicked(JNIEnv* env, jobject obj) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultiTabBarTab_updateState(JNIEnv* env, jobject obj) -{ - ((KMultiTabBarTabJBridge*) QtSupport::getQt(env, obj))->protected_updateState(); - return; -} - diff --git a/kdejava/koala/kdejava/KMultiTabBarTab.h b/kdejava/koala/kdejava/KMultiTabBarTab.h deleted file mode 100644 index 5c890d53..00000000 --- a/kdejava/koala/kdejava/KMultiTabBarTab.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMultiTabBarTab__ -#define __org_kde_koala_KMultiTabBarTab__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultiTabBarTab_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMultiTabBarTab_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_newKMultiTabBarTab (JNIEnv *env, jobject, jobject, jstring, jint, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_setState (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_showActiveTabText (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_resize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_setIcon__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_setIcon__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_setSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KMultiTabBarTab_neededSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_updateState (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_drawButtonLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_drawButtonStyled (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_drawButtonClassic (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_slotClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_setTabsPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultiTabBarTab_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMultiTabBarTab_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMultiTabBarTab__ */ diff --git a/kdejava/koala/kdejava/KMultipleDrag.cpp b/kdejava/koala/kdejava/KMultipleDrag.cpp deleted file mode 100644 index a71dbfb8..00000000 --- a/kdejava/koala/kdejava/KMultipleDrag.cpp +++ /dev/null @@ -1,147 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KMultipleDragJBridge : public KMultipleDrag -{ -public: - KMultipleDragJBridge(TQWidget* arg1,const char* arg2) : KMultipleDrag(arg1,arg2) {}; - KMultipleDragJBridge(TQWidget* arg1) : KMultipleDrag(arg1) {}; - KMultipleDragJBridge() : KMultipleDrag() {}; - ~KMultipleDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KMultipleDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_addDragObject(JNIEnv* env, jobject obj, jobject dragObject) -{ - ((KMultipleDrag*) QtSupport::getQt(env, obj))->addDragObject((TQDragObject*) QtSupport::getQt(env, dragObject)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMultipleDrag_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KMultipleDrag*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KMultipleDrag_finalize(env, obj); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KMultipleDrag_encodedData(JNIEnv* env, jobject obj, jstring mime) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_mime = 0; - _qbyteArray = ((KMultipleDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, mime, &_qstring_mime)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KMultipleDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KMultipleDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KMultipleDrag_format(JNIEnv* env, jobject obj, jint i) -{ - const char* _qstring; - _qstring = ((KMultipleDrag*) QtSupport::getQt(env, obj))->format((int) i); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KMultipleDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KMultipleDrag_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KMultipleDrag*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultipleDragJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject dragSource) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultipleDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject dragSource, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KMultipleDragJBridge((TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KMultipleDrag.h b/kdejava/koala/kdejava/KMultipleDrag.h deleted file mode 100644 index 4df1db81..00000000 --- a/kdejava/koala/kdejava/KMultipleDrag.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KMultipleDrag__ -#define __org_kde_koala_KMultipleDrag__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KMultipleDrag_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMultipleDrag_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_newKMultipleDrag__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_addDragObject (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KMultipleDrag_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KMultipleDrag_format (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KMultipleDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KMultipleDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KMultipleDrag__ */ diff --git a/kdejava/koala/kdejava/KNamedCommand.cpp b/kdejava/koala/kdejava/KNamedCommand.cpp deleted file mode 100644 index bc50f2b1..00000000 --- a/kdejava/koala/kdejava/KNamedCommand.cpp +++ /dev/null @@ -1,24 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNamedCommand_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KNamedCommand*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNamedCommand_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KNamedCommand*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - diff --git a/kdejava/koala/kdejava/KNamedCommand.h b/kdejava/koala/kdejava/KNamedCommand.h deleted file mode 100644 index 4343e0cd..00000000 --- a/kdejava/koala/kdejava/KNamedCommand.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KNamedCommand__ -#define __org_kde_koala_KNamedCommand__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KNamedCommand_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNamedCommand_setName (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KNamedCommand__ */ diff --git a/kdejava/koala/kdejava/KNotifyClient.cpp b/kdejava/koala/kdejava/KNotifyClient.cpp deleted file mode 100644 index da2ea81c..00000000 --- a/kdejava/koala/kdejava/KNotifyClient.cpp +++ /dev/null @@ -1,175 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNotifyClient_beep__(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KNotifyClient::beep(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNotifyClient_beep__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring reason) -{ - (void) cls; -static TQString* _qstring_reason = 0; - KNotifyClient::beep((const TQString&)*(TQString*) QtSupport::toTQString(env, reason, &_qstring_reason)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__II(JNIEnv* env, jclass cls, jint winId, jint event) -{ - (void) cls; - (void) env; - jint xret = (jint) KNotifyClient::event((int) winId, (KNotifyClient::StandardEvent) event); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__IILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jint event, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (KNotifyClient::StandardEvent) event, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring message) -{ - (void) cls; -static TQString* _qstring_message = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, message, &_qstring_message)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring message, jstring text) -{ - (void) cls; -static TQString* _qstring_message = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::event((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, message, &_qstring_message), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNotifyClient_getDefaultFile(JNIEnv* env, jclass cls, jstring eventname, jint present) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_eventname = 0; - _qstring = KNotifyClient::getDefaultFile((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname), (int) present); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_getDefaultPresentation(JNIEnv* env, jclass cls, jstring eventname) -{ - (void) cls; -static TQString* _qstring_eventname = 0; - jint xret = (jint) KNotifyClient::getDefaultPresentation((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNotifyClient_getFile(JNIEnv* env, jclass cls, jstring eventname, jint present) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_eventname = 0; - _qstring = KNotifyClient::getFile((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname), (int) present); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_getPresentation(JNIEnv* env, jclass cls, jstring eventname) -{ - (void) cls; -static TQString* _qstring_eventname = 0; - jint xret = (jint) KNotifyClient::getPresentation((const TQString&)*(TQString*) QtSupport::toTQString(env, eventname, &_qstring_eventname)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KNotifyClient_instance(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KNotifyClient::instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KNotifyClient_startDaemon(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KNotifyClient::startDaemon(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__I(JNIEnv* env, jclass cls, jint winId) -{ - (void) cls; - (void) env; - jint xret = (jint) KNotifyClient::userEvent((int) winId); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2I(JNIEnv* env, jclass cls, jint winId, jstring text, jint present) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2II(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level, jstring sound) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_sound = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level, (const TQString&)*(TQString*) QtSupport::toTQString(env, sound, &_qstring_sound)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint winId, jstring text, jint present, jint level, jstring sound, jstring file) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_sound = 0; -static TQString* _qstring_file = 0; - jint xret = (jint) KNotifyClient::userEvent((int) winId, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) present, (int) level, (const TQString&)*(TQString*) QtSupport::toTQString(env, sound, &_qstring_sound), (const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KNotifyClient.h b/kdejava/koala/kdejava/KNotifyClient.h deleted file mode 100644 index a4be95b9..00000000 --- a/kdejava/koala/kdejava/KNotifyClient.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KNotifyClient__ -#define __org_kde_koala_KNotifyClient__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KNotifyClient_startDaemon (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_event__ILjava_lang_String_2 (JNIEnv *env, jclass, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_event__IILjava_lang_String_2 (JNIEnv *env, jclass, jint, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_event__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jint, jint, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2IILjava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jint, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2II (JNIEnv *env, jclass, jint, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2I (JNIEnv *env, jclass, jint, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__ILjava_lang_String_2 (JNIEnv *env, jclass, jint, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_userEvent__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNotifyClient_beep__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNotifyClient_beep__ (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_getPresentation (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KNotifyClient_getFile (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KNotifyClient_getDefaultPresentation (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KNotifyClient_getDefaultFile (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KNotifyClient_instance (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KNotifyClient__ */ diff --git a/kdejava/koala/kdejava/KNumInput.cpp b/kdejava/koala/kdejava/KNumInput.cpp deleted file mode 100644 index b46ad3bb..00000000 --- a/kdejava/koala/kdejava/KNumInput.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNumInput_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KNumInput*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KNumInput_label(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KNumInput*) QtSupport::getQt(env, obj))->label(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KNumInput_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KNumInput*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNumInput_setLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - ((KNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNumInput_setLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint a) -{ -static TQString* _qstring_label = 0; - ((KNumInput*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KNumInput_setSteps(JNIEnv* env, jobject obj, jint minor, jint major) -{ - ((KNumInput*) QtSupport::getQt(env, obj))->setSteps((int) minor, (int) major); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KNumInput_showSlider(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KNumInput*) QtSupport::getQt(env, obj))->showSlider(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KNumInput_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KNumInput*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KNumInput_sizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((KNumInput*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KNumInput.h b/kdejava/koala/kdejava/KNumInput.h deleted file mode 100644 index 87a23830..00000000 --- a/kdejava/koala/kdejava/KNumInput.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KNumInput__ -#define __org_kde_koala_KNumInput__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KNumInput_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KNumInput_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNumInput_setLabel__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNumInput_setLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KNumInput_label (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KNumInput_showSlider (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KNumInput_setSteps (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KNumInput_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KNumInput_sizeHint (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KNumInput__ */ diff --git a/kdejava/koala/kdejava/KOCRDialog.cpp b/kdejava/koala/kdejava/KOCRDialog.cpp deleted file mode 100644 index d982ebc9..00000000 --- a/kdejava/koala/kdejava/KOCRDialog.cpp +++ /dev/null @@ -1,585 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KOCRDialogJBridge : public KOCRDialog -{ -public: - KOCRDialogJBridge(int arg1,int arg2,TQWidget* arg3,const char* arg4,bool arg5) : KOCRDialog(arg1,arg2,arg3,arg4,arg5) {}; - KOCRDialogJBridge(int arg1,int arg2,TQWidget* arg3,const char* arg4) : KOCRDialog(arg1,arg2,arg3,arg4) {}; - KOCRDialogJBridge(int arg1,int arg2,TQWidget* arg3) : KOCRDialog(arg1,arg2,arg3) {}; - KOCRDialogJBridge(int arg1,int arg2) : KOCRDialog(arg1,arg2) {}; - KOCRDialogJBridge(int arg1) : KOCRDialog(arg1) {}; - KOCRDialogJBridge() : KOCRDialog() {}; - int protected_id() { - return (int) KOCRDialog::id(); - } - int protected_nextId() { - return (int) KOCRDialog::nextId(); - } - ~KOCRDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KOCRDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOCRDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KOCRDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KOCRDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KOCRDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KOCRDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KOCRDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOCRDialog_getOCRDialog__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KOCRDialogJBridge::getOCRDialog(), "org.kde.koala.KOCRDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KOCRDialogJBridge::getOCRDialog((TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KOCRDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KOCRDialogJBridge::getOCRDialog((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KOCRDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject parent, jstring name, jboolean modal) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KOCRDialogJBridge::getOCRDialog((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal), "org.kde.koala.KOCRDialog"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KOCRDialog_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KOCRDialogJBridge*) QtSupport::getQt(env, obj))->protected_id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KOCRDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOCRDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KOCRDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_newKOCRDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_newKOCRDialog__I(JNIEnv* env, jobject obj, jint dialogFace) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge((int) dialogFace)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_newKOCRDialog__II(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge((int) dialogFace, (int) buttonMask)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge((int) dialogFace, (int) buttonMask, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge((int) dialogFace, (int) buttonMask, (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_koala_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOCRDialogJBridge((int) dialogFace, (int) buttonMask, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KOCRDialog_nextId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KOCRDialogJBridge*) QtSupport::getQt(env, obj))->protected_nextId(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KOCRDialog.h b/kdejava/koala/kdejava/KOCRDialog.h deleted file mode 100644 index 17e66024..00000000 --- a/kdejava/koala/kdejava/KOCRDialog.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KOCRDialog__ -#define __org_kde_koala_KOCRDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOCRDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KOCRDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOCRDialog_getOCRDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOCRDialog_getOCRDialog__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_newKOCRDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KOCRDialog_id (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KOCRDialog_nextId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOCRDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KOCRDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KOCRDialog__ */ diff --git a/kdejava/koala/kdejava/KOpenWithDlg.cpp b/kdejava/koala/kdejava/KOpenWithDlg.cpp deleted file mode 100644 index 894ea9b4..00000000 --- a/kdejava/koala/kdejava/KOpenWithDlg.cpp +++ /dev/null @@ -1,605 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KOpenWithDlgJBridge : public KOpenWithDlg -{ -public: - KOpenWithDlgJBridge(const KURL::List& arg1,TQWidget* arg2) : KOpenWithDlg(arg1,arg2) {}; - KOpenWithDlgJBridge(const KURL::List& arg1) : KOpenWithDlg(arg1) {}; - KOpenWithDlgJBridge(const KURL::List& arg1,const TQString& arg2,const TQString& arg3,TQWidget* arg4) : KOpenWithDlg(arg1,arg2,arg3,arg4) {}; - KOpenWithDlgJBridge(const KURL::List& arg1,const TQString& arg2,const TQString& arg3) : KOpenWithDlg(arg1,arg2,arg3) {}; - KOpenWithDlgJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : KOpenWithDlg(arg1,arg2,arg3) {}; - KOpenWithDlgJBridge(const TQString& arg1,const TQString& arg2) : KOpenWithDlg(arg1,arg2) {}; - KOpenWithDlgJBridge(TQWidget* arg1) : KOpenWithDlg(arg1) {}; - KOpenWithDlgJBridge() : KOpenWithDlg() {}; - void protected_setServiceType(const KURL::List& arg1) { - KOpenWithDlg::setServiceType(arg1); - return; - } - void protected_init(const TQString& arg1,const TQString& arg2) { - KOpenWithDlg::init(arg1,arg2); - return; - } - void protected_accept() { - KOpenWithDlg::accept(); - return; - } - ~KOpenWithDlgJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","accept")) { - KOpenWithDlg::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KOpenWithDlg","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDialog::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","reject")) { - TQDialog::reject(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KOpenWithDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_accept(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlgJBridge*) QtSupport::getQt(env, obj))->protected_accept(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KOpenWithDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KOpenWithDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KOpenWithDlg_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KOpenWithDlg*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KOpenWithDlg*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_hideNoCloseOnExit(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->hideNoCloseOnExit(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_hideRunInTerminal(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->hideRunInTerminal(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_init(JNIEnv* env, jobject obj, jstring text, jstring value) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_value = 0; - ((KOpenWithDlgJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KOpenWithDlg_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KOpenWithDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KOpenWithDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring value) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_value = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring serviceType, jstring value, jobject parent) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_value = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2(JNIEnv* env, jobject obj, jobjectArray urls) -{ -static KURL::List* _qlist_urls = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray urls, jstring text, jstring value) -{ -static KURL::List* _qlist_urls = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_value = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray urls, jstring text, jstring value, jobject parent) -{ -static KURL::List* _qlist_urls = 0; -static TQString* _qstring_text = 0; -static TQString* _qstring_value = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray urls, jobject parent) -{ -static KURL::List* _qlist_urls = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KOpenWithDlgJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_setSaveNewApplications(JNIEnv* env, jobject obj, jboolean b) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->setSaveNewApplications((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_setServiceType(JNIEnv* env, jobject obj, jobjectArray _urls) -{ -static KURL::List* _qlist__urls = 0; - ((KOpenWithDlgJBridge*) QtSupport::getQt(env, obj))->protected_setServiceType((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotClear(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotClear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotDbClick(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotDbClick(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotHighlighted(JNIEnv* env, jobject obj, jstring _name, jstring _exec) -{ -static TQString* _qstring__name = 0; -static TQString* _qstring__exec = 0; - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotHighlighted((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotOK(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotOK(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotSelected(JNIEnv* env, jobject obj, jstring _name, jstring _exec) -{ -static TQString* _qstring__name = 0; -static TQString* _qstring__exec = 0; - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotTerminalToggled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotTerminalToggled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KOpenWithDlg_slotTextChanged(JNIEnv* env, jobject obj) -{ - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotTextChanged(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KOpenWithDlg_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KOpenWithDlg*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KOpenWithDlg.h b/kdejava/koala/kdejava/KOpenWithDlg.h deleted file mode 100644 index 4ec21654..00000000 --- a/kdejava/koala/kdejava/KOpenWithDlg.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KOpenWithDlg__ -#define __org_kde_koala_KOpenWithDlg__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KOpenWithDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KOpenWithDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_newKOpenWithDlg__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KOpenWithDlg_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_hideNoCloseOnExit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_hideRunInTerminal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_setSaveNewApplications (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotClear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotSelected (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotHighlighted (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotTextChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotTerminalToggled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotDbClick (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_slotOK (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_setServiceType (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_init (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_accept (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KOpenWithDlg_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KOpenWithDlg_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KOpenWithDlg__ */ diff --git a/kdejava/koala/kdejava/KPalette.cpp b/kdejava/koala/kdejava/KPalette.cpp deleted file mode 100644 index 9c88906b..00000000 --- a/kdejava/koala/kdejava/KPalette.cpp +++ /dev/null @@ -1,217 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KPaletteJBridge : public KPalette -{ -public: - KPaletteJBridge(const TQString& arg1) : KPalette(arg1) {}; - KPaletteJBridge() : KPalette() {}; - KPaletteJBridge(const KPalette& arg1) : KPalette(arg1) {}; - ~KPaletteJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_addColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject newColor) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->addColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_addColor__Lorg_kde_qt_QColor_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject newColor, jstring newColorName) -{ -static TQString* _qstring_newColorName = 0; - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->addColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor), (const TQString&)*(TQString*) QtSupport::toTQString(env, newColorName, &_qstring_newColorName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_changeColor__ILorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jint index, jobject newColor) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->changeColor((int) index, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_changeColor__ILorg_kde_qt_QColor_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint index, jobject newColor, jstring newColorName) -{ -static TQString* _qstring_newColorName = 0; - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->changeColor((int) index, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor), (const TQString&)*(TQString*) QtSupport::toTQString(env, newColorName, &_qstring_newColorName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_changeColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject oldColor, jobject newColor) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->changeColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, oldColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_changeColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject oldColor, jobject newColor, jstring newColorName) -{ -static TQString* _qstring_newColorName = 0; - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->changeColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, oldColor), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, newColor), (const TQString&)*(TQString*) QtSupport::toTQString(env, newColorName, &_qstring_newColorName)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPalette_colorName__I(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((KPalette*) QtSupport::getQt(env, obj))->colorName((int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPalette_colorName__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject color) -{ - TQString _qstring; - _qstring = ((KPalette*) QtSupport::getQt(env, obj))->colorName((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPalette_color(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KPalette*) QtSupport::getQt(env, obj))->color((int) index)), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPalette_description(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KPalette*) QtSupport::getQt(env, obj))->description(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPalette_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_editable(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->editable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KPalette*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_findColor(JNIEnv* env, jobject obj, jobject color) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->findColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPalette_getPaletteList(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KPaletteJBridge::getPaletteList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPalette_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPalette_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KPalette*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_newKPalette__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_newKPalette__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_newKPalette__Lorg_kde_koala_KPalette_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteJBridge((const KPalette&)*(const KPalette*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPalette_nrColors(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPalette*) QtSupport::getQt(env, obj))->nrColors(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPalette_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPalette*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_setDescription(JNIEnv* env, jobject obj, jstring desc) -{ -static TQString* _qstring_desc = 0; - ((KPalette*) QtSupport::getQt(env, obj))->setDescription((const TQString&)*(TQString*) QtSupport::toTQString(env, desc, &_qstring_desc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_setEditable(JNIEnv* env, jobject obj, jint editable) -{ - ((KPalette*) QtSupport::getQt(env, obj))->setEditable((KPalette::Editable) editable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPalette_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KPalette*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - diff --git a/kdejava/koala/kdejava/KPalette.h b/kdejava/koala/kdejava/KPalette.h deleted file mode 100644 index 02c7b0a0..00000000 --- a/kdejava/koala/kdejava/KPalette.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPalette__ -#define __org_kde_koala_KPalette__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_newKPalette__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_newKPalette__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_newKPalette__Lorg_kde_koala_KPalette_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPalette_save (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPalette_description (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_setDescription (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPalette_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_editable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_setEditable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_nrColors (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPalette_color (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_findColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPalette_colorName__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPalette_colorName__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_addColor__Lorg_kde_qt_QColor_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_addColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_changeColor__ILorg_kde_qt_QColor_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_changeColor__ILorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_changeColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPalette_changeColor__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPalette_getPaletteList (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPalette_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPalette_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPalette__ */ diff --git a/kdejava/koala/kdejava/KPaletteTable.cpp b/kdejava/koala/kdejava/KPaletteTable.cpp deleted file mode 100644 index efc3e334..00000000 --- a/kdejava/koala/kdejava/KPaletteTable.cpp +++ /dev/null @@ -1,530 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KPaletteTableJBridge : public KPaletteTable -{ -public: - KPaletteTableJBridge(TQWidget* arg1,int arg2,int arg3) : KPaletteTable(arg1,arg2,arg3) {}; - KPaletteTableJBridge(TQWidget* arg1,int arg2) : KPaletteTable(arg1,arg2) {}; - KPaletteTableJBridge(TQWidget* arg1) : KPaletteTable(arg1) {}; - void protected_readNamedColor() { - KPaletteTable::readNamedColor(); - return; - } - void protected_slotColorCellSelected(int arg1) { - KPaletteTable::slotColorCellSelected(arg1); - return; - } - void protected_slotColorCellDoubleClicked(int arg1) { - KPaletteTable::slotColorCellDoubleClicked(arg1); - return; - } - void protected_slotColorTextSelected(const TQString& arg1) { - KPaletteTable::slotColorTextSelected(arg1); - return; - } - void protected_slotSetPalette(const TQString& arg1) { - KPaletteTable::slotSetPalette(arg1); - return; - } - void protected_slotShowNamedColorReadError() { - KPaletteTable::slotShowNamedColorReadError(); - return; - } - ~KPaletteTableJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KPaletteTable","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPaletteTable",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPaletteTable","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_addToCustomColors(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPaletteTable*) QtSupport::getQt(env, obj))->addToCustomColors((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_addToRecentColors(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPaletteTable*) QtSupport::getQt(env, obj))->addToRecentColors((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPaletteTable_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPaletteTable*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPaletteTable_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPaletteTable*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPaletteTable*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPaletteTable_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPaletteTable_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPaletteTable*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteTableJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint minWidth) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) minWidth)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint minWidth, jint cols) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPaletteTableJBridge((TQWidget*) QtSupport::getQt(env, parent), (int) minWidth, (int) cols)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPaletteTable_paletteName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KPaletteTable*) QtSupport::getQt(env, obj))->palette(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_readNamedColor(JNIEnv* env, jobject obj) -{ - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_readNamedColor(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_setPalette(JNIEnv* env, jobject obj, jstring paletteName) -{ -static TQString* _qstring_paletteName = 0; - ((KPaletteTable*) QtSupport::getQt(env, obj))->setPalette((const TQString&)*(TQString*) QtSupport::toTQString(env, paletteName, &_qstring_paletteName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_slotColorCellDoubleClicked(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_slotColorCellDoubleClicked((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_slotColorCellSelected(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_slotColorCellSelected((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_slotColorTextSelected(JNIEnv* env, jobject obj, jstring colorText) -{ -static TQString* _qstring_colorText = 0; - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_slotColorTextSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, colorText, &_qstring_colorText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_slotSetPalette(JNIEnv* env, jobject obj, jstring _paletteName) -{ -static TQString* _qstring__paletteName = 0; - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_slotSetPalette((const TQString&)*(TQString*) QtSupport::toTQString(env, _paletteName, &_qstring__paletteName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPaletteTable_slotShowNamedColorReadError(JNIEnv* env, jobject obj) -{ - ((KPaletteTableJBridge*) QtSupport::getQt(env, obj))->protected_slotShowNamedColorReadError(); - return; -} - diff --git a/kdejava/koala/kdejava/KPaletteTable.h b/kdejava/koala/kdejava/KPaletteTable.h deleted file mode 100644 index c6a13416..00000000 --- a/kdejava/koala/kdejava/KPaletteTable.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPaletteTable__ -#define __org_kde_koala_KPaletteTable__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPaletteTable_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPaletteTable_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_newKPaletteTable__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_addToCustomColors (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_addToRecentColors (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPaletteTable_paletteName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_setPalette (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_readNamedColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_slotColorCellSelected (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_slotColorCellDoubleClicked (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_slotColorTextSelected (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_slotSetPalette (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_slotShowNamedColorReadError (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPaletteTable_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPaletteTable_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPaletteTable__ */ diff --git a/kdejava/koala/kdejava/KPanelAppMenu.cpp b/kdejava/koala/kdejava/KPanelAppMenu.cpp deleted file mode 100644 index 3f4f86be..00000000 --- a/kdejava/koala/kdejava/KPanelAppMenu.cpp +++ /dev/null @@ -1,372 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KPanelAppMenuJBridge : public KPanelAppMenu -{ -public: - KPanelAppMenuJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : KPanelAppMenu(arg1,arg2,arg3) {}; - KPanelAppMenuJBridge(const TQString& arg1,TQObject* arg2) : KPanelAppMenu(arg1,arg2) {}; - KPanelAppMenuJBridge(const TQString& arg1) : KPanelAppMenu(arg1) {}; - KPanelAppMenuJBridge(const TQPixmap& arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : KPanelAppMenu(arg1,arg2,arg3,arg4) {}; - KPanelAppMenuJBridge(TQObject* arg1,const char* arg2) : KPanelAppMenu(arg1,arg2) {}; - void protected_init(const TQPixmap& arg1,const TQString& arg2) { - KPanelAppMenu::init(arg1,arg2); - return; - } - ~KPanelAppMenuJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPanelAppMenu",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelAppMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPanelAppMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_clear(JNIEnv* env, jobject obj) -{ - ((KPanelAppMenu*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPanelAppMenu_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KPanelAppMenu*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KPanelAppMenu*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPanelAppMenuJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) KPanelAppMenuJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_init(JNIEnv* env, jobject obj, jobject icon, jstring title) -{ -static TQString* _qstring_title = 0; - ((KPanelAppMenuJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelAppMenu_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelAppMenu_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelAppMenu_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelAppMenu_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_insertMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertMenu((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.koala.KPanelAppMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_insertMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelAppMenu*) QtSupport::getQt(env, obj))->insertMenu((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id), "org.kde.koala.KPanelAppMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelAppMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelAppMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring title, jobject parent) -{ -static TQString* _qstring_title = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jobject parent, jstring name) -{ -static TQString* _qstring_title = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Lorg_kde_qt_QObject_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 KPanelAppMenuJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring title, jobject parent, jstring name) -{ -static TQString* _qstring_title = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppMenuJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelAppMenu_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelAppMenu_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = KPanelAppMenuJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray reply) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_reply = 0; - jboolean xret = (jboolean) ((KPanelAppMenu*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, reply, &_qbyteArray_reply)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelAppMenu_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelAppMenu_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KPanelAppMenu*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPanelAppMenu.h b/kdejava/koala/kdejava/KPanelAppMenu.h deleted file mode 100644 index 335c39ac..00000000 --- a/kdejava/koala/kdejava/KPanelAppMenu.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPanelAppMenu__ -#define __org_kde_koala_KPanelAppMenu__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelAppMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_newKPanelAppMenu__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelAppMenu_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelAppMenu_insertItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelAppMenu_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelAppMenu_insertItem__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_insertMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_insertMenu__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_clear (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_init (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelAppMenu_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelAppMenu_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelAppMenu_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelAppMenu_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelAppMenu_objectName (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPanelAppMenu__ */ diff --git a/kdejava/koala/kdejava/KPanelApplet.cpp b/kdejava/koala/kdejava/KPanelApplet.cpp deleted file mode 100644 index 4846aa11..00000000 --- a/kdejava/koala/kdejava/KPanelApplet.cpp +++ /dev/null @@ -1,732 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KPanelAppletJBridge : public KPanelApplet -{ -public: - KPanelAppletJBridge(const TQString& arg1,KPanelApplet::Type arg2,int arg3,TQWidget* arg4,const char* arg5,TQt::WFlags arg6) : KPanelApplet(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KPanelAppletJBridge(const TQString& arg1,KPanelApplet::Type arg2,int arg3,TQWidget* arg4,const char* arg5) : KPanelApplet(arg1,arg2,arg3,arg4,arg5) {}; - KPanelAppletJBridge(const TQString& arg1,KPanelApplet::Type arg2,int arg3,TQWidget* arg4) : KPanelApplet(arg1,arg2,arg3,arg4) {}; - KPanelAppletJBridge(const TQString& arg1,KPanelApplet::Type arg2,int arg3) : KPanelApplet(arg1,arg2,arg3) {}; - KPanelAppletJBridge(const TQString& arg1,KPanelApplet::Type arg2) : KPanelApplet(arg1,arg2) {}; - KPanelAppletJBridge(const TQString& arg1) : KPanelApplet(arg1) {}; - void protected_about() { - KPanelApplet::about(); - return; - } - void protected_help() { - KPanelApplet::help(); - return; - } - void protected_preferences() { - KPanelApplet::preferences(); - return; - } - void protected_reportBug() { - KPanelApplet::reportBug(); - return; - } - TQt::Orientation protected_orientation() { - return (TQt::Orientation) KPanelApplet::orientation(); - } - KPanelApplet::Position protected_position() { - return (KPanelApplet::Position) KPanelApplet::position(); - } - KPanelApplet::Alignment protected_alignment() { - return (KPanelApplet::Alignment) KPanelApplet::alignment(); - } - void protected_positionChange(KPanelApplet::Position arg1) { - KPanelApplet::positionChange(arg1); - return; - } - void protected_alignmentChange(KPanelApplet::Alignment arg1) { - KPanelApplet::alignmentChange(arg1); - return; - } - void protected_setCustomMenu(const TQPopupMenu* arg1) { - KPanelApplet::setCustomMenu(arg1); - return; - } - void protected_watchForFocus(TQWidget* arg1,bool arg2) { - KPanelApplet::watchForFocus(arg1,arg2); - return; - } - void protected_watchForFocus(TQWidget* arg1) { - KPanelApplet::watchForFocus(arg1); - return; - } - void protected_needsFocus(bool arg1) { - KPanelApplet::needsFocus(arg1); - return; - } - KPanelApplet::Direction protected_popupDirection() { - return (KPanelApplet::Direction) KPanelApplet::popupDirection(); - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KPanelApplet::eventFilter(arg1,arg2); - } - ~KPanelAppletJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void reportBug() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","reportBug")) { - KPanelApplet::reportBug(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void about() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","about")) { - KPanelApplet::about(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KPanelApplet","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void preferences() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","preferences")) { - KPanelApplet::preferences(); - } - 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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KPanelApplet","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void help() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","help")) { - KPanelApplet::help(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelApplet","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_about(JNIEnv* env, jobject obj) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_about(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_action(JNIEnv* env, jobject obj, jint a) -{ - ((KPanelApplet*) QtSupport::getQt(env, obj))->action((KPanelApplet::Action) a); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_actions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelApplet*) QtSupport::getQt(env, obj))->actions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_alignmentChange(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_alignmentChange((KPanelApplet::Alignment) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_alignment(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelApplet_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPanelApplet*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelApplet_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelApplet*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelApplet_customMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelApplet*) QtSupport::getQt(env, obj))->customMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPanelApplet_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelApplet_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPanelApplet*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPanelApplet*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_heightForWidth(JNIEnv* env, jobject obj, jint width) -{ - jint xret = (jint) ((KPanelApplet*) QtSupport::getQt(env, obj))->heightForWidth((int) width); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_help(JNIEnv* env, jobject obj) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_help(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelApplet_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelApplet_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelApplet*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_needsFocus(JNIEnv* env, jobject obj, jboolean focus) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_needsFocus((bool) focus); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring configFile) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring configFile, jint t) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelApplet::Type) t)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelApplet::Type) t, (int) actions)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions, jobject parent) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelApplet::Type) t, (int) actions, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions, jobject parent, jstring name) -{ -static TQString* _qstring_configFile = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelApplet::Type) t, (int) actions, (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_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions, jobject parent, jstring name, jint f) -{ -static TQString* _qstring_configFile = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelAppletJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelApplet::Type) t, (int) actions, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_orientation(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_popupDirection(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_popupDirection(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_positionChange(JNIEnv* env, jobject obj, jint p) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_positionChange((KPanelApplet::Position) p); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_position(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_position(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_preferences(JNIEnv* env, jobject obj) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_preferences(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_reportBug(JNIEnv* env, jobject obj) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_reportBug(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_setAlignment(JNIEnv* env, jobject obj, jint a) -{ - ((KPanelApplet*) QtSupport::getQt(env, obj))->setAlignment((KPanelApplet::Alignment) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_setCustomMenu(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_setCustomMenu((const TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_setPosition(JNIEnv* env, jobject obj, jint p) -{ - ((KPanelApplet*) QtSupport::getQt(env, obj))->setPosition((KPanelApplet::Position) p); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelApplet*) QtSupport::getQt(env, obj))->type(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_watchForFocus__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_watchForFocus((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelApplet_watchForFocus__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject widget, jboolean watch) -{ - ((KPanelAppletJBridge*) QtSupport::getQt(env, obj))->protected_watchForFocus((TQWidget*) QtSupport::getQt(env, widget), (bool) watch); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelApplet_widthForHeight(JNIEnv* env, jobject obj, jint height) -{ - jint xret = (jint) ((KPanelApplet*) QtSupport::getQt(env, obj))->widthForHeight((int) height); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPanelApplet.h b/kdejava/koala/kdejava/KPanelApplet.h deleted file mode 100644 index 530fb639..00000000 --- a/kdejava/koala/kdejava/KPanelApplet.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPanelApplet__ -#define __org_kde_koala_KPanelApplet__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelApplet_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelApplet_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_newKPanelApplet__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_widthForHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_heightForWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelApplet_config (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_type (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_actions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_action (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelApplet_customMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_setPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_about (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_help (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_preferences (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_reportBug (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_position (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_alignment (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_positionChange (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_alignmentChange (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_setCustomMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_watchForFocus__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_watchForFocus__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_needsFocus (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelApplet_popupDirection (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelApplet_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelApplet_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelApplet_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPanelApplet__ */ diff --git a/kdejava/koala/kdejava/KPanelExtension.cpp b/kdejava/koala/kdejava/KPanelExtension.cpp deleted file mode 100644 index e824de3c..00000000 --- a/kdejava/koala/kdejava/KPanelExtension.cpp +++ /dev/null @@ -1,722 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KPanelExtensionJBridge : public KPanelExtension -{ -public: - KPanelExtensionJBridge(const TQString& arg1,KPanelExtension::Type arg2,int arg3,TQWidget* arg4,const char* arg5) : KPanelExtension(arg1,arg2,arg3,arg4,arg5) {}; - KPanelExtensionJBridge(const TQString& arg1,KPanelExtension::Type arg2,int arg3,TQWidget* arg4) : KPanelExtension(arg1,arg2,arg3,arg4) {}; - KPanelExtensionJBridge(const TQString& arg1,KPanelExtension::Type arg2,int arg3) : KPanelExtension(arg1,arg2,arg3) {}; - KPanelExtensionJBridge(const TQString& arg1,KPanelExtension::Type arg2) : KPanelExtension(arg1,arg2) {}; - KPanelExtensionJBridge(const TQString& arg1) : KPanelExtension(arg1) {}; - void protected_about() { - KPanelExtension::about(); - return; - } - void protected_help() { - KPanelExtension::help(); - return; - } - void protected_preferences() { - KPanelExtension::preferences(); - return; - } - void protected_reportBug() { - KPanelExtension::reportBug(); - return; - } - KPanelExtension::Position protected_position() { - return (KPanelExtension::Position) KPanelExtension::position(); - } - KPanelExtension::Alignment protected_alignment() { - return (KPanelExtension::Alignment) KPanelExtension::alignment(); - } - TQt::Orientation protected_orientation() { - return (TQt::Orientation) KPanelExtension::orientation(); - } - int protected_sizeInPixels() { - return (int) KPanelExtension::sizeInPixels(); - } - void protected_positionChange(KPanelExtension::Position arg1) { - KPanelExtension::positionChange(arg1); - return; - } - void protected_alignmentChange(KPanelExtension::Alignment arg1) { - KPanelExtension::alignmentChange(arg1); - return; - } - void protected_setCustomMenu(TQPopupMenu* arg1) { - KPanelExtension::setCustomMenu(arg1); - return; - } - void protected_setReserveStrut(bool arg1) { - KPanelExtension::setReserveStrut(arg1); - return; - } - ~KPanelExtensionJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void reportBug() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","reportBug")) { - KPanelExtension::reportBug(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void about() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","about")) { - KPanelExtension::about(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KPanelExtension","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void preferences() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","preferences")) { - KPanelExtension::preferences(); - } - 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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KPanelExtension","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPanelExtension",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void help() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","help")) { - KPanelExtension::help(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPanelExtension","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_about(JNIEnv* env, jobject obj) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_about(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_action(JNIEnv* env, jobject obj, jint a) -{ - ((KPanelExtension*) QtSupport::getQt(env, obj))->action((KPanelExtension::Action) a); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_actions(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtension*) QtSupport::getQt(env, obj))->actions(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_alignmentChange(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_alignmentChange((KPanelExtension::Alignment) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_alignment(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_alignment(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelExtension_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPanelExtension*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelExtension_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelExtension*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelExtension_customMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelExtension*) QtSupport::getQt(env, obj))->customMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_customSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtension*) QtSupport::getQt(env, obj))->customSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPanelExtension_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPanelExtension*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPanelExtension*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_help(JNIEnv* env, jobject obj) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_help(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelExtension_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelExtension_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelExtension*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring configFile) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelExtensionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring configFile, jint t) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelExtensionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelExtension::Type) t)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelExtensionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelExtension::Type) t, (int) actions)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions, jobject parent) -{ -static TQString* _qstring_configFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelExtensionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelExtension::Type) t, (int) actions, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring configFile, jint t, jint actions, jobject parent, jstring name) -{ -static TQString* _qstring_configFile = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPanelExtensionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, configFile, &_qstring_configFile), (KPanelExtension::Type) t, (int) actions, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_positionChange(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_positionChange((KPanelExtension::Position) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_position(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_position(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_preferedPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtension*) QtSupport::getQt(env, obj))->preferedPosition(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_preferences(JNIEnv* env, jobject obj) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_preferences(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_reportBug(JNIEnv* env, jobject obj) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_reportBug(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelExtension_reserveStrut(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPanelExtension*) QtSupport::getQt(env, obj))->reserveStrut(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_setAlignment(JNIEnv* env, jobject obj, jint a) -{ - ((KPanelExtension*) QtSupport::getQt(env, obj))->setAlignment((KPanelExtension::Alignment) a); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_setCustomMenu(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_setCustomMenu((TQPopupMenu*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_setPosition(JNIEnv* env, jobject obj, jint p) -{ - ((KPanelExtension*) QtSupport::getQt(env, obj))->setPosition((KPanelExtension::Position) p); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_setReserveStrut(JNIEnv* env, jobject obj, jboolean shouldUseStrut) -{ - ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_setReserveStrut((bool) shouldUseStrut); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelExtension_setSize(JNIEnv* env, jobject obj, jint size, jint customSize) -{ - ((KPanelExtension*) QtSupport::getQt(env, obj))->setSize((KPanelExtension::Size) size, (int) customSize); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelExtension_sizeHint(JNIEnv* env, jobject obj, jint arg1, jobject maxsize) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KPanelExtension*) QtSupport::getQt(env, obj))->sizeHint((KPanelExtension::Position) arg1, (TQSize)*(TQSize*) QtSupport::getQt(env, maxsize))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_sizeInPixels(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtensionJBridge*) QtSupport::getQt(env, obj))->protected_sizeInPixels(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_sizeSetting(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtension*) QtSupport::getQt(env, obj))->sizeSetting(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPanelExtension_type(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPanelExtension*) QtSupport::getQt(env, obj))->type(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPanelExtension.h b/kdejava/koala/kdejava/KPanelExtension.h deleted file mode 100644 index f9c398bf..00000000 --- a/kdejava/koala/kdejava/KPanelExtension.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPanelExtension__ -#define __org_kde_koala_KPanelExtension__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelExtension_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelExtension_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_newKPanelExtension__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelExtension_sizeHint (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelExtension_config (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_type (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_actions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_action (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_preferedPosition (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_setPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_setSize (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_sizeSetting (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_customSize (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelExtension_customMenu (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelExtension_reserveStrut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_about (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_help (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_preferences (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_reportBug (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_position (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_alignment (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPanelExtension_sizeInPixels (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_positionChange (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_alignmentChange (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_setCustomMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_setReserveStrut (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelExtension_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelExtension_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPanelExtension__ */ diff --git a/kdejava/koala/kdejava/KPanelMenu.cpp b/kdejava/koala/kdejava/KPanelMenu.cpp deleted file mode 100644 index cc2e2958..00000000 --- a/kdejava/koala/kdejava/KPanelMenu.cpp +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPanelMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelMenu_deinitialize(JNIEnv* env, jobject obj) -{ - ((KPanelMenu*) QtSupport::getQt(env, obj))->deinitialize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelMenu_disableAutoClear(JNIEnv* env, jobject obj) -{ - ((KPanelMenu*) QtSupport::getQt(env, obj))->disableAutoClear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPanelMenu_initialized(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPanelMenu*) QtSupport::getQt(env, obj))->initialized(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPanelMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPanelMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPanelMenu_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KPanelMenu*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelMenu_reinitialize(JNIEnv* env, jobject obj) -{ - ((KPanelMenu*) QtSupport::getQt(env, obj))->reinitialize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelMenu_setInitialized(JNIEnv* env, jobject obj, jboolean on) -{ - ((KPanelMenu*) QtSupport::getQt(env, obj))->setInitialized((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPanelMenu_setPath(JNIEnv* env, jobject obj, jstring p) -{ -static TQString* _qstring_p = 0; - ((KPanelMenu*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p)); - return; -} - diff --git a/kdejava/koala/kdejava/KPanelMenu.h b/kdejava/koala/kdejava/KPanelMenu.h deleted file mode 100644 index 71f11c24..00000000 --- a/kdejava/koala/kdejava/KPanelMenu.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPanelMenu__ -#define __org_kde_koala_KPanelMenu__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPanelMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPanelMenu_path (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelMenu_setPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPanelMenu_initialized (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelMenu_setInitialized (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelMenu_disableAutoClear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelMenu_reinitialize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPanelMenu_deinitialize (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPanelMenu__ */ diff --git a/kdejava/koala/kdejava/KPassivePopup.cpp b/kdejava/koala/kdejava/KPassivePopup.cpp deleted file mode 100644 index e817e89a..00000000 --- a/kdejava/koala/kdejava/KPassivePopup.cpp +++ /dev/null @@ -1,971 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KPassivePopupJBridge : public KPassivePopup -{ -public: - KPassivePopupJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KPassivePopup(arg1,arg2,arg3) {}; - KPassivePopupJBridge(TQWidget* arg1,const char* arg2) : KPassivePopup(arg1,arg2) {}; - KPassivePopupJBridge(TQWidget* arg1) : KPassivePopup(arg1) {}; - KPassivePopupJBridge() : KPassivePopup() {}; - KPassivePopupJBridge(WId arg1,const char* arg2,TQt::WFlags arg3) : KPassivePopup(arg1,arg2,arg3) {}; - KPassivePopupJBridge(WId arg1,const char* arg2) : KPassivePopup(arg1,arg2) {}; - KPassivePopupJBridge(WId arg1) : KPassivePopup(arg1) {}; - KPassivePopupJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KPassivePopup(arg1,arg2,arg3,arg4) {}; - KPassivePopupJBridge(int arg1,TQWidget* arg2,const char* arg3) : KPassivePopup(arg1,arg2,arg3) {}; - KPassivePopupJBridge(int arg1,TQWidget* arg2) : KPassivePopup(arg1,arg2) {}; - KPassivePopupJBridge(int arg1) : KPassivePopup(arg1) {}; - KPassivePopupJBridge(int arg1,WId arg2,const char* arg3,TQt::WFlags arg4) : KPassivePopup(arg1,arg2,arg3,arg4) {}; - KPassivePopupJBridge(int arg1,WId arg2,const char* arg3) : KPassivePopup(arg1,arg2,arg3) {}; - KPassivePopupJBridge(int arg1,WId arg2) : KPassivePopup(arg1,arg2) {}; - void public_show() { - KPassivePopup::show(); - return; - } - void protected_positionSelf() { - KPassivePopup::positionSelf(); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - KPassivePopup::hideEvent(arg1); - return; - } - void protected_moveNear(TQRect arg1) { - KPassivePopup::moveNear(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KPassivePopup::mouseReleaseEvent(arg1); - return; - } - TQRect protected_defaultArea() { - return (TQRect) KPassivePopup::defaultArea(); - } - void protected_updateMask() { - KPassivePopup::updateMask(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KPassivePopup::paintEvent(arg1); - return; - } - ~KPassivePopupJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void positionSelf() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","positionSelf")) { - KPassivePopup::positionSelf(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KPassivePopup","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KPassivePopup::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KPassivePopup::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.koala.KPassivePopup","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KPassivePopup::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPassivePopup",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPassivePopup","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPassivePopup_autoDelete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPassivePopup*) QtSupport::getQt(env, obj))->autoDelete(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPassivePopup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPassivePopup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_defaultArea(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_defaultArea()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPassivePopup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPassivePopup*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPassivePopup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPassivePopup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2J(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jlong parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jlong parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2I(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jlong parent, jstring name, jint timeout) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) timeout), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject icon, jobject parent, jstring name, jint timeout) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) timeout), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint popupStyle, jstring caption, jstring text, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint popupStyle, jstring text, jobject parent) -{ - (void) cls; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint popupStyle, jstring text, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((int) popupStyle, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2J(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jlong parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jlong parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2I(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jlong parent, jstring name, jint timeout) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) timeout), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject icon, jobject parent, jstring name, jint timeout) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) timeout), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject parent) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring caption, jstring text, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring text, jobject parent) -{ - (void) cls; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPassivePopupJBridge::message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPassivePopup"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPassivePopup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_moveNear(JNIEnv* env, jobject obj, jobject target) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_moveNear((TQRect)*(TQRect*) QtSupport::getQt(env, target)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__I(JNIEnv* env, jobject obj, jint popupStyle) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__IJ(JNIEnv* env, jobject obj, jint popupStyle, jlong parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (WId) parent)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__IJLjava_lang_String_2(JNIEnv* env, jobject obj, jint popupStyle, jlong parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__IJLjava_lang_String_2I(JNIEnv* env, jobject obj, jint popupStyle, jlong parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint popupStyle, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint popupStyle, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (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_koala_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint popupStyle, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((int) popupStyle, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__J(JNIEnv* env, jobject obj, jlong parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((WId) parent)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__JLjava_lang_String_2(JNIEnv* env, jobject obj, jlong parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__JLjava_lang_String_2I(JNIEnv* env, jobject obj, jlong parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((WId) parent, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_newKPassivePopup__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 KPassivePopupJBridge((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_koala_KPassivePopup_newKPassivePopup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPassivePopupJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_paintEvent(JNIEnv* env, jobject obj, jobject pe) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, pe)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_positionSelf(JNIEnv* env, jobject obj) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_positionSelf(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setAnchor(JNIEnv* env, jobject obj, jobject anchor) -{ - ((KPassivePopup*) QtSupport::getQt(env, obj))->setAnchor((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, anchor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setAutoDelete(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((KPassivePopup*) QtSupport::getQt(env, obj))->setAutoDelete((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setTimeout(JNIEnv* env, jobject obj, jint delay) -{ - ((KPassivePopup*) QtSupport::getQt(env, obj))->setTimeout((int) delay); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KPassivePopup*) QtSupport::getQt(env, obj))->setView((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption, jstring text) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - ((KPassivePopup*) QtSupport::getQt(env, obj))->setView((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring caption, jstring text, jobject icon) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - ((KPassivePopup*) QtSupport::getQt(env, obj))->setView((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_setView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject child) -{ - ((KPassivePopup*) QtSupport::getQt(env, obj))->setView((TQWidget*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_show__(JNIEnv* env, jobject obj) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_show__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) -{ - ((KPassivePopup*) QtSupport::getQt(env, obj))->show((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_standardView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring caption, jstring text, jobject icon) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPassivePopup*) QtSupport::getQt(env, obj))->standardView((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_standardView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring caption, jstring text, jobject icon, jobject parent) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPassivePopup*) QtSupport::getQt(env, obj))->standardView((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.qt.TQVBox"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPassivePopup_timeout(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPassivePopup*) QtSupport::getQt(env, obj))->timeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPassivePopup_updateMask(JNIEnv* env, jobject obj) -{ - ((KPassivePopupJBridge*) QtSupport::getQt(env, obj))->protected_updateMask(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPassivePopup_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPassivePopup*) QtSupport::getQt(env, obj))->view(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPassivePopup.h b/kdejava/koala/kdejava/KPassivePopup.h deleted file mode 100644 index 7634fe05..00000000 --- a/kdejava/koala/kdejava/KPassivePopup.h +++ /dev/null @@ -1,78 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPassivePopup__ -#define __org_kde_koala_KPassivePopup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPassivePopup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__JLjava_lang_String_2I (JNIEnv *env, jobject, jlong, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__JLjava_lang_String_2 (JNIEnv *env, jobject, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__IJLjava_lang_String_2I (JNIEnv *env, jobject, jint, jlong, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__IJLjava_lang_String_2 (JNIEnv *env, jobject, jint, jlong, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_newKPassivePopup__IJ (JNIEnv *env, jobject, jint, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_standardView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_standardView__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_view (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPassivePopup_timeout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPassivePopup_autoDelete (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setAnchor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_setTimeout (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_show__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_show__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jobject, jlong, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jlong, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2J (JNIEnv *env, jclass, jstring, jstring, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jstring, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2I (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jlong, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2JLjava_lang_String_2 (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jlong, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_message__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2J (JNIEnv *env, jclass, jint, jstring, jstring, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_positionSelf (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_moveNear (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPassivePopup_defaultArea (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_updateMask (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPassivePopup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPassivePopup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPassivePopup__ */ diff --git a/kdejava/koala/kdejava/KPasswordDialog.cpp b/kdejava/koala/kdejava/KPasswordDialog.cpp deleted file mode 100644 index bbc33315..00000000 --- a/kdejava/koala/kdejava/KPasswordDialog.cpp +++ /dev/null @@ -1,737 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KPasswordDialogJBridge : public KPasswordDialog -{ -public: - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3,TQWidget* arg4,const char* arg5) : KPasswordDialog(arg1,arg2,arg3,arg4,arg5) {}; - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3,TQWidget* arg4) : KPasswordDialog(arg1,arg2,arg3,arg4) {}; - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3) : KPasswordDialog(arg1,arg2,arg3) {}; - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3,const TQString& arg4,TQWidget* arg5,const char* arg6) : KPasswordDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3,const TQString& arg4,TQWidget* arg5) : KPasswordDialog(arg1,arg2,arg3,arg4,arg5) {}; - KPasswordDialogJBridge(KPasswordDialog::Types arg1,bool arg2,int arg3,const TQString& arg4) : KPasswordDialog(arg1,arg2,arg3,arg4) {}; - bool protected_checkPassword(const char* arg1) { - return (bool) KPasswordDialog::checkPassword(arg1); - } - void protected_slotOk() { - KPasswordDialog::slotOk(); - return; - } - void protected_slotCancel() { - KPasswordDialog::slotCancel(); - return; - } - void protected_slotKeep(bool arg1) { - KPasswordDialog::slotKeep(arg1); - return; - } - ~KPasswordDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KPasswordDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotClose")) { - KDialogBase::slotClose(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_addLine(JNIEnv* env, jobject obj, jstring key, jstring value) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_value = 0; - ((KPasswordDialog*) QtSupport::getQt(env, obj))->addLine((TQString)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (TQString)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordDialog_allowEmptyPasswords(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPasswordDialog*) QtSupport::getQt(env, obj))->allowEmptyPasswords(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordDialog_checkPassword(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((KPasswordDialogJBridge*) QtSupport::getQt(env, obj))->protected_checkPassword((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPasswordDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPasswordDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_clearPassword(JNIEnv* env, jobject obj) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->clearPassword(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_disableCoreDumps(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KPasswordDialogJBridge::disableCoreDumps(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPasswordDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPasswordDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPasswordDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_getNewPassword(JNIEnv* env, jclass cls, jobject password, jstring prompt) -{ - (void) cls; -static TQCString* _qcstring_password = 0; - if (_qcstring_password == 0) { - _qcstring_password = new TQCString(); - } -static TQString* _qstring_prompt = 0; - jint xret = (jint) KPasswordDialogJBridge::getNewPassword((TQCString&)*(TQCString*) _qcstring_password, (TQString)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_password, password); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_getPassword__Ljava_lang_StringBuffer_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject password, jstring prompt) -{ - (void) cls; -static TQCString* _qcstring_password = 0; - if (_qcstring_password == 0) { - _qcstring_password = new TQCString(); - } -static TQString* _qstring_prompt = 0; - jint xret = (jint) KPasswordDialogJBridge::getPassword((TQCString&)*(TQCString*) _qcstring_password, (TQString)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_password, password); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_getPassword__Ljava_lang_StringBuffer_2Ljava_lang_String_2_3I(JNIEnv* env, jclass cls, jobject password, jstring prompt, jintArray keep) -{ - (void) cls; -static TQCString* _qcstring_password = 0; - if (_qcstring_password == 0) { - _qcstring_password = new TQCString(); - } -static TQString* _qstring_prompt = 0; - int* _int_keep = QtSupport::toIntPtr(env, keep); - jint xret = (jint) KPasswordDialogJBridge::getPassword((TQCString&)*(TQCString*) _qcstring_password, (TQString)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (int*) _int_keep); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_password, password); - env->SetIntArrayRegion(keep, 0, 1, (jint *) _int_keep); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordDialog_keep(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPasswordDialog*) QtSupport::getQt(env, obj))->keep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_maximumPasswordLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPasswordDialog*) QtSupport::getQt(env, obj))->maximumPasswordLength(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPasswordDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPasswordDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_minimumPasswordLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPasswordDialog*) QtSupport::getQt(env, obj))->minimumPasswordLength(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZI(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn, jstring iconName) -{ -static TQString* _qstring_iconName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn, (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn, jstring iconName, jobject parent) -{ -static TQString* _qstring_iconName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn, (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn, jstring iconName, jobject parent, jstring name) -{ -static TQString* _qstring_iconName = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn, (const TQString&)*(TQString*) QtSupport::toTQString(env, iconName, &_qstring_iconName), (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_koala_KPasswordDialog_newKPasswordDialog__IZILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint type, jboolean enableKeep, jint extraBttn, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordDialogJBridge((KPasswordDialog::Types) type, (bool) enableKeep, (int) extraBttn, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_passwordStrengthWarningLevel(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPasswordDialog*) QtSupport::getQt(env, obj))->passwordStrengthWarningLevel(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPasswordDialog_password(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPasswordDialog*) QtSupport::getQt(env, obj))->password(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPasswordDialog_prompt(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KPasswordDialog*) QtSupport::getQt(env, obj))->prompt(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordDialog_reasonablePasswordLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPasswordDialog*) QtSupport::getQt(env, obj))->reasonablePasswordLength(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setAllowEmptyPasswords(JNIEnv* env, jobject obj, jboolean allowed) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setAllowEmptyPasswords((bool) allowed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setMaximumPasswordLength(JNIEnv* env, jobject obj, jint maxLength) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setMaximumPasswordLength((int) maxLength); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setMinimumPasswordLength(JNIEnv* env, jobject obj, jint minLength) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setMinimumPasswordLength((int) minLength); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setPasswordStrengthWarningLevel(JNIEnv* env, jobject obj, jint warningLevel) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setPasswordStrengthWarningLevel((int) warningLevel); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setPrompt(JNIEnv* env, jobject obj, jstring prompt) -{ -static TQString* _qstring_prompt = 0; - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setPrompt((TQString)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_setReasonablePasswordLength(JNIEnv* env, jobject obj, jint reasonableLength) -{ - ((KPasswordDialog*) QtSupport::getQt(env, obj))->setReasonablePasswordLength((int) reasonableLength); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_slotCancel(JNIEnv* env, jobject obj) -{ - ((KPasswordDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_slotKeep(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KPasswordDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotKeep((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((KPasswordDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - diff --git a/kdejava/koala/kdejava/KPasswordDialog.h b/kdejava/koala/kdejava/KPasswordDialog.h deleted file mode 100644 index 3438cdb3..00000000 --- a/kdejava/koala/kdejava/KPasswordDialog.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPasswordDialog__ -#define __org_kde_koala_KPasswordDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPasswordDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPasswordDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jboolean, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZI (JNIEnv *env, jobject, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jint, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jboolean, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_newKPasswordDialog__IZILjava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setPrompt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPasswordDialog_prompt (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_addLine (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setAllowEmptyPasswords (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordDialog_allowEmptyPasswords (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setMinimumPasswordLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_minimumPasswordLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setMaximumPasswordLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_maximumPasswordLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setReasonablePasswordLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_reasonablePasswordLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_setPasswordStrengthWarningLevel (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_passwordStrengthWarningLevel (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPasswordDialog_password (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_clearPassword (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordDialog_keep (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_getPassword__Ljava_lang_StringBuffer_2Ljava_lang_String_2_3I (JNIEnv *env, jclass, jobject, jstring, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_getPassword__Ljava_lang_StringBuffer_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordDialog_getNewPassword (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_disableCoreDumps (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordDialog_checkPassword (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_slotKeep (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPasswordDialog__ */ diff --git a/kdejava/koala/kdejava/KPasswordEdit.cpp b/kdejava/koala/kdejava/KPasswordEdit.cpp deleted file mode 100644 index 07412f19..00000000 --- a/kdejava/koala/kdejava/KPasswordEdit.cpp +++ /dev/null @@ -1,598 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KPasswordEditJBridge : public KPasswordEdit -{ -public: - KPasswordEditJBridge(TQWidget* arg1,const char* arg2) : KPasswordEdit(arg1,arg2) {}; - KPasswordEditJBridge(TQWidget* arg1) : KPasswordEdit(arg1) {}; - KPasswordEditJBridge() : KPasswordEdit() {}; - KPasswordEditJBridge(TQLineEdit::EchoMode arg1,TQWidget* arg2,const char* arg3) : KPasswordEdit(arg1,arg2,arg3) {}; - void protected_keyPressEvent(TQKeyEvent* arg1) { - KPasswordEdit::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - KPasswordEdit::focusInEvent(arg1); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) KPasswordEdit::event(arg1); - } - ~KPasswordEditJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQLineEdit::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQLineEdit::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQLineEdit::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")) { - TQLineEdit::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","selectAll")) { - TQLineEdit::selectAll(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQLineEdit::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","undo")) { - TQLineEdit::undo(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQLineEdit::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQLineEdit::dragMoveEvent(arg1); - } - 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.koala.KPasswordEdit","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 setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQLineEdit::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void deselect() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","deselect")) { - TQLineEdit::deselect(); - } - 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")) { - TQLineEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","cut")) { - TQLineEdit::cut(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","clear")) { - TQLineEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KPasswordEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KPasswordEdit::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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.koala.KPasswordEdit","copy")) { - TQLineEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQLineEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void clearValidator() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","clearValidator")) { - TQLineEdit::clearValidator(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::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")) { - TQLineEdit::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::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")) { - KPasswordEdit::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQLineEdit::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPasswordEdit",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","paste")) { - TQLineEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","redo")) { - TQLineEdit::redo(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPasswordEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPasswordEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPasswordEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPasswordEdit_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_erase(JNIEnv* env, jobject obj) -{ - ((KPasswordEdit*) QtSupport::getQt(env, obj))->erase(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordEdit_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KPasswordEditJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPasswordEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPasswordEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_focusInEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KPasswordEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_insert(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KPasswordEdit*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPasswordEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPasswordEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPasswordEdit_maxPasswordLength(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPasswordEdit*) QtSupport::getQt(env, obj))->maxPasswordLength(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPasswordEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPasswordEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint echoMode, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordEditJBridge((TQLineEdit::EchoMode) echoMode, (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_koala_KPasswordEdit_newKPasswordEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPasswordEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__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 KPasswordEditJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPasswordEdit_password(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPasswordEdit*) QtSupport::getQt(env, obj))->password(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPasswordEdit_setMaxPasswordLength(JNIEnv* env, jobject obj, jint newLength) -{ - ((KPasswordEdit*) QtSupport::getQt(env, obj))->setMaxPasswordLength((int) newLength); - return; -} - diff --git a/kdejava/koala/kdejava/KPasswordEdit.h b/kdejava/koala/kdejava/KPasswordEdit.h deleted file mode 100644 index 531963a1..00000000 --- a/kdejava/koala/kdejava/KPasswordEdit.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPasswordEdit__ -#define __org_kde_koala_KPasswordEdit__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPasswordEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPasswordEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_newKPasswordEdit__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPasswordEdit_password (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_erase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_setMaxPasswordLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPasswordEdit_maxPasswordLength (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_insert (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordEdit_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPasswordEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPasswordEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPasswordEdit__ */ diff --git a/kdejava/koala/kdejava/KPixmap.cpp b/kdejava/koala/kdejava/KPixmap.cpp deleted file mode 100644 index 2270759f..00000000 --- a/kdejava/koala/kdejava/KPixmap.cpp +++ /dev/null @@ -1,108 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KPixmapJBridge : public KPixmap -{ -public: - KPixmapJBridge() : KPixmap() {}; - KPixmapJBridge(const TQPixmap& arg1) : KPixmap(arg1) {}; - ~KPixmapJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_checkColorTable(JNIEnv* env, jobject obj, jobject image) -{ - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->checkColorTable((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_convertFromImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject img) -{ - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, img)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_convertFromImage__Lorg_kde_qt_QImage_2I(JNIEnv* env, jobject obj, jobject img, jint conversion_flags) -{ - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->convertFromImage((const TQImage&)*(const TQImage*) QtSupport::getQt(env, img), (int) conversion_flags); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmap_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPixmap_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmap_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KPixmap*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint conversion_flags) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_format = 0; - jboolean xret = (jboolean) ((KPixmap*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) conversion_flags); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmap_newKPixmap__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPixmapJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmap_newKPixmap__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pix) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPixmapJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KPixmap.h b/kdejava/koala/kdejava/KPixmap.h deleted file mode 100644 index 0d27a015..00000000 --- a/kdejava/koala/kdejava/KPixmap.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPixmap__ -#define __org_kde_koala_KPixmap__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmap_newKPixmap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmap_newKPixmap__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_convertFromImage__Lorg_kde_qt_QImage_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_convertFromImage__Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_load__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_checkColorTable (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmap_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmap_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmap_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPixmap__ */ diff --git a/kdejava/koala/kdejava/KPixmapEffect.cpp b/kdejava/koala/kdejava/KPixmapEffect.cpp deleted file mode 100644 index 717633b2..00000000 --- a/kdejava/koala/kdejava/KPixmapEffect.cpp +++ /dev/null @@ -1,258 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KPixmapEffectJBridge : public KPixmapEffect -{ -public: - KPixmapEffectJBridge() : KPixmapEffect() {}; - ~KPixmapEffectJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jfloat initial_intensity, jobject bgnd, jint eff) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::blend((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2IZ(JNIEnv* env, jclass cls, jobject pixmap, jfloat initial_intensity, jobject bgnd, jint eff, jboolean anti_dir) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::blend((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff, (bool) anti_dir), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2IZI(JNIEnv* env, jclass cls, jobject pixmap, jfloat initial_intensity, jobject bgnd, jint eff, jboolean anti_dir, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::blend((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) initial_intensity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff, (bool) anti_dir, (int) ncols), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_channelIntensity(JNIEnv* env, jclass cls, jobject pixmap, jfloat ratio, jint channel) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::channelIntensity((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) ratio, (KPixmapEffect::RGBComponent) channel), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_contrast(JNIEnv* env, jclass cls, jobject pixmap, jint c) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::contrast((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (int) c), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_createTiled(JNIEnv* env, jclass cls, jobject pixmap, jobject size) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::createTiled((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (TQSize)*(TQSize*) QtSupport::getQt(env, size))), "org.kde.koala.KPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_desaturate__Lorg_kde_koala_KPixmap_2(JNIEnv* env, jclass cls, jobject pixmap) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::desaturate((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_desaturate__Lorg_kde_koala_KPixmap_2F(JNIEnv* env, jclass cls, jobject pixmap, jfloat desat) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::desaturate((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) desat), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapEffect_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPixmapEffect_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_dither(JNIEnv* env, jclass cls, jobject pixmap, jobject palette, jint size) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::dither((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor*) QtSupport::getQt(env, palette), (int) size), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_fade(JNIEnv* env, jclass cls, jobject pixmap, jdouble val, jobject color) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::fade((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (double) val, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapEffect_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KPixmapEffect*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_gradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::gradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_gradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::gradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) ncols), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2(JNIEnv* env, jclass cls, jobject pixmap) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2I(JNIEnv* env, jclass cls, jobject pixmap, jint lite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (KPixmapEffect::Lighting) lite), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2II(JNIEnv* env, jclass cls, jobject pixmap, jint lite, jint spacing) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (KPixmapEffect::Lighting) lite, (unsigned int) spacing), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2III(JNIEnv* env, jclass cls, jobject pixmap, jint lite, jint spacing, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (KPixmapEffect::Lighting) lite, (unsigned int) spacing, (int) ncols), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_intensity(JNIEnv* env, jclass cls, jobject pixmap, jfloat ratio) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::intensity((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) ratio), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmapEffect_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapEffect_newKPixmapEffect(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPixmapEffectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_pattern__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject pixmap, jobject size, jobject ca, jobject cb) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::pattern((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (TQSize)*(TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb))), "org.kde.koala.KPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_pattern__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jobject size, jobject ca, jobject cb, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::pattern((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (TQSize)*(TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (int) ncols)), "org.kde.koala.KPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_selectedPixmap(JNIEnv* env, jclass cls, jobject pixmap, jobject col) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::selectedPixmap((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col))), "org.kde.koala.KPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_toGray__Lorg_kde_koala_KPixmap_2(JNIEnv* env, jclass cls, jobject pixmap) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::toGray((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_toGray__Lorg_kde_koala_KPixmap_2Z(JNIEnv* env, jclass cls, jobject pixmap, jboolean fast) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::toGray((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (bool) fast), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint xfactor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2III(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor, (int) yfactor), "org.kde.koala.KPixmap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2IIII(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor, jint ncols) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor, (int) yfactor, (int) ncols), "org.kde.koala.KPixmap"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPixmapEffect.h b/kdejava/koala/kdejava/KPixmapEffect.h deleted file mode 100644 index 1d726926..00000000 --- a/kdejava/koala/kdejava/KPixmapEffect.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPixmapEffect__ -#define __org_kde_koala_KPixmapEffect__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapEffect_newKPixmapEffect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_gradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_gradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2IIII (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2III (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II (JNIEnv *env, jclass, jobject, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_createTiled (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_intensity (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_channelIntensity (JNIEnv *env, jclass, jobject, jfloat, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2IZI (JNIEnv *env, jclass, jobject, jfloat, jobject, jint, jboolean, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2IZ (JNIEnv *env, jclass, jobject, jfloat, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jfloat, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2III (JNIEnv *env, jclass, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2II (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_pattern__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jclass, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_pattern__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jclass, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_fade (JNIEnv *env, jclass, jobject, jdouble, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_toGray__Lorg_kde_koala_KPixmap_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_toGray__Lorg_kde_koala_KPixmap_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_desaturate__Lorg_kde_koala_KPixmap_2F (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_desaturate__Lorg_kde_koala_KPixmap_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_contrast (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_dither (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapEffect_selectedPixmap (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapEffect_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapEffect_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmapEffect_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPixmapEffect__ */ diff --git a/kdejava/koala/kdejava/KPixmapIO.cpp b/kdejava/koala/kdejava/KPixmapIO.cpp deleted file mode 100644 index c0f46baf..00000000 --- a/kdejava/koala/kdejava/KPixmapIO.cpp +++ /dev/null @@ -1,107 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KPixmapIOJBridge : public KPixmapIO -{ -public: - KPixmapIOJBridge() : KPixmapIO() {}; - ~KPixmapIOJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapIO_convertToImage(JNIEnv* env, jobject obj, jobject pixmap) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((KPixmapIO*) QtSupport::getQt(env, obj))->convertToImage((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapIO_convertToPixmap(JNIEnv* env, jobject obj, jobject image) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KPixmapIO*) QtSupport::getQt(env, obj))->convertToPixmap((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPixmapIO_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KPixmapIO*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapIO_getImage__Lorg_kde_qt_QPixmap_2IIII(JNIEnv* env, jobject obj, jobject src, jint sx, jint sy, jint sw, jint sh) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((KPixmapIO*) QtSupport::getQt(env, obj))->getImage((const TQPixmap*) QtSupport::getQt(env, src), (int) sx, (int) sy, (int) sw, (int) sh)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapIO_getImage__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject src, jobject rect) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((KPixmapIO*) QtSupport::getQt(env, obj))->getImage((const TQPixmap*) QtSupport::getQt(env, src), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rect))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmapIO_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_newKPixmapIO(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPixmapIOJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_preAllocShm(JNIEnv* env, jobject obj, jint size) -{ - ((KPixmapIO*) QtSupport::getQt(env, obj))->preAllocShm((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_putImage__Lorg_kde_qt_QPixmap_2IILorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject dst, jint dx, jint dy, jobject src) -{ - ((KPixmapIO*) QtSupport::getQt(env, obj))->putImage((TQPixmap*) QtSupport::getQt(env, dst), (int) dx, (int) dy, (const TQImage*) QtSupport::getQt(env, src)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_putImage__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject dst, jobject offset, jobject src) -{ - ((KPixmapIO*) QtSupport::getQt(env, obj))->putImage((TQPixmap*) QtSupport::getQt(env, dst), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, offset), (const TQImage*) QtSupport::getQt(env, src)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapIO_setShmPolicy(JNIEnv* env, jobject obj, jint policy) -{ - ((KPixmapIO*) QtSupport::getQt(env, obj))->setShmPolicy((int) policy); - return; -} - diff --git a/kdejava/koala/kdejava/KPixmapIO.h b/kdejava/koala/kdejava/KPixmapIO.h deleted file mode 100644 index 7987e01e..00000000 --- a/kdejava/koala/kdejava/KPixmapIO.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPixmapIO__ -#define __org_kde_koala_KPixmapIO__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_newKPixmapIO (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapIO_convertToPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapIO_convertToImage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_putImage__Lorg_kde_qt_QPixmap_2IILorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_putImage__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapIO_getImage__Lorg_kde_qt_QPixmap_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapIO_getImage__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_setShmPolicy (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_preAllocShm (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapIO_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmapIO_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPixmapIO__ */ diff --git a/kdejava/koala/kdejava/KPixmapProvider.cpp b/kdejava/koala/kdejava/KPixmapProvider.cpp deleted file mode 100644 index d692c39b..00000000 --- a/kdejava/koala/kdejava/KPixmapProvider.cpp +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapProvider_pixmapFor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapProvider_pixmapFor__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint size) -{ -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KPixmapProvider.h b/kdejava/koala/kdejava/KPixmapProvider.h deleted file mode 100644 index fb4728c9..00000000 --- a/kdejava/koala/kdejava/KPixmapProvider.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPixmapProvider__ -#define __org_kde_koala_KPixmapProvider__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapProvider_pixmapFor__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapProvider_pixmapFor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPixmapProvider__ */ diff --git a/kdejava/koala/kdejava/KPixmapSplitter.cpp b/kdejava/koala/kdejava/KPixmapSplitter.cpp deleted file mode 100644 index aa38a3fb..00000000 --- a/kdejava/koala/kdejava/KPixmapSplitter.cpp +++ /dev/null @@ -1,108 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KPixmapSplitterJBridge : public KPixmapSplitter -{ -public: - KPixmapSplitterJBridge() : KPixmapSplitter() {}; - ~KPixmapSplitterJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapSplitter_coordinates__C(JNIEnv* env, jobject obj, jchar ch) -{ -static TQChar* _qchar_ch = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KPixmapSplitter*) QtSupport::getQt(env, obj))->coordinates((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, ch, &_qchar_ch))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapSplitter_coordinates__I(JNIEnv* env, jobject obj, jint pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KPixmapSplitter*) QtSupport::getQt(env, obj))->coordinates((int) pos)), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPixmapSplitter_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KPixmapSplitter*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPixmapSplitter_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapSplitter_itemSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KPixmapSplitter*) QtSupport::getQt(env, obj))->itemSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_newKPixmapSplitter(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPixmapSplitterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPixmapSplitter_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPixmap *) &((KPixmapSplitter*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_setHSpacing(JNIEnv* env, jobject obj, jint spacing) -{ - ((KPixmapSplitter*) QtSupport::getQt(env, obj))->setHSpacing((int) spacing); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_setItemSize(JNIEnv* env, jobject obj, jobject size) -{ - ((KPixmapSplitter*) QtSupport::getQt(env, obj))->setItemSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_setPixmap(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((KPixmapSplitter*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPixmapSplitter_setVSpacing(JNIEnv* env, jobject obj, jint spacing) -{ - ((KPixmapSplitter*) QtSupport::getQt(env, obj))->setVSpacing((int) spacing); - return; -} - diff --git a/kdejava/koala/kdejava/KPixmapSplitter.h b/kdejava/koala/kdejava/KPixmapSplitter.h deleted file mode 100644 index 689c4975..00000000 --- a/kdejava/koala/kdejava/KPixmapSplitter.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPixmapSplitter__ -#define __org_kde_koala_KPixmapSplitter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_newKPixmapSplitter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_setPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapSplitter_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_setItemSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapSplitter_itemSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_setVSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_setHSpacing (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapSplitter_coordinates__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPixmapSplitter_coordinates__C (JNIEnv *env, jobject, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPixmapSplitter_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPixmapSplitter_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPixmapSplitter__ */ diff --git a/kdejava/koala/kdejava/KPluginSelector.cpp b/kdejava/koala/kdejava/KPluginSelector.cpp deleted file mode 100644 index 483e5d28..00000000 --- a/kdejava/koala/kdejava/KPluginSelector.cpp +++ /dev/null @@ -1,520 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KPluginSelectorJBridge : public KPluginSelector -{ -public: - KPluginSelectorJBridge(TQWidget* arg1,const char* arg2) : KPluginSelector(arg1,arg2) {}; - KPluginSelectorJBridge(TQWidget* arg1) : KPluginSelector(arg1) {}; - ~KPluginSelectorJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KPluginSelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPluginSelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPluginSelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring instanceName) -{ -static TQString* _qstring_instanceName = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TQString&)*(TQString*) QtSupport::toTQString(env, instanceName, &_qstring_instanceName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring instanceName, jstring catname) -{ -static TQString* _qstring_instanceName = 0; -static TQString* _qstring_catname = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TQString&)*(TQString*) QtSupport::toTQString(env, instanceName, &_qstring_instanceName), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring instanceName, jstring catname, jstring category) -{ -static TQString* _qstring_instanceName = 0; -static TQString* _qstring_catname = 0; -static TQString* _qstring_category = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TQString&)*(TQString*) QtSupport::toTQString(env, instanceName, &_qstring_instanceName), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname), (const TQString&)*(TQString*) QtSupport::toTQString(env, category, &_qstring_category)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jstring instanceName, jstring catname, jstring category, jobject config) -{ -static TQString* _qstring_instanceName = 0; -static TQString* _qstring_catname = 0; -static TQString* _qstring_category = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TQString&)*(TQString*) QtSupport::toTQString(env, instanceName, &_qstring_instanceName), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname), (const TQString&)*(TQString*) QtSupport::toTQString(env, category, &_qstring_category), (TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject instance, jstring catname) -{ -static TQString* _qstring_catname = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TDEInstance*) QtSupport::getQt(env, instance), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject instance, jstring catname, jstring category) -{ -static TQString* _qstring_catname = 0; -static TQString* _qstring_category = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TDEInstance*) QtSupport::getQt(env, instance), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname), (const TQString&)*(TQString*) QtSupport::toTQString(env, category, &_qstring_category)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject instance, jstring catname, jstring category, jobject config) -{ -static TQString* _qstring_catname = 0; -static TQString* _qstring_category = 0; - ((KPluginSelector*) QtSupport::getQt(env, obj))->addPlugins((const TDEInstance*) QtSupport::getQt(env, instance), (const TQString&)*(TQString*) QtSupport::toTQString(env, catname, &_qstring_catname), (const TQString&)*(TQString*) QtSupport::toTQString(env, category, &_qstring_category), (TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPluginSelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPluginSelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_defaults(JNIEnv* env, jobject obj) -{ - ((KPluginSelector*) QtSupport::getQt(env, obj))->defaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPluginSelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPluginSelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPluginSelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPluginSelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_load(JNIEnv* env, jobject obj) -{ - ((KPluginSelector*) QtSupport::getQt(env, obj))->load(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPluginSelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPluginSelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_newKPluginSelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPluginSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_newKPluginSelector__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 KPluginSelectorJBridge((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_koala_KPluginSelector_save(JNIEnv* env, jobject obj) -{ - ((KPluginSelector*) QtSupport::getQt(env, obj))->save(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPluginSelector_setShowEmptyConfigPage(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KPluginSelector*) QtSupport::getQt(env, obj))->setShowEmptyConfigPage((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/KPluginSelector.h b/kdejava/koala/kdejava/KPluginSelector.h deleted file mode 100644 index 3f063a7a..00000000 --- a/kdejava/koala/kdejava/KPluginSelector.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPluginSelector__ -#define __org_kde_koala_KPluginSelector__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPluginSelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPluginSelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_newKPluginSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_newKPluginSelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_addPlugins__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_setShowEmptyConfigPage (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_load (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_defaults (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPluginSelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPluginSelector_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPluginSelector__ */ diff --git a/kdejava/koala/kdejava/KPreviewWidgetBase.cpp b/kdejava/koala/kdejava/KPreviewWidgetBase.cpp deleted file mode 100644 index fffbb2d6..00000000 --- a/kdejava/koala/kdejava/KPreviewWidgetBase.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPreviewWidgetBase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPreviewWidgetBase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPreviewWidgetBase_clearPreview(JNIEnv* env, jobject obj) -{ - ((KPreviewWidgetBase*) QtSupport::getQt(env, obj))->clearPreview(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPreviewWidgetBase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPreviewWidgetBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPreviewWidgetBase_showPreview(JNIEnv* env, jobject obj, jobject url) -{ - ((KPreviewWidgetBase*) QtSupport::getQt(env, obj))->showPreview((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPreviewWidgetBase_supportedMimeTypes(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KPreviewWidgetBase*) QtSupport::getQt(env, obj))->supportedMimeTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KPreviewWidgetBase.h b/kdejava/koala/kdejava/KPreviewWidgetBase.h deleted file mode 100644 index 6da1001f..00000000 --- a/kdejava/koala/kdejava/KPreviewWidgetBase.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPreviewWidgetBase__ -#define __org_kde_koala_KPreviewWidgetBase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPreviewWidgetBase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPreviewWidgetBase_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPreviewWidgetBase_showPreview (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPreviewWidgetBase_clearPreview (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPreviewWidgetBase_supportedMimeTypes (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPreviewWidgetBase__ */ diff --git a/kdejava/koala/kdejava/KPrintAction.cpp b/kdejava/koala/kdejava/KPrintAction.cpp deleted file mode 100644 index 3dd1fd61..00000000 --- a/kdejava/koala/kdejava/KPrintAction.cpp +++ /dev/null @@ -1,455 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KPrintActionJBridge : public KPrintAction -{ -public: - KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2,TQWidget* arg3,TQObject* arg4,const char* arg5) : KPrintAction(arg1,arg2,arg3,arg4,arg5) {}; - KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2,TQWidget* arg3,TQObject* arg4) : KPrintAction(arg1,arg2,arg3,arg4) {}; - KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2,TQWidget* arg3) : KPrintAction(arg1,arg2,arg3) {}; - KPrintActionJBridge(const TQString& arg1,KPrintAction::PrinterType arg2) : KPrintAction(arg1,arg2) {}; - KPrintActionJBridge(const TQString& arg1) : KPrintAction(arg1) {}; - KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5,const char* arg6) : KPrintAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5) : KPrintAction(arg1,arg2,arg3,arg4,arg5) {}; - KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4) : KPrintAction(arg1,arg2,arg3,arg4) {}; - KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2,KPrintAction::PrinterType arg3) : KPrintAction(arg1,arg2,arg3) {}; - KPrintActionJBridge(const TQString& arg1,const TQIconSet& arg2) : KPrintAction(arg1,arg2) {}; - KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5,const char* arg6) : KPrintAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4,TQObject* arg5) : KPrintAction(arg1,arg2,arg3,arg4,arg5) {}; - KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3,TQWidget* arg4) : KPrintAction(arg1,arg2,arg3,arg4) {}; - KPrintActionJBridge(const TQString& arg1,const TQString& arg2,KPrintAction::PrinterType arg3) : KPrintAction(arg1,arg2,arg3) {}; - KPrintActionJBridge(const TQString& arg1,const TQString& arg2) : KPrintAction(arg1,arg2) {}; - void protected_initialize(KPrintAction::PrinterType arg1,TQWidget* arg2) { - KPrintAction::initialize(arg1,arg2); - return; - } - void protected_slotAboutToShow() { - KPrintAction::slotAboutToShow(); - return; - } - void protected_slotActivated(int arg1) { - KPrintAction::slotActivated(arg1); - return; - } - ~KPrintActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPrintAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPrintAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPrintAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void remove(TDEAction* arg1) { - if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.koala.TDEAction")) { - TDEActionMenu::remove(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPrintAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPrintAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPrintAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPrintAction_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportAll__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll(), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parentWidget) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll((TQWidget*) QtSupport::getQt(env, parentWidget)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportAll((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportRegular__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular(), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parentWidget) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular((TQWidget*) QtSupport::getQt(env, parentWidget)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportRegular((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportSpecial__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial(), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parentWidget) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial((TQWidget*) QtSupport::getQt(env, parentWidget)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parentWidget, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KPrintActionJBridge::exportSpecial((TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KPrintAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KPrintAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KPrintAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_initialize(JNIEnv* env, jobject obj, jint type, jobject parentWidget) -{ - ((KPrintActionJBridge*) QtSupport::getQt(env, obj))->protected_initialize((KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPrintAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPrintAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPrintAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__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 KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint type) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jint type, jobject parentWidget) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jint type, jobject parentWidget, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint type, jobject parentWidget, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type, jobject parentWidget) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type, jobject parentWidget, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jint type, jobject parentWidget, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2I(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type, jobject parentWidget) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type, jobject parentWidget, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jint type, jobject parentWidget, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPrintActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (KPrintAction::PrinterType) type, (TQWidget*) QtSupport::getQt(env, parentWidget), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_slotAboutToShow(JNIEnv* env, jobject obj) -{ - ((KPrintActionJBridge*) QtSupport::getQt(env, obj))->protected_slotAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPrintAction_slotActivated(JNIEnv* env, jobject obj, jint arg1) -{ - ((KPrintActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/KPrintAction.h b/kdejava/koala/kdejava/KPrintAction.h deleted file mode 100644 index 6edc61f2..00000000 --- a/kdejava/koala/kdejava/KPrintAction.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPrintAction__ -#define __org_kde_koala_KPrintAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPrintAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jint, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2I (JNIEnv *env, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jint, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jint, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_newKPrintAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportAll__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportAll__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportRegular__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportRegular__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportSpecial__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPrintAction_exportSpecial__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_initialize (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_slotAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_slotActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPrintAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPrintAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPrintAction__ */ diff --git a/kdejava/koala/kdejava/KProcIO.cpp b/kdejava/koala/kdejava/KProcIO.cpp deleted file mode 100644 index 263d4de8..00000000 --- a/kdejava/koala/kdejava/KProcIO.cpp +++ /dev/null @@ -1,262 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KProcIOJBridge : public KProcIO -{ -public: - KProcIOJBridge(TQTextCodec* arg1) : KProcIO(arg1) {}; - KProcIOJBridge() : KProcIO() {}; - void protected_controlledEmission() { - KProcIO::controlledEmission(); - return; - } - void protected_received(TDEProcess* arg1,char* arg2,int arg3) { - KProcIO::received(arg1,arg2,arg3); - return; - } - void protected_sent(TDEProcess* arg1) { - KProcIO::sent(arg1); - return; - } - ~KProcIOJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void commClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProcIO","commClose")) { - TDEProcess::commClose(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KProcIO",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_ackRead(JNIEnv* env, jobject obj) -{ - ((KProcIO*) QtSupport::getQt(env, obj))->ackRead(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProcIO_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KProcIO*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_closeWhenDone(JNIEnv* env, jobject obj) -{ - ((KProcIO*) QtSupport::getQt(env, obj))->closeWhenDone(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_controlledEmission(JNIEnv* env, jobject obj) -{ - ((KProcIOJBridge*) QtSupport::getQt(env, obj))->protected_controlledEmission(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KProcIO_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_enableReadSignals(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KProcIO*) QtSupport::getQt(env, obj))->enableReadSignals((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KProcIO*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KProcIO*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProcIO_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KProcIO*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_newKProcIO__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProcIOJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_newKProcIO__Lorg_kde_qt_QTextCodec_2(JNIEnv* env, jobject obj, jobject codec) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProcIOJBridge((TQTextCodec*) QtSupport::getQt(env, codec))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject line) -{ -static TQString* _qstring_line = 0; - jint xret = (jint) ((KProcIO*) QtSupport::getQt(env, obj))->readln((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, line, &_qstring_line)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_line, line); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2Z(JNIEnv* env, jobject obj, jobject line, jboolean autoAck) -{ -static TQString* _qstring_line = 0; - jint xret = (jint) ((KProcIO*) QtSupport::getQt(env, obj))->readln((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, line, &_qstring_line), (bool) autoAck); - QtSupport::fromTQStringToStringBuffer(env, _qstring_line, line); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2Z_3Z(JNIEnv* env, jobject obj, jobject line, jboolean autoAck, jbooleanArray partial) -{ -static TQString* _qstring_line = 0; - bool* _bool_partial = QtSupport::toBooleanPtr(env, partial); - jint xret = (jint) ((KProcIO*) QtSupport::getQt(env, obj))->readln((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, line, &_qstring_line), (bool) autoAck, (bool*) _bool_partial); - QtSupport::fromTQStringToStringBuffer(env, _qstring_line, line); - env->SetBooleanArrayRegion(partial, 0, 1, (jboolean*) _bool_partial); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_received(JNIEnv* env, jobject obj, jobject proc, jstring buffer, jint buflen) -{ -static TQCString* _qstring_buffer = 0; - ((KProcIOJBridge*) QtSupport::getQt(env, obj))->protected_received((TDEProcess*) QtSupport::getQt(env, proc), (char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_resetAll(JNIEnv* env, jobject obj) -{ - ((KProcIO*) QtSupport::getQt(env, obj))->resetAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_sent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KProcIOJBridge*) QtSupport::getQt(env, obj))->protected_sent((TDEProcess*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProcIO_setComm(JNIEnv* env, jobject obj, jint comm) -{ - ((KProcIO*) QtSupport::getQt(env, obj))->setComm((TDEProcess::Communication) comm); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_start__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->start(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_start__I(JNIEnv* env, jobject obj, jint runmode) -{ - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_start__IZ(JNIEnv* env, jobject obj, jint runmode, jboolean includeStderr) -{ - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode, (bool) includeStderr); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_writeStdin__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring line) -{ -static TQString* _qstring_line = 0; - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->writeStdin((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_writeStdin__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring line, jboolean appendnewline) -{ -static TQString* _qstring_line = 0; - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->writeStdin((const TQString&)*(TQString*) QtSupport::toTQString(env, line, &_qstring_line), (bool) appendnewline); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProcIO_writeStdin___3B(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((KProcIO*) QtSupport::getQt(env, obj))->writeStdin((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KProcIO.h b/kdejava/koala/kdejava/KProcIO.h deleted file mode 100644 index b2728ac4..00000000 --- a/kdejava/koala/kdejava/KProcIO.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KProcIO__ -#define __org_kde_koala_KProcIO__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProcIO_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProcIO_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_newKProcIO__Lorg_kde_qt_QTextCodec_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_newKProcIO__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_setComm (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_start__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_start__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_start__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_writeStdin__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_writeStdin__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_writeStdin___3B (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_closeWhenDone (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2Z_3Z (JNIEnv *env, jobject, jobject, jboolean, jbooleanArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProcIO_readln__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_resetAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_ackRead (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_enableReadSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_controlledEmission (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_received (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_sent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProcIO_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProcIO_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KProcIO__ */ diff --git a/kdejava/koala/kdejava/KProgress.cpp b/kdejava/koala/kdejava/KProgress.cpp deleted file mode 100644 index fe2afeea..00000000 --- a/kdejava/koala/kdejava/KProgress.cpp +++ /dev/null @@ -1,560 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KProgressJBridge : public KProgress -{ -public: - KProgressJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KProgress(arg1,arg2,arg3) {}; - KProgressJBridge(TQWidget* arg1,const char* arg2) : KProgress(arg1,arg2) {}; - KProgressJBridge(TQWidget* arg1) : KProgress(arg1) {}; - KProgressJBridge() : KProgress() {}; - KProgressJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KProgress(arg1,arg2,arg3,arg4) {}; - KProgressJBridge(int arg1,TQWidget* arg2,const char* arg3) : KProgress(arg1,arg2,arg3) {}; - KProgressJBridge(int arg1,TQWidget* arg2) : KProgress(arg1,arg2) {}; - KProgressJBridge(int arg1) : KProgress(arg1) {}; - bool protected_setIndicator(TQString& arg1,int arg2,int arg3) { - return (bool) KProgress::setIndicator(arg1,arg2,arg3); - } - ~KProgressJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KProgress","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KProgress","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KProgress",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgress","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_advance(JNIEnv* env, jobject obj, jint offset) -{ - ((KProgress*) QtSupport::getQt(env, obj))->advance((int) offset); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProgress_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KProgress*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KProgress_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KProgress*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KProgress*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProgress_format(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KProgress*) QtSupport::getQt(env, obj))->format(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgress_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProgress_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KProgress*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_newKProgress__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_newKProgress__I(JNIEnv* env, jobject obj, jint totalSteps) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge((int) totalSteps)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_newKProgress__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint totalSteps, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge((int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_newKProgress__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint totalSteps, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge((int) totalSteps, (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_koala_KProgress_newKProgress__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint totalSteps, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge((int) totalSteps, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_newKProgress__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_newKProgress__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 KProgressJBridge((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_koala_KProgress_newKProgress__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_setFormat(JNIEnv* env, jobject obj, jstring format) -{ -static TQString* _qstring_format = 0; - ((KProgress*) QtSupport::getQt(env, obj))->setFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, format, &_qstring_format)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgress_setIndicator(JNIEnv* env, jobject obj, jobject indicator, jint progress, jint totalSteps) -{ -static TQString* _qstring_indicator = 0; - jboolean xret = (jboolean) ((KProgressJBridge*) QtSupport::getQt(env, obj))->protected_setIndicator((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, indicator, &_qstring_indicator), (int) progress, (int) totalSteps); - QtSupport::fromTQStringToStringBuffer(env, _qstring_indicator, indicator); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_setProgress(JNIEnv* env, jobject obj, jint progress) -{ - ((KProgress*) QtSupport::getQt(env, obj))->setProgress((int) progress); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_setTextEnabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KProgress*) QtSupport::getQt(env, obj))->setTextEnabled((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgress_setTotalSteps(JNIEnv* env, jobject obj, jint totalSteps) -{ - ((KProgress*) QtSupport::getQt(env, obj))->setTotalSteps((int) totalSteps); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgress_textEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProgress*) QtSupport::getQt(env, obj))->textEnabled(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KProgress.h b/kdejava/koala/kdejava/KProgress.h deleted file mode 100644 index f82571b4..00000000 --- a/kdejava/koala/kdejava/KProgress.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KProgress__ -#define __org_kde_koala_KProgress__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProgress_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProgress_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_newKProgress__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_setTextEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgress_textEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProgress_format (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_setFormat (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_setTotalSteps (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_setProgress (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_advance (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgress_setIndicator (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgress_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgress_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KProgress__ */ diff --git a/kdejava/koala/kdejava/KProgressDialog.cpp b/kdejava/koala/kdejava/KProgressDialog.cpp deleted file mode 100644 index d97edd21..00000000 --- a/kdejava/koala/kdejava/KProgressDialog.cpp +++ /dev/null @@ -1,674 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KProgressDialogJBridge : public KProgressDialog -{ -public: - KProgressDialogJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,bool arg5) : KProgressDialog(arg1,arg2,arg3,arg4,arg5) {}; - KProgressDialogJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4) : KProgressDialog(arg1,arg2,arg3,arg4) {}; - KProgressDialogJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3) : KProgressDialog(arg1,arg2,arg3) {}; - KProgressDialogJBridge(TQWidget* arg1,const char* arg2) : KProgressDialog(arg1,arg2) {}; - KProgressDialogJBridge(TQWidget* arg1) : KProgressDialog(arg1) {}; - KProgressDialogJBridge() : KProgressDialog() {}; - void protected_slotAutoShow() { - KProgressDialog::slotAutoShow(); - return; - } - void protected_slotAutoActions(int arg1) { - KProgressDialog::slotAutoActions(arg1); - return; - } - void protected_slotCancel() { - KProgressDialog::slotCancel(); - return; - } - ~KProgressDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KProgressDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotClose")) { - KDialogBase::slotClose(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KProgressDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgressDialog_allowCancel(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProgressDialog*) QtSupport::getQt(env, obj))->allowCancel(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgressDialog_autoClose(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProgressDialog*) QtSupport::getQt(env, obj))->autoClose(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgressDialog_autoReset(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProgressDialog*) QtSupport::getQt(env, obj))->autoReset(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProgressDialog_buttonText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KProgressDialog*) QtSupport::getQt(env, obj))->buttonText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProgressDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KProgressDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KProgressDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KProgressDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KProgressDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgressDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProgressDialog_labelText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KProgressDialog*) QtSupport::getQt(env, obj))->labelText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProgressDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KProgressDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProgressDialog_minimumDuration(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KProgressDialog*) QtSupport::getQt(env, obj))->minimumDuration(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_newKProgressDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_newKProgressDialog__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 KProgressDialogJBridge((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_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring caption) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring caption, jstring text) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring caption, jstring text, jboolean modal) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProgressDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProgressDialog_progressBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KProgressDialog*) QtSupport::getQt(env, obj))->progressBar(), "org.kde.koala.KProgress"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setAllowCancel(JNIEnv* env, jobject obj, jboolean allowCancel) -{ - ((KProgressDialog*) QtSupport::getQt(env, obj))->setAllowCancel((bool) allowCancel); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setAutoClose(JNIEnv* env, jobject obj, jboolean close) -{ - ((KProgressDialog*) QtSupport::getQt(env, obj))->setAutoClose((bool) close); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setAutoReset(JNIEnv* env, jobject obj, jboolean autoReset) -{ - ((KProgressDialog*) QtSupport::getQt(env, obj))->setAutoReset((bool) autoReset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setButtonText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KProgressDialog*) QtSupport::getQt(env, obj))->setButtonText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setLabel(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KProgressDialog*) QtSupport::getQt(env, obj))->setLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_setMinimumDuration(JNIEnv* env, jobject obj, jint ms) -{ - ((KProgressDialog*) QtSupport::getQt(env, obj))->setMinimumDuration((int) ms); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_showCancelButton(JNIEnv* env, jobject obj, jboolean show) -{ - ((KProgressDialog*) QtSupport::getQt(env, obj))->showCancelButton((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_slotAutoActions(JNIEnv* env, jobject obj, jint percentage) -{ - ((KProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoActions((int) percentage); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_slotAutoShow(JNIEnv* env, jobject obj) -{ - ((KProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProgressDialog_slotCancel(JNIEnv* env, jobject obj) -{ - ((KProgressDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotCancel(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProgressDialog_wasCancelled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProgressDialog*) QtSupport::getQt(env, obj))->wasCancelled(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KProgressDialog.h b/kdejava/koala/kdejava/KProgressDialog.h deleted file mode 100644 index af48a81f..00000000 --- a/kdejava/koala/kdejava/KProgressDialog.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KProgressDialog__ -#define __org_kde_koala_KProgressDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProgressDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProgressDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_newKProgressDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProgressDialog_progressBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setLabel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProgressDialog_labelText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setAllowCancel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgressDialog_allowCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_showCancelButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setAutoClose (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgressDialog_autoClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setAutoReset (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgressDialog_autoReset (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgressDialog_wasCancelled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setButtonText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProgressDialog_buttonText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_setMinimumDuration (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProgressDialog_minimumDuration (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_slotAutoShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_slotAutoActions (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_slotCancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProgressDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProgressDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KProgressDialog__ */ diff --git a/kdejava/koala/kdejava/KProtocolInfo.cpp b/kdejava/koala/kdejava/KProtocolInfo.cpp deleted file mode 100644 index ee0e75be..00000000 --- a/kdejava/koala/kdejava/KProtocolInfo.cpp +++ /dev/null @@ -1,437 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KProtocolInfoJBridge : public KProtocolInfo -{ -public: - KProtocolInfoJBridge(const TQString& arg1) : KProtocolInfo(arg1) {}; - KProtocolInfoJBridge(TQDataStream& arg1,int arg2) : KProtocolInfo(arg1,arg2) {}; - bool protected_canRenameFromFile() { - return (bool) KProtocolInfo::canRenameFromFile(); - } - bool protected_canRenameToFile() { - return (bool) KProtocolInfo::canRenameToFile(); - } - bool protected_canDeleteRecursive() { - return (bool) KProtocolInfo::canDeleteRecursive(); - } - static KProtocolInfo* protected_findProtocol(const KURL& arg1) { - return (KProtocolInfo*) KProtocolInfo::findProtocol(arg1); - } - ~KProtocolInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canCopyFromFile(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::canCopyFromFile((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canCopyToFile(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::canCopyToFile((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canDeleteRecursive__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProtocolInfoJBridge*) QtSupport::getQt(env, obj))->protected_canDeleteRecursive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canDeleteRecursive__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::canDeleteRecursive((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canRenameFromFile__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProtocolInfoJBridge*) QtSupport::getQt(env, obj))->protected_canRenameFromFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canRenameFromFile__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::canRenameFromFile((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canRenameToFile__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProtocolInfoJBridge*) QtSupport::getQt(env, obj))->protected_canRenameToFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_canRenameToFile__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::canRenameToFile((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProtocolInfo_capabilities(JNIEnv* env, jclass cls, jstring protocol) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_protocol = 0; - _qlist = KProtocolInfoJBridge::capabilities((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_config(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::config((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_defaultMimetype(JNIEnv* env, jclass cls, jobject url) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolInfoJBridge::defaultMimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_determineMimetypeFromExtension(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jboolean xret = (jboolean) KProtocolInfoJBridge::determineMimetypeFromExtension((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KProtocolInfo_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_docPath(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::docPath((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_exec(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::exec((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KProtocolInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProtocolInfo_findProtocol(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KProtocolInfoJBridge::protected_findProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.KProtocolInfo"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_icon(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::icon((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolInfo_inputType(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jint xret = (jint) KProtocolInfoJBridge::inputType((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isFilterProtocol__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jboolean xret = (jboolean) KProtocolInfoJBridge::isFilterProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isFilterProtocol__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::isFilterProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isHelperProtocol__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jboolean xret = (jboolean) KProtocolInfoJBridge::isHelperProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isHelperProtocol__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::isHelperProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isKnownProtocol__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jboolean xret = (jboolean) KProtocolInfoJBridge::isKnownProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isKnownProtocol__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::isKnownProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isSourceProtocol(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::isSourceProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KProtocolInfo*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProtocolInfo_listing(JNIEnv* env, jclass cls, jobject url) -{ - TQStringList _qlist; - (void) cls; - _qlist = KProtocolInfoJBridge::listing((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KProtocolInfo*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolInfo_maxSlaves(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jint xret = (jint) KProtocolInfoJBridge::maxSlaves((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KProtocolInfo*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_newKProtocolInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProtocolInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_newKProtocolInfo__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProtocolInfoJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolInfo_outputType(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jint xret = (jint) KProtocolInfoJBridge::outputType((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_protocolClass(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::protocolClass((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProtocolInfo_protocols(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KProtocolInfoJBridge::protocols(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolInfo_proxiedBy(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolInfoJBridge::proxiedBy((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolInfo_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KProtocolInfo*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_showFilePreview(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jboolean xret = (jboolean) KProtocolInfoJBridge::showFilePreview((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsDeleting(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsDeleting((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsLinking(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsLinking((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsListing(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsListing((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsMakeDir(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsMakeDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsMoving(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsMoving((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsReading(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsReading((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolInfo_supportsWriting(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jboolean xret = (jboolean) KProtocolInfoJBridge::supportsWriting((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolInfo_uriParseMode(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jint xret = (jint) KProtocolInfoJBridge::uriParseMode((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KProtocolInfo.h b/kdejava/koala/kdejava/KProtocolInfo.h deleted file mode 100644 index 3493ee07..00000000 --- a/kdejava/koala/kdejava/KProtocolInfo.h +++ /dev/null @@ -1,66 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KProtocolInfo__ -#define __org_kde_koala_KProtocolInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_newKProtocolInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_newKProtocolInfo__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProtocolInfo_protocols (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isKnownProtocol__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isKnownProtocol__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_exec (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolInfo_inputType (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolInfo_outputType (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProtocolInfo_listing (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isSourceProtocol (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isHelperProtocol__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isHelperProtocol__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isFilterProtocol__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isFilterProtocol__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsListing (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsReading (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsWriting (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsMakeDir (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsDeleting (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsLinking (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_supportsMoving (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canCopyFromFile (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canCopyToFile (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canRenameFromFile__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canRenameToFile__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canDeleteRecursive__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_defaultMimetype (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_icon (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_config (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolInfo_maxSlaves (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_determineMimetypeFromExtension (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_docPath (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_protocolClass (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_showFilePreview (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolInfo_uriParseMode (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProtocolInfo_capabilities (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolInfo_proxiedBy (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canRenameFromFile__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canRenameToFile__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_canDeleteRecursive__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProtocolInfo_findProtocol (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KProtocolInfo__ */ diff --git a/kdejava/koala/kdejava/KProtocolManager.cpp b/kdejava/koala/kdejava/KProtocolManager.cpp deleted file mode 100644 index cbc669d7..00000000 --- a/kdejava/koala/kdejava/KProtocolManager.cpp +++ /dev/null @@ -1,315 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KProtocolManagerJBridge : public KProtocolManager -{ -public: - KProtocolManagerJBridge() : KProtocolManager() {}; - ~KProtocolManagerJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_autoResume(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::autoResume(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolManager_badProxy(JNIEnv* env, jclass cls, jstring proxy) -{ - (void) cls; -static TQString* _qstring_proxy = 0; - KProtocolManagerJBridge::badProxy((const TQString&)*(TQString*) QtSupport::toTQString(env, proxy, &_qstring_proxy)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_cacheControl(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::cacheControl(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_cacheDir(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolManagerJBridge::cacheDir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KProtocolManager_config(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KProtocolManagerJBridge::config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_connectTimeout(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::connectTimeout(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_defaultUserAgent__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolManagerJBridge::defaultUserAgent(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_defaultUserAgent__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring keys) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_keys = 0; - _qstring = KProtocolManagerJBridge::defaultUserAgent((const TQString&)*(TQString*) QtSupport::toTQString(env, keys, &_qstring_keys)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolManager_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KProtocolManager_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolManager_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KProtocolManager*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_markPartial(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::markPartial(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_maxCacheAge(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::maxCacheAge(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_maxCacheSize(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::maxCacheSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_minimumKeepSize(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::minimumKeepSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolManager_newKProtocolManager(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KProtocolManagerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_noProxyFor(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolManagerJBridge::noProxyFor(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_persistentConnections(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::persistentConnections(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_persistentProxyConnection(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::persistentProxyConnection(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_proxyAuthMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::proxyAuthMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_proxyConfigScript(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolManagerJBridge::proxyConfigScript(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_proxyConnectTimeout(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::proxyConnectTimeout(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_proxyForURL(JNIEnv* env, jclass cls, jobject url) -{ - TQString _qstring; - (void) cls; - _qstring = KProtocolManagerJBridge::proxyForURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_proxyFor(JNIEnv* env, jclass cls, jstring protocol) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = KProtocolManagerJBridge::proxyFor((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_proxyType(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::proxyType(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_readTimeout(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::readTimeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KProtocolManager_reparseConfiguration(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KProtocolManagerJBridge::reparseConfiguration(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KProtocolManager_responseTimeout(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KProtocolManagerJBridge::responseTimeout(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_slaveProtocol(JNIEnv* env, jclass cls, jobject url, jobject proxy) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_proxy = 0; - _qstring = KProtocolManagerJBridge::slaveProtocol((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, proxy, &_qstring_proxy)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_proxy, proxy); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_useCache(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::useCache(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_useProxy(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::useProxy(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KProtocolManager_useReverseProxy(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KProtocolManagerJBridge::useReverseProxy(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KProtocolManager_userAgentForHost(JNIEnv* env, jclass cls, jstring hostname) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_hostname = 0; - _qstring = KProtocolManagerJBridge::userAgentForHost((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KProtocolManager.h b/kdejava/koala/kdejava/KProtocolManager.h deleted file mode 100644 index 26181704..00000000 --- a/kdejava/koala/kdejava/KProtocolManager.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KProtocolManager__ -#define __org_kde_koala_KProtocolManager__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolManager_newKProtocolManager (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_defaultUserAgent__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_defaultUserAgent__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_userAgentForHost (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_readTimeout (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_connectTimeout (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_proxyConnectTimeout (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_responseTimeout (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_useProxy (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_useReverseProxy (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_proxyType (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_proxyAuthMode (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_noProxyFor (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_proxyFor (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_proxyForURL (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolManager_badProxy (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_proxyConfigScript (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_useCache (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_maxCacheAge (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_maxCacheSize (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_cacheDir (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_cacheControl (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_autoResume (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_markPartial (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KProtocolManager_minimumKeepSize (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_persistentProxyConnection (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_persistentConnections (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolManager_reparseConfiguration (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KProtocolManager_slaveProtocol (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KProtocolManager_config (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolManager_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KProtocolManager_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KProtocolManager_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KProtocolManager__ */ diff --git a/kdejava/koala/kdejava/KPushButton.cpp b/kdejava/koala/kdejava/KPushButton.cpp deleted file mode 100644 index 192195cf..00000000 --- a/kdejava/koala/kdejava/KPushButton.cpp +++ /dev/null @@ -1,610 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KPushButtonJBridge : public KPushButton -{ -public: - KPushButtonJBridge(TQWidget* arg1,const char* arg2) : KPushButton(arg1,arg2) {}; - KPushButtonJBridge(TQWidget* arg1) : KPushButton(arg1) {}; - KPushButtonJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KPushButton(arg1,arg2,arg3) {}; - KPushButtonJBridge(const TQString& arg1,TQWidget* arg2) : KPushButton(arg1,arg2) {}; - KPushButtonJBridge(const TQIconSet& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : KPushButton(arg1,arg2,arg3,arg4) {}; - KPushButtonJBridge(const TQIconSet& arg1,const TQString& arg2,TQWidget* arg3) : KPushButton(arg1,arg2,arg3) {}; - KPushButtonJBridge(const KGuiItem& arg1,TQWidget* arg2,const char* arg3) : KPushButton(arg1,arg2,arg3) {}; - KPushButtonJBridge(const KGuiItem& arg1,TQWidget* arg2) : KPushButton(arg1,arg2) {}; - TQDragObject* protected_dragObject() { - return (TQDragObject*) KPushButton::dragObject(); - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KPushButton::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KPushButton::mouseMoveEvent(arg1); - return; - } - void protected_startDrag() { - KPushButton::startDrag(); - return; - } - ~KPushButtonJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KPushButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(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 startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","startDrag")) { - KPushButton::startDrag(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KPushButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KPushButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQPushButton::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")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KPushButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KPushButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KPushButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KPushButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KPushButton_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPushButton_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KPushButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KPushButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPushButton_guiItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPushButton*) QtSupport::getQt(env, obj))->guiItem(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KPushButton_guiItm(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KPushButton*) QtSupport::getQt(env, obj))->guiItm(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPushButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KPushButton_isDragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KPushButton*) QtSupport::getQt(env, obj))->isDragEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KPushButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KPushButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_newKPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_newKPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_koala_KPushButton_newKPushButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject item, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (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_koala_KPushButton_newKPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_koala_KPushButton_newKPushButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KPushButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_newKPushButton__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 KPushButtonJBridge((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_koala_KPushButton_setDragEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KPushButton*) QtSupport::getQt(env, obj))->setDragEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_setGuiItem__I(JNIEnv* env, jobject obj, jint item) -{ - ((KPushButton*) QtSupport::getQt(env, obj))->setGuiItem((KStdGuiItem::StdItem) item); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_setGuiItem__Lorg_kde_koala_KGuiItem_2(JNIEnv* env, jobject obj, jobject item) -{ - ((KPushButton*) QtSupport::getQt(env, obj))->setGuiItem((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_setGuiItm(JNIEnv* env, jobject obj, jint itm) -{ - ((KPushButton*) QtSupport::getQt(env, obj))->setGuiItm((int) itm); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_setIconSet(JNIEnv* env, jobject obj, jobject iconSet) -{ - ((KPushButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KPushButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KPushButton_startDrag(JNIEnv* env, jobject obj) -{ - ((KPushButtonJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); - return; -} - diff --git a/kdejava/koala/kdejava/KPushButton.h b/kdejava/koala/kdejava/KPushButton.h deleted file mode 100644 index 9425f15a..00000000 --- a/kdejava/koala/kdejava/KPushButton.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KPushButton__ -#define __org_kde_koala_KPushButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPushButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KPushButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_newKPushButton__Lorg_kde_koala_KGuiItem_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setDragEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPushButton_isDragEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setGuiItem__Lorg_kde_koala_KGuiItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setGuiItem__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPushButton_guiItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setGuiItm (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KPushButton_guiItm (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KPushButton_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_startDrag (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KPushButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KPushButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KPushButton__ */ diff --git a/kdejava/koala/kdejava/KRFCDate.cpp b/kdejava/koala/kdejava/KRFCDate.cpp deleted file mode 100644 index 5ab09341..00000000 --- a/kdejava/koala/kdejava/KRFCDate.cpp +++ /dev/null @@ -1,94 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KRFCDateJBridge : public KRFCDate -{ -public: - KRFCDateJBridge() : KRFCDate() {}; - ~KRFCDateJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRFCDate_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRFCDate_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRFCDate_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KRFCDate*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRFCDate_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRFCDate_localUTCOffset(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KRFCDateJBridge::localUTCOffset(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRFCDate_newKRFCDate(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRFCDateJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRFCDate_parseDateISO8601(JNIEnv* env, jclass cls, jstring date) -{ - (void) cls; -static TQString* _qstring_date = 0; - jint xret = (jint) KRFCDateJBridge::parseDateISO8601((const TQString&)*(TQString*) QtSupport::toTQString(env, date, &_qstring_date)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRFCDate_parseDate(JNIEnv* env, jclass cls, jstring date) -{ - (void) cls; -static TQString* _qstring_date = 0; - jint xret = (jint) KRFCDateJBridge::parseDate((const TQString&)*(TQString*) QtSupport::toTQString(env, date, &_qstring_date)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRFCDate_rfc2822DateString__I(JNIEnv* env, jclass cls, jint utcTime) -{ - TQCString _qstring; - (void) cls; - _qstring = KRFCDateJBridge::rfc2822DateString((time_t) utcTime); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRFCDate_rfc2822DateString__II(JNIEnv* env, jclass cls, jint utcTime, jint utcOffset) -{ - TQCString _qstring; - (void) cls; - _qstring = KRFCDateJBridge::rfc2822DateString((time_t) utcTime, (int) utcOffset); - return QtSupport::fromTQCString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KRFCDate.h b/kdejava/koala/kdejava/KRFCDate.h deleted file mode 100644 index 91ea404c..00000000 --- a/kdejava/koala/kdejava/KRFCDate.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRFCDate__ -#define __org_kde_koala_KRFCDate__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRFCDate_newKRFCDate (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRFCDate_parseDate (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRFCDate_parseDateISO8601 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRFCDate_localUTCOffset (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRFCDate_rfc2822DateString__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRFCDate_rfc2822DateString__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRFCDate_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRFCDate_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRFCDate_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRFCDate__ */ diff --git a/kdejava/koala/kdejava/KRandomSequence.cpp b/kdejava/koala/kdejava/KRandomSequence.cpp deleted file mode 100644 index ac6aff26..00000000 --- a/kdejava/koala/kdejava/KRandomSequence.cpp +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KRandomSequenceJBridge : public KRandomSequence -{ -public: - KRandomSequenceJBridge(long arg1) : KRandomSequence(arg1) {}; - KRandomSequenceJBridge() : KRandomSequence() {}; - KRandomSequenceJBridge(const KRandomSequence& arg1) : KRandomSequence(arg1) {}; - ~KRandomSequenceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRandomSequence_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KRandomSequence*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRandomSequence_getBool(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRandomSequence*) QtSupport::getQt(env, obj))->getBool(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KRandomSequence_getDouble(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KRandomSequence*) QtSupport::getQt(env, obj))->getDouble(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KRandomSequence_getLong(JNIEnv* env, jobject obj, jlong max) -{ - jlong xret = (jlong) ((KRandomSequence*) QtSupport::getQt(env, obj))->getLong((unsigned long) max); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRandomSequence_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_modulate(JNIEnv* env, jobject obj, jint i) -{ - ((KRandomSequence*) QtSupport::getQt(env, obj))->modulate((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_newKRandomSequence__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRandomSequenceJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_newKRandomSequence__J(JNIEnv* env, jobject obj, jlong lngSeed) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRandomSequenceJBridge((long) lngSeed)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_newKRandomSequence__Lorg_kde_koala_KRandomSequence_2(JNIEnv* env, jobject obj, jobject a) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRandomSequenceJBridge((const KRandomSequence&)*(const KRandomSequence*) QtSupport::getQt(env, a))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_setSeed__(JNIEnv* env, jobject obj) -{ - ((KRandomSequence*) QtSupport::getQt(env, obj))->setSeed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRandomSequence_setSeed__J(JNIEnv* env, jobject obj, jlong lngSeed) -{ - ((KRandomSequence*) QtSupport::getQt(env, obj))->setSeed((long) lngSeed); - return; -} - diff --git a/kdejava/koala/kdejava/KRandomSequence.h b/kdejava/koala/kdejava/KRandomSequence.h deleted file mode 100644 index 2832cd1e..00000000 --- a/kdejava/koala/kdejava/KRandomSequence.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRandomSequence__ -#define __org_kde_koala_KRandomSequence__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_newKRandomSequence__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_newKRandomSequence__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_newKRandomSequence__Lorg_kde_koala_KRandomSequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_setSeed__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_setSeed__ (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KRandomSequence_getDouble (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KRandomSequence_getLong (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRandomSequence_getBool (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_modulate (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRandomSequence_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRandomSequence_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRandomSequence__ */ diff --git a/kdejava/koala/kdejava/KRegExpEditorInterface.cpp b/kdejava/koala/kdejava/KRegExpEditorInterface.cpp deleted file mode 100644 index 5eadc670..00000000 --- a/kdejava/koala/kdejava/KRegExpEditorInterface.cpp +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRegExpEditorInterface_redo(JNIEnv* env, jobject obj) -{ - ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->redo(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRegExpEditorInterface_regExp(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->regExp(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRegExpEditorInterface_setMatchText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->setMatchText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRegExpEditorInterface_setRegExp(JNIEnv* env, jobject obj, jstring regexp) -{ -static TQString* _qstring_regexp = 0; - ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->setRegExp((const TQString&)*(TQString*) QtSupport::toTQString(env, regexp, &_qstring_regexp)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRegExpEditorInterface_undo(JNIEnv* env, jobject obj) -{ - ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->undo(); - return; -} - diff --git a/kdejava/koala/kdejava/KRegExpEditorInterface.h b/kdejava/koala/kdejava/KRegExpEditorInterface.h deleted file mode 100644 index 8cba3d71..00000000 --- a/kdejava/koala/kdejava/KRegExpEditorInterface.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRegExpEditorInterface__ -#define __org_kde_koala_KRegExpEditorInterface__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRegExpEditorInterface_regExp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRegExpEditorInterface_setRegExp (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRegExpEditorInterface_redo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRegExpEditorInterface_undo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRegExpEditorInterface_setMatchText (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRegExpEditorInterface__ */ diff --git a/kdejava/koala/kdejava/KReplace.cpp b/kdejava/koala/kdejava/KReplace.cpp deleted file mode 100644 index 9d1782aa..00000000 --- a/kdejava/koala/kdejava/KReplace.cpp +++ /dev/null @@ -1,280 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KReplaceJBridge : public KReplace -{ -public: - KReplaceJBridge(const TQString& arg1,const TQString& arg2,long arg3,TQWidget* arg4) : KReplace(arg1,arg2,arg3,arg4) {}; - KReplaceJBridge(const TQString& arg1,const TQString& arg2,long arg3) : KReplace(arg1,arg2,arg3) {}; - KReplaceJBridge(const TQString& arg1,const TQString& arg2,long arg3,TQWidget* arg4,TQWidget* arg5) : KReplace(arg1,arg2,arg3,arg4,arg5) {}; - void public_resetCounts() { - KReplace::resetCounts(); - return; - } - void public_displayFinalDialog() { - KReplace::displayFinalDialog(); - return; - } - void protected_slotSkip() { - KReplace::slotSkip(); - return; - } - void protected_slotReplace() { - KReplace::slotReplace(); - return; - } - void protected_slotReplaceAll() { - KReplace::slotReplaceAll(); - return; - } - ~KReplaceJBridge() {QtSupport::qtKeyDeleted(this);} - void displayFinalDialog() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplace","displayFinalDialog")) { - KReplace::displayFinalDialog(); - } - return; - } - void resetCounts() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplace","resetCounts")) { - KReplace::resetCounts(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KReplace",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KReplace_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KReplace*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_closeReplaceNextDialog(JNIEnv* env, jobject obj) -{ - ((KReplace*) QtSupport::getQt(env, obj))->closeReplaceNextDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_displayFinalDialog(JNIEnv* env, jobject obj) -{ - ((KReplaceJBridge*) QtSupport::getQt(env, obj))->public_displayFinalDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KReplace_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KReplace*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KReplace_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplace_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplace*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pattern, jstring replacement, jlong options) -{ -static TQString* _qstring_pattern = 0; -static TQString* _qstring_replacement = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toTQString(env, replacement, &_qstring_replacement), (long) options)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2JLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring pattern, jstring replacement, jlong options, jobject parent) -{ -static TQString* _qstring_pattern = 0; -static TQString* _qstring_replacement = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toTQString(env, replacement, &_qstring_replacement), (long) options, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2JLorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring pattern, jstring replacement, jlong options, jobject parent, jobject replaceDialog) -{ -static TQString* _qstring_pattern = 0; -static TQString* _qstring_replacement = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toTQString(env, replacement, &_qstring_replacement), (long) options, (TQWidget*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, replaceDialog))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KReplace_numReplacements(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KReplace*) QtSupport::getQt(env, obj))->numReplacements(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplace_replaceNextDialog__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplace*) QtSupport::getQt(env, obj))->replaceNextDialog(), "org.kde.koala.KDialogBase"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplace_replaceNextDialog__Z(JNIEnv* env, jobject obj, jboolean create) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplace*) QtSupport::getQt(env, obj))->replaceNextDialog((bool) create), "org.kde.koala.KDialogBase"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KReplace_replace__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KReplace*) QtSupport::getQt(env, obj))->replace(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KReplace_replace__Ljava_lang_StringBuffer_2Ljava_lang_String_2Ljava_lang_String_2IJ_3I(JNIEnv* env, jclass cls, jobject text, jstring pattern, jstring replacement, jint index, jlong options, jintArray replacedLength) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_pattern = 0; -static TQString* _qstring_replacement = 0; - int* _int_replacedLength = QtSupport::toIntPtr(env, replacedLength); - jint xret = (jint) KReplaceJBridge::replace((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern), (const TQString&)*(TQString*) QtSupport::toTQString(env, replacement, &_qstring_replacement), (int) index, (long) options, (int*) _int_replacedLength); - QtSupport::fromTQStringToStringBuffer(env, _qstring_text, text); - env->SetIntArrayRegion(replacedLength, 0, 1, (jint *) _int_replacedLength); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KReplace_replace__Ljava_lang_StringBuffer_2Lorg_kde_qt_QRegExp_2Ljava_lang_String_2IJ_3I(JNIEnv* env, jclass cls, jobject text, jobject pattern, jstring replacement, jint index, jlong options, jintArray replacedLength) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_replacement = 0; - int* _int_replacedLength = QtSupport::toIntPtr(env, replacedLength); - jint xret = (jint) KReplaceJBridge::replace((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, text, &_qstring_text), (const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, pattern), (const TQString&)*(TQString*) QtSupport::toTQString(env, replacement, &_qstring_replacement), (int) index, (long) options, (int*) _int_replacedLength); - QtSupport::fromTQStringToStringBuffer(env, _qstring_text, text); - env->SetIntArrayRegion(replacedLength, 0, 1, (jint *) _int_replacedLength); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_resetCounts(JNIEnv* env, jobject obj) -{ - ((KReplaceJBridge*) QtSupport::getQt(env, obj))->public_resetCounts(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KReplace_shouldRestart__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KReplace*) QtSupport::getQt(env, obj))->shouldRestart(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KReplace_shouldRestart__Z(JNIEnv* env, jobject obj, jboolean forceAsking) -{ - jboolean xret = (jboolean) ((KReplace*) QtSupport::getQt(env, obj))->shouldRestart((bool) forceAsking); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KReplace_shouldRestart__ZZ(JNIEnv* env, jobject obj, jboolean forceAsking, jboolean showNumMatches) -{ - jboolean xret = (jboolean) ((KReplace*) QtSupport::getQt(env, obj))->shouldRestart((bool) forceAsking, (bool) showNumMatches); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_slotReplaceAll(JNIEnv* env, jobject obj) -{ - ((KReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotReplaceAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_slotReplace(JNIEnv* env, jobject obj) -{ - ((KReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotReplace(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplace_slotSkip(JNIEnv* env, jobject obj) -{ - ((KReplaceJBridge*) QtSupport::getQt(env, obj))->protected_slotSkip(); - return; -} - diff --git a/kdejava/koala/kdejava/KReplace.h b/kdejava/koala/kdejava/KReplace.h deleted file mode 100644 index 3ed04545..00000000 --- a/kdejava/koala/kdejava/KReplace.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KReplace__ -#define __org_kde_koala_KReplace__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplace_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KReplace_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2JLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jlong, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_newKReplace__Ljava_lang_String_2Ljava_lang_String_2JLorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jlong, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KReplace_numReplacements (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_resetCounts (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KReplace_replace__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplace_replaceNextDialog__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplace_replaceNextDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_closeReplaceNextDialog (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KReplace_shouldRestart__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KReplace_shouldRestart__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KReplace_shouldRestart__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_displayFinalDialog (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KReplace_replace__Ljava_lang_StringBuffer_2Ljava_lang_String_2Ljava_lang_String_2IJ_3I (JNIEnv *env, jclass, jobject, jstring, jstring, jint, jlong, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KReplace_replace__Ljava_lang_StringBuffer_2Lorg_kde_qt_QRegExp_2Ljava_lang_String_2IJ_3I (JNIEnv *env, jclass, jobject, jobject, jstring, jint, jlong, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_slotSkip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_slotReplace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_slotReplaceAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplace_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KReplace_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KReplace__ */ diff --git a/kdejava/koala/kdejava/KReplaceDialog.cpp b/kdejava/koala/kdejava/KReplaceDialog.cpp deleted file mode 100644 index 16ce421f..00000000 --- a/kdejava/koala/kdejava/KReplaceDialog.cpp +++ /dev/null @@ -1,612 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KReplaceDialogJBridge : public KReplaceDialog -{ -public: - KReplaceDialogJBridge(TQWidget* arg1,const char* arg2,long arg3,const TQStringList& arg4,const TQStringList& arg5,bool arg6) : KReplaceDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KReplaceDialogJBridge(TQWidget* arg1,const char* arg2,long arg3,const TQStringList& arg4,const TQStringList& arg5) : KReplaceDialog(arg1,arg2,arg3,arg4,arg5) {}; - KReplaceDialogJBridge(TQWidget* arg1,const char* arg2,long arg3,const TQStringList& arg4) : KReplaceDialog(arg1,arg2,arg3,arg4) {}; - KReplaceDialogJBridge(TQWidget* arg1,const char* arg2,long arg3) : KReplaceDialog(arg1,arg2,arg3) {}; - KReplaceDialogJBridge(TQWidget* arg1,const char* arg2) : KReplaceDialog(arg1,arg2) {}; - KReplaceDialogJBridge(TQWidget* arg1) : KReplaceDialog(arg1) {}; - KReplaceDialogJBridge() : KReplaceDialog() {}; - void protected_slotOk() { - KReplaceDialog::slotOk(); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KReplaceDialog::showEvent(arg1); - return; - } - ~KReplaceDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KReplaceDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","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")) { - KReplaceDialog::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KReplaceDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KReplaceDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KReplaceDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KReplaceDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KReplaceDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KReplaceDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KReplaceDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplaceDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplaceDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__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 KReplaceDialogJBridge((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_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options, jobjectArray findStrings) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options, jobjectArray findStrings, jobjectArray replaceStrings) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; -static TQStringList* _qlist_replaceStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, replaceStrings, &_qlist_replaceStrings))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jlong options, jobjectArray findStrings, jobjectArray replaceStrings, jboolean hasSelection) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_findStrings = 0; -static TQStringList* _qlist_replaceStrings = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KReplaceDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (long) options, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, findStrings, &_qlist_findStrings), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, replaceStrings, &_qlist_replaceStrings), (bool) hasSelection)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KReplaceDialog_options(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KReplaceDialog*) QtSupport::getQt(env, obj))->options(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplaceDialog_replaceExtension(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KReplaceDialog*) QtSupport::getQt(env, obj))->replaceExtension(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KReplaceDialog_replacementHistory(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KReplaceDialog*) QtSupport::getQt(env, obj))->replacementHistory(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KReplaceDialog_replacement(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KReplaceDialog*) QtSupport::getQt(env, obj))->replacement(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_setOptions(JNIEnv* env, jobject obj, jlong options) -{ - ((KReplaceDialog*) QtSupport::getQt(env, obj))->setOptions((long) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_setReplacementHistory(JNIEnv* env, jobject obj, jobjectArray history) -{ -static TQStringList* _qlist_history = 0; - ((KReplaceDialog*) QtSupport::getQt(env, obj))->setReplacementHistory((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, history, &_qlist_history)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KReplaceDialogJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KReplaceDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((KReplaceDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - diff --git a/kdejava/koala/kdejava/KReplaceDialog.h b/kdejava/koala/kdejava/KReplaceDialog.h deleted file mode 100644 index 7cc306f2..00000000 --- a/kdejava/koala/kdejava/KReplaceDialog.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KReplaceDialog__ -#define __org_kde_koala_KReplaceDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplaceDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KReplaceDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jlong, jobjectArray, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jlong, jobjectArray, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jlong, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2J (JNIEnv *env, jobject, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_newKReplaceDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_setReplacementHistory (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplaceDialog_replacementHistory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_setOptions (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KReplaceDialog_options (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KReplaceDialog_replacement (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KReplaceDialog_replaceExtension (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KReplaceDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KReplaceDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KReplaceDialog__ */ diff --git a/kdejava/koala/kdejava/KRestrictedLine.cpp b/kdejava/koala/kdejava/KRestrictedLine.cpp deleted file mode 100644 index 434ec176..00000000 --- a/kdejava/koala/kdejava/KRestrictedLine.cpp +++ /dev/null @@ -1,556 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KRestrictedLineJBridge : public KRestrictedLine -{ -public: - KRestrictedLineJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3) : KRestrictedLine(arg1,arg2,arg3) {}; - KRestrictedLineJBridge(TQWidget* arg1,const char* arg2) : KRestrictedLine(arg1,arg2) {}; - KRestrictedLineJBridge(TQWidget* arg1) : KRestrictedLine(arg1) {}; - KRestrictedLineJBridge() : KRestrictedLine() {}; - void protected_keyPressEvent(TQKeyEvent* arg1) { - KRestrictedLine::keyPressEvent(arg1); - return; - } - ~KRestrictedLineJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQLineEdit::dragLeaveEvent(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQLineEdit::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KLineEdit::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")) { - KLineEdit::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void selectAll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","selectAll")) { - TQLineEdit::selectAll(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQLineEdit::dragEnterEvent(arg1); - } - return; - } - void undo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","undo")) { - TQLineEdit::undo(); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQLineEdit::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQLineEdit::dragMoveEvent(arg1); - } - 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.koala.KRestrictedLine","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 setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQLineEdit::setPalette(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void deselect() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","deselect")) { - TQLineEdit::deselect(); - } - 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")) { - TQLineEdit::imStartEvent(arg1); - } - return; - } - void cut() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","cut")) { - TQLineEdit::cut(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","clear")) { - KLineEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KRestrictedLine","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KRestrictedLine::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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.koala.KRestrictedLine","copy")) { - KLineEdit::copy(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQLineEdit::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void clearValidator() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","clearValidator")) { - TQLineEdit::clearValidator(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::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")) { - KLineEdit::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KLineEdit::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQLineEdit::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQLineEdit::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")) { - KLineEdit::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - KLineEdit::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KRestrictedLine",object,event)) { - return KLineEdit::eventFilter(object,event); - } else { - return TRUE; - } - } - void paste() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","paste")) { - TQLineEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","redo")) { - TQLineEdit::redo(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRestrictedLine","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRestrictedLine_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRestrictedLine*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRestrictedLine_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KRestrictedLine*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KRestrictedLine*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRestrictedLine_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KRestrictedLineJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRestrictedLine_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRestrictedLine*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRestrictedLineJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRestrictedLineJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__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 KRestrictedLineJBridge((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_koala_KRestrictedLine_newKRestrictedLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring valid) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_valid = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRestrictedLineJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, valid, &_qstring_valid))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRestrictedLine_setValidChars(JNIEnv* env, jobject obj, jstring valid) -{ -static TQString* _qstring_valid = 0; - ((KRestrictedLine*) QtSupport::getQt(env, obj))->setValidChars((const TQString&)*(TQString*) QtSupport::toTQString(env, valid, &_qstring_valid)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRestrictedLine_validChars(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KRestrictedLine*) QtSupport::getQt(env, obj))->validChars(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KRestrictedLine.h b/kdejava/koala/kdejava/KRestrictedLine.h deleted file mode 100644 index 63012e20..00000000 --- a/kdejava/koala/kdejava/KRestrictedLine.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRestrictedLine__ -#define __org_kde_koala_KRestrictedLine__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRestrictedLine_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRestrictedLine_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_newKRestrictedLine__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_setValidChars (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRestrictedLine_validChars (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRestrictedLine_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRestrictedLine_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRestrictedLine__ */ diff --git a/kdejava/koala/kdejava/KRootPermsIcon.cpp b/kdejava/koala/kdejava/KRootPermsIcon.cpp deleted file mode 100644 index 67b8d63e..00000000 --- a/kdejava/koala/kdejava/KRootPermsIcon.cpp +++ /dev/null @@ -1,445 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KRootPermsIconJBridge : public KRootPermsIcon -{ -public: - KRootPermsIconJBridge(TQWidget* arg1,const char* arg2) : KRootPermsIcon(arg1,arg2) {}; - KRootPermsIconJBridge(TQWidget* arg1) : KRootPermsIcon(arg1) {}; - KRootPermsIconJBridge() : KRootPermsIcon() {}; - ~KRootPermsIconJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KRootPermsIcon","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KRootPermsIcon",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPermsIcon","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootPermsIcon_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRootPermsIcon*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRootPermsIcon_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KRootPermsIcon*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KRootPermsIcon*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPermsIcon_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootPermsIcon_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRootPermsIcon*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPermsIconJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPermsIconJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__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 KRootPermsIconJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPermsIcon_status(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRootPermsIcon*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPermsIcon_updateStatus(JNIEnv* env, jobject obj) -{ - ((KRootPermsIcon*) QtSupport::getQt(env, obj))->updateStatus(); - return; -} - diff --git a/kdejava/koala/kdejava/KRootPermsIcon.h b/kdejava/koala/kdejava/KRootPermsIcon.h deleted file mode 100644 index a108d8ff..00000000 --- a/kdejava/koala/kdejava/KRootPermsIcon.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRootPermsIcon__ -#define __org_kde_koala_KRootPermsIcon__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootPermsIcon_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootPermsIcon_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_newKRootPermsIcon__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPermsIcon_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_updateStatus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPermsIcon_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPermsIcon_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRootPermsIcon__ */ diff --git a/kdejava/koala/kdejava/KRootPixmap.cpp b/kdejava/koala/kdejava/KRootPixmap.cpp deleted file mode 100644 index 33727751..00000000 --- a/kdejava/koala/kdejava/KRootPixmap.cpp +++ /dev/null @@ -1,267 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KRootPixmapJBridge : public KRootPixmap -{ -public: - KRootPixmapJBridge(TQWidget* arg1,const char* arg2) : KRootPixmap(arg1,arg2) {}; - KRootPixmapJBridge(TQWidget* arg1) : KRootPixmap(arg1) {}; - KRootPixmapJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : KRootPixmap(arg1,arg2,arg3) {}; - KRootPixmapJBridge(TQWidget* arg1,TQObject* arg2) : KRootPixmap(arg1,arg2) {}; - void public_start() { - KRootPixmap::start(); - return; - } - void public_stop() { - KRootPixmap::stop(); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KRootPixmap::eventFilter(arg1,arg2); - } - ~KRootPixmapJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void start() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPixmap","start")) { - KRootPixmap::start(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KRootPixmap",object,event)) { - return KRootPixmap::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRootPixmap","stop")) { - KRootPixmap::stop(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootPixmap_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRootPixmap*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootPixmap_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((KRootPixmap*) QtSupport::getQt(env, obj))->color(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRootPixmap_currentDesktop(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRootPixmap*) QtSupport::getQt(env, obj))->currentDesktop(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPixmap_customPainting(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRootPixmap*) QtSupport::getQt(env, obj))->customPainting(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRootPixmap_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_enableExports(JNIEnv* env, jobject obj) -{ - ((KRootPixmap*) QtSupport::getQt(env, obj))->enableExports(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPixmap_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KRootPixmapJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KRootPixmap*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KRootPixmap*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPixmap_isActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRootPixmap*) QtSupport::getQt(env, obj))->isActive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPixmap_isAvailable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRootPixmap*) QtSupport::getQt(env, obj))->isAvailable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootPixmap_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootPixmap_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRootPixmap*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject target) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPixmapJBridge((TQWidget*) QtSupport::getQt(env, target))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject target, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPixmapJBridge((TQWidget*) QtSupport::getQt(env, target), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject target, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPixmapJBridge((TQWidget*) QtSupport::getQt(env, target), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject target, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPixmapJBridge((TQWidget*) QtSupport::getQt(env, target), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KRootPixmap_opacity(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KRootPixmap*) QtSupport::getQt(env, obj))->opacity(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootPixmap_pixmapName(JNIEnv* env, jclass cls, jint desk) -{ - TQString _qstring; - (void) cls; - _qstring = KRootPixmapJBridge::pixmapName((int) desk); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_repaint__(JNIEnv* env, jobject obj) -{ - ((KRootPixmap*) QtSupport::getQt(env, obj))->repaint(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_repaint__Z(JNIEnv* env, jobject obj, jboolean force) -{ - ((KRootPixmap*) QtSupport::getQt(env, obj))->repaint((bool) force); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_setCustomPainting(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KRootPixmap*) QtSupport::getQt(env, obj))->setCustomPainting((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_setFadeEffect(JNIEnv* env, jobject obj, jdouble opacity, jobject color) -{ - ((KRootPixmap*) QtSupport::getQt(env, obj))->setFadeEffect((double) opacity, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_start(JNIEnv* env, jobject obj) -{ - ((KRootPixmapJBridge*) QtSupport::getQt(env, obj))->public_start(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootPixmap_stop(JNIEnv* env, jobject obj) -{ - ((KRootPixmapJBridge*) QtSupport::getQt(env, obj))->public_stop(); - return; -} - diff --git a/kdejava/koala/kdejava/KRootPixmap.h b/kdejava/koala/kdejava/KRootPixmap.h deleted file mode 100644 index 1c3bb6e7..00000000 --- a/kdejava/koala/kdejava/KRootPixmap.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRootPixmap__ -#define __org_kde_koala_KRootPixmap__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootPixmap_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootPixmap_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_newKRootPixmap__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPixmap_isAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPixmap_isActive (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRootPixmap_currentDesktop (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPixmap_customPainting (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootPixmap_color (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KRootPixmap_opacity (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_start (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_stop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_setFadeEffect (JNIEnv *env, jobject, jdouble, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_repaint__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_repaint__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_setCustomPainting (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_enableExports (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootPixmap_pixmapName (JNIEnv *env, jclass, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPixmap_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootPixmap_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootPixmap_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRootPixmap__ */ diff --git a/kdejava/koala/kdejava/KRootProp.cpp b/kdejava/koala/kdejava/KRootProp.cpp deleted file mode 100644 index fb73f904..00000000 --- a/kdejava/koala/kdejava/KRootProp.cpp +++ /dev/null @@ -1,221 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KRootPropJBridge : public KRootProp -{ -public: - KRootPropJBridge(const TQString& arg1) : KRootProp(arg1) {}; - KRootPropJBridge() : KRootProp() {}; - ~KRootPropJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_destroy(JNIEnv* env, jobject obj) -{ - ((KRootProp*) QtSupport::getQt(env, obj))->destroy(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRootProp_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KRootProp*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRootProp_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootProp_listEntries(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KRootProp*) QtSupport::getQt(env, obj))->listEntries(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_newKRootProp__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPropJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_newKRootProp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rProp) -{ -static TQString* _qstring_rProp = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRootPropJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, rProp, &_qstring_rProp))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_prop(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->prop(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootProp_readColorEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey) -{ -static TQString* _qstring_rKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KRootProp*) QtSupport::getQt(env, obj))->readColorEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootProp_readColorEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring rKey, jobject pDefault) -{ -static TQString* _qstring_rKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KRootProp*) QtSupport::getQt(env, obj))->readColorEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQColor*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_readEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_readEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey, jstring pDefault) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; -static TQString* _qstring_pDefault = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, pDefault, &_qstring_pDefault)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootProp_readFontEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey) -{ -static TQString* _qstring_rKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((KRootProp*) QtSupport::getQt(env, obj))->readFontEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRootProp_readFontEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring rKey, jobject pDefault) -{ -static TQString* _qstring_rKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((KRootProp*) QtSupport::getQt(env, obj))->readFontEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQFont*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRootProp_readNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey) -{ -static TQString* _qstring_rKey = 0; - jint xret = (jint) ((KRootProp*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRootProp_readNumEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring rKey, jint nDefault) -{ -static TQString* _qstring_rKey = 0; - jint xret = (jint) ((KRootProp*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (int) nDefault); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_removeEntry(JNIEnv* env, jobject obj, jstring rKey) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->removeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_setProp__(JNIEnv* env, jobject obj) -{ - ((KRootProp*) QtSupport::getQt(env, obj))->setProp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_setProp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rProp) -{ -static TQString* _qstring_rProp = 0; - ((KRootProp*) QtSupport::getQt(env, obj))->setProp((const TQString&)*(TQString*) QtSupport::toTQString(env, rProp, &_qstring_rProp)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRootProp_sync(JNIEnv* env, jobject obj) -{ - ((KRootProp*) QtSupport::getQt(env, obj))->sync(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring rKey, jint nValue) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (int) nValue); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring rKey, jstring rValue) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; -static TQString* _qstring_rValue = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, rValue, &_qstring_rValue)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring rKey, jobject rColor) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, rColor)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring rKey, jobject rFont) -{ - TQString _qstring; -static TQString* _qstring_rKey = 0; - _qstring = ((KRootProp*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, rKey, &_qstring_rKey), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, rFont)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KRootProp.h b/kdejava/koala/kdejava/KRootProp.h deleted file mode 100644 index 59b8733f..00000000 --- a/kdejava/koala/kdejava/KRootProp.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRootProp__ -#define __org_kde_koala_KRootProp__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_newKRootProp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_newKRootProp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_setProp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_setProp__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_prop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_destroy (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_readEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_readEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRootProp_readNumEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRootProp_readNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootProp_readFontEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootProp_readFontEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootProp_readColorEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootProp_readColorEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRootProp_removeEntry (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRootProp_listEntries (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_sync (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRootProp_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRootProp_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRootProp__ */ diff --git a/kdejava/koala/kdejava/KRuler.cpp b/kdejava/koala/kdejava/KRuler.cpp deleted file mode 100644 index 464ded63..00000000 --- a/kdejava/koala/kdejava/KRuler.cpp +++ /dev/null @@ -1,892 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KRulerJBridge : public KRuler -{ -public: - KRulerJBridge(TQWidget* arg1,const char* arg2) : KRuler(arg1,arg2) {}; - KRulerJBridge(TQWidget* arg1) : KRuler(arg1) {}; - KRulerJBridge() : KRuler() {}; - KRulerJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KRuler(arg1,arg2,arg3,arg4) {}; - KRulerJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : KRuler(arg1,arg2,arg3) {}; - KRulerJBridge(TQt::Orientation arg1,TQWidget* arg2) : KRuler(arg1,arg2) {}; - KRulerJBridge(TQt::Orientation arg1) : KRuler(arg1) {}; - KRulerJBridge(TQt::Orientation arg1,int arg2,TQWidget* arg3,const char* arg4,TQt::WFlags arg5) : KRuler(arg1,arg2,arg3,arg4,arg5) {}; - KRulerJBridge(TQt::Orientation arg1,int arg2,TQWidget* arg3,const char* arg4) : KRuler(arg1,arg2,arg3,arg4) {}; - KRulerJBridge(TQt::Orientation arg1,int arg2,TQWidget* arg3) : KRuler(arg1,arg2,arg3) {}; - KRulerJBridge(TQt::Orientation arg1,int arg2) : KRuler(arg1,arg2) {}; - void protected_drawContents(TQPainter* arg1) { - KRuler::drawContents(arg1); - return; - } - ~KRulerJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KRuler::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KRuler","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KRuler","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KRuler",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRuler","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_bigMarkDistance(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->bigMarkDistance(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRuler_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRuler*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRuler_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KRulerJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRuler_endLabel(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KRuler*) QtSupport::getQt(env, obj))->endLabel(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_endOffset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->endOffset(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KRuler*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KRuler*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_lengthFixed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->lengthFixed(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_length(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_littleMarkDistance(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->littleMarkDistance(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_mediumMarkDistance(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->mediumMarkDistance(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRuler_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRuler*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__I(JNIEnv* env, jobject obj, jint orient) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__II(JNIEnv* env, jobject obj, jint orient, jint widgetWidth) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (int) widgetWidth)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint orient, jint widgetWidth, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (int) widgetWidth, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint orient, jint widgetWidth, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (int) widgetWidth, (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_koala_KRuler_newKRuler__IILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint orient, jint widgetWidth, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (int) widgetWidth, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint orient, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint orient, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (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_koala_KRuler_newKRuler__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint orient, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQt::Orientation) orient, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRulerJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_newKRuler__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 KRulerJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_offset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->offset(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KRuler_pixelPerMark(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KRuler*) QtSupport::getQt(env, obj))->pixelPerMark(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setBigMarkDistance(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setBigMarkDistance((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setEndLabel(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KRuler*) QtSupport::getQt(env, obj))->setEndLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setLengthFixed(JNIEnv* env, jobject obj, jboolean fix) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setLengthFixed((bool) fix); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setLength(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setLength((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setLittleMarkDistance(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setLittleMarkDistance((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setMaxValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setMaxValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setMediumMarkDistance(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setMediumMarkDistance((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setMinValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setMinValue((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setOffset(JNIEnv* env, jobject obj, jint offset) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setOffset((int) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setPixelPerMark(JNIEnv* env, jobject obj, jdouble rate) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setPixelPerMark((double) rate); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setRange(JNIEnv* env, jobject obj, jint min, jint max) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setRange((int) min, (int) max); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setRulerMetricStyle(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setRulerMetricStyle((KRuler::MetricStyle) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowBigMarks(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowBigMarks((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowEndLabel(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowEndLabel((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowEndMarks(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowEndMarks((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowLittleMarks(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowLittleMarks((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowMediumMarks(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowMediumMarks((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowPointer(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowPointer((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setShowTinyMarks(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setShowTinyMarks((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setTinyMarkDistance(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setTinyMarkDistance((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_setValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->setValue((int) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showBigMarks(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showBigMarks(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showEndLabel(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showEndLabel(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showEndMarks(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showEndMarks(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showLittleMarks(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showLittleMarks(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showMediumMarks(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showMediumMarks(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showPointer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showPointer(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRuler_showTinyMarks(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRuler*) QtSupport::getQt(env, obj))->showTinyMarks(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slideDown__(JNIEnv* env, jobject obj) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slideDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slideDown__I(JNIEnv* env, jobject obj, jint count) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slideDown((int) count); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slideUp__(JNIEnv* env, jobject obj) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slideUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slideUp__I(JNIEnv* env, jobject obj, jint count) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slideUp((int) count); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slotEndOffset(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slotEndOffset((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slotNewOffset(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slotNewOffset((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRuler_slotNewValue(JNIEnv* env, jobject obj, jint arg1) -{ - ((KRuler*) QtSupport::getQt(env, obj))->slotNewValue((int) arg1); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_tinyMarkDistance(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->tinyMarkDistance(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRuler_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KRuler*) QtSupport::getQt(env, obj))->value(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KRuler.h b/kdejava/koala/kdejava/KRuler.h deleted file mode 100644 index 7fa6d262..00000000 --- a/kdejava/koala/kdejava/KRuler.h +++ /dev/null @@ -1,83 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRuler__ -#define __org_kde_koala_KRuler__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRuler_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRuler_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__IILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_newKRuler__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_minValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setTinyMarkDistance (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_tinyMarkDistance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setLittleMarkDistance (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_littleMarkDistance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setMediumMarkDistance (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_mediumMarkDistance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setBigMarkDistance (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_bigMarkDistance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowTinyMarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showTinyMarks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowLittleMarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showLittleMarks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowMediumMarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showMediumMarks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowBigMarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showBigMarks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowEndMarks (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showEndMarks (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowPointer (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showPointer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setShowEndLabel (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_showEndLabel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setEndLabel (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRuler_endLabel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setRulerMetricStyle (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setPixelPerMark (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KRuler_pixelPerMark (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setLength (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_length (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setLengthFixed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_lengthFixed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slideUp__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slideUp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slideDown__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slideDown__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_setOffset (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_offset (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRuler_endOffset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slotNewValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slotNewOffset (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_slotEndOffset (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRuler_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRuler_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRuler__ */ diff --git a/kdejava/koala/kdejava/KRun.cpp b/kdejava/koala/kdejava/KRun.cpp deleted file mode 100644 index 794877f0..00000000 --- a/kdejava/koala/kdejava/KRun.cpp +++ /dev/null @@ -1,562 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KRunJBridge : public KRun -{ -public: - KRunJBridge(const KURL& arg1,mode_t arg2,bool arg3,bool arg4) : KRun(arg1,arg2,arg3,arg4) {}; - KRunJBridge(const KURL& arg1,mode_t arg2,bool arg3) : KRun(arg1,arg2,arg3) {}; - KRunJBridge(const KURL& arg1,mode_t arg2) : KRun(arg1,arg2) {}; - KRunJBridge(const KURL& arg1) : KRun(arg1) {}; - KRunJBridge(const KURL& arg1,TQWidget* arg2,mode_t arg3,bool arg4,bool arg5) : KRun(arg1,arg2,arg3,arg4,arg5) {}; - KRunJBridge(const KURL& arg1,TQWidget* arg2,mode_t arg3,bool arg4) : KRun(arg1,arg2,arg3,arg4) {}; - KRunJBridge(const KURL& arg1,TQWidget* arg2,mode_t arg3) : KRun(arg1,arg2,arg3) {}; - KRunJBridge(const KURL& arg1,TQWidget* arg2) : KRun(arg1,arg2) {}; - void protected_init() { - KRun::init(); - return; - } - void protected_scanFile() { - KRun::scanFile(); - return; - } - void protected_foundMimeType(const TQString& arg1) { - KRun::foundMimeType(arg1); - return; - } - void protected_killJob() { - KRun::killJob(); - return; - } - void protected_slotTimeout() { - KRun::slotTimeout(); - return; - } - void protected_slotScanFinished(TDEIO::Job* arg1) { - KRun::slotScanFinished(arg1); - return; - } - void protected_slotScanMimeType(TDEIO::Job* arg1,const TQString& arg2) { - KRun::slotScanMimeType(arg1,arg2); - return; - } - void protected_slotStatResult(TDEIO::Job* arg1) { - KRun::slotStatResult(arg1); - return; - } - ~KRunJBridge() {QtSupport::qtKeyDeleted(this);} - void slotStatResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotStatResult",(void*)arg1,"org.kde.koala.Job")) { - KRun::slotStatResult(arg1); - } - return; - } - void scanFile() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRun","scanFile")) { - KRun::scanFile(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void killJob() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KRun","killJob")) { - KRun::killJob(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KRun",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_abort(JNIEnv* env, jobject obj) -{ - ((KRun*) QtSupport::getQt(env, obj))->abort(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_autoDelete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRun*) QtSupport::getQt(env, obj))->autoDelete(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRun_binaryName(JNIEnv* env, jclass cls, jstring execLine, jboolean removePath) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_execLine = 0; - _qstring = KRunJBridge::binaryName((const TQString&)*(TQString*) QtSupport::toTQString(env, execLine, &_qstring_execLine), (bool) removePath); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_checkStartupNotify(JNIEnv* env, jclass cls, jstring binName, jobject service, jbooleanArray silent_arg, jobject wmclass_arg) -{ - (void) cls; -static TQString* _qstring_binName = 0; - bool* _bool_silent_arg = QtSupport::toBooleanPtr(env, silent_arg); -static TQCString* _qcstring_wmclass_arg = 0; - if (_qcstring_wmclass_arg == 0) { - _qcstring_wmclass_arg = new TQCString(); - } - jboolean xret = (jboolean) KRunJBridge::checkStartupNotify((const TQString&)*(TQString*) QtSupport::toTQString(env, binName, &_qstring_binName), (const KService*) QtSupport::getQt(env, service), (bool*) _bool_silent_arg, (TQCString*) _qcstring_wmclass_arg); - env->SetBooleanArrayRegion(silent_arg, 0, 1, (jboolean*) _bool_silent_arg); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_wmclass_arg, wmclass_arg); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KRun_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KRun*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_displayOpenWithDialog__Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobjectArray lst) -{ - (void) cls; -static KURL::List* _qlist_lst = 0; - jboolean xret = (jboolean) KRunJBridge::displayOpenWithDialog((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, lst, &_qlist_lst)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_displayOpenWithDialog__Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobjectArray lst, jboolean tempFiles) -{ - (void) cls; -static KURL::List* _qlist_lst = 0; - jboolean xret = (jboolean) KRunJBridge::displayOpenWithDialog((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, lst, &_qlist_lst), (bool) tempFiles); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KRun_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KRun*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KRun*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_foundMimeType(JNIEnv* env, jobject obj, jstring _type) -{ -static TQString* _qstring__type = 0; - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_foundMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _type, &_qstring__type)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_hasError(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRun*) QtSupport::getQt(env, obj))->hasError(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_hasFinished(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KRun*) QtSupport::getQt(env, obj))->hasFinished(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_init(JNIEnv* env, jobject obj) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_isExecutableFile(JNIEnv* env, jclass cls, jobject url, jstring mimetype) -{ - (void) cls; -static TQString* _qstring_mimetype = 0; - jboolean xret = (jboolean) KRunJBridge::isExecutableFile((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KRun_isExecutable(JNIEnv* env, jclass cls, jstring serviceType) -{ - (void) cls; -static TQString* _qstring_serviceType = 0; - jboolean xret = (jboolean) KRunJBridge::isExecutable((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_killJob(JNIEnv* env, jobject obj) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_killJob(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRun_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KRun*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2J(JNIEnv* env, jobject obj, jobject url, jlong mode) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (mode_t) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2JZ(JNIEnv* env, jobject obj, jobject url, jlong mode, jboolean isLocalFile) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (mode_t) mode, (bool) isLocalFile)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2JZZ(JNIEnv* env, jobject obj, jobject url, jlong mode, jboolean isLocalFile, jboolean showProgressInfo) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (mode_t) mode, (bool) isLocalFile, (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject url, jobject window) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2J(JNIEnv* env, jobject obj, jobject url, jobject window, jlong mode) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window), (mode_t) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2JZ(JNIEnv* env, jobject obj, jobject url, jobject window, jlong mode, jboolean isLocalFile) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window), (mode_t) mode, (bool) isLocalFile)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2JZZ(JNIEnv* env, jobject obj, jobject url, jobject window, jlong mode, jboolean isLocalFile, jboolean showProgressInfo) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KRunJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window), (mode_t) mode, (bool) isLocalFile, (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRun_processDesktopExec__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls, jboolean has_shell) -{ - TQStringList _qlist; - (void) cls; -static KURL::List* _qlist__urls = 0; - _qlist = KRunJBridge::processDesktopExec((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (bool) has_shell); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KRun_processDesktopExec__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2ZZ(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls, jboolean has_shell, jboolean tempFiles) -{ - TQStringList _qlist; - (void) cls; -static KURL::List* _qlist__urls = 0; - _qlist = KRunJBridge::processDesktopExec((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (bool) has_shell, (bool) tempFiles); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_runCommand__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring cmd) -{ - (void) cls; -static TQString* _qstring_cmd = 0; - jint xret = (jint) KRunJBridge::runCommand((TQString)*(TQString*) QtSupport::toTQString(env, cmd, &_qstring_cmd)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_runCommand__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring cmd, jstring execName, jstring icon) -{ - (void) cls; -static TQString* _qstring_cmd = 0; -static TQString* _qstring_execName = 0; -static TQString* _qstring_icon = 0; - jint xret = (jint) KRunJBridge::runCommand((const TQString&)*(TQString*) QtSupport::toTQString(env, cmd, &_qstring_cmd), (const TQString&)*(TQString*) QtSupport::toTQString(env, execName, &_qstring_execName), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject _url, jstring _mimetype) -{ - (void) cls; -static TQString* _qstring__mimetype = 0; - jint xret = (jint) KRunJBridge::runURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const TQString&)*(TQString*) QtSupport::toTQString(env, _mimetype, &_qstring__mimetype)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject _url, jstring _mimetype, jboolean tempFile) -{ - (void) cls; -static TQString* _qstring__mimetype = 0; - jint xret = (jint) KRunJBridge::runURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const TQString&)*(TQString*) QtSupport::toTQString(env, _mimetype, &_qstring__mimetype), (bool) tempFile); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jobject _url, jstring _mimetype, jboolean tempFile, jboolean runExecutables) -{ - (void) cls; -static TQString* _qstring__mimetype = 0; - jint xret = (jint) KRunJBridge::runURL((const KURL&)*(const KURL*) QtSupport::getQt(env, _url), (const TQString&)*(TQString*) QtSupport::toTQString(env, _mimetype, &_qstring__mimetype), (bool) tempFile, (bool) runExecutables); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls) -{ - (void) cls; -static TQString* _qstring__exec = 0; -static KURL::List* _qlist__urls = 0; - jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name) -{ - (void) cls; -static TQString* _qstring__exec = 0; -static KURL::List* _qlist__urls = 0; -static TQString* _qstring__name = 0; - jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name, jstring _icon) -{ - (void) cls; -static TQString* _qstring__exec = 0; -static KURL::List* _qlist__urls = 0; -static TQString* _qstring__name = 0; -static TQString* _qstring__icon = 0; - jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name, jstring _icon, jstring _obsolete1) -{ - (void) cls; -static TQString* _qstring__exec = 0; -static KURL::List* _qlist__urls = 0; -static TQString* _qstring__name = 0; -static TQString* _qstring__icon = 0; -static TQString* _qstring__obsolete1 = 0; - jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, _obsolete1, &_qstring__obsolete1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _exec, jobjectArray _urls, jstring _name, jstring _icon, jstring _obsolete1, jstring _obsolete2) -{ - (void) cls; -static TQString* _qstring__exec = 0; -static KURL::List* _qlist__urls = 0; -static TQString* _qstring__name = 0; -static TQString* _qstring__icon = 0; -static TQString* _qstring__obsolete1 = 0; -static TQString* _qstring__obsolete2 = 0; - jint xret = (jint) KRunJBridge::run((const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, _obsolete1, &_qstring__obsolete1), (const TQString&)*(TQString*) QtSupport::toTQString(env, _obsolete2, &_qstring__obsolete2)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls) -{ - (void) cls; -static KURL::List* _qlist__urls = 0; - jint xret = (jint) KRunJBridge::run((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KRun_run__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobject _service, jobjectArray _urls, jboolean tempFiles) -{ - (void) cls; -static KURL::List* _qlist__urls = 0; - jint xret = (jint) KRunJBridge::run((const KService&)*(const KService*) QtSupport::getQt(env, _service), (const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _urls, &_qlist__urls), (bool) tempFiles); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_scanFile(JNIEnv* env, jobject obj) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_scanFile(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_setAutoDelete(JNIEnv* env, jobject obj, jboolean b) -{ - ((KRun*) QtSupport::getQt(env, obj))->setAutoDelete((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_setEnableExternalBrowser(JNIEnv* env, jobject obj, jboolean b) -{ - ((KRun*) QtSupport::getQt(env, obj))->setEnableExternalBrowser((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_setPreferredService(JNIEnv* env, jobject obj, jstring desktopEntryName) -{ -static TQString* _qstring_desktopEntryName = 0; - ((KRun*) QtSupport::getQt(env, obj))->setPreferredService((const TQString&)*(TQString*) QtSupport::toTQString(env, desktopEntryName, &_qstring_desktopEntryName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_setRunExecutables(JNIEnv* env, jobject obj, jboolean b) -{ - ((KRun*) QtSupport::getQt(env, obj))->setRunExecutables((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_shellQuote(JNIEnv* env, jclass cls, jobject _str) -{ - (void) cls; -static TQString* _qstring__str = 0; - KRunJBridge::shellQuote((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, _str, &_qstring__str)); - QtSupport::fromTQStringToStringBuffer(env, _qstring__str, _str); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_slotScanFinished(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotScanFinished((TDEIO::Job*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_slotScanMimeType(JNIEnv* env, jobject obj, jobject arg1, jstring type) -{ -static TQString* _qstring_type = 0; - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotScanMimeType((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, type, &_qstring_type)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_slotStatResult(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotStatResult((TDEIO::Job*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KRun_slotTimeout(JNIEnv* env, jobject obj) -{ - ((KRunJBridge*) QtSupport::getQt(env, obj))->protected_slotTimeout(); - return; -} - diff --git a/kdejava/koala/kdejava/KRun.h b/kdejava/koala/kdejava/KRun.h deleted file mode 100644 index 101d3170..00000000 --- a/kdejava/koala/kdejava/KRun.h +++ /dev/null @@ -1,68 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KRun__ -#define __org_kde_koala_KRun__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRun_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRun_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2JZZ (JNIEnv *env, jobject, jobject, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2JZ (JNIEnv *env, jobject, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2J (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2JZZ (JNIEnv *env, jobject, jobject, jobject, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2JZ (JNIEnv *env, jobject, jobject, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2J (JNIEnv *env, jobject, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_newKRun__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_abort (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_hasError (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_hasFinished (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_autoDelete (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_setPreferredService (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_setRunExecutables (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_setEnableExternalBrowser (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_run__Ljava_lang_String_2Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_runURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_runCommand__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KRun_runCommand__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_displayOpenWithDialog__Ljava_util_ArrayList_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_displayOpenWithDialog__Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_shellQuote (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRun_processDesktopExec__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2ZZ (JNIEnv *env, jclass, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KRun_processDesktopExec__Lorg_kde_koala_KService_2Ljava_util_ArrayList_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KRun_binaryName (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_isExecutable (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_isExecutableFile (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_checkStartupNotify (JNIEnv *env, jclass, jstring, jobject, jbooleanArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_scanFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_foundMimeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_killJob (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_slotTimeout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_slotScanFinished (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_slotScanMimeType (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_slotStatResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KRun_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KRun_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KRun__ */ diff --git a/kdejava/koala/kdejava/KSMIMECrypto.cpp b/kdejava/koala/kdejava/KSMIMECrypto.cpp deleted file mode 100644 index d75792fc..00000000 --- a/kdejava/koala/kdejava/KSMIMECrypto.cpp +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSMIMECryptoJBridge : public KSMIMECrypto -{ -public: - KSMIMECryptoJBridge() : KSMIMECrypto() {}; - ~KSMIMECryptoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSMIMECrypto_decryptMessage(JNIEnv* env, jobject obj, jbyteArray cipherText, jobject clearText, jobject privKey) -{ -static TQByteArray* _qbyteArray_cipherText = 0; -static TQCString* _qcstring_clearText = 0; - if (_qcstring_clearText == 0) { - _qcstring_clearText = new TQCString(); - } - jint xret = (jint) ((KSMIMECrypto*) QtSupport::getQt(env, obj))->decryptMessage((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, cipherText, &_qbyteArray_cipherText), (TQCString&)*(TQCString*) _qcstring_clearText, (const KSSLPKCS12&)*(const KSSLPKCS12*) QtSupport::getQt(env, privKey)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_clearText, clearText); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSMIMECrypto_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSMIMECrypto_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSMIMECrypto_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSMIMECrypto*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSMIMECrypto_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSMIMECrypto_newKSMIMECrypto(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSMIMECryptoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSMIMECrypto.h b/kdejava/koala/kdejava/KSMIMECrypto.h deleted file mode 100644 index 948600af..00000000 --- a/kdejava/koala/kdejava/KSMIMECrypto.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSMIMECrypto__ -#define __org_kde_koala_KSMIMECrypto__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSMIMECrypto_newKSMIMECrypto (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSMIMECrypto_decryptMessage (JNIEnv *env, jobject, jbyteArray, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSMIMECrypto_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSMIMECrypto_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSMIMECrypto_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSMIMECrypto__ */ diff --git a/kdejava/koala/kdejava/KSSL.cpp b/kdejava/koala/kdejava/KSSL.cpp deleted file mode 100644 index 78db9cd2..00000000 --- a/kdejava/koala/kdejava/KSSL.cpp +++ /dev/null @@ -1,211 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KSSLJBridge : public KSSL -{ -public: - KSSLJBridge(bool arg1) : KSSL(arg1) {}; - KSSLJBridge() : KSSL() {}; - ~KSSLJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_TLSInit(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->TLSInit(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSL_accept(JNIEnv* env, jobject obj, jint sock) -{ - jint xret = (jint) ((KSSL*) QtSupport::getQt(env, obj))->accept((int) sock); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_close(JNIEnv* env, jobject obj) -{ - ((KSSL*) QtSupport::getQt(env, obj))->close(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSL_connect(JNIEnv* env, jobject obj, jint sock) -{ - jint xret = (jint) ((KSSL*) QtSupport::getQt(env, obj))->connect((int) sock); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSL_connectionInfo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KSSLConnectionInfo *) &((KSSL*) QtSupport::getQt(env, obj))->connectionInfo(), "org.kde.koala.KSSLConnectionInfo"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSL_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_doesSSLWork(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KSSLJBridge::doesSSLWork(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSL*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_initialize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->initialize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_newKSSL__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_newKSSL__Z(JNIEnv* env, jobject obj, jboolean init) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLJBridge((bool) init)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSL_peerInfo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KSSLPeerInfo *) &((KSSL*) QtSupport::getQt(env, obj))->peerInfo(), "org.kde.koala.KSSLPeerInfo"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSL_pending(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSL*) QtSupport::getQt(env, obj))->pending(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_reInitialize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->reInitialize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_reconfig(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->reconfig(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_reusingSession(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->reusingSession(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSL_seedWithEGD(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSL*) QtSupport::getQt(env, obj))->seedWithEGD(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSL_session(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSL*) QtSupport::getQt(env, obj))->session(), "org.kde.koala.KSSLSession"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_setAutoReconfig(JNIEnv* env, jobject obj, jboolean ar) -{ - ((KSSL*) QtSupport::getQt(env, obj))->setAutoReconfig((bool) ar); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_setClientCertificate(JNIEnv* env, jobject obj, jobject pkcs) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->setClientCertificate((KSSLPKCS12*) QtSupport::getQt(env, pkcs)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_setPeerHost__(JNIEnv* env, jobject obj) -{ - ((KSSL*) QtSupport::getQt(env, obj))->setPeerHost(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSL_setPeerHost__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring realHost) -{ -static TQString* _qstring_realHost = 0; - ((KSSL*) QtSupport::getQt(env, obj))->setPeerHost((TQString)*(TQString*) QtSupport::toTQString(env, realHost, &_qstring_realHost)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_setSession(JNIEnv* env, jobject obj, jobject session) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->setSession((const KSSLSession*) QtSupport::getQt(env, session)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSL_setSettings(JNIEnv* env, jobject obj, jobject settings) -{ - jboolean xret = (jboolean) ((KSSL*) QtSupport::getQt(env, obj))->setSettings((KSSLSettings*) QtSupport::getQt(env, settings)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSL_settings(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSL*) QtSupport::getQt(env, obj))->settings(), "org.kde.koala.KSSLSettings"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSL.h b/kdejava/koala/kdejava/KSSL.h deleted file mode 100644 index 8a798401..00000000 --- a/kdejava/koala/kdejava/KSSL.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSL__ -#define __org_kde_koala_KSSL__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_newKSSL__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_newKSSL__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_initialize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_TLSInit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_setSession (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_close (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_reInitialize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_reconfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_setAutoReconfig (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSL_seedWithEGD (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_setSettings (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSL_settings (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_setClientCertificate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_setPeerHost__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_setPeerHost__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSL_connect (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSL_accept (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSL_pending (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSL_connectionInfo (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSL_peerInfo (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSL_session (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_reusingSession (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_doesSSLWork (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSL_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSL_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSL__ */ diff --git a/kdejava/koala/kdejava/KSSLCertBox.cpp b/kdejava/koala/kdejava/KSSLCertBox.cpp deleted file mode 100644 index a815657b..00000000 --- a/kdejava/koala/kdejava/KSSLCertBox.cpp +++ /dev/null @@ -1,565 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSSLCertBoxJBridge : public KSSLCertBox -{ -public: - KSSLCertBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KSSLCertBox(arg1,arg2,arg3) {}; - KSSLCertBoxJBridge(TQWidget* arg1,const char* arg2) : KSSLCertBox(arg1,arg2) {}; - KSSLCertBoxJBridge(TQWidget* arg1) : KSSLCertBox(arg1) {}; - KSSLCertBoxJBridge() : KSSLCertBox() {}; - ~KSSLCertBoxJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQScrollView::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")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - 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 contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KSSLCertBox","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")) { - TQScrollView::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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::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.koala.KSSLCertBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","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 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")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - 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")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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 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")) { - TQScrollView::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")) { - TQScrollView::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 contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 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 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.koala.KSSLCertBox","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")) { - TQWidget::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")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - 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")) { - TQScrollView::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.koala.KSSLCertBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSSLCertBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSSLCertBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__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 KSSLCertBoxJBridge((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_koala_KSSLCertBox_newKSSLCertBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_setValues__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring certName) -{ -static TQString* _qstring_certName = 0; - ((KSSLCertBox*) QtSupport::getQt(env, obj))->setValues((TQString)*(TQString*) QtSupport::toTQString(env, certName, &_qstring_certName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertBox_setValues__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring certName, jobject mailCatcher) -{ -static TQString* _qstring_certName = 0; - ((KSSLCertBox*) QtSupport::getQt(env, obj))->setValues((TQString)*(TQString*) QtSupport::toTQString(env, certName, &_qstring_certName), (TQWidget*) QtSupport::getQt(env, mailCatcher)); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLCertBox.h b/kdejava/koala/kdejava/KSSLCertBox.h deleted file mode 100644 index 479d0be6..00000000 --- a/kdejava/koala/kdejava/KSSLCertBox.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertBox__ -#define __org_kde_koala_KSSLCertBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_newKSSLCertBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_setValues__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_setValues__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertBox__ */ diff --git a/kdejava/koala/kdejava/KSSLCertChain.cpp b/kdejava/koala/kdejava/KSSLCertChain.cpp deleted file mode 100644 index 4348bc02..00000000 --- a/kdejava/koala/kdejava/KSSLCertChain.cpp +++ /dev/null @@ -1,77 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KSSLCertChainJBridge : public KSSLCertChain -{ -public: - KSSLCertChainJBridge() : KSSLCertChain() {}; - ~KSSLCertChainJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertChain_depth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLCertChain*) QtSupport::getQt(env, obj))->depth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertChain_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertChain_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertChain_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertChain*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertChain_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertChain_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLCertChain*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertChain_newKSSLCertChain(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertChainJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertChain_replicate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLCertChain*) QtSupport::getQt(env, obj))->replicate(), "org.kde.koala.KSSLCertChain"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertChain_setCertChain(JNIEnv* env, jobject obj, jobjectArray chain) -{ -static TQStringList* _qlist_chain = 0; - ((KSSLCertChain*) QtSupport::getQt(env, obj))->setCertChain((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, chain, &_qlist_chain)); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLCertChain.h b/kdejava/koala/kdejava/KSSLCertChain.h deleted file mode 100644 index 3867d09e..00000000 --- a/kdejava/koala/kdejava/KSSLCertChain.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertChain__ -#define __org_kde_koala_KSSLCertChain__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertChain_newKSSLCertChain (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertChain_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertChain_replicate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertChain_setCertChain (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertChain_depth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertChain_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertChain_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertChain_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertChain__ */ diff --git a/kdejava/koala/kdejava/KSSLCertDlg.cpp b/kdejava/koala/kdejava/KSSLCertDlg.cpp deleted file mode 100644 index 9dc3f25d..00000000 --- a/kdejava/koala/kdejava/KSSLCertDlg.cpp +++ /dev/null @@ -1,486 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSSLCertDlgJBridge : public KSSLCertDlg -{ -public: - KSSLCertDlgJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KSSLCertDlg(arg1,arg2,arg3) {}; - KSSLCertDlgJBridge(TQWidget* arg1,const char* arg2) : KSSLCertDlg(arg1,arg2) {}; - KSSLCertDlgJBridge(TQWidget* arg1) : KSSLCertDlg(arg1) {}; - KSSLCertDlgJBridge() : KSSLCertDlg() {}; - ~KSSLCertDlgJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KSSLCertDlg","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialog::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","reject")) { - TQDialog::reject(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLCertDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSSLCertDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertDlg_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSSLCertDlg*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSSLCertDlg*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertDlg_getChoice(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertDlg*) QtSupport::getQt(env, obj))->getChoice(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertDlg_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLCertDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertDlgJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertDlgJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__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 KSSLCertDlgJBridge((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_koala_KSSLCertDlg_newKSSLCertDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertDlg_saveChoice(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLCertDlg*) QtSupport::getQt(env, obj))->saveChoice(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_setHost(JNIEnv* env, jobject obj, jstring host) -{ -static TQString* _qstring_host = 0; - ((KSSLCertDlg*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray certs) -{ -static TQStringList* _qlist_certs = 0; - ((KSSLCertDlg*) QtSupport::getQt(env, obj))->setupDialog((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, certs, &_qlist_certs)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray certs, jboolean saveChecked) -{ -static TQStringList* _qlist_certs = 0; - ((KSSLCertDlg*) QtSupport::getQt(env, obj))->setupDialog((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, certs, &_qlist_certs), (bool) saveChecked); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobjectArray certs, jboolean saveChecked, jboolean sendChecked) -{ -static TQStringList* _qlist_certs = 0; - ((KSSLCertDlg*) QtSupport::getQt(env, obj))->setupDialog((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, certs, &_qlist_certs), (bool) saveChecked, (bool) sendChecked); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertDlg_wantsToSend(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLCertDlg*) QtSupport::getQt(env, obj))->wantsToSend(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLCertDlg.h b/kdejava/koala/kdejava/KSSLCertDlg.h deleted file mode 100644 index e960ed81..00000000 --- a/kdejava/koala/kdejava/KSSLCertDlg.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertDlg__ -#define __org_kde_koala_KSSLCertDlg__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_newKSSLCertDlg__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobjectArray, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_setupDialog___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertDlg_getChoice (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertDlg_wantsToSend (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertDlg_saveChoice (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_setHost (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlg_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertDlg_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertDlg__ */ diff --git a/kdejava/koala/kdejava/KSSLCertDlgRet.cpp b/kdejava/koala/kdejava/KSSLCertDlgRet.cpp deleted file mode 100644 index 9dd10ddc..00000000 --- a/kdejava/koala/kdejava/KSSLCertDlgRet.cpp +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KSSLCertDlgRetJBridge : public KSSLCertDlgRet -{ -public: - KSSLCertDlgRetJBridge() : KSSLCertDlgRet() {}; - ~KSSLCertDlgRetJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlgRet_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertDlgRet_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlgRet_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertDlgRet*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertDlgRet_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertDlgRet_newKSSLCertDlgRet(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertDlgRetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSSLCertDlgRet.h b/kdejava/koala/kdejava/KSSLCertDlgRet.h deleted file mode 100644 index d5633690..00000000 --- a/kdejava/koala/kdejava/KSSLCertDlgRet.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertDlgRet__ -#define __org_kde_koala_KSSLCertDlgRet__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlgRet_newKSSLCertDlgRet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlgRet_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertDlgRet_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertDlgRet_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertDlgRet__ */ diff --git a/kdejava/koala/kdejava/KSSLCertificate.cpp b/kdejava/koala/kdejava/KSSLCertificate.cpp deleted file mode 100644 index e28fa592..00000000 --- a/kdejava/koala/kdejava/KSSLCertificate.cpp +++ /dev/null @@ -1,341 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KSSLCertificateJBridge : public KSSLCertificate -{ -public: - KSSLCertificateJBridge(const KSSLCertificate& arg1) : KSSLCertificate(arg1) {}; - KSSLCertificateJBridge() : KSSLCertificate() {}; - KSSLCertificate::KSSLValidation protected_processError(int arg1) { - return (KSSLCertificate::KSSLValidation) KSSLCertificate::processError(arg1); - } - ~KSSLCertificateJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_chain(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KSSLCertChain *) &((KSSLCertificate*) QtSupport::getQt(env, obj))->chain(), "org.kde.koala.KSSLCertChain"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificate_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertificate_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificate_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertificate*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_fromString(JNIEnv* env, jclass cls, jstring cert) -{ - (void) cls; -static TQCString* _qcstring_cert = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateJBridge::fromString((TQCString)*(TQCString*) QtSupport::toTQCString(env, cert, &_qcstring_cert)), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificate_getEmails(JNIEnv* env, jobject obj, jobjectArray to) -{ -static TQStringList* _qlist_to = 0; - ((KSSLCertificate*) QtSupport::getQt(env, obj))->getEmails((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, to, &_qlist_to)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getIssuer(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getIssuer(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getKDEKey(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getKDEKey(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getKeyType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getKeyType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getMD5DigestFromKDEKey(JNIEnv* env, jclass cls, jstring k) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_k = 0; - _qstring = KSSLCertificateJBridge::getMD5DigestFromKDEKey((const TQString&)*(TQString*) QtSupport::toTQString(env, k, &_qstring_k)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getMD5DigestText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getMD5DigestText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getMD5Digest(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getMD5Digest(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getNotAfter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getNotAfter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getNotBefore(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getNotBefore(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getPublicKeyText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getPublicKeyText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_getQDTNotAfter(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getQDTNotAfter(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_getQDTNotBefore(JNIEnv* env, jobject obj) -{ - TQDateTime _qdate; - _qdate = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getQDTNotBefore(); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getSerialNumber(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getSerialNumber(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getSignatureText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getSignatureText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_getSubject(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->getSubject(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificate_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificate_isSigner(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLCertificate*) QtSupport::getQt(env, obj))->isSigner(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificate_isValid__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLCertificate*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificate_isValid__I(JNIEnv* env, jobject obj, jint p) -{ - jboolean xret = (jboolean) ((KSSLCertificate*) QtSupport::getQt(env, obj))->isValid((KSSLCertificate::KSSLPurpose) p); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificate_newKSSLCertificate__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertificateJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificate_newKSSLCertificate__Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jobject obj, jobject x) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertificateJBridge((const KSSLCertificate&)*(const KSSLCertificate*) QtSupport::getQt(env, x))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificate_processError(JNIEnv* env, jobject obj, jint ec) -{ - jint xret = (jint) ((KSSLCertificateJBridge*) QtSupport::getQt(env, obj))->protected_processError((int) ec); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_replicate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLCertificate*) QtSupport::getQt(env, obj))->replicate(), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificate_revalidate__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLCertificate*) QtSupport::getQt(env, obj))->revalidate(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificate_revalidate__I(JNIEnv* env, jobject obj, jint p) -{ - jint xret = (jint) ((KSSLCertificate*) QtSupport::getQt(env, obj))->revalidate((KSSLCertificate::KSSLPurpose) p); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificate_setCert(JNIEnv* env, jobject obj, jobject cert) -{ -static TQString* _qstring_cert = 0; - jboolean xret = (jboolean) ((KSSLCertificate*) QtSupport::getQt(env, obj))->setCert((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, cert, &_qstring_cert)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_cert, cert); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_subjAltNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSSLCertificate*) QtSupport::getQt(env, obj))->subjAltNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KSSLCertificate_toDer(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((KSSLCertificate*) QtSupport::getQt(env, obj))->toDer(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KSSLCertificate_toNetscape(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((KSSLCertificate*) QtSupport::getQt(env, obj))->toNetscape(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KSSLCertificate_toPem(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((KSSLCertificate*) QtSupport::getQt(env, obj))->toPem(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_toText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLCertificate*) QtSupport::getQt(env, obj))->toText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificate_validate__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLCertificate*) QtSupport::getQt(env, obj))->validate(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificate_validate__I(JNIEnv* env, jobject obj, jint p) -{ - jint xret = (jint) ((KSSLCertificate*) QtSupport::getQt(env, obj))->validate((KSSLCertificate::KSSLPurpose) p); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificate_verifyText(JNIEnv* env, jclass cls, jint x) -{ - TQString _qstring; - (void) cls; - _qstring = KSSLCertificateJBridge::verifyText((KSSLCertificate::KSSLValidation) x); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificate_x509V3Extensions(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KSSLX509V3 *) &((KSSLCertificate*) QtSupport::getQt(env, obj))->x509V3Extensions(), "org.kde.koala.KSSLX509V3"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLCertificate.h b/kdejava/koala/kdejava/KSSLCertificate.h deleted file mode 100644 index 010671ab..00000000 --- a/kdejava/koala/kdejava/KSSLCertificate.h +++ /dev/null @@ -1,58 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertificate__ -#define __org_kde_koala_KSSLCertificate__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getSubject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getIssuer (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getNotBefore (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getNotAfter (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getQDTNotBefore (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_getQDTNotAfter (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toDer (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toPem (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KSSLCertificate_toNetscape (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_toText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getSerialNumber (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getKeyType (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getPublicKeyText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getMD5DigestText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getMD5Digest (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getSignatureText (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isValid__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isValid__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_subjAltNames (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_validate__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_validate__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_revalidate__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_revalidate__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_chain (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_replicate (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_newKSSLCertificate__Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_setCert (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_x509V3Extensions (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isSigner (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_getEmails (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getKDEKey (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificate_fromString (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_verifyText (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificate_getMD5DigestFromKDEKey (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_newKSSLCertificate__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificate_processError (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificate_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificate_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertificate__ */ diff --git a/kdejava/koala/kdejava/KSSLCertificateCache.cpp b/kdejava/koala/kdejava/KSSLCertificateCache.cpp deleted file mode 100644 index e1d19d99..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateCache.cpp +++ /dev/null @@ -1,195 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KSSLCertificateCacheJBridge : public KSSLCertificateCache -{ -public: - KSSLCertificateCacheJBridge() : KSSLCertificateCache() {}; - ~KSSLCertificateCacheJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_addCertificate__Lorg_kde_koala_KSSLCertificate_2I(JNIEnv* env, jobject obj, jobject cert, jint policy) -{ - ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->addCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (KSSLCertificateCache::KSSLCertificatePolicy) policy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_addCertificate__Lorg_kde_koala_KSSLCertificate_2IZ(JNIEnv* env, jobject obj, jobject cert, jint policy, jboolean permanent) -{ - ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->addCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (KSSLCertificateCache::KSSLCertificatePolicy) policy, (bool) permanent); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_addHost(JNIEnv* env, jobject obj, jobject cert, jobject host) -{ -static TQString* _qstring_host = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->addHost((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, host, &_qstring_host)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_host, host); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertificateCache_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertificateCache*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateCache_getCertByMD5Digest(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLCertificateCache*) QtSupport::getQt(env, obj))->getCertByMD5Digest((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateCache_getHostList(JNIEnv* env, jobject obj, jobject cert) -{ - TQStringList _qlist; - _qlist = ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->getHostList((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateCache_getKDEKeyByEmail(JNIEnv* env, jobject obj, jstring email) -{ - TQStringList _qlist; -static TQString* _qstring_email = 0; - _qlist = ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->getKDEKeyByEmail((const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificateCache_getPolicyByCN(JNIEnv* env, jobject obj, jobject cn) -{ -static TQString* _qstring_cn = 0; - jint xret = (jint) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->getPolicyByCN((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, cn, &_qstring_cn)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_cn, cn); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLCertificateCache_getPolicyByCertificate(JNIEnv* env, jobject obj, jobject cert) -{ - jint xret = (jint) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->getPolicyByCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_isPermanent(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->isPermanent((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_modifyByCN(JNIEnv* env, jobject obj, jobject cn, jint policy, jboolean permanent, jobject expires) -{ -static TQString* _qstring_cn = 0; -static TQDateTime* _qdate_expires = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->modifyByCN((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, cn, &_qstring_cn), (KSSLCertificateCache::KSSLCertificatePolicy) policy, (bool) permanent, (TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, expires, &_qdate_expires)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_cn, cn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_modifyByCertificate(JNIEnv* env, jobject obj, jobject cert, jint policy, jboolean permanent, jobject expires) -{ -static TQDateTime* _qdate_expires = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->modifyByCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (KSSLCertificateCache::KSSLCertificatePolicy) policy, (bool) permanent, (TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, expires, &_qdate_expires)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_newKSSLCertificateCache(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertificateCacheJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_reload(JNIEnv* env, jobject obj) -{ - ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->reload(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_removeByCN(JNIEnv* env, jobject obj, jobject cn) -{ -static TQString* _qstring_cn = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->removeByCN((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, cn, &_qstring_cn)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_cn, cn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_removeByCertificate(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->removeByCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_removeHost(JNIEnv* env, jobject obj, jobject cert, jobject host) -{ -static TQString* _qstring_host = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->removeHost((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, host, &_qstring_host)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_host, host); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateCache_saveToDisk(JNIEnv* env, jobject obj) -{ - ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->saveToDisk(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_seenCN(JNIEnv* env, jobject obj, jobject cn) -{ -static TQString* _qstring_cn = 0; - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->seenCN((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, cn, &_qstring_cn)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_cn, cn); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateCache_seenCertificate(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLCertificateCache*) QtSupport::getQt(env, obj))->seenCertificate((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLCertificateCache.h b/kdejava/koala/kdejava/KSSLCertificateCache.h deleted file mode 100644 index f69e47f4..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateCache.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertificateCache__ -#define __org_kde_koala_KSSLCertificateCache__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_newKSSLCertificateCache (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_addCertificate__Lorg_kde_koala_KSSLCertificate_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_addCertificate__Lorg_kde_koala_KSSLCertificate_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificateCache_getPolicyByCN (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLCertificateCache_getPolicyByCertificate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_seenCN (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_seenCertificate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_removeByCN (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_removeByCertificate (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_isPermanent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_modifyByCN (JNIEnv *env, jobject, jobject, jint, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_modifyByCertificate (JNIEnv *env, jobject, jobject, jint, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateCache_getHostList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_addHost (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_removeHost (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateCache_getKDEKeyByEmail (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateCache_getCertByMD5Digest (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_reload (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_saveToDisk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateCache_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateCache_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertificateCache__ */ diff --git a/kdejava/koala/kdejava/KSSLCertificateFactory.cpp b/kdejava/koala/kdejava/KSSLCertificateFactory.cpp deleted file mode 100644 index 67da4879..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateFactory.cpp +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KSSLCertificateFactoryJBridge : public KSSLCertificateFactory -{ -public: - KSSLCertificateFactoryJBridge() : KSSLCertificateFactory() {}; - ~KSSLCertificateFactoryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertificateFactory_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertificateFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateFactory_generateSelfSigned(JNIEnv* env, jclass cls, jint keytype) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateFactoryJBridge::generateSelfSigned((KSSLKeyType) keytype), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateFactory_newKSSLCertificateFactory(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertificateFactoryJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSSLCertificateFactory.h b/kdejava/koala/kdejava/KSSLCertificateFactory.h deleted file mode 100644 index 9a46ce6c..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateFactory.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertificateFactory__ -#define __org_kde_koala_KSSLCertificateFactory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateFactory_newKSSLCertificateFactory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateFactory_generateSelfSigned (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertificateFactory__ */ diff --git a/kdejava/koala/kdejava/KSSLCertificateHome.cpp b/kdejava/koala/kdejava/KSSLCertificateHome.cpp deleted file mode 100644 index 6c0e54fa..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateHome.cpp +++ /dev/null @@ -1,340 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSSLCertificateHomeJBridge : public KSSLCertificateHome -{ -public: - KSSLCertificateHomeJBridge() : KSSLCertificateHome() {}; - ~KSSLCertificateHomeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_addCertificate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename, jstring password) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_password = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::addCertificate((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_addCertificate__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring filename, jstring password, jboolean storePass) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_password = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::addCertificate((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (bool) storePass); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_addCertificate__Lorg_kde_koala_KSSLPKCS12_2(JNIEnv* env, jclass cls, jobject cert) -{ - (void) cls; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::addCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_addCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject cert, jstring passToStore) -{ - (void) cls; -static TQString* _qstring_passToStore = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::addCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (TQString)*(TQString*) QtSupport::toTQString(env, passToStore, &_qstring_passToStore)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_deleteCertificateByName(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::deleteCertificateByName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_deleteCertificate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename, jstring password) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_password = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::deleteCertificate((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_deleteCertificate__Lorg_kde_koala_KSSLPKCS12_2(JNIEnv* env, jclass cls, jobject cert) -{ - (void) cls; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::deleteCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLCertificateHome_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLCertificateHome*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getCertificateByHost(JNIEnv* env, jclass cls, jstring host, jstring password, jint aa) -{ - (void) cls; -static TQString* _qstring_host = 0; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getCertificateByHost((TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (KSSLCertificateHome::KSSLAuthAction*) aa), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getCertificateByName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getCertificateByName((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getCertificateByName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jstring password) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getCertificateByName((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getCertificateList(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KSSLCertificateHomeJBridge::getCertificateList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = KSSLCertificateHomeJBridge::getDefaultCertificateName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__I(JNIEnv* env, jclass cls, jint aa) -{ - TQString _qstring; - (void) cls; - _qstring = KSSLCertificateHomeJBridge::getDefaultCertificateName((KSSLCertificateHome::KSSLAuthAction*) aa); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring host) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_host = 0; - _qstring = KSSLCertificateHomeJBridge::getDefaultCertificateName((TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring host, jint aa) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_host = 0; - _qstring = KSSLCertificateHomeJBridge::getDefaultCertificateName((TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (KSSLCertificateHome::KSSLAuthAction*) aa); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getDefaultCertificate(), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__I(JNIEnv* env, jclass cls, jint aa) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getDefaultCertificate((KSSLCertificateHome::KSSLAuthAction*) aa), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring password) -{ - (void) cls; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring password, jint aa) -{ - (void) cls; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateHomeJBridge::getDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password), (KSSLCertificateHome::KSSLAuthAction*) aa), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_hasCertificateByName(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) KSSLCertificateHomeJBridge::hasCertificateByName((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLCertificateHome_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_newKSSLCertificateHome(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLCertificateHomeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jstring host) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring name, jstring host, jboolean send) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) send); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jstring name, jstring host, jboolean send, jboolean prompt) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) send, (bool) prompt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring name, jboolean send) -{ - (void) cls; -static TQString* _qstring_name = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) send); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jstring name, jboolean send, jboolean prompt) -{ - (void) cls; -static TQString* _qstring_name = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((TQString)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) send, (bool) prompt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2(JNIEnv* env, jclass cls, jobject cert) -{ - (void) cls; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject cert, jstring host) -{ - (void) cls; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject cert, jstring host, jboolean send) -{ - (void) cls; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) send); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jobject cert, jstring host, jboolean send, jboolean prompt) -{ - (void) cls; -static TQString* _qstring_host = 0; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) send, (bool) prompt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Z(JNIEnv* env, jclass cls, jobject cert, jboolean send) -{ - (void) cls; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (bool) send); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2ZZ(JNIEnv* env, jclass cls, jobject cert, jboolean send, jboolean prompt) -{ - (void) cls; - KSSLCertificateHomeJBridge::setDefaultCertificate((KSSLPKCS12*) QtSupport::getQt(env, cert), (bool) send, (bool) prompt); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLCertificateHome.h b/kdejava/koala/kdejava/KSSLCertificateHome.h deleted file mode 100644 index 8e7d33d9..00000000 --- a/kdejava/koala/kdejava/KSSLCertificateHome.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLCertificateHome__ -#define __org_kde_koala_KSSLCertificateHome__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_newKSSLCertificateHome (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getCertificateByHost (JNIEnv *env, jclass, jstring, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getCertificateByName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getCertificateByName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificateName__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getDefaultCertificate__ (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_hasCertificateByName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_setDefaultCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_addCertificate__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_addCertificate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_addCertificate__Lorg_kde_koala_KSSLPKCS12_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_addCertificate__Lorg_kde_koala_KSSLPKCS12_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_deleteCertificate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_deleteCertificate__Lorg_kde_koala_KSSLPKCS12_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_deleteCertificateByName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateHome_getCertificateList (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateHome_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateHome_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLCertificateHome__ */ diff --git a/kdejava/koala/kdejava/KSSLConnectionInfo.cpp b/kdejava/koala/kdejava/KSSLConnectionInfo.cpp deleted file mode 100644 index ef80c6dd..00000000 --- a/kdejava/koala/kdejava/KSSLConnectionInfo.cpp +++ /dev/null @@ -1,97 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KSSLConnectionInfoJBridge : public KSSLConnectionInfo -{ -public: - KSSLConnectionInfoJBridge() : KSSLConnectionInfo() {}; - void protected_clean() { - KSSLConnectionInfo::clean(); - return; - } - ~KSSLConnectionInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLConnectionInfo_clean(JNIEnv* env, jobject obj) -{ - ((KSSLConnectionInfoJBridge*) QtSupport::getQt(env, obj))->protected_clean(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLConnectionInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLConnectionInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLConnectionInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLConnectionInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLConnectionInfo_getCipherBits(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLConnectionInfo*) QtSupport::getQt(env, obj))->getCipherBits(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLConnectionInfo_getCipherDescription(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLConnectionInfo*) QtSupport::getQt(env, obj))->getCipherDescription(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLConnectionInfo_getCipherUsedBits(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLConnectionInfo*) QtSupport::getQt(env, obj))->getCipherUsedBits(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLConnectionInfo_getCipherVersion(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLConnectionInfo*) QtSupport::getQt(env, obj))->getCipherVersion(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLConnectionInfo_getCipher(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLConnectionInfo*) QtSupport::getQt(env, obj))->getCipher(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLConnectionInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLConnectionInfo_newKSSLConnectionInfo(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLConnectionInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSSLConnectionInfo.h b/kdejava/koala/kdejava/KSSLConnectionInfo.h deleted file mode 100644 index 14e07dcb..00000000 --- a/kdejava/koala/kdejava/KSSLConnectionInfo.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLConnectionInfo__ -#define __org_kde_koala_KSSLConnectionInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLConnectionInfo_getCipher (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLConnectionInfo_getCipherDescription (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLConnectionInfo_getCipherVersion (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLConnectionInfo_getCipherUsedBits (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLConnectionInfo_getCipherBits (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLConnectionInfo_newKSSLConnectionInfo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLConnectionInfo_clean (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLConnectionInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLConnectionInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLConnectionInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLConnectionInfo__ */ diff --git a/kdejava/koala/kdejava/KSSLInfoDlg.cpp b/kdejava/koala/kdejava/KSSLInfoDlg.cpp deleted file mode 100644 index 4f3f8256..00000000 --- a/kdejava/koala/kdejava/KSSLInfoDlg.cpp +++ /dev/null @@ -1,487 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KSSLInfoDlgJBridge : public KSSLInfoDlg -{ -public: - KSSLInfoDlgJBridge(bool arg1,TQWidget* arg2,const char* arg3,bool arg4) : KSSLInfoDlg(arg1,arg2,arg3,arg4) {}; - KSSLInfoDlgJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KSSLInfoDlg(arg1,arg2,arg3) {}; - KSSLInfoDlgJBridge(bool arg1,TQWidget* arg2) : KSSLInfoDlg(arg1,arg2) {}; - KSSLInfoDlgJBridge(bool arg1) : KSSLInfoDlg(arg1) {}; - ~KSSLInfoDlgJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KSSLInfoDlg","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialog::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","reject")) { - TQDialog::reject(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLInfoDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLInfoDlg_certInfoWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring certName) -{ - (void) cls; -static TQString* _qstring_certName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLInfoDlgJBridge::certInfoWidget((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, certName, &_qstring_certName)), "org.kde.koala.KSSLCertBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLInfoDlg_certInfoWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parent, jstring certName, jobject mailCatcher) -{ - (void) cls; -static TQString* _qstring_certName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLInfoDlgJBridge::certInfoWidget((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, certName, &_qstring_certName), (TQWidget*) QtSupport::getQt(env, mailCatcher)), "org.kde.koala.KSSLCertBox"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLInfoDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSSLInfoDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLInfoDlg_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSSLInfoDlg*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSSLInfoDlg*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLInfoDlg_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLInfoDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLInfoDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__Z(JNIEnv* env, jobject obj, jboolean secureConnection) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLInfoDlgJBridge((bool) secureConnection)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean secureConnection, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLInfoDlgJBridge((bool) secureConnection, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean secureConnection, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLInfoDlgJBridge((bool) secureConnection, (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_koala_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jboolean secureConnection, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLInfoDlgJBridge((bool) secureConnection, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_setCertState(JNIEnv* env, jobject obj, jstring errorNrs) -{ -static TQString* _qstring_errorNrs = 0; - ((KSSLInfoDlg*) QtSupport::getQt(env, obj))->setCertState((const TQString&)*(TQString*) QtSupport::toTQString(env, errorNrs, &_qstring_errorNrs)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_setSecurityInQuestion(JNIEnv* env, jobject obj, jboolean isIt) -{ - ((KSSLInfoDlg*) QtSupport::getQt(env, obj))->setSecurityInQuestion((bool) isIt); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_setup__Lorg_kde_koala_KSSLCertificate_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2III(JNIEnv* env, jobject obj, jobject cert, jstring ip, jstring url, jstring cipher, jstring cipherdesc, jstring sslversion, jint usedbits, jint bits, jint certState) -{ -static TQString* _qstring_ip = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_cipher = 0; -static TQString* _qstring_cipherdesc = 0; -static TQString* _qstring_sslversion = 0; - ((KSSLInfoDlg*) QtSupport::getQt(env, obj))->setup((KSSLCertificate*) QtSupport::getQt(env, cert), (const TQString&)*(TQString*) QtSupport::toTQString(env, ip, &_qstring_ip), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, cipher, &_qstring_cipher), (const TQString&)*(TQString*) QtSupport::toTQString(env, cipherdesc, &_qstring_cipherdesc), (const TQString&)*(TQString*) QtSupport::toTQString(env, sslversion, &_qstring_sslversion), (int) usedbits, (int) bits, (KSSLCertificate::KSSLValidation) certState); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLInfoDlg_setup__Lorg_kde_koala_KSSL_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject ssl, jstring ip, jstring url) -{ -static TQString* _qstring_ip = 0; -static TQString* _qstring_url = 0; - ((KSSLInfoDlg*) QtSupport::getQt(env, obj))->setup((KSSL&)*(KSSL*) QtSupport::getQt(env, ssl), (const TQString&)*(TQString*) QtSupport::toTQString(env, ip, &_qstring_ip), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLInfoDlg.h b/kdejava/koala/kdejava/KSSLInfoDlg.h deleted file mode 100644 index 9e40efb6..00000000 --- a/kdejava/koala/kdejava/KSSLInfoDlg.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLInfoDlg__ -#define __org_kde_koala_KSSLInfoDlg__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLInfoDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLInfoDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jboolean, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_newKSSLInfoDlg__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_setSecurityInQuestion (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_setup__Lorg_kde_koala_KSSLCertificate_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2III (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_setup__Lorg_kde_koala_KSSL_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_setCertState (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLInfoDlg_certInfoWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLInfoDlg_certInfoWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLInfoDlg_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLInfoDlg_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLInfoDlg__ */ diff --git a/kdejava/koala/kdejava/KSSLKeyGen.cpp b/kdejava/koala/kdejava/KSSLKeyGen.cpp deleted file mode 100644 index a6f78422..00000000 --- a/kdejava/koala/kdejava/KSSLKeyGen.cpp +++ /dev/null @@ -1,502 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSSLKeyGenJBridge : public KSSLKeyGen -{ -public: - KSSLKeyGenJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KSSLKeyGen(arg1,arg2,arg3) {}; - KSSLKeyGenJBridge(TQWidget* arg1,const char* arg2) : KSSLKeyGen(arg1,arg2) {}; - KSSLKeyGenJBridge(TQWidget* arg1) : KSSLKeyGen(arg1) {}; - KSSLKeyGenJBridge() : KSSLKeyGen() {}; - ~KSSLKeyGenJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void removePage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWizard::removePage(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void next() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","next")) { - TQWizard::next(); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KSSLKeyGen","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDialog::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void back() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","back")) { - TQWizard::back(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 showPage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWizard::showPage(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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","reject")) { - TQDialog::reject(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void help() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","help")) { - TQWizard::help(); - } - return; - } - void layOutButtonRow(TQHBoxLayout* arg1) { - if (!QtSupport::eventDelegate(this,"layOutButtonRow",(void*)arg1,"org.kde.qt.TQHBoxLayout")) { - TQWizard::layOutButtonRow(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSSLKeyGen","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLKeyGen_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSSLKeyGen*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLKeyGen_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSSLKeyGen*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSSLKeyGen*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jstring pass, jint bits) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_pass = 0; - jint xret = (jint) ((KSSLKeyGen*) QtSupport::getQt(env, obj))->generateCSR((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass), (int) bits); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jstring pass, jint bits, jint e) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_pass = 0; - jint xret = (jint) ((KSSLKeyGen*) QtSupport::getQt(env, obj))->generateCSR((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass), (int) bits, (int) e); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLKeyGen_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLKeyGen_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLKeyGen*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLKeyGenJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLKeyGenJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__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 KSSLKeyGenJBridge((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_koala_KSSLKeyGen_newKSSLKeyGen__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLKeyGenJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLKeyGen_setKeySize(JNIEnv* env, jobject obj, jint idx) -{ - ((KSSLKeyGen*) QtSupport::getQt(env, obj))->setKeySize((int) idx); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLKeyGen_supportedKeySizes(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KSSLKeyGenJBridge::supportedKeySizes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KSSLKeyGen.h b/kdejava/koala/kdejava/KSSLKeyGen.h deleted file mode 100644 index a78f781d..00000000 --- a/kdejava/koala/kdejava/KSSLKeyGen.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLKeyGen__ -#define __org_kde_koala_KSSLKeyGen__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLKeyGen_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLKeyGen_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_newKSSLKeyGen__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLKeyGen_generateCSR__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_setKeySize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLKeyGen_supportedKeySizes (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLKeyGen_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLKeyGen_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLKeyGen__ */ diff --git a/kdejava/koala/kdejava/KSSLPKCS12.cpp b/kdejava/koala/kdejava/KSSLPKCS12.cpp deleted file mode 100644 index 25d21196..00000000 --- a/kdejava/koala/kdejava/KSSLPKCS12.cpp +++ /dev/null @@ -1,180 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSSLPKCS12JBridge : public KSSLPKCS12 -{ -public: - KSSLPKCS12JBridge() : KSSLPKCS12() {}; - bool protected_parse(TQString arg1) { - return (bool) KSSLPKCS12::parse(arg1); - } - ~KSSLPKCS12JBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_changePassword(JNIEnv* env, jobject obj, jstring pold, jstring pnew) -{ -static TQString* _qstring_pold = 0; -static TQString* _qstring_pnew = 0; - jboolean xret = (jboolean) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->changePassword((TQString)*(TQString*) QtSupport::toTQString(env, pold, &_qstring_pold), (TQString)*(TQString*) QtSupport::toTQString(env, pnew, &_qstring_pnew)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS12_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLPKCS12_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS12_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLPKCS12*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS12_fromString__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring base64) -{ - (void) cls; -static TQString* _qstring_base64 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS12JBridge::fromString((TQString)*(TQString*) QtSupport::toTQString(env, base64, &_qstring_base64)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS12_fromString__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring base64, jstring password) -{ - (void) cls; -static TQString* _qstring_base64 = 0; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS12JBridge::fromString((TQString)*(TQString*) QtSupport::toTQString(env, base64, &_qstring_base64), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS12_getCertificate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLPKCS12*) QtSupport::getQt(env, obj))->getCertificate(), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_isValid__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_isValid__I(JNIEnv* env, jobject obj, jint p) -{ - jboolean xret = (jboolean) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->isValid((KSSLCertificate::KSSLPurpose) p); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS12_loadCertFile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS12JBridge::loadCertFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS12_loadCertFile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename, jstring password) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_password = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS12JBridge::loadCertFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TQString)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)), "org.kde.koala.KSSLPKCS12"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLPKCS12_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLPKCS12*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS12_newKSSLPKCS12(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLPKCS12JBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_parse(JNIEnv* env, jobject obj, jstring pass) -{ -static TQString* _qstring_pass = 0; - jboolean xret = (jboolean) ((KSSLPKCS12JBridge*) QtSupport::getQt(env, obj))->protected_parse((TQString)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLPKCS12_revalidate__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->revalidate(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLPKCS12_revalidate__I(JNIEnv* env, jobject obj, jint p) -{ - jint xret = (jint) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->revalidate((KSSLCertificate::KSSLPurpose) p); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS12_toFile(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->toFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLPKCS12_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLPKCS12*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLPKCS12_validate__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->validate(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSSLPKCS12_validate__I(JNIEnv* env, jobject obj, jint p) -{ - jint xret = (jint) ((KSSLPKCS12*) QtSupport::getQt(env, obj))->validate((KSSLCertificate::KSSLPurpose) p); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLPKCS12.h b/kdejava/koala/kdejava/KSSLPKCS12.h deleted file mode 100644 index 230115f4..00000000 --- a/kdejava/koala/kdejava/KSSLPKCS12.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLPKCS12__ -#define __org_kde_koala_KSSLPKCS12__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLPKCS12_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLPKCS12_toString (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_changePassword (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS12_getCertificate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_toFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLPKCS12_validate__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLPKCS12_validate__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLPKCS12_revalidate__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSSLPKCS12_revalidate__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_isValid__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_isValid__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS12_fromString__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS12_fromString__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS12_loadCertFile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS12_loadCertFile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS12_newKSSLPKCS12 (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_parse (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS12_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS12_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS12_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLPKCS12__ */ diff --git a/kdejava/koala/kdejava/KSSLPKCS7.cpp b/kdejava/koala/kdejava/KSSLPKCS7.cpp deleted file mode 100644 index 4619c779..00000000 --- a/kdejava/koala/kdejava/KSSLPKCS7.cpp +++ /dev/null @@ -1,111 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KSSLPKCS7JBridge : public KSSLPKCS7 -{ -public: - KSSLPKCS7JBridge() : KSSLPKCS7() {}; - ~KSSLPKCS7JBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS7_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLPKCS7_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS7_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLPKCS7*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS7_fromString(JNIEnv* env, jclass cls, jstring base64) -{ - (void) cls; -static TQString* _qstring_base64 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS7JBridge::fromString((TQString)*(TQString*) QtSupport::toTQString(env, base64, &_qstring_base64)), "org.kde.koala.KSSLPKCS7"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS7_getCertificate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLPKCS7*) QtSupport::getQt(env, obj))->getCertificate(), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS7_getChain(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSSLPKCS7*) QtSupport::getQt(env, obj))->getChain(), "org.kde.koala.KSSLCertChain"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS7_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS7_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLPKCS7*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPKCS7_loadCertFile(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLPKCS7JBridge::loadCertFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)), "org.kde.koala.KSSLPKCS7"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLPKCS7_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLPKCS7*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPKCS7_newKSSLPKCS7(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLPKCS7JBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPKCS7_toFile(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((KSSLPKCS7*) QtSupport::getQt(env, obj))->toFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLPKCS7_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLPKCS7*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KSSLPKCS7.h b/kdejava/koala/kdejava/KSSLPKCS7.h deleted file mode 100644 index 90b350e6..00000000 --- a/kdejava/koala/kdejava/KSSLPKCS7.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLPKCS7__ -#define __org_kde_koala_KSSLPKCS7__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLPKCS7_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLPKCS7_toString (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS7_getCertificate (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS7_getChain (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS7_toFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS7_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS7_fromString (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPKCS7_loadCertFile (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS7_newKSSLPKCS7 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS7_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPKCS7_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPKCS7_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLPKCS7__ */ diff --git a/kdejava/koala/kdejava/KSSLPeerInfo.cpp b/kdejava/koala/kdejava/KSSLPeerInfo.cpp deleted file mode 100644 index 41d910f1..00000000 --- a/kdejava/koala/kdejava/KSSLPeerInfo.cpp +++ /dev/null @@ -1,101 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSSLPeerInfoJBridge : public KSSLPeerInfo -{ -public: - KSSLPeerInfoJBridge() : KSSLPeerInfo() {}; - ~KSSLPeerInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPeerInfo_certMatchesAddress(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->certMatchesAddress(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPeerInfo_cnMatchesAddress(JNIEnv* env, jobject obj, jstring cn) -{ -static TQString* _qstring_cn = 0; - jboolean xret = (jboolean) ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->cnMatchesAddress((TQString)*(TQString*) QtSupport::toTQString(env, cn, &_qstring_cn)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLPeerInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLPeerInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLPeerInfo_getPeerCertificate(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KSSLCertificate *) &((KSSLPeerInfo*) QtSupport::getQt(env, obj))->getPeerCertificate(), "org.kde.koala.KSSLCertificate"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLPeerInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_newKSSLPeerInfo(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLPeerInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLPeerInfo_peerHost(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->peerHost(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_reset(JNIEnv* env, jobject obj) -{ - ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_setPeerHost__(JNIEnv* env, jobject obj) -{ - ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->setPeerHost(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLPeerInfo_setPeerHost__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring host) -{ -static TQString* _qstring_host = 0; - ((KSSLPeerInfo*) QtSupport::getQt(env, obj))->setPeerHost((TQString)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLPeerInfo.h b/kdejava/koala/kdejava/KSSLPeerInfo.h deleted file mode 100644 index bb41c5f0..00000000 --- a/kdejava/koala/kdejava/KSSLPeerInfo.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLPeerInfo__ -#define __org_kde_koala_KSSLPeerInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLPeerInfo_getPeerCertificate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPeerInfo_certMatchesAddress (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPeerInfo_cnMatchesAddress (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_setPeerHost__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_setPeerHost__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLPeerInfo_peerHost (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_newKSSLPeerInfo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLPeerInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLPeerInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLPeerInfo__ */ diff --git a/kdejava/koala/kdejava/KSSLSession.cpp b/kdejava/koala/kdejava/KSSLSession.cpp deleted file mode 100644 index e5426b8b..00000000 --- a/kdejava/koala/kdejava/KSSLSession.cpp +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KSSLSessionJBridge : public KSSLSession -{ -public: - KSSLSessionJBridge() : KSSLSession() {}; - ~KSSLSessionJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSession_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLSession_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSession_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLSession*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLSession_fromString(JNIEnv* env, jclass cls, jstring s) -{ - (void) cls; -static TQString* _qstring_s = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLSessionJBridge::fromString((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)), "org.kde.koala.KSSLSession"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSession_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSession_newKSSLSession(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLSessionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLSession_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLSession*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KSSLSession.h b/kdejava/koala/kdejava/KSSLSession.h deleted file mode 100644 index bcb93f8e..00000000 --- a/kdejava/koala/kdejava/KSSLSession.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLSession__ -#define __org_kde_koala_KSSLSession__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLSession_toString (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLSession_fromString (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSession_newKSSLSession (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSession_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSession_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSession_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLSession__ */ diff --git a/kdejava/koala/kdejava/KSSLSettings.cpp b/kdejava/koala/kdejava/KSSLSettings.cpp deleted file mode 100644 index e7aa4f67..00000000 --- a/kdejava/koala/kdejava/KSSLSettings.cpp +++ /dev/null @@ -1,215 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KSSLSettingsJBridge : public KSSLSettings -{ -public: - KSSLSettingsJBridge(bool arg1) : KSSLSettings(arg1) {}; - KSSLSettingsJBridge() : KSSLSettings() {}; - ~KSSLSettingsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_autoSendX509(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->autoSendX509(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_defaults(JNIEnv* env, jobject obj) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->defaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLSettings_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLSettings*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLSettings_getCipherList(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLSettings*) QtSupport::getQt(env, obj))->getCipherList(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLSettings_getEGDPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSSLSettings*) QtSupport::getQt(env, obj))->getEGDPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_load(JNIEnv* env, jobject obj) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->load(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_newKSSLSettings__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLSettingsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_newKSSLSettings__Z(JNIEnv* env, jobject obj, jboolean readConfig) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLSettingsJBridge((bool) readConfig)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_promptSendX509(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->promptSendX509(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_save(JNIEnv* env, jobject obj) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->save(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setSSLv2(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setSSLv2((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setSSLv3(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setSSLv3((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setTLSv1(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setTLSv1((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setWarnOnEnter(JNIEnv* env, jobject obj, jboolean x) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setWarnOnEnter((bool) x); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setWarnOnLeave(JNIEnv* env, jobject obj, jboolean x) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setWarnOnLeave((bool) x); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSettings_setWarnOnUnencrypted(JNIEnv* env, jobject obj, jboolean x) -{ - ((KSSLSettings*) QtSupport::getQt(env, obj))->setWarnOnUnencrypted((bool) x); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_sslv2(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->sslv2(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_sslv3(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->sslv3(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_tlsv1(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->tlsv1(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_useEFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->useEFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_useEGD(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->useEGD(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_warnOnEnter(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->warnOnEnter(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_warnOnLeave(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->warnOnLeave(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_warnOnMixed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->warnOnMixed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSettings_warnOnUnencrypted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSettings*) QtSupport::getQt(env, obj))->warnOnUnencrypted(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLSettings.h b/kdejava/koala/kdejava/KSSLSettings.h deleted file mode 100644 index 228d7478..00000000 --- a/kdejava/koala/kdejava/KSSLSettings.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLSettings__ -#define __org_kde_koala_KSSLSettings__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_newKSSLSettings__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_newKSSLSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_sslv2 (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_sslv3 (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_tlsv1 (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_warnOnEnter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setWarnOnEnter (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_warnOnUnencrypted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setWarnOnUnencrypted (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_warnOnLeave (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setWarnOnLeave (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_warnOnMixed (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_useEGD (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_useEFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setTLSv1 (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setSSLv2 (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_setSSLv3 (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_autoSendX509 (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_promptSendX509 (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLSettings_getCipherList (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLSettings_getEGDPath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_load (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_defaults (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSettings_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSettings_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLSettings__ */ diff --git a/kdejava/koala/kdejava/KSSLSigners.cpp b/kdejava/koala/kdejava/KSSLSigners.cpp deleted file mode 100644 index 431696cb..00000000 --- a/kdejava/koala/kdejava/KSSLSigners.cpp +++ /dev/null @@ -1,157 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KSSLSignersJBridge : public KSSLSigners -{ -public: - KSSLSignersJBridge() : KSSLSigners() {}; - ~KSSLSignersJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_addCA__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring cert, jboolean ssl, jboolean email, jboolean code) -{ -static TQString* _qstring_cert = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->addCA((TQString)*(TQString*) QtSupport::toTQString(env, cert, &_qstring_cert), (bool) ssl, (bool) email, (bool) code); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_addCA__Lorg_kde_koala_KSSLCertificate_2ZZZ(JNIEnv* env, jobject obj, jobject cert, jboolean ssl, jboolean email, jboolean code) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->addCA((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert), (bool) ssl, (bool) email, (bool) code); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSigners_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLSigners_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSigners_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLSigners*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLSigners_getCert(JNIEnv* env, jobject obj, jstring subject) -{ - TQString _qstring; -static TQString* _qstring_subject = 0; - _qstring = ((KSSLSigners*) QtSupport::getQt(env, obj))->getCert((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSSLSigners_list(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSSLSigners*) QtSupport::getQt(env, obj))->list(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLSigners_newKSSLSigners(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLSignersJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_regenerate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->regenerate(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_remove__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring subject) -{ -static TQString* _qstring_subject = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->remove((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_remove__Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->remove((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_setUse(JNIEnv* env, jobject obj, jstring subject, jboolean ssl, jboolean email, jboolean code) -{ -static TQString* _qstring_subject = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->setUse((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (bool) ssl, (bool) email, (bool) code); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForCode__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring subject) -{ -static TQString* _qstring_subject = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForCode((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForCode__Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForCode((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForEmail__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring subject) -{ -static TQString* _qstring_subject = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForEmail((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForEmail__Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForEmail((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForSSL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring subject) -{ -static TQString* _qstring_subject = 0; - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForSSL((TQString)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLSigners_useForSSL__Lorg_kde_koala_KSSLCertificate_2(JNIEnv* env, jobject obj, jobject cert) -{ - jboolean xret = (jboolean) ((KSSLSigners*) QtSupport::getQt(env, obj))->useForSSL((KSSLCertificate&)*(KSSLCertificate*) QtSupport::getQt(env, cert)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSSLSigners.h b/kdejava/koala/kdejava/KSSLSigners.h deleted file mode 100644 index 0c549b4a..00000000 --- a/kdejava/koala/kdejava/KSSLSigners.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLSigners__ -#define __org_kde_koala_KSSLSigners__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSigners_newKSSLSigners (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_addCA__Lorg_kde_koala_KSSLCertificate_2ZZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_addCA__Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_regenerate (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForSSL__Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForSSL__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForEmail__Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForEmail__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForCode__Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_useForCode__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_remove__Lorg_kde_koala_KSSLCertificate_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_remove__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLSigners_list (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLSigners_getCert (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_setUse (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSigners_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLSigners_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLSigners_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLSigners__ */ diff --git a/kdejava/koala/kdejava/KSSLX509Map.cpp b/kdejava/koala/kdejava/KSSLX509Map.cpp deleted file mode 100644 index 25f507f9..00000000 --- a/kdejava/koala/kdejava/KSSLX509Map.cpp +++ /dev/null @@ -1,82 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KSSLX509MapJBridge : public KSSLX509Map -{ -public: - KSSLX509MapJBridge(const TQString& arg1) : KSSLX509Map(arg1) {}; - ~KSSLX509MapJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLX509Map_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLX509Map*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSSLX509Map_getValue(JNIEnv* env, jobject obj, jstring key) -{ - TQString _qstring; -static TQString* _qstring_key = 0; - _qstring = ((KSSLX509Map*) QtSupport::getQt(env, obj))->getValue((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509Map_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_newKSSLX509Map(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLX509MapJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_reset__(JNIEnv* env, jobject obj) -{ - ((KSSLX509Map*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_reset__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KSSLX509Map*) QtSupport::getQt(env, obj))->reset((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509Map_setValue(JNIEnv* env, jobject obj, jstring key, jstring value) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_value = 0; - ((KSSLX509Map*) QtSupport::getQt(env, obj))->setValue((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - diff --git a/kdejava/koala/kdejava/KSSLX509Map.h b/kdejava/koala/kdejava/KSSLX509Map.h deleted file mode 100644 index 759f64c2..00000000 --- a/kdejava/koala/kdejava/KSSLX509Map.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLX509Map__ -#define __org_kde_koala_KSSLX509Map__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_newKSSLX509Map (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_setValue (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSSLX509Map_getValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_reset__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_reset__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509Map_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509Map_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLX509Map__ */ diff --git a/kdejava/koala/kdejava/KSSLX509V3.cpp b/kdejava/koala/kdejava/KSSLX509V3.cpp deleted file mode 100644 index d9f56336..00000000 --- a/kdejava/koala/kdejava/KSSLX509V3.cpp +++ /dev/null @@ -1,124 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KSSLX509V3JBridge : public KSSLX509V3 -{ -public: - KSSLX509V3JBridge() : KSSLX509V3() {}; - ~KSSLX509V3JBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeCA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeCA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeCRLSign(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeCRLSign(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeCodeCA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeCodeCA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeEmailCA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeEmailCA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeNSSSLServer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeNSSSLServer(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSMIMEEncrypt(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSMIMEEncrypt(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSMIMESign(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSMIMESign(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSMIME(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSMIME(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSSLCA(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSSLCA(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSSLClient(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSSLClient(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_certTypeSSLServer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSSLX509V3*) QtSupport::getQt(env, obj))->certTypeSSLServer(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509V3_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSSLX509V3_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509V3_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSSLX509V3*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSSLX509V3_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSSLX509V3_newKSSLX509V3(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSSLX509V3JBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSSLX509V3.h b/kdejava/koala/kdejava/KSSLX509V3.h deleted file mode 100644 index 057f4a93..00000000 --- a/kdejava/koala/kdejava/KSSLX509V3.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSSLX509V3__ -#define __org_kde_koala_KSSLX509V3__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeCA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSSLCA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeEmailCA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeCodeCA (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSSLClient (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSSLServer (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeNSSSLServer (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSMIME (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSMIMEEncrypt (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeSMIMESign (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_certTypeCRLSign (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509V3_newKSSLX509V3 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509V3_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSSLX509V3_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLX509V3_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSSLX509V3__ */ diff --git a/kdejava/koala/kdejava/KSaveFile.cpp b/kdejava/koala/kdejava/KSaveFile.cpp deleted file mode 100644 index 40e31a5a..00000000 --- a/kdejava/koala/kdejava/KSaveFile.cpp +++ /dev/null @@ -1,148 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KSaveFileJBridge : public KSaveFile -{ -public: - KSaveFileJBridge(const TQString& arg1,int arg2) : KSaveFile(arg1,arg2) {}; - KSaveFileJBridge(const TQString& arg1) : KSaveFile(arg1) {}; - ~KSaveFileJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSaveFile_abort(JNIEnv* env, jobject obj) -{ - ((KSaveFile*) QtSupport::getQt(env, obj))->abort(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) KSaveFileJBridge::backupFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename, jstring backupDir) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_backupDir = 0; - jboolean xret = (jboolean) KSaveFileJBridge::backupFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, backupDir, &_qstring_backupDir)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename, jstring backupDir, jstring backupExtension) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_backupDir = 0; -static TQString* _qstring_backupExtension = 0; - jboolean xret = (jboolean) KSaveFileJBridge::backupFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, backupDir, &_qstring_backupDir), (const TQString&)*(TQString*) QtSupport::toTQString(env, backupExtension, &_qstring_backupExtension)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSaveFile_close(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSaveFile*) QtSupport::getQt(env, obj))->close(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSaveFile_dataStream(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSaveFile*) QtSupport::getQt(env, obj))->dataStream(), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSaveFile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSaveFile_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSaveFile_file(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSaveFile*) QtSupport::getQt(env, obj))->file(), "org.kde.qt.TQFile"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSaveFile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSaveFile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSaveFile_handle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSaveFile*) QtSupport::getQt(env, obj))->handle(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSaveFile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSaveFile_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSaveFile*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSaveFile_newKSaveFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSaveFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSaveFile_newKSaveFile__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring filename, jint mode) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSaveFileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (int) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSaveFile_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSaveFile*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSaveFile_textStream(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSaveFile*) QtSupport::getQt(env, obj))->textStream(), "org.kde.qt.TQTextStream"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSaveFile.h b/kdejava/koala/kdejava/KSaveFile.h deleted file mode 100644 index 40b4ea06..00000000 --- a/kdejava/koala/kdejava/KSaveFile.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSaveFile__ -#define __org_kde_koala_KSaveFile__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSaveFile_newKSaveFile__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSaveFile_newKSaveFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSaveFile_status (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSaveFile_name (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSaveFile_handle (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSaveFile_file (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSaveFile_textStream (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSaveFile_dataStream (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSaveFile_abort (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSaveFile_close (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSaveFile_backupFile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSaveFile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSaveFile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSaveFile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSaveFile__ */ diff --git a/kdejava/koala/kdejava/KScanDialog.cpp b/kdejava/koala/kdejava/KScanDialog.cpp deleted file mode 100644 index 645ea56a..00000000 --- a/kdejava/koala/kdejava/KScanDialog.cpp +++ /dev/null @@ -1,596 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KScanDialogJBridge : public KScanDialog -{ -public: - KScanDialogJBridge(int arg1,int arg2,TQWidget* arg3,const char* arg4,bool arg5) : KScanDialog(arg1,arg2,arg3,arg4,arg5) {}; - KScanDialogJBridge(int arg1,int arg2,TQWidget* arg3,const char* arg4) : KScanDialog(arg1,arg2,arg3,arg4) {}; - KScanDialogJBridge(int arg1,int arg2,TQWidget* arg3) : KScanDialog(arg1,arg2,arg3) {}; - KScanDialogJBridge(int arg1,int arg2) : KScanDialog(arg1,arg2) {}; - KScanDialogJBridge(int arg1) : KScanDialog(arg1) {}; - KScanDialogJBridge() : KScanDialog() {}; - int protected_id() { - return (int) KScanDialog::id(); - } - int protected_nextId() { - return (int) KScanDialog::nextId(); - } - ~KScanDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KScanDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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; - } - bool setup() { - return QtSupport::booleanDelegate(this,"setup"); - } - 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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KScanDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KScanDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KScanDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KScanDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KScanDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KScanDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KScanDialog_getScanDialog__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KScanDialogJBridge::getScanDialog(), "org.kde.koala.KScanDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KScanDialogJBridge::getScanDialog((TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.KScanDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KScanDialogJBridge::getScanDialog((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.KScanDialog"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject parent, jstring name, jboolean modal) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KScanDialogJBridge::getScanDialog((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal), "org.kde.koala.KScanDialog"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KScanDialog_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KScanDialogJBridge*) QtSupport::getQt(env, obj))->protected_id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KScanDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KScanDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KScanDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_newKScanDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_newKScanDialog__I(JNIEnv* env, jobject obj, jint dialogFace) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge((int) dialogFace)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_newKScanDialog__II(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge((int) dialogFace, (int) buttonMask)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge((int) dialogFace, (int) buttonMask, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge((int) dialogFace, (int) buttonMask, (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_koala_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogFace, jint buttonMask, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KScanDialogJBridge((int) dialogFace, (int) buttonMask, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KScanDialog_nextId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KScanDialogJBridge*) QtSupport::getQt(env, obj))->protected_nextId(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KScanDialog_setup(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KScanDialog*) QtSupport::getQt(env, obj))->setup(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KScanDialog.h b/kdejava/koala/kdejava/KScanDialog.h deleted file mode 100644 index 375a1fbf..00000000 --- a/kdejava/koala/kdejava/KScanDialog.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KScanDialog__ -#define __org_kde_koala_KScanDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KScanDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KScanDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KScanDialog_setup (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KScanDialog_getScanDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KScanDialog_getScanDialog__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_newKScanDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KScanDialog_id (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KScanDialog_nextId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KScanDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KScanDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KScanDialog__ */ diff --git a/kdejava/koala/kdejava/KSeparator.cpp b/kdejava/koala/kdejava/KSeparator.cpp deleted file mode 100644 index da2ac416..00000000 --- a/kdejava/koala/kdejava/KSeparator.cpp +++ /dev/null @@ -1,541 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSeparatorJBridge : public KSeparator -{ -public: - KSeparatorJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KSeparator(arg1,arg2,arg3) {}; - KSeparatorJBridge(TQWidget* arg1,const char* arg2) : KSeparator(arg1,arg2) {}; - KSeparatorJBridge(TQWidget* arg1) : KSeparator(arg1) {}; - KSeparatorJBridge() : KSeparator() {}; - KSeparatorJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KSeparator(arg1,arg2,arg3,arg4) {}; - KSeparatorJBridge(int arg1,TQWidget* arg2,const char* arg3) : KSeparator(arg1,arg2,arg3) {}; - KSeparatorJBridge(int arg1,TQWidget* arg2) : KSeparator(arg1,arg2) {}; - KSeparatorJBridge(int arg1) : KSeparator(arg1) {}; - void protected_drawFrame(TQPainter* arg1) { - KSeparator::drawFrame(arg1); - return; - } - ~KSeparatorJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - KSeparator::drawFrame(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KSeparator","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSeparator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSeparator","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSeparator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSeparator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSeparator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_drawFrame(JNIEnv* env, jobject obj, jobject p) -{ - ((KSeparatorJBridge*) QtSupport::getQt(env, obj))->protected_drawFrame((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSeparator*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSeparator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSeparator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSeparator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSeparator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_newKSeparator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_newKSeparator__I(JNIEnv* env, jobject obj, jint orientation) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge((int) orientation)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint orientation, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge((int) orientation, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint orientation, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge((int) orientation, (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_koala_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint orientation, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge((int) orientation, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_newKSeparator__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_newKSeparator__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 KSeparatorJBridge((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_koala_KSeparator_newKSeparator__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSeparatorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSeparator_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSeparator*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSeparator_setOrientation(JNIEnv* env, jobject obj, jint orient) -{ - ((KSeparator*) QtSupport::getQt(env, obj))->setOrientation((int) orient); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSeparator_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KSeparator*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSeparator.h b/kdejava/koala/kdejava/KSeparator.h deleted file mode 100644 index 9c43deee..00000000 --- a/kdejava/koala/kdejava/KSeparator.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSeparator__ -#define __org_kde_koala_KSeparator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSeparator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSeparator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_newKSeparator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSeparator_orientation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSeparator_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_drawFrame (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSeparator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSeparator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSeparator__ */ diff --git a/kdejava/koala/kdejava/KService.cpp b/kdejava/koala/kdejava/KService.cpp deleted file mode 100644 index 8f60a952..00000000 --- a/kdejava/koala/kdejava/KService.cpp +++ /dev/null @@ -1,493 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KServiceJBridge : public KService -{ -public: - KServiceJBridge(const TQString& arg1,const TQString& arg2,const TQString& arg3) : KService(arg1,arg2,arg3) {}; - KServiceJBridge(const TQString& arg1) : KService(arg1) {}; - KServiceJBridge(KDesktopFile* arg1) : KService(arg1) {}; - KServiceJBridge(TQDataStream& arg1,int arg2) : KService(arg1,arg2) {}; - void protected_init(KDesktopFile* arg1) { - KService::init(arg1); - return; - } - TQStringList& protected_accessServiceTypes() { - return (TQStringList&) KService::accessServiceTypes(); - } - ~KServiceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KService_DCOPServiceType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KService*) QtSupport::getQt(env, obj))->DCOPServiceType(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_accessServiceTypes(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KServiceJBridge*) QtSupport::getQt(env, obj))->protected_accessServiceTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_allowAsDefault(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->allowAsDefault(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_allowMultipleFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->allowMultipleFiles(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_categories(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KService*) QtSupport::getQt(env, obj))->categories(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_comment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->comment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_desktopEntryName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->desktopEntryName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_desktopEntryPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->desktopEntryPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KService_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_exec(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->exec(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KService*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_genericName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->genericName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_hasServiceType(JNIEnv* env, jobject obj, jstring _service) -{ -static TQString* _qstring__service = 0; - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->hasServiceType((const TQString&)*(TQString*) QtSupport::toTQString(env, _service, &_qstring__service)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_init__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->init(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_init__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - ((KServiceJBridge*) QtSupport::getQt(env, obj))->protected_init((KDesktopFile*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KService_initialPreferenceForMimeType(JNIEnv* env, jobject obj, jstring mimeType) -{ -static TQString* _qstring_mimeType = 0; - jint xret = (jint) ((KService*) QtSupport::getQt(env, obj))->initialPreferenceForMimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KService_initialPreference(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KService*) QtSupport::getQt(env, obj))->initialPreference(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_keywords(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KService*) QtSupport::getQt(env, obj))->keywords(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_library(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->library(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KService*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_locateLocal(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->locateLocal(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_menuId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->menuId(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_newKService__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath) -{ -static TQString* _qstring__fullpath = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_newKService__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _name, jstring _exec, jstring _icon) -{ -static TQString* _qstring__name = 0; -static TQString* _qstring__exec = 0; -static TQString* _qstring__icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_newKService__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_newKService__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2(JNIEnv* env, jclass cls, jboolean showInMenu, jstring suggestedName) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_suggestedName = 0; - _qstring = KServiceJBridge::newServicePath((bool) showInMenu, (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedName, &_qstring_suggestedName)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jboolean showInMenu, jstring suggestedName, jobject menuId) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_suggestedName = 0; -static TQString* _qstring_menuId = 0; - _qstring = KServiceJBridge::newServicePath((bool) showInMenu, (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedName, &_qstring_suggestedName), (TQString*) QtSupport::toTQStringFromStringBuffer(env, menuId, &_qstring_menuId)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_menuId, menuId); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2Ljava_lang_StringBuffer_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jboolean showInMenu, jstring suggestedName, jobject menuId, jobjectArray reservedMenuIds) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_suggestedName = 0; -static TQString* _qstring_menuId = 0; -static TQStringList* _qlist_reservedMenuIds = 0; - _qstring = KServiceJBridge::newServicePath((bool) showInMenu, (const TQString&)*(TQString*) QtSupport::toTQString(env, suggestedName, &_qstring_suggestedName), (TQString*) QtSupport::toTQStringFromStringBuffer(env, menuId, &_qstring_menuId), (const TQStringList*) QtSupport::toTQStringList(env, reservedMenuIds, &_qlist_reservedMenuIds)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_menuId, menuId); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_noDisplay(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->noDisplay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_parentApp(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->parentApp(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_pixmap__I(JNIEnv* env, jobject obj, jint _group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_pixmap__II(JNIEnv* env, jobject obj, jint _group, jint _force_size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group, (int) _force_size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_pixmap__III(JNIEnv* env, jobject obj, jint _group, jint _force_size, jint _state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group, (int) _force_size, (int) _state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_pixmap__IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jint _group, jint _force_size, jint _state, jobject _path) -{ -static TQString* _qstring__path = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KService*) QtSupport::getQt(env, obj))->pixmap((TDEIcon::Group) _group, (int) _force_size, (int) _state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, _path, &_qstring__path))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring__path, _path); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_propertyNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KService*) QtSupport::getQt(env, obj))->propertyNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_property__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _name) -{ -static TQString* _qstring__name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KService*) QtSupport::getQt(env, obj))->property((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_property__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _name, jint t) -{ -static TQString* _qstring__name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KService*) QtSupport::getQt(env, obj))->property((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (TQVariant::Type) t)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_rebuildKSycoca(JNIEnv* env, jclass cls, jobject parent) -{ - (void) cls; - KServiceJBridge::rebuildKSycoca((TQWidget*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KService*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KService_serviceTypes(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KService*) QtSupport::getQt(env, obj))->serviceTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_setInitialPreference(JNIEnv* env, jobject obj, jint i) -{ - ((KService*) QtSupport::getQt(env, obj))->setInitialPreference((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_setMenuId(JNIEnv* env, jobject obj, jstring menuId) -{ -static TQString* _qstring_menuId = 0; - ((KService*) QtSupport::getQt(env, obj))->setMenuId((const TQString&)*(TQString*) QtSupport::toTQString(env, menuId, &_qstring_menuId)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_setTerminalOptions(JNIEnv* env, jobject obj, jstring options) -{ -static TQString* _qstring_options = 0; - ((KService*) QtSupport::getQt(env, obj))->setTerminalOptions((const TQString&)*(TQString*) QtSupport::toTQString(env, options, &_qstring_options)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KService_setTerminal(JNIEnv* env, jobject obj, jboolean b) -{ - ((KService*) QtSupport::getQt(env, obj))->setTerminal((bool) b); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_storageId(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->storageId(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_substituteUid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->substituteUid(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_terminalOptions(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->terminalOptions(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KService_terminal(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KService*) QtSupport::getQt(env, obj))->terminal(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_type(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->type(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_untranslatedGenericName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->untranslatedGenericName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KService_username(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KService*) QtSupport::getQt(env, obj))->username(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KService.h b/kdejava/koala/kdejava/KService.h deleted file mode 100644 index df8f300c..00000000 --- a/kdejava/koala/kdejava/KService.h +++ /dev/null @@ -1,75 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KService__ -#define __org_kde_koala_KService__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_newKService__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_newKService__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_newKService__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_newKService__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_type (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_exec (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_library (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_init__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_icon (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_pixmap__IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_pixmap__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_pixmap__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_pixmap__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_terminal (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_terminalOptions (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_substituteUid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_username (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_desktopEntryPath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_desktopEntryName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_menuId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_storageId (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KService_DCOPServiceType (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_path (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_comment (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_genericName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_untranslatedGenericName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_keywords (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_categories (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_serviceTypes (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_hasServiceType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_allowAsDefault (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_allowMultipleFiles (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KService_initialPreference (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KService_initialPreferenceForMimeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_setInitialPreference (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_noDisplay (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_parentApp (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_property__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_property__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_propertyNames (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_locateLocal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_setMenuId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_setTerminal (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_setTerminalOptions (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2Ljava_lang_StringBuffer_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jboolean, jstring, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jboolean, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KService_newServicePath__ZLjava_lang_String_2 (JNIEnv *env, jclass, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_rebuildKSycoca (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_init__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KService_accessServiceTypes (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KService_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KService_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KService__ */ diff --git a/kdejava/koala/kdejava/KServiceGroup.cpp b/kdejava/koala/kdejava/KServiceGroup.cpp deleted file mode 100644 index bfb90c5d..00000000 --- a/kdejava/koala/kdejava/KServiceGroup.cpp +++ /dev/null @@ -1,281 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KServiceGroupJBridge : public KServiceGroup -{ -public: - KServiceGroupJBridge(const TQString& arg1) : KServiceGroup(arg1) {}; - KServiceGroupJBridge(const TQString& arg1,const TQString& arg2) : KServiceGroup(arg1,arg2) {}; - KServiceGroupJBridge(TQDataStream& arg1,int arg2,bool arg3) : KServiceGroup(arg1,arg2,arg3) {}; - void protected_addEntry(KSycocaEntry* arg1) { - KServiceGroup::addEntry(arg1); - return; - } - ~KServiceGroupJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_addEntry(JNIEnv* env, jobject obj, jobject entry) -{ - ((KServiceGroupJBridge*) QtSupport::getQt(env, obj))->protected_addEntry((KSycocaEntry*) QtSupport::getQt(env, entry)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_allowInline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->allowInline(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_baseGroupName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->baseGroupName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_caption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->caption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KServiceGroup_childCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KServiceGroup*) QtSupport::getQt(env, obj))->childCount(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_comment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->comment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_directoryEntryPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->directoryEntryPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KServiceGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KServiceGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_inlineAlias(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->inlineAlias(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KServiceGroup_inlineValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KServiceGroup*) QtSupport::getQt(env, obj))->inlineValue(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceGroup_layoutInfo(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KServiceGroup*) QtSupport::getQt(env, obj))->layoutInfo(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_newKServiceGroup__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceGroupJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_newKServiceGroup__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath, jstring _relpath) -{ -static TQString* _qstring__fullpath = 0; -static TQString* _qstring__relpath = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceGroupJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath), (const TQString&)*(TQString*) QtSupport::toTQString(env, _relpath, &_qstring__relpath))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_newKServiceGroup__Lorg_kde_qt_QDataStream_2IZ(JNIEnv* env, jobject obj, jobject _str, jint offset, jboolean deep) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceGroupJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset, (bool) deep)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_noDisplay(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->noDisplay(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_parseAttribute(JNIEnv* env, jobject obj, jstring item, jboolean showEmptyMenu, jboolean showInline, jboolean showInlineHeader, jboolean showInlineAlias, jintArray inlineValue) -{ -static TQString* _qstring_item = 0; - int* _int_inlineValue = QtSupport::toIntPtr(env, inlineValue); - ((KServiceGroup*) QtSupport::getQt(env, obj))->parseAttribute((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (bool&) showEmptyMenu, (bool&) showInline, (bool&) showInlineHeader, (bool&) showInlineAlias, (int&) *_int_inlineValue); - env->SetIntArrayRegion(inlineValue, 0, 1, (jint *) _int_inlineValue); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceGroup_relPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceGroup*) QtSupport::getQt(env, obj))->relPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setAllowInline(JNIEnv* env, jobject obj, jboolean _b) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->setAllowInline((bool) _b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setInlineAlias(JNIEnv* env, jobject obj, jboolean _b) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->setInlineAlias((bool) _b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setInlineValue(JNIEnv* env, jobject obj, jint _val) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->setInlineValue((int) _val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setLayoutInfo(JNIEnv* env, jobject obj, jobjectArray layout) -{ -static TQStringList* _qlist_layout = 0; - ((KServiceGroup*) QtSupport::getQt(env, obj))->setLayoutInfo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, layout, &_qlist_layout)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setShowEmptyMenu(JNIEnv* env, jobject obj, jboolean b) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->setShowEmptyMenu((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceGroup_setShowInlineHeader(JNIEnv* env, jobject obj, jboolean _b) -{ - ((KServiceGroup*) QtSupport::getQt(env, obj))->setShowInlineHeader((bool) _b); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_showEmptyMenu(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->showEmptyMenu(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceGroup_showInlineHeader(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceGroup*) QtSupport::getQt(env, obj))->showInlineHeader(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceGroup_suppressGenericNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KServiceGroup*) QtSupport::getQt(env, obj))->suppressGenericNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KServiceGroup.h b/kdejava/koala/kdejava/KServiceGroup.h deleted file mode 100644 index fdccbe70..00000000 --- a/kdejava/koala/kdejava/KServiceGroup.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KServiceGroup__ -#define __org_kde_koala_KServiceGroup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_newKServiceGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_newKServiceGroup__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_newKServiceGroup__Lorg_kde_qt_QDataStream_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_relPath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_caption (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_icon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_comment (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KServiceGroup_childCount (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_noDisplay (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_showEmptyMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setShowEmptyMenu (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_showInlineHeader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setShowInlineHeader (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_inlineAlias (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setInlineAlias (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_allowInline (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setAllowInline (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KServiceGroup_inlineValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setInlineValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceGroup_suppressGenericNames (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_setLayoutInfo (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceGroup_layoutInfo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_baseGroupName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceGroup_directoryEntryPath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_parseAttribute (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jboolean, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_addEntry (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KServiceGroup__ */ diff --git a/kdejava/koala/kdejava/KServiceOffer.cpp b/kdejava/koala/kdejava/KServiceOffer.cpp deleted file mode 100644 index cd09f08e..00000000 --- a/kdejava/koala/kdejava/KServiceOffer.cpp +++ /dev/null @@ -1,87 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KServiceOfferJBridge : public KServiceOffer -{ -public: - KServiceOfferJBridge() : KServiceOffer() {}; - KServiceOfferJBridge(const KServiceOffer& arg1) : KServiceOffer(arg1) {}; - ~KServiceOfferJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceOffer_allowAsDefault(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceOffer*) QtSupport::getQt(env, obj))->allowAsDefault(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceOffer_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KServiceOffer_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceOffer_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KServiceOffer*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceOffer_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceOffer_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceOffer*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceOffer_newKServiceOffer__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceOfferJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceOffer_newKServiceOffer__Lorg_kde_koala_KServiceOffer_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceOfferJBridge((const KServiceOffer&)*(const KServiceOffer*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceOffer_op_1lt(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((KServiceOffer*) QtSupport::getQt(env, obj))->operator<((const KServiceOffer&)*(const KServiceOffer*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KServiceOffer_preference(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KServiceOffer*) QtSupport::getQt(env, obj))->preference(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KServiceOffer.h b/kdejava/koala/kdejava/KServiceOffer.h deleted file mode 100644 index 04c00a0d..00000000 --- a/kdejava/koala/kdejava/KServiceOffer.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KServiceOffer__ -#define __org_kde_koala_KServiceOffer__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceOffer_newKServiceOffer__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceOffer_newKServiceOffer__Lorg_kde_koala_KServiceOffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceOffer_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceOffer_allowAsDefault (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KServiceOffer_preference (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceOffer_isValid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceOffer_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceOffer_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceOffer_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KServiceOffer__ */ diff --git a/kdejava/koala/kdejava/KServiceSeparator.cpp b/kdejava/koala/kdejava/KServiceSeparator.cpp deleted file mode 100644 index 4e02422a..00000000 --- a/kdejava/koala/kdejava/KServiceSeparator.cpp +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KServiceSeparatorJBridge : public KServiceSeparator -{ -public: - KServiceSeparatorJBridge() : KServiceSeparator() {}; - ~KServiceSeparatorJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceSeparator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KServiceSeparator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceSeparator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KServiceSeparator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceSeparator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceSeparator_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceSeparator*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceSeparator_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceSeparator*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceSeparator_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceSeparator*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceSeparator_newKServiceSeparator(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceSeparatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceSeparator_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceSeparator*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KServiceSeparator.h b/kdejava/koala/kdejava/KServiceSeparator.h deleted file mode 100644 index ad9b5cd5..00000000 --- a/kdejava/koala/kdejava/KServiceSeparator.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KServiceSeparator__ -#define __org_kde_koala_KServiceSeparator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceSeparator_newKServiceSeparator (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceSeparator_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceSeparator_name (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceSeparator_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceSeparator_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceSeparator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceSeparator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceSeparator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KServiceSeparator__ */ diff --git a/kdejava/koala/kdejava/KServiceType.cpp b/kdejava/koala/kdejava/KServiceType.cpp deleted file mode 100644 index f1aa1670..00000000 --- a/kdejava/koala/kdejava/KServiceType.cpp +++ /dev/null @@ -1,209 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KServiceTypeJBridge : public KServiceType -{ -public: - KServiceTypeJBridge(const TQString& arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4) : KServiceType(arg1,arg2,arg3,arg4) {}; - KServiceTypeJBridge(const TQString& arg1) : KServiceType(arg1) {}; - KServiceTypeJBridge(KDesktopFile* arg1) : KServiceType(arg1) {}; - KServiceTypeJBridge(TQDataStream& arg1,int arg2) : KServiceType(arg1,arg2) {}; - void protected_init(KDesktopFile* arg1) { - KServiceType::init(arg1); - return; - } - ~KServiceTypeJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceType_comment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceType*) QtSupport::getQt(env, obj))->comment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceType_desktopEntryPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceType*) QtSupport::getQt(env, obj))->desktopEntryPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KServiceType_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KServiceType*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceType_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceType*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceType_inherits(JNIEnv* env, jobject obj, jstring servTypeName) -{ -static TQString* _qstring_servTypeName = 0; - jboolean xret = (jboolean) ((KServiceType*) QtSupport::getQt(env, obj))->inherits((const TQString&)*(TQString*) QtSupport::toTQString(env, servTypeName, &_qstring_servTypeName)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_init(JNIEnv* env, jobject obj, jobject config) -{ - ((KServiceTypeJBridge*) QtSupport::getQt(env, obj))->protected_init((KDesktopFile*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceType_isDerived(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceType*) QtSupport::getQt(env, obj))->isDerived(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceType_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceType_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KServiceType*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceType*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceType_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceType*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_newKServiceType__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath) -{ -static TQString* _qstring__fullpath = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_newKServiceType__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _fullpath, jstring _name, jstring _icon, jstring _comment) -{ -static TQString* _qstring__fullpath = 0; -static TQString* _qstring__name = 0; -static TQString* _qstring__icon = 0; -static TQString* _qstring__comment = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath), (const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, _comment, &_qstring__comment))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_newKServiceType__Lorg_kde_koala_KDesktopFile_2(JNIEnv* env, jobject obj, jobject config) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeJBridge((KDesktopFile*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_newKServiceType__Lorg_kde_qt_QDataStream_2I(JNIEnv* env, jobject obj, jobject _str, jint offset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeJBridge((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, _str), (int) offset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KServiceType_parentServiceType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KServiceType*) QtSupport::getQt(env, obj))->parentServiceType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceType_propertyDefNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KServiceType*) QtSupport::getQt(env, obj))->propertyDefNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KServiceType_propertyDef(JNIEnv* env, jobject obj, jstring _name) -{ -static TQString* _qstring__name = 0; - jint xret = (jint) ((KServiceType*) QtSupport::getQt(env, obj))->propertyDef((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceType_propertyNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KServiceType*) QtSupport::getQt(env, obj))->propertyNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceType_property(JNIEnv* env, jobject obj, jstring _name) -{ -static TQString* _qstring__name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((KServiceType*) QtSupport::getQt(env, obj))->property((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceType_save(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KServiceType*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KServiceType.h b/kdejava/koala/kdejava/KServiceType.h deleted file mode 100644 index df1c5afa..00000000 --- a/kdejava/koala/kdejava/KServiceType.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KServiceType__ -#define __org_kde_koala_KServiceType__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_newKServiceType__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_newKServiceType__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_newKServiceType__Lorg_kde_koala_KDesktopFile_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_newKServiceType__Lorg_kde_qt_QDataStream_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceType_icon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceType_comment (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceType_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceType_desktopEntryPath (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceType_isDerived (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KServiceType_parentServiceType (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceType_inherits (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceType_property (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceType_propertyNames (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceType_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KServiceType_propertyDef (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceType_propertyDefNames (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_init (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceType_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceType_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KServiceType__ */ diff --git a/kdejava/koala/kdejava/KServiceTypeProfile.cpp b/kdejava/koala/kdejava/KServiceTypeProfile.cpp deleted file mode 100644 index ca937726..00000000 --- a/kdejava/koala/kdejava/KServiceTypeProfile.cpp +++ /dev/null @@ -1,145 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KServiceTypeProfileJBridge : public KServiceTypeProfile -{ -public: - KServiceTypeProfileJBridge(const TQString& arg1,const TQString& arg2) : KServiceTypeProfile(arg1,arg2) {}; - KServiceTypeProfileJBridge(const TQString& arg1) : KServiceTypeProfile(arg1) {}; - void protected_addService(const TQString& arg1,int arg2,bool arg3) { - KServiceTypeProfile::addService(arg1,arg2,arg3); - return; - } - void protected_addService(const TQString& arg1,int arg2) { - KServiceTypeProfile::addService(arg1,arg2); - return; - } - void protected_addService(const TQString& arg1) { - KServiceTypeProfile::addService(arg1); - return; - } - ~KServiceTypeProfileJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _service) -{ -static TQString* _qstring__service = 0; - ((KServiceTypeProfileJBridge*) QtSupport::getQt(env, obj))->protected_addService((const TQString&)*(TQString*) QtSupport::toTQString(env, _service, &_qstring__service)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _service, jint _preference) -{ -static TQString* _qstring__service = 0; - ((KServiceTypeProfileJBridge*) QtSupport::getQt(env, obj))->protected_addService((const TQString&)*(TQString*) QtSupport::toTQString(env, _service, &_qstring__service), (int) _preference); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring _service, jint _preference, jboolean _allow_as_default) -{ -static TQString* _qstring__service = 0; - ((KServiceTypeProfileJBridge*) QtSupport::getQt(env, obj))->protected_addService((const TQString&)*(TQString*) QtSupport::toTQString(env, _service, &_qstring__service), (int) _preference, (bool) _allow_as_default); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_clear(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KServiceTypeProfileJBridge::clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceTypeProfile_configurationMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KServiceTypeProfileJBridge::configurationMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KServiceTypeProfile_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KServiceTypeProfile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KServiceTypeProfile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_newKServiceTypeProfile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType) -{ -static TQString* _qstring_serviceType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeProfileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_newKServiceTypeProfile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring serviceType, jstring genericServiceType) -{ -static TQString* _qstring_serviceType = 0; -static TQString* _qstring_genericServiceType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KServiceTypeProfileJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, genericServiceType, &_qstring_genericServiceType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceTypeProfile_serviceTypeProfile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring servicetype) -{ - (void) cls; -static TQString* _qstring_servicetype = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KServiceTypeProfileJBridge::serviceTypeProfile((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype)), "org.kde.koala.KServiceTypeProfile"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KServiceTypeProfile_serviceTypeProfile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring servicetype, jstring genericServiceType) -{ - (void) cls; -static TQString* _qstring_servicetype = 0; -static TQString* _qstring_genericServiceType = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KServiceTypeProfileJBridge::serviceTypeProfile((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype), (const TQString&)*(TQString*) QtSupport::toTQString(env, genericServiceType, &_qstring_genericServiceType)), "org.kde.koala.KServiceTypeProfile"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KServiceTypeProfile_setConfigurationMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KServiceTypeProfileJBridge::setConfigurationMode(); - return; -} - diff --git a/kdejava/koala/kdejava/KServiceTypeProfile.h b/kdejava/koala/kdejava/KServiceTypeProfile.h deleted file mode 100644 index 525dc1ba..00000000 --- a/kdejava/koala/kdejava/KServiceTypeProfile.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KServiceTypeProfile__ -#define __org_kde_koala_KServiceTypeProfile__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceTypeProfile_serviceTypeProfile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KServiceTypeProfile_serviceTypeProfile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_clear (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_setConfigurationMode (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceTypeProfile_configurationMode (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_newKServiceTypeProfile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_newKServiceTypeProfile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_addService__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KServiceTypeProfile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KServiceTypeProfile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KServiceTypeProfile__ */ diff --git a/kdejava/koala/kdejava/KSessionManaged.cpp b/kdejava/koala/kdejava/KSessionManaged.cpp deleted file mode 100644 index dc30b964..00000000 --- a/kdejava/koala/kdejava/KSessionManaged.cpp +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KSessionManagedJBridge : public KSessionManaged -{ -public: - KSessionManagedJBridge() : KSessionManaged() {}; - ~KSessionManagedJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSessionManaged_commitData(JNIEnv* env, jobject obj, jobject sm) -{ - jboolean xret = (jboolean) ((KSessionManaged*) QtSupport::getQt(env, obj))->commitData((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSessionManaged_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSessionManaged_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSessionManaged_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSessionManaged*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSessionManaged_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSessionManaged_newKSessionManaged(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSessionManagedJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSessionManaged_saveState(JNIEnv* env, jobject obj, jobject sm) -{ - jboolean xret = (jboolean) ((KSessionManaged*) QtSupport::getQt(env, obj))->saveState((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSessionManaged.h b/kdejava/koala/kdejava/KSessionManaged.h deleted file mode 100644 index db527338..00000000 --- a/kdejava/koala/kdejava/KSessionManaged.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSessionManaged__ -#define __org_kde_koala_KSessionManaged__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSessionManaged_newKSessionManaged (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSessionManaged_saveState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSessionManaged_commitData (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSessionManaged_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSessionManaged_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSessionManaged_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSessionManaged__ */ diff --git a/kdejava/koala/kdejava/KShell.cpp b/kdejava/koala/kdejava/KShell.cpp deleted file mode 100644 index dbb14d1c..00000000 --- a/kdejava/koala/kdejava/KShell.cpp +++ /dev/null @@ -1,81 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShell_homeDir(JNIEnv* env, jclass cls, jstring user) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_user = 0; - _qstring = KShell::homeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShell_joinArgsDQ(JNIEnv* env, jclass cls, jobjectArray args) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_args = 0; - _qstring = KShell::joinArgsDQ((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShell_joinArgs(JNIEnv* env, jclass cls, jobjectArray args) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_args = 0; - _qstring = KShell::joinArgs((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring cmd) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_cmd = 0; - _qlist = KShell::splitArgs((const TQString&)*(TQString*) QtSupport::toTQString(env, cmd, &_qstring_cmd)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring cmd, jint flags) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_cmd = 0; - _qlist = KShell::splitArgs((const TQString&)*(TQString*) QtSupport::toTQString(env, cmd, &_qstring_cmd), (int) flags); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2I_3I(JNIEnv* env, jclass cls, jstring cmd, jint flags, jintArray err) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_cmd = 0; - int* _int_err = QtSupport::toIntPtr(env, err); - _qlist = KShell::splitArgs((const TQString&)*(TQString*) QtSupport::toTQString(env, cmd, &_qstring_cmd), (int) flags, (int*) _int_err); - env->SetIntArrayRegion(err, 0, 1, (jint *) _int_err); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShell_tildeExpand(JNIEnv* env, jclass cls, jstring path) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_path = 0; - _qstring = KShell::tildeExpand((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KShell.h b/kdejava/koala/kdejava/KShell.h deleted file mode 100644 index 7e3eb9ec..00000000 --- a/kdejava/koala/kdejava/KShell.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KShell__ -#define __org_kde_koala_KShell__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2I_3I (JNIEnv *env, jclass, jstring, jint, jintArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShell_splitArgs__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShell_joinArgs (JNIEnv *env, jclass, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShell_joinArgsDQ (JNIEnv *env, jclass, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShell_tildeExpand (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShell_homeDir (JNIEnv *env, jclass, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KShell__ */ diff --git a/kdejava/koala/kdejava/KShellCompletion.cpp b/kdejava/koala/kdejava/KShellCompletion.cpp deleted file mode 100644 index 48a96e4f..00000000 --- a/kdejava/koala/kdejava/KShellCompletion.cpp +++ /dev/null @@ -1,155 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KShellCompletionJBridge : public KShellCompletion -{ -public: - KShellCompletionJBridge() : KShellCompletion() {}; - void protected_postProcessMatch(TQString* arg1) { - KShellCompletion::postProcessMatch(arg1); - return; - } - void protected_postProcessMatches(TQStringList* arg1) { - KShellCompletion::postProcessMatches(arg1); - return; - } - ~KShellCompletionJBridge() {QtSupport::qtKeyDeleted(this);} - bool replaceHome() { - return QtSupport::booleanDelegate(this,"replaceHome"); - } - bool isRunning() { - return QtSupport::booleanDelegate(this,"isRunning"); - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KShellCompletion","clear")) { - TDECompletion::clear(); - } - return; - } - bool replaceEnv() { - return QtSupport::booleanDelegate(this,"replaceEnv"); - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - KURLCompletion::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KShellCompletion",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KShellCompletion","stop")) { - KURLCompletion::stop(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShellCompletion_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KShellCompletion*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellCompletion_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KShellCompletion_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellCompletion_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KShellCompletion*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KShellCompletion*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShellCompletion_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShellCompletion_makeCompletion(JNIEnv* env, jobject obj, jstring text) -{ - TQString _qstring; -static TQString* _qstring_text = 0; - _qstring = ((KShellCompletion*) QtSupport::getQt(env, obj))->makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShellCompletion_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KShellCompletion*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellCompletion_newKShellCompletion(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShellCompletionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellCompletion_postProcessMatch(JNIEnv* env, jobject obj, jobject match) -{ -static TQString* _qstring_match = 0; - ((KShellCompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatch((TQString*) QtSupport::toTQStringFromStringBuffer(env, match, &_qstring_match)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_match, match); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellCompletion_postProcessMatches(JNIEnv* env, jobject obj, jobjectArray matches) -{ -static TQStringList* _qlist_matches = 0; - ((KShellCompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatches((TQStringList*) QtSupport::toTQStringList(env, matches, &_qlist_matches)); - return; -} - diff --git a/kdejava/koala/kdejava/KShellCompletion.h b/kdejava/koala/kdejava/KShellCompletion.h deleted file mode 100644 index aaa408e3..00000000 --- a/kdejava/koala/kdejava/KShellCompletion.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KShellCompletion__ -#define __org_kde_koala_KShellCompletion__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShellCompletion_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShellCompletion_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellCompletion_newKShellCompletion (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShellCompletion_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellCompletion_postProcessMatch (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellCompletion_postProcessMatches (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellCompletion_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellCompletion_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShellCompletion_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KShellCompletion__ */ diff --git a/kdejava/koala/kdejava/KShellProcess.cpp b/kdejava/koala/kdejava/KShellProcess.cpp deleted file mode 100644 index ec762795..00000000 --- a/kdejava/koala/kdejava/KShellProcess.cpp +++ /dev/null @@ -1,149 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KShellProcessJBridge : public KShellProcess -{ -public: - KShellProcessJBridge(const char* arg1) : KShellProcess(arg1) {}; - KShellProcessJBridge() : KShellProcess() {}; - ~KShellProcessJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void commClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KShellProcess","commClose")) { - TDEProcess::commClose(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KShellProcess",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShellProcess_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KShellProcess*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellProcess_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KShellProcess_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellProcess_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KShellProcess*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KShellProcess*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShellProcess_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShellProcess_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KShellProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellProcess_newKShellProcess__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShellProcessJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShellProcess_newKShellProcess__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring shellname) -{ -static TQCString* _qstring_shellname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShellProcessJBridge((const char*) QtSupport::toCharString(env, shellname, &_qstring_shellname))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShellProcess_quote(JNIEnv* env, jclass cls, jstring arg) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_arg = 0; - _qstring = KShellProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShellProcess_start__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShellProcess*) QtSupport::getQt(env, obj))->start(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShellProcess_start__I(JNIEnv* env, jobject obj, jint runmode) -{ - jboolean xret = (jboolean) ((KShellProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShellProcess_start__II(JNIEnv* env, jobject obj, jint runmode, jint comm) -{ - jboolean xret = (jboolean) ((KShellProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode, (TDEProcess::Communication) comm); - return xret; -} - diff --git a/kdejava/koala/kdejava/KShellProcess.h b/kdejava/koala/kdejava/KShellProcess.h deleted file mode 100644 index 981a3c37..00000000 --- a/kdejava/koala/kdejava/KShellProcess.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KShellProcess__ -#define __org_kde_koala_KShellProcess__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShellProcess_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShellProcess_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellProcess_newKShellProcess__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellProcess_newKShellProcess__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShellProcess_start__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShellProcess_start__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShellProcess_start__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShellProcess_quote (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellProcess_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShellProcess_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShellProcess_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KShellProcess__ */ diff --git a/kdejava/koala/kdejava/KShred.cpp b/kdejava/koala/kdejava/KShred.cpp deleted file mode 100644 index 9e2f3e9c..00000000 --- a/kdejava/koala/kdejava/KShred.cpp +++ /dev/null @@ -1,153 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KShredJBridge : public KShred -{ -public: - KShredJBridge(TQString arg1) : KShred(arg1) {}; - ~KShredJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KShred",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KShred_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KShred*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShred_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KShred_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_fill0s(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->fill0s(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_fill1s(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->fill1s(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_fillbyte(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->fillbyte((unsigned int) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_fillpattern(JNIEnv* env, jobject obj, jshort pattern, jint size) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->fillpattern((unsigned char*) pattern, (unsigned int) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_fillrandom(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->fillrandom(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShred_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KShred*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KShred*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KShred_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KShred*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KShred_newKShred(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KShredJBridge((TQString)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_shred__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KShred*) QtSupport::getQt(env, obj))->shred(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KShred_shred__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fileName) -{ - (void) cls; -static TQString* _qstring_fileName = 0; - jboolean xret = (jboolean) KShredJBridge::shred((TQString)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KShred.h b/kdejava/koala/kdejava/KShred.h deleted file mode 100644 index ec9145a7..00000000 --- a/kdejava/koala/kdejava/KShred.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KShred__ -#define __org_kde_koala_KShred__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KShred_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KShred_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShred_newKShred (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_fill1s (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_fill0s (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_fillbyte (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_fillrandom (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_fillpattern (JNIEnv *env, jobject, jshort, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_shred__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_shred__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShred_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KShred_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KShred_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KShred__ */ diff --git a/kdejava/koala/kdejava/KSimpleConfig.cpp b/kdejava/koala/kdejava/KSimpleConfig.cpp deleted file mode 100644 index 0bc69ac7..00000000 --- a/kdejava/koala/kdejava/KSimpleConfig.cpp +++ /dev/null @@ -1,164 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KSimpleConfigJBridge : public KSimpleConfig -{ -public: - KSimpleConfigJBridge(const TQString& arg1,bool arg2) : KSimpleConfig(arg1,arg2) {}; - KSimpleConfigJBridge(const TQString& arg1) : KSimpleConfig(arg1) {}; - KSimpleConfigJBridge(TDEConfigBackEnd* arg1,bool arg2) : KSimpleConfig(arg1,arg2) {}; - KSimpleConfigJBridge(TDEConfigBackEnd* arg1) : KSimpleConfig(arg1) {}; - void public_sync() { - KSimpleConfig::sync(); - return; - } - ~KSimpleConfigJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void reparseConfiguration() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSimpleConfig","reparseConfiguration")) { - TDEConfig::reparseConfiguration(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSimpleConfig","sync")) { - KSimpleConfig::sync(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void parseConfigFiles() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSimpleConfig","parseConfigFiles")) { - TDEConfigBase::parseConfigFiles(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSimpleConfig",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSimpleConfig_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSimpleConfig*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSimpleConfig_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KSimpleConfig*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KSimpleConfig*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSimpleConfig_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSimpleConfig_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSimpleConfig*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSimpleConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean bReadOnly) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSimpleConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) bReadOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Lorg_kde_koala_TDEConfigBackEnd_2(JNIEnv* env, jobject obj, jobject backEnd) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSimpleConfigJBridge((TDEConfigBackEnd*) QtSupport::getQt(env, backEnd))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Lorg_kde_koala_TDEConfigBackEnd_2Z(JNIEnv* env, jobject obj, jobject backEnd, jboolean bReadOnly) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSimpleConfigJBridge((TDEConfigBackEnd*) QtSupport::getQt(env, backEnd), (bool) bReadOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleConfig_sync(JNIEnv* env, jobject obj) -{ - ((KSimpleConfigJBridge*) QtSupport::getQt(env, obj))->public_sync(); - return; -} - diff --git a/kdejava/koala/kdejava/KSimpleConfig.h b/kdejava/koala/kdejava/KSimpleConfig.h deleted file mode 100644 index e9773749..00000000 --- a/kdejava/koala/kdejava/KSimpleConfig.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSimpleConfig__ -#define __org_kde_koala_KSimpleConfig__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSimpleConfig_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSimpleConfig_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Lorg_kde_koala_TDEConfigBackEnd_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_newKSimpleConfig__Lorg_kde_koala_TDEConfigBackEnd_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_sync (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleConfig_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSimpleConfig_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSimpleConfig__ */ diff --git a/kdejava/koala/kdejava/KSimpleFileFilter.cpp b/kdejava/koala/kdejava/KSimpleFileFilter.cpp deleted file mode 100644 index 82b08f00..00000000 --- a/kdejava/koala/kdejava/KSimpleFileFilter.cpp +++ /dev/null @@ -1,139 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSimpleFileFilterJBridge : public KSimpleFileFilter -{ -public: - KSimpleFileFilterJBridge() : KSimpleFileFilter() {}; - ~KSimpleFileFilterJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSimpleFileFilter_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSimpleFileFilter_filterDotFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->filterDotFiles(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSimpleFileFilter_filterSpecials(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->filterSpecials(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSimpleFileFilter*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSimpleFileFilter_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSimpleFileFilter_mimeFilters(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->mimeFilters(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KSimpleFileFilter_modeFilter(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->modeFilter(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_newKSimpleFileFilter(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSimpleFileFilterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSimpleFileFilter_passesFilter(JNIEnv* env, jobject obj, jobject item) -{ - jboolean xret = (jboolean) ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->passesFilter((const KFileItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setFilterDotFiles(JNIEnv* env, jobject obj, jboolean filter) -{ - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setFilterDotFiles((bool) filter); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setFilterSpecials(JNIEnv* env, jobject obj, jboolean filter) -{ - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setFilterSpecials((bool) filter); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setMimeFilters(JNIEnv* env, jobject obj, jobjectArray mimeFilters) -{ -static TQStringList* _qlist_mimeFilters = 0; - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setMimeFilters((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, mimeFilters, &_qlist_mimeFilters)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setModeFilter(JNIEnv* env, jobject obj, jlong mode) -{ - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setModeFilter((mode_t) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring nameFilters) -{ -static TQString* _qstring_nameFilters = 0; - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setNameFilters((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilters, &_qstring_nameFilters)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring nameFilters, jboolean caseSensitive) -{ -static TQString* _qstring_nameFilters = 0; - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setNameFilters((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilters, &_qstring_nameFilters), (bool) caseSensitive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2ZC(JNIEnv* env, jobject obj, jstring nameFilters, jboolean caseSensitive, jchar separator) -{ -static TQString* _qstring_nameFilters = 0; -static TQChar* _qchar_separator = 0; - ((KSimpleFileFilter*) QtSupport::getQt(env, obj))->setNameFilters((const TQString&)*(TQString*) QtSupport::toTQString(env, nameFilters, &_qstring_nameFilters), (bool) caseSensitive, (const TQChar&)*(TQChar*) QtSupport::toTQChar(env, separator, &_qchar_separator)); - return; -} - diff --git a/kdejava/koala/kdejava/KSimpleFileFilter.h b/kdejava/koala/kdejava/KSimpleFileFilter.h deleted file mode 100644 index 2da4b100..00000000 --- a/kdejava/koala/kdejava/KSimpleFileFilter.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSimpleFileFilter__ -#define __org_kde_koala_KSimpleFileFilter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_newKSimpleFileFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setFilterDotFiles (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSimpleFileFilter_filterDotFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setFilterSpecials (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSimpleFileFilter_filterSpecials (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2ZC (JNIEnv *env, jobject, jstring, jboolean, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setNameFilters__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setMimeFilters (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSimpleFileFilter_mimeFilters (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_setModeFilter (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KSimpleFileFilter_modeFilter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSimpleFileFilter_passesFilter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSimpleFileFilter_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSimpleFileFilter_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSimpleFileFilter__ */ diff --git a/kdejava/koala/kdejava/KSpell.cpp b/kdejava/koala/kdejava/KSpell.cpp deleted file mode 100644 index 1bb6c1b3..00000000 --- a/kdejava/koala/kdejava/KSpell.cpp +++ /dev/null @@ -1,689 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KSpellJBridge : public KSpell -{ -public: - KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5) : KSpell(arg1,arg2,arg3,arg4,arg5) {}; - KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : KSpell(arg1,arg2,arg3,arg4) {}; - KSpellJBridge(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7,KSpell::SpellerType arg8) : KSpell(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - void public_cleanUp() { - KSpell::cleanUp(); - return; - } - int protected_parseOneResponse(const TQString& arg1,TQString& arg2,TQStringList& arg3) { - return (int) KSpell::parseOneResponse(arg1,arg2,arg3); - } - TQString protected_funnyWord(const TQString& arg1) { - return (TQString) KSpell::funnyWord(arg1); - } - void protected_dialog(const TQString& arg1,TQStringList& arg2,const char* arg3) { - KSpell::dialog(arg1,arg2,arg3); - return; - } - TQString protected_replacement() { - return (TQString) KSpell::replacement(); - } - void protected_setUpDialog(bool arg1) { - KSpell::setUpDialog(arg1); - return; - } - void protected_setUpDialog() { - KSpell::setUpDialog(); - return; - } - void protected_emitProgress() { - KSpell::emitProgress(); - return; - } - bool protected_cleanFputs(const TQString& arg1,bool arg2) { - return (bool) KSpell::cleanFputs(arg1,arg2); - } - bool protected_cleanFputs(const TQString& arg1) { - return (bool) KSpell::cleanFputs(arg1); - } - bool protected_cleanFputsWord(const TQString& arg1,bool arg2) { - return (bool) KSpell::cleanFputsWord(arg1,arg2); - } - bool protected_cleanFputsWord(const TQString& arg1) { - return (bool) KSpell::cleanFputsWord(arg1); - } - void protected_startIspell() { - KSpell::startIspell(); - return; - } - bool protected_writePersonalDictionary() { - return (bool) KSpell::writePersonalDictionary(); - } - void protected_initialize(TQWidget* arg1,const TQString& arg2,TQObject* arg3,const char* arg4,KSpellConfig* arg5,bool arg6,bool arg7,KSpell::SpellerType arg8) { - KSpell::initialize(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - return; - } - void protected_KSpell2(KProcIO* arg1) { - KSpell::KSpell2(arg1); - return; - } - void protected_checkWord2(KProcIO* arg1) { - KSpell::checkWord2(arg1); - return; - } - void protected_checkWord3() { - KSpell::checkWord3(); - return; - } - void protected_check2(KProcIO* arg1) { - KSpell::check2(arg1); - return; - } - void protected_checkList2() { - KSpell::checkList2(); - return; - } - void protected_checkList3a(KProcIO* arg1) { - KSpell::checkList3a(arg1); - return; - } - void protected_checkListReplaceCurrent() { - KSpell::checkListReplaceCurrent(); - return; - } - void protected_checkList4() { - KSpell::checkList4(); - return; - } - void protected_dialog2(int arg1) { - KSpell::dialog2(arg1); - return; - } - void protected_check3() { - KSpell::check3(); - return; - } - void protected_suggestWord(KProcIO* arg1) { - KSpell::suggestWord(arg1); - return; - } - void protected_slotStopCancel(int arg1) { - KSpell::slotStopCancel(arg1); - return; - } - void protected_ispellExit(TDEProcess* arg1) { - KSpell::ispellExit(arg1); - return; - } - void protected_emitDeath() { - KSpell::emitDeath(); - return; - } - void protected_ispellErrors(TDEProcess* arg1,char* arg2,int arg3) { - KSpell::ispellErrors(arg1,arg2,arg3); - return; - } - void protected_checkNext() { - KSpell::checkNext(); - return; - } - ~KSpellJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void cleanUp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpell","cleanUp")) { - KSpell::cleanUp(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSpell",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_KSpell2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_KSpell2((KProcIO*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_addPersonal(JNIEnv* env, jobject obj, jstring word) -{ -static TQString* _qstring_word = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->addPersonal((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_check2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_check2((KProcIO*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_check3(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_check3(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkList2(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkList2(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkList3a(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkList3a((KProcIO*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkList4(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkList4(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkListReplaceCurrent(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkListReplaceCurrent(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray _wordlist) -{ -static TQStringList* _qlist__wordlist = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkList((TQStringList*) QtSupport::toTQStringList(env, _wordlist, &_qlist__wordlist)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray _wordlist, jboolean usedialog) -{ -static TQStringList* _qlist__wordlist = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkList((TQStringList*) QtSupport::toTQStringList(env, _wordlist, &_qlist__wordlist), (bool) usedialog); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkNext(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkNext(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkWord2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkWord2((KProcIO*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_checkWord3(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_checkWord3(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _buffer) -{ -static TQString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const TQString&)*(TQString*) QtSupport::toTQString(env, _buffer, &_qstring__buffer)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _buffer, jboolean usedialog) -{ -static TQString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const TQString&)*(TQString*) QtSupport::toTQString(env, _buffer, &_qstring__buffer), (bool) usedialog); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring buffer, jboolean _usedialog, jboolean suggest) -{ -static TQString* _qstring_buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->checkWord((const TQString&)*(TQString*) QtSupport::toTQString(env, buffer, &_qstring_buffer), (bool) _usedialog, (bool) suggest); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_check__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _buffer) -{ -static TQString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->check((const TQString&)*(TQString*) QtSupport::toTQString(env, _buffer, &_qstring__buffer)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_check__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring _buffer, jboolean usedialog) -{ -static TQString* _qstring__buffer = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->check((const TQString&)*(TQString*) QtSupport::toTQString(env, _buffer, &_qstring__buffer), (bool) usedialog); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpell_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSpell*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputsWord((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring s, jboolean appendCR) -{ -static TQString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputsWord((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (bool) appendCR); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputs((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring s, jboolean appendCR) -{ -static TQString* _qstring_s = 0; - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_cleanFputs((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (bool) appendCR); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_cleanUp(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->public_cleanUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_dialog2(JNIEnv* env, jobject obj, jint dlgresult) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_dialog2((int) dlgresult); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_dialog(JNIEnv* env, jobject obj, jstring word, jobjectArray sugg, jstring _slot) -{ -static TQString* _qstring_word = 0; -static TQStringList* _qlist_sugg = 0; -static TQCString* _qstring__slot = 0; - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_dialog((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word), (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, sugg, &_qlist_sugg), (const char*) QtSupport::toCharString(env, _slot, &_qstring__slot)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSpell_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_dlgResult(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->dlgResult(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_emitDeath(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_emitDeath(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_emitProgress(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_emitProgress(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSpell*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpell_funnyWord(JNIEnv* env, jobject obj, jstring word) -{ - TQString _qstring; -static TQString* _qstring_word = 0; - _qstring = ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_funnyWord((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_heightDlg(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->heightDlg(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_hide(JNIEnv* env, jobject obj) -{ - ((KSpell*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_ignore(JNIEnv* env, jobject obj, jstring word) -{ -static TQString* _qstring_word = 0; - jboolean xret = (jboolean) ((KSpell*) QtSupport::getQt(env, obj))->ignore((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_initialize(JNIEnv* env, jobject obj, jobject _parent, jstring _caption, jobject arg3, jstring slot, jobject _ksc, jboolean _progressbar, jboolean _modal, jint type) -{ -static TQString* _qstring__caption = 0; -static TQCString* _qstring_slot = 0; - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_initialize((TQWidget*) QtSupport::getQt(env, _parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, _caption, &_qstring__caption), (TQObject*) QtSupport::getQt(env, arg3), (const char*) QtSupport::toCharString(env, slot, &_qstring_slot), (KSpellConfig*) QtSupport::getQt(env, _ksc), (bool) _progressbar, (bool) _modal, (KSpell::SpellerType) type); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpell_intermediateBuffer(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSpell*) QtSupport::getQt(env, obj))->intermediateBuffer(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_ispellErrors(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint arg3) -{ -static TQCString* _qstring_arg2 = 0; - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_ispellErrors((TDEProcess*) QtSupport::getQt(env, arg1), (char*) QtSupport::toCharString(env, arg2, &_qstring_arg2), (int) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_ispellExit(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_ispellExit((TDEProcess*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpell_ksConfig(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KSpellConfig(((KSpell*) QtSupport::getQt(env, obj))->ksConfig()), "org.kde.koala.KSpellConfig", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_lastPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->lastPosition(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpell_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSpell*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_modalCheck(JNIEnv* env, jclass cls, jobject text, jobject kcs) -{ - (void) cls; -static TQString* _qstring_text = 0; - jint xret = (jint) KSpellJBridge::modalCheck((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, text, &_qstring_text), (KSpellConfig*) QtSupport::getQt(env, kcs)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_text, text); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_moveDlg(JNIEnv* env, jobject obj, jint x, jint y) -{ - ((KSpell*) QtSupport::getQt(env, obj))->moveDlg((int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()")); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2Z(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar, jboolean modal) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar, (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZI(JNIEnv* env, jobject obj, jobject parent, jstring caption, jobject receiver, jstring slot, jobject kcs, jboolean progressbar, jboolean modal, jint type) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (KSpellConfig*) QtSupport::getQt(env, kcs), (bool) progressbar, (bool) modal, (KSpell::SpellerType) type)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_parseOneResponse(JNIEnv* env, jobject obj, jstring _buffer, jobject word, jobjectArray sugg) -{ -static TQString* _qstring__buffer = 0; -static TQString* _qstring_word = 0; -static TQStringList* _qlist_sugg = 0; - jint xret = (jint) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_parseOneResponse((const TQString&)*(TQString*) QtSupport::toTQString(env, _buffer, &_qstring__buffer), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, word, &_qstring_word), (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, sugg, &_qlist_sugg)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_word, word); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpell_replacement(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_replacement(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setAutoDelete(JNIEnv* env, jobject obj, jboolean _autoDelete) -{ - ((KSpell*) QtSupport::getQt(env, obj))->setAutoDelete((bool) _autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setIgnoreTitleCase(JNIEnv* env, jobject obj, jboolean b) -{ - ((KSpell*) QtSupport::getQt(env, obj))->setIgnoreTitleCase((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setIgnoreUpperWords(JNIEnv* env, jobject obj, jboolean b) -{ - ((KSpell*) QtSupport::getQt(env, obj))->setIgnoreUpperWords((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setProgressResolution(JNIEnv* env, jobject obj, jint res) -{ - ((KSpell*) QtSupport::getQt(env, obj))->setProgressResolution((unsigned int) res); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setUpDialog__(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_setUpDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_setUpDialog__Z(JNIEnv* env, jobject obj, jboolean reallyusedialogbox) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_setUpDialog((bool) reallyusedialogbox); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_slotStopCancel(JNIEnv* env, jobject obj, jint arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_slotStopCancel((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_startIspell(JNIEnv* env, jobject obj) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_startIspell(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpell_suggestWord(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_suggestWord((KProcIO*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpell_suggestions(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSpell*) QtSupport::getQt(env, obj))->suggestions(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpell_widthDlg(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpell*) QtSupport::getQt(env, obj))->widthDlg(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpell_writePersonalDictionary(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellJBridge*) QtSupport::getQt(env, obj))->protected_writePersonalDictionary(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSpell.h b/kdejava/koala/kdejava/KSpell.h deleted file mode 100644 index 2f674771..00000000 --- a/kdejava/koala/kdejava/KSpell.h +++ /dev/null @@ -1,83 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSpell__ -#define __org_kde_koala_KSpell__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpell_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpell_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZ (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2Z (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_newKSpell__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2ZZI (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jboolean, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_cleanUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_check__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_check__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_lastPosition (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkList___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_checkWord__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_hide (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpell_suggestions (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_dlgResult (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_moveDlg (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_heightDlg (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_widthDlg (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpell_intermediateBuffer (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_ignore (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_addPersonal (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpell_ksConfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setProgressResolution (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setIgnoreUpperWords (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setIgnoreTitleCase (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_modalCheck (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpell_parseOneResponse (JNIEnv *env, jobject, jstring, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpell_funnyWord (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_dialog (JNIEnv *env, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpell_replacement (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setUpDialog__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_setUpDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_emitProgress (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputs__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_cleanFputsWord__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_startIspell (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_writePersonalDictionary (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_initialize (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jobject, jboolean, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_KSpell2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkWord2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkWord3 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_check2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkList2 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkList3a (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkListReplaceCurrent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkList4 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_dialog2 (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_check3 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_suggestWord (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_slotStopCancel (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_ispellExit (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_emitDeath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_ispellErrors (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_checkNext (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpell_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpell_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSpell__ */ diff --git a/kdejava/koala/kdejava/KSpellConfig.cpp b/kdejava/koala/kdejava/KSpellConfig.cpp deleted file mode 100644 index 5daa1307..00000000 --- a/kdejava/koala/kdejava/KSpellConfig.cpp +++ /dev/null @@ -1,737 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSpellConfigJBridge : public KSpellConfig -{ -public: - KSpellConfigJBridge(TQWidget* arg1,const char* arg2,KSpellConfig* arg3,bool arg4) : KSpellConfig(arg1,arg2,arg3,arg4) {}; - KSpellConfigJBridge(TQWidget* arg1,const char* arg2,KSpellConfig* arg3) : KSpellConfig(arg1,arg2,arg3) {}; - KSpellConfigJBridge(TQWidget* arg1,const char* arg2) : KSpellConfig(arg1,arg2) {}; - KSpellConfigJBridge(TQWidget* arg1) : KSpellConfig(arg1) {}; - KSpellConfigJBridge() : KSpellConfig() {}; - KSpellConfigJBridge(const KSpellConfig& arg1) : KSpellConfig(arg1) {}; - void protected_fillInDialog() { - KSpellConfig::fillInDialog(); - return; - } - bool protected_interpret(TQString& arg1,TQString& arg2,TQString& arg3) { - return (bool) KSpellConfig::interpret(arg1,arg2,arg3); - } - void protected_sHelp() { - KSpellConfig::sHelp(); - return; - } - void protected_sNoAff(bool arg1) { - KSpellConfig::sNoAff(arg1); - return; - } - void protected_sRunTogether(bool arg1) { - KSpellConfig::sRunTogether(arg1); - return; - } - void protected_sDictionary(bool arg1) { - KSpellConfig::sDictionary(arg1); - return; - } - void protected_sPathDictionary(bool arg1) { - KSpellConfig::sPathDictionary(arg1); - return; - } - void protected_sSetDictionary(int arg1) { - KSpellConfig::sSetDictionary(arg1); - return; - } - void protected_sChangeEncoding(int arg1) { - KSpellConfig::sChangeEncoding(arg1); - return; - } - void protected_sChangeClient(int arg1) { - KSpellConfig::sChangeClient(arg1); - return; - } - ~KSpellConfigJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KSpellConfig","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSpellConfig",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellConfig","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_activateHelp(JNIEnv* env, jobject obj) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->activateHelp(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpellConfig_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSpellConfig*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpellConfig_client(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpellConfig*) QtSupport::getQt(env, obj))->client(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_dictFromList(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellConfig*) QtSupport::getQt(env, obj))->dictFromList(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpellConfig_dictionary(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSpellConfig*) QtSupport::getQt(env, obj))->dictionary(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSpellConfig_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpellConfig_encoding(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSpellConfig*) QtSupport::getQt(env, obj))->encoding(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_fillDicts__Lorg_kde_qt_QComboBox_2(JNIEnv* env, jobject obj, jobject box) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->fillDicts((TQComboBox*) QtSupport::getQt(env, box)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_fillDicts__Lorg_kde_qt_QComboBox_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject box, jobjectArray dictionaries) -{ -static TQStringList* _qlist_dictionaries = 0; - ((KSpellConfig*) QtSupport::getQt(env, obj))->fillDicts((TQComboBox*) QtSupport::getQt(env, box), (TQStringList*) QtSupport::toTQStringList(env, dictionaries, &_qlist_dictionaries)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_fillInDialog(JNIEnv* env, jobject obj) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_fillInDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSpellConfig*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSpellConfig*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpellConfig_ignoreList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSpellConfig*) QtSupport::getQt(env, obj))->ignoreList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_interpret(JNIEnv* env, jobject obj, jobject fname, jobject lname, jobject hname) -{ -static TQString* _qstring_fname = 0; -static TQString* _qstring_lname = 0; -static TQString* _qstring_hname = 0; - jboolean xret = (jboolean) ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_interpret((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, fname, &_qstring_fname), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, lname, &_qstring_lname), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, hname, &_qstring_hname)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_fname, fname); - QtSupport::fromTQStringToStringBuffer(env, _qstring_lname, lname); - QtSupport::fromTQStringToStringBuffer(env, _qstring_hname, hname); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpellConfig_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSpellConfig*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_newKSpellConfig__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellConfigJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_koala_KSpellConfig_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellConfigJBridge((const KSpellConfig&)*(const KSpellConfig*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellConfigJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_newKSpellConfig__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 KSpellConfigJBridge((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_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject spellConfig) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellConfigJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (KSpellConfig*) QtSupport::getQt(env, spellConfig))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject spellConfig, jboolean addHelpButton) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellConfigJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (KSpellConfig*) QtSupport::getQt(env, spellConfig), (bool) addHelpButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_noRootAffix(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellConfig*) QtSupport::getQt(env, obj))->noRootAffix(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_readGlobalSettings(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellConfig*) QtSupport::getQt(env, obj))->readGlobalSettings(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpellConfig_replaceAllList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSpellConfig*) QtSupport::getQt(env, obj))->replaceAllList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_runTogether(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellConfig*) QtSupport::getQt(env, obj))->runTogether(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sChangeClient(JNIEnv* env, jobject obj, jint arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sChangeClient((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sChangeEncoding(JNIEnv* env, jobject obj, jint arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sChangeEncoding((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sDictionary(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sDictionary((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sHelp(JNIEnv* env, jobject obj) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sHelp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sNoAff(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sNoAff((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sPathDictionary(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sPathDictionary((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sRunTogether(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sRunTogether((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_sSetDictionary(JNIEnv* env, jobject obj, jint arg1) -{ - ((KSpellConfigJBridge*) QtSupport::getQt(env, obj))->protected_sSetDictionary((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setClient(JNIEnv* env, jobject obj, jint client) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->setClient((int) client); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setDictFromList(JNIEnv* env, jobject obj, jboolean dfl) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->setDictFromList((bool) dfl); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setDictionary(JNIEnv* env, jobject obj, jstring qs) -{ -static TQString* _qstring_qs = 0; - ((KSpellConfig*) QtSupport::getQt(env, obj))->setDictionary((const TQString)*(TQString*) QtSupport::toTQString(env, qs, &_qstring_qs)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setEncoding(JNIEnv* env, jobject obj, jint enctype) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->setEncoding((int) enctype); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setIgnoreList(JNIEnv* env, jobject obj, jobjectArray _ignorelist) -{ -static TQStringList* _qlist__ignorelist = 0; - ((KSpellConfig*) QtSupport::getQt(env, obj))->setIgnoreList((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, _ignorelist, &_qlist__ignorelist)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setNoRootAffix(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->setNoRootAffix((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setReplaceAllList(JNIEnv* env, jobject obj, jobjectArray _replaceAllList) -{ -static TQStringList* _qlist__replaceAllList = 0; - ((KSpellConfig*) QtSupport::getQt(env, obj))->setReplaceAllList((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, _replaceAllList, &_qlist__replaceAllList)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellConfig_setRunTogether(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KSpellConfig*) QtSupport::getQt(env, obj))->setRunTogether((bool) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellConfig_writeGlobalSettings(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellConfig*) QtSupport::getQt(env, obj))->writeGlobalSettings(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSpellConfig.h b/kdejava/koala/kdejava/KSpellConfig.h deleted file mode 100644 index 0bd6a7fc..00000000 --- a/kdejava/koala/kdejava/KSpellConfig.h +++ /dev/null @@ -1,60 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSpellConfig__ -#define __org_kde_koala_KSpellConfig__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpellConfig_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpellConfig_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2Z (JNIEnv *env, jobject, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_KSpellConfig_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_newKSpellConfig__Lorg_kde_koala_KSpellConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_fillDicts__Lorg_kde_qt_QComboBox_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_fillDicts__Lorg_kde_qt_QComboBox_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setIgnoreList (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setReplaceAllList (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setNoRootAffix (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setRunTogether (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setDictionary (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setDictFromList (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setEncoding (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_setClient (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_noRootAffix (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_runTogether (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpellConfig_dictionary (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_dictFromList (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpellConfig_encoding (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpellConfig_ignoreList (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpellConfig_replaceAllList (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpellConfig_client (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_writeGlobalSettings (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_readGlobalSettings (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_activateHelp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_fillInDialog (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_interpret (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sHelp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sNoAff (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sRunTogether (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sDictionary (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sPathDictionary (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sSetDictionary (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sChangeEncoding (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_sChangeClient (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellConfig_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellConfig_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSpellConfig__ */ diff --git a/kdejava/koala/kdejava/KSpellDlg.cpp b/kdejava/koala/kdejava/KSpellDlg.cpp deleted file mode 100644 index 4590383d..00000000 --- a/kdejava/koala/kdejava/KSpellDlg.cpp +++ /dev/null @@ -1,684 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KSpellDlgJBridge : public KSpellDlg -{ -public: - KSpellDlgJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4) : KSpellDlg(arg1,arg2,arg3,arg4) {}; - KSpellDlgJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KSpellDlg(arg1,arg2,arg3) {}; - KSpellDlgJBridge(TQWidget* arg1,const char* arg2) : KSpellDlg(arg1,arg2) {}; - void protected_closeEvent(TQCloseEvent* arg1) { - KSpellDlg::closeEvent(arg1); - return; - } - void protected_done(int arg1) { - KSpellDlg::done(arg1); - return; - } - void protected_ignore() { - KSpellDlg::ignore(); - return; - } - void protected_add() { - KSpellDlg::add(); - return; - } - void protected_ignoreAll() { - KSpellDlg::ignoreAll(); - return; - } - void protected_cancel() { - KSpellDlg::cancel(); - return; - } - void protected_replace() { - KSpellDlg::replace(); - return; - } - void protected_replaceAll() { - KSpellDlg::replaceAll(); - return; - } - void protected_suggest() { - KSpellDlg::suggest(); - return; - } - void protected_stop() { - KSpellDlg::stop(); - return; - } - void protected_slotConfigChanged() { - KSpellDlg::slotConfigChanged(); - return; - } - void protected_textChanged(const TQString& arg1) { - KSpellDlg::textChanged(arg1); - return; - } - void protected_slotSelectionChanged(TQListViewItem* arg1) { - KSpellDlg::slotSelectionChanged(arg1); - return; - } - ~KSpellDlgJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KSpellDlg","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KSpellDlg::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSpellDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_add(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_add(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_cancel(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_cancel(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpellDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSpellDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_closeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSpellDlg_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_done(JNIEnv* env, jobject obj, jint i) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_done((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSpellDlg*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSpellDlg*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_ignoreAll(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_ignoreAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_ignore(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_ignore(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_init__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _word, jobjectArray _sugg) -{ -static TQString* _qstring__word = 0; -static TQStringList* _qlist__sugg = 0; - ((KSpellDlg*) QtSupport::getQt(env, obj))->init((const TQString&)*(TQString*) QtSupport::toTQString(env, _word, &_qstring__word), (TQStringList*) QtSupport::toTQStringList(env, _sugg, &_qlist__sugg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_init__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _word, jobjectArray _sugg, jstring context) -{ -static TQString* _qstring__word = 0; -static TQStringList* _qlist__sugg = 0; -static TQString* _qstring_context = 0; - ((KSpellDlg*) QtSupport::getQt(env, obj))->init((const TQString&)*(TQString*) QtSupport::toTQString(env, _word, &_qstring__word), (TQStringList*) QtSupport::toTQStringList(env, _sugg, &_qlist__sugg), (const TQString&)*(TQString*) QtSupport::toTQString(env, context, &_qstring_context)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellDlg_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpellDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSpellDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_newKSpellDlg__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 KSpellDlgJBridge((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_koala_KSpellDlg_newKSpellDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean _progressbar) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) _progressbar)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_newKSpellDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean _progressbar, jboolean _modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSpellDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) _progressbar, (bool) _modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_replaceAll(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_replaceAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_replace(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_replace(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSpellDlg_replacement(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSpellDlg*) QtSupport::getQt(env, obj))->replacement(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_slotConfigChanged(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_slotConfigChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_slotProgress(JNIEnv* env, jobject obj, jint p) -{ - ((KSpellDlg*) QtSupport::getQt(env, obj))->slotProgress((unsigned int) p); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_slotSelectionChanged(JNIEnv* env, jobject obj, jobject item) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_slotSelectionChanged((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_standby(JNIEnv* env, jobject obj) -{ - ((KSpellDlg*) QtSupport::getQt(env, obj))->standby(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_stop(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_stop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_suggest(JNIEnv* env, jobject obj) -{ - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_suggest(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellDlg_textChanged(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KSpellDlgJBridge*) QtSupport::getQt(env, obj))->protected_textChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/KSpellDlg.h b/kdejava/koala/kdejava/KSpellDlg.h deleted file mode 100644 index 549e1e87..00000000 --- a/kdejava/koala/kdejava/KSpellDlg.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSpellDlg__ -#define __org_kde_koala_KSpellDlg__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpellDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpellDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_newKSpellDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_newKSpellDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_newKSpellDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSpellDlg_replacement (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_init__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_init__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_standby (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_slotProgress (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_done (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_ignore (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_add (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_ignoreAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_cancel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_replace (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_replaceAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_suggest (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_stop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_slotConfigChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_textChanged (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_slotSelectionChanged (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellDlg_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellDlg_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSpellDlg__ */ diff --git a/kdejava/koala/kdejava/KSpellingHighlighter.cpp b/kdejava/koala/kdejava/KSpellingHighlighter.cpp deleted file mode 100644 index c7316723..00000000 --- a/kdejava/koala/kdejava/KSpellingHighlighter.cpp +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSpellingHighlighter_highlightParagraph(JNIEnv* env, jobject obj, jstring text, jint endStateOfLastPara) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->highlightParagraph((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) endStateOfLastPara); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellingHighlighter_intraWordEditing(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->intraWordEditing(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSpellingHighlighter_isMisspelled(JNIEnv* env, jobject obj, jstring word) -{ -static TQString* _qstring_word = 0; - jboolean xret = (jboolean) ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->isMisspelled((const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSpellingHighlighter_personalWords(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KSpellingHighlighter::personalWords(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSpellingHighlighter_setIntraWordEditing(JNIEnv* env, jobject obj, jboolean editing) -{ - ((KSpellingHighlighter*) QtSupport::getQt(env, obj))->setIntraWordEditing((bool) editing); - return; -} - diff --git a/kdejava/koala/kdejava/KSpellingHighlighter.h b/kdejava/koala/kdejava/KSpellingHighlighter.h deleted file mode 100644 index a5ef4527..00000000 --- a/kdejava/koala/kdejava/KSpellingHighlighter.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSpellingHighlighter__ -#define __org_kde_koala_KSpellingHighlighter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSpellingHighlighter_highlightParagraph (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellingHighlighter_isMisspelled (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSpellingHighlighter_intraWordEditing (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSpellingHighlighter_setIntraWordEditing (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSpellingHighlighter_personalWords (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSpellingHighlighter__ */ diff --git a/kdejava/koala/kdejava/KSqueezedTextLabel.cpp b/kdejava/koala/kdejava/KSqueezedTextLabel.cpp deleted file mode 100644 index ae16d2e5..00000000 --- a/kdejava/koala/kdejava/KSqueezedTextLabel.cpp +++ /dev/null @@ -1,528 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSqueezedTextLabelJBridge : public KSqueezedTextLabel -{ -public: - KSqueezedTextLabelJBridge(TQWidget* arg1,const char* arg2) : KSqueezedTextLabel(arg1,arg2) {}; - KSqueezedTextLabelJBridge(TQWidget* arg1) : KSqueezedTextLabel(arg1) {}; - KSqueezedTextLabelJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KSqueezedTextLabel(arg1,arg2,arg3) {}; - KSqueezedTextLabelJBridge(const TQString& arg1,TQWidget* arg2) : KSqueezedTextLabel(arg1,arg2) {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - KSqueezedTextLabel::resizeEvent(arg1); - return; - } - void protected_squeezeTextToLabel() { - KSqueezedTextLabel::squeezeTextToLabel(); - return; - } - ~KSqueezedTextLabelJBridge() {QtSupport::qtKeyDeleted(this);} - void setMovie(const TQMovie& arg1) { - if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TQMovie")) { - TQLabel::setMovie(arg1); - } - return; - } - void setPicture(const TQPicture& arg1) { - if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TQPicture")) { - TQLabel::setPicture(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KSqueezedTextLabel::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KSqueezedTextLabel","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KSqueezedTextLabel","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQLabel::setPixmap(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSqueezedTextLabel",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setBuddy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQLabel::setBuddy(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSqueezedTextLabel","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSqueezedTextLabel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSqueezedTextLabel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSqueezedTextLabel*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSqueezedTextLabel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSqueezedTextLabel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSqueezedTextLabel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSqueezedTextLabel_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring text, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSqueezedTextLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSqueezedTextLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSqueezedTextLabelJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__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 KSqueezedTextLabelJBridge((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_koala_KSqueezedTextLabel_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSqueezedTextLabelJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_setAlignment(JNIEnv* env, jobject obj, jint arg1) -{ - ((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->setAlignment((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_setText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSqueezedTextLabel_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KSqueezedTextLabel*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSqueezedTextLabel_squeezeTextToLabel(JNIEnv* env, jobject obj) -{ - ((KSqueezedTextLabelJBridge*) QtSupport::getQt(env, obj))->protected_squeezeTextToLabel(); - return; -} - diff --git a/kdejava/koala/kdejava/KSqueezedTextLabel.h b/kdejava/koala/kdejava/KSqueezedTextLabel.h deleted file mode 100644 index 563c6393..00000000 --- a/kdejava/koala/kdejava/KSqueezedTextLabel.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSqueezedTextLabel__ -#define __org_kde_koala_KSqueezedTextLabel__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSqueezedTextLabel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSqueezedTextLabel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_newKSqueezedTextLabel__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSqueezedTextLabel_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSqueezedTextLabel_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_setAlignment (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_squeezeTextToLabel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSqueezedTextLabel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSqueezedTextLabel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSqueezedTextLabel__ */ diff --git a/kdejava/koala/kdejava/KStaticDeleterBase.cpp b/kdejava/koala/kdejava/KStaticDeleterBase.cpp deleted file mode 100644 index e451f5dd..00000000 --- a/kdejava/koala/kdejava/KStaticDeleterBase.cpp +++ /dev/null @@ -1,58 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KStaticDeleterBaseJBridge : public KStaticDeleterBase -{ -public: - void public_destructObject() { - KStaticDeleterBase::destructObject(); - return; - } - KStaticDeleterBaseJBridge() : KStaticDeleterBase() {}; - ~KStaticDeleterBaseJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_destructObject(JNIEnv* env, jobject obj) -{ - ((KStaticDeleterBaseJBridge*) QtSupport::getQt(env, obj))->public_destructObject(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStaticDeleterBase_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KStaticDeleterBase*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStaticDeleterBase_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStaticDeleterBase_newKStaticDeleterBase(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStaticDeleterBaseJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KStaticDeleterBase.h b/kdejava/koala/kdejava/KStaticDeleterBase.h deleted file mode 100644 index 347663f4..00000000 --- a/kdejava/koala/kdejava/KStaticDeleterBase.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStaticDeleterBase__ -#define __org_kde_koala_KStaticDeleterBase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStaticDeleterBase_destructObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStaticDeleterBase_newKStaticDeleterBase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStaticDeleterBase_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStaticDeleterBase_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStaticDeleterBase_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStaticDeleterBase__ */ diff --git a/kdejava/koala/kdejava/KStatusBar.cpp b/kdejava/koala/kdejava/KStatusBar.cpp deleted file mode 100644 index c484a4a5..00000000 --- a/kdejava/koala/kdejava/KStatusBar.cpp +++ /dev/null @@ -1,521 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KStatusBarJBridge : public KStatusBar -{ -public: - KStatusBarJBridge(TQWidget* arg1,const char* arg2) : KStatusBar(arg1,arg2) {}; - KStatusBarJBridge(TQWidget* arg1) : KStatusBar(arg1) {}; - KStatusBarJBridge() : KStatusBar() {}; - ~KStatusBarJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQStatusBar::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQStatusBar::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KStatusBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 removeWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removeWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQStatusBar::removeWidget(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KStatusBar",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_changeItem(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStatusBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KStatusBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStatusBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KStatusBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KStatusBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStatusBar_hasItem(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((KStatusBar*) QtSupport::getQt(env, obj))->hasItem((int) id); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_insertFixedItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->insertFixedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_insertFixedItem__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring text, jint id, jboolean permanent) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->insertFixedItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) permanent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint stretch) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) stretch); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring text, jint id, jint stretch, jboolean permanent) -{ -static TQString* _qstring_text = 0; - ((KStatusBar*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) stretch, (bool) permanent); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStatusBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStatusBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KStatusBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_newKStatusBar__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStatusBarJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_newKStatusBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStatusBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_newKStatusBar__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 KStatusBarJBridge((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_koala_KStatusBar_removeItem(JNIEnv* env, jobject obj, jint id) -{ - ((KStatusBar*) QtSupport::getQt(env, obj))->removeItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_setItemAlignment(JNIEnv* env, jobject obj, jint id, jint align) -{ - ((KStatusBar*) QtSupport::getQt(env, obj))->setItemAlignment((int) id, (int) align); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_setItemFixed__I(JNIEnv* env, jobject obj, jint id) -{ - ((KStatusBar*) QtSupport::getQt(env, obj))->setItemFixed((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBar_setItemFixed__II(JNIEnv* env, jobject obj, jint id, jint width) -{ - ((KStatusBar*) QtSupport::getQt(env, obj))->setItemFixed((int) id, (int) width); - return; -} - diff --git a/kdejava/koala/kdejava/KStatusBar.h b/kdejava/koala/kdejava/KStatusBar.h deleted file mode 100644 index ccc53f2e..00000000 --- a/kdejava/koala/kdejava/KStatusBar.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStatusBar__ -#define __org_kde_koala_KStatusBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStatusBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStatusBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_newKStatusBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_newKStatusBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_newKStatusBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_insertItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_insertFixedItem__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_insertFixedItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_removeItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStatusBar_hasItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_changeItem (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_setItemAlignment (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_setItemFixed__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_setItemFixed__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStatusBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStatusBar__ */ diff --git a/kdejava/koala/kdejava/KStatusBarLabel.cpp b/kdejava/koala/kdejava/KStatusBarLabel.cpp deleted file mode 100644 index 3a16590a..00000000 --- a/kdejava/koala/kdejava/KStatusBarLabel.cpp +++ /dev/null @@ -1,487 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KStatusBarLabelJBridge : public KStatusBarLabel -{ -public: - KStatusBarLabelJBridge(const TQString& arg1,int arg2,KStatusBar* arg3,const char* arg4) : KStatusBarLabel(arg1,arg2,arg3,arg4) {}; - KStatusBarLabelJBridge(const TQString& arg1,int arg2,KStatusBar* arg3) : KStatusBarLabel(arg1,arg2,arg3) {}; - KStatusBarLabelJBridge(const TQString& arg1,int arg2) : KStatusBarLabel(arg1,arg2) {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - KStatusBarLabel::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KStatusBarLabel::mouseReleaseEvent(arg1); - return; - } - ~KStatusBarLabelJBridge() {QtSupport::qtKeyDeleted(this);} - void setMovie(const TQMovie& arg1) { - if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TQMovie")) { - TQLabel::setMovie(arg1); - } - return; - } - void setPicture(const TQPicture& arg1) { - if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TQPicture")) { - TQLabel::setPicture(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQLabel::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KStatusBarLabel","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KStatusBarLabel","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KStatusBarLabel::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KStatusBarLabel::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQLabel::setPixmap(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KStatusBarLabel",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setBuddy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQLabel::setBuddy(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KStatusBarLabel","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStatusBarLabel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KStatusBarLabel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStatusBarLabel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KStatusBarLabel*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KStatusBarLabel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStatusBarLabel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStatusBarLabel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KStatusBarLabel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_mousePressEvent(JNIEnv* env, jobject obj, jobject _event) -{ - ((KStatusBarLabelJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, _event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject _event) -{ - ((KStatusBarLabelJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, _event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint _id) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStatusBarLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) _id)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2ILorg_kde_koala_KStatusBar_2(JNIEnv* env, jobject obj, jstring text, jint _id, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStatusBarLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) _id, (KStatusBar*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2ILorg_kde_koala_KStatusBar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint _id, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStatusBarLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) _id, (KStatusBar*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KStatusBarLabel.h b/kdejava/koala/kdejava/KStatusBarLabel.h deleted file mode 100644 index ff3350a8..00000000 --- a/kdejava/koala/kdejava/KStatusBarLabel.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStatusBarLabel__ -#define __org_kde_koala_KStatusBarLabel__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStatusBarLabel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStatusBarLabel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2ILorg_kde_koala_KStatusBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2ILorg_kde_koala_KStatusBar_2 (JNIEnv *env, jobject, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_newKStatusBarLabel__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStatusBarLabel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStatusBarLabel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStatusBarLabel__ */ diff --git a/kdejava/koala/kdejava/KStdAction.cpp b/kdejava/koala/kdejava/KStdAction.cpp deleted file mode 100644 index 1ac3ecf0..00000000 --- a/kdejava/koala/kdejava/KStdAction.cpp +++ /dev/null @@ -1,1089 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutApp((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutApp((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutKDE((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::aboutKDE((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::actualSize((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::actualSize((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::addBookmark((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::addBookmark((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::back((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::back((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::clear((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::clear((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::close((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::close((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureNotifications((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureNotifications((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureToolbars((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::configureToolbars((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::copy((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::copy((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_create__ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jint id, jstring name, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::create((KStdAction::StdAction) id, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_create__ILorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jint id, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::create((KStdAction::StdAction) id, (const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::cut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::cut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::deselect((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::deselect((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::editBookmarks((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::editBookmarks((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findNext((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findNext((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findPrev((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::findPrev((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::find((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::find((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::firstPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::firstPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToHeight((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToHeight((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToWidth((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fitToWidth((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::forward((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::forward((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jobject window) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fullScreen((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window)), "org.kde.koala.TDEToggleFullScreenAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jobject window, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::fullScreen((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToggleFullScreenAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::goTo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::goTo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoLine((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoLine((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::gotoPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::helpContents((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::helpContents((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::help((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::help((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::home((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::home((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::keyBindings((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::keyBindings((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::lastPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::lastPage((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::mail((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::mail((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStdAction_name(JNIEnv* env, jclass cls, jint id) -{ - const char* _qstring; - (void) cls; - _qstring = KStdAction::name((KStdAction::StdAction) id); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::next((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::next((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openNew((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openNew((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openRecent((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDERecentFilesAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::openRecent((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDERecentFilesAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::open((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::open((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::pasteText((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::pasteText((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::paste((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::paste((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::preferences((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::preferences((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::printPreview((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::printPreview((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::print((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::print((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::prior((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::prior((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::quit((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::quit((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redisplay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redisplay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::redo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::replace((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::replace((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::reportBug((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::reportBug((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::revert((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::revert((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveAs((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveAs((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveOptions((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::saveOptions((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::save((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::save((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::selectAll((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::selectAll((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showMenubar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEToggleAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showMenubar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToggleAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showStatusbar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEToggleAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::showStatusbar((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToggleAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::spelling((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::spelling((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStdAction_stdName(JNIEnv* env, jclass cls, jint act_enum) -{ - const char* _qstring; - (void) cls; - _qstring = KStdAction::stdName((KStdAction::StdAction) act_enum); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_stdNames(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = KStdAction::stdNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::tipOfDay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::tipOfDay((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::undo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::undo((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::up((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::up((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::whatsThis((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::whatsThis((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomIn((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomIn((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomOut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoomOut((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoom((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject recvr, jstring slot, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KStdAction::zoom((const TQObject*) QtSupport::slotForReceiver(env, recvr, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KStdAction.h b/kdejava/koala/kdejava/KStdAction.h deleted file mode 100644 index 6925403d..00000000 --- a/kdejava/koala/kdejava/KStdAction.h +++ /dev/null @@ -1,145 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStdAction__ -#define __org_kde_koala_KStdAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_create__ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jint, jstring, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_create__ILorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jint, jobject, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStdAction_name (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStdAction_stdName (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_stdNames (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openNew__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_open__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_openRecent__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_save__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveAs__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_revert__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_close__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_print__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_printPreview__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_mail__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_quit__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_undo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_cut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_copy__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_paste__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_pasteText__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_clear__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_selectAll__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_deselect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_find__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findNext__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_findPrev__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_replace__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_actualSize__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToWidth__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fitToHeight__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomIn__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoomOut__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_zoom__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_redisplay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_up__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_back__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_forward__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_home__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_prior__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_next__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_goTo__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_gotoLine__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_firstPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_lastPage__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_addBookmark__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_editBookmarks__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_spelling__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showMenubar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_showStatusbar__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_fullScreen__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_saveOptions__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_keyBindings__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_preferences__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureToolbars__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_configureNotifications__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_help__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_helpContents__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_whatsThis__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_tipOfDay__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_reportBug__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutApp__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdAction_aboutKDE__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jclass, jobject, jstring, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStdAction__ */ diff --git a/kdejava/koala/kdejava/KStdGuiItem.cpp b/kdejava/koala/kdejava/KStdGuiItem.cpp deleted file mode 100644 index 04a5ad41..00000000 --- a/kdejava/koala/kdejava/KStdGuiItem.cpp +++ /dev/null @@ -1,330 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KStdGuiItemJBridge : public KStdGuiItem -{ -public: - KStdGuiItemJBridge() : KStdGuiItem() {}; - ~KStdGuiItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_add(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::add()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_adminMode(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::adminMode()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_apply(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::apply()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_back__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::back()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_back__I(JNIEnv* env, jclass cls, jint useBidi) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::back((KStdGuiItem::BidiMode) useBidi)), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_cancel(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::cancel()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_clear(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::clear()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_close(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::close()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_configure(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::configure()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_cont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::cont()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_defaults(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::defaults()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_del(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::del()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_discard(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::discard()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStdGuiItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStdGuiItem_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_dontSave(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::dontSave()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStdGuiItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KStdGuiItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_find(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::find()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_forward__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::forward()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_forward__I(JNIEnv* env, jclass cls, jint useBidi) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::forward((KStdGuiItem::BidiMode) useBidi)), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_guiItem(JNIEnv* env, jclass cls, jint ui_enum) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::guiItem((KStdGuiItem::StdItem) ui_enum)), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_help(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::help()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_insert(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::insert()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStdGuiItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStdGuiItem_newKStdGuiItem(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStdGuiItemJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_no(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::no()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_ok(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::ok()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_open(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::open()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_overwrite(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::overwrite()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_print(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::print()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_properties(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::properties()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_quit(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::quit()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_remove(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::remove()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_reset(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::reset()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_saveAs(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::saveAs()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_save(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::save()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStdGuiItem_stdItem(JNIEnv* env, jclass cls, jint ui_enum) -{ - TQString _qstring; - (void) cls; - _qstring = KStdGuiItemJBridge::stdItem((KStdGuiItem::StdItem) ui_enum); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_stop(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::stop()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_test(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::test()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStdGuiItem_yes(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KGuiItem(KStdGuiItemJBridge::yes()), "org.kde.koala.KGuiItem", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KStdGuiItem.h b/kdejava/koala/kdejava/KStdGuiItem.h deleted file mode 100644 index 34b4bd48..00000000 --- a/kdejava/koala/kdejava/KStdGuiItem.h +++ /dev/null @@ -1,57 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStdGuiItem__ -#define __org_kde_koala_KStdGuiItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStdGuiItem_newKStdGuiItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_guiItem (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStdGuiItem_stdItem (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_ok (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_cancel (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_yes (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_no (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_insert (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_discard (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_save (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_help (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_dontSave (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_saveAs (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_apply (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_clear (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_defaults (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_close (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_print (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_properties (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_reset (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_overwrite (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_adminMode (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_cont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_del (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_open (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_back__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_back__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_forward__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_forward__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_configure (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_quit (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_find (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_stop (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_add (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_remove (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStdGuiItem_test (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStdGuiItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStdGuiItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStdGuiItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStdGuiItem__ */ diff --git a/kdejava/koala/kdejava/KStringHandler.cpp b/kdejava/koala/kdejava/KStringHandler.cpp deleted file mode 100644 index c123b2ab..00000000 --- a/kdejava/koala/kdejava/KStringHandler.cpp +++ /dev/null @@ -1,429 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KStringHandlerJBridge : public KStringHandler -{ -public: - KStringHandlerJBridge() : KStringHandler() {}; - ~KStringHandlerJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_cEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::cEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_cEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::cEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_cPixelSqueeze(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxPixels) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::cPixelSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxPixels); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_capwords__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KStringHandlerJBridge::capwords((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_capwords___3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list) -{ - TQStringList _qlist; - (void) cls; -static TQStringList* _qlist_list = 0; - _qlist = KStringHandlerJBridge::capwords((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_center(JNIEnv* env, jclass cls, jstring text, jint width) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KStringHandlerJBridge::center((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) width); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_csqueeze__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::csqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_csqueeze__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::csqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringHandler_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStringHandler_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringHandler_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KStringHandler*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_from8Bit(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::from8Bit((const char*) QtSupport::toCharString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_insword(JNIEnv* env, jclass cls, jstring text, jstring word, jint pos) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_word = 0; - _qstring = KStringHandlerJBridge::insword((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word), (uint) pos); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringHandler_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringHandler_isUtf8(JNIEnv* env, jclass cls, jstring str) -{ - (void) cls; -static TQCString* _qstring_str = 0; - jboolean xret = (jboolean) KStringHandlerJBridge::isUtf8((const char*) QtSupport::toCharString(env, str, &_qstring_str)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_lEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::lEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_lEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::lEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_lPixelSqueeze(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxPixels) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::lPixelSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxPixels); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_lsqueeze__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::lsqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_lsqueeze__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::lsqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringHandler_matchFileName(JNIEnv* env, jclass cls, jstring filename, jstring pattern) -{ - (void) cls; -static TQString* _qstring_filename = 0; -static TQString* _qstring_pattern = 0; - jboolean xret = (jboolean) KStringHandlerJBridge::matchFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, pattern, &_qstring_pattern)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringHandler_newKStringHandler(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringHandlerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_obscure(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::obscure((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__CLjava_lang_String_2(JNIEnv* env, jclass cls, jchar sep, jstring s) -{ - TQStringList _qlist; - (void) cls; -static TQChar* _qchar_sep = 0; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__CLjava_lang_String_2I(JNIEnv* env, jclass cls, jchar sep, jstring s, jint max) -{ - TQStringList _qlist; - (void) cls; -static TQChar* _qchar_sep = 0; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQChar&)*(TQChar*) QtSupport::toTQChar(env, sep, &_qchar_sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (uint) max); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring sep, jstring s) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_sep = 0; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring sep, jstring s, jint max) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_sep = 0; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQString&)*(TQString*) QtSupport::toTQString(env, sep, &_qstring_sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (uint) max); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__Lorg_kde_qt_QRegExp_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject sep, jstring s) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_perlSplit__Lorg_kde_qt_QRegExp_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject sep, jstring s, jint max) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_s = 0; - _qlist = KStringHandlerJBridge::perlSplit((const TQRegExp&)*(const TQRegExp*) QtSupport::getQt(env, sep), (const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s), (uint) max); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_rEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::rEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_rEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::rEmSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_rPixelSqueeze(JNIEnv* env, jclass cls, jstring name, jobject fontMetrics, jint maxPixels) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_name = 0; - _qstring = KStringHandlerJBridge::rPixelSqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQFontMetrics&)*(const TQFontMetrics*) QtSupport::getQt(env, fontMetrics), (uint) maxPixels); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_remrange(JNIEnv* env, jclass cls, jstring text, jstring range) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; -static TQCString* _qstring_range = 0; - _qstring = KStringHandlerJBridge::remrange((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, range, &_qstring_range)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_remword__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring text, jint pos) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KStringHandlerJBridge::remword((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) pos); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_remword__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text, jstring word) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_word = 0; - _qstring = KStringHandlerJBridge::remword((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_reverse__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KStringHandlerJBridge::reverse((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringHandler_reverse___3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list) -{ - TQStringList _qlist; - (void) cls; -static TQStringList* _qlist_list = 0; - _qlist = KStringHandlerJBridge::reverse((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_rsqueeze__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::rsqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_rsqueeze__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint maxlen) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KStringHandlerJBridge::rsqueeze((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (uint) maxlen); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_setword(JNIEnv* env, jclass cls, jstring text, jstring word, jint pos) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_word = 0; - _qstring = KStringHandlerJBridge::setword((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, word, &_qstring_word), (uint) pos); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_tagURLs(JNIEnv* env, jclass cls, jstring text) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KStringHandlerJBridge::tagURLs((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringHandler_word(JNIEnv* env, jclass cls, jstring text, jstring range) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; -static TQCString* _qstring_range = 0; - _qstring = KStringHandlerJBridge::word((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, range, &_qstring_range)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KStringHandler.h b/kdejava/koala/kdejava/KStringHandler.h deleted file mode 100644 index 5b48f574..00000000 --- a/kdejava/koala/kdejava/KStringHandler.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStringHandler__ -#define __org_kde_koala_KStringHandler__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringHandler_newKStringHandler (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_word (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_insword (JNIEnv *env, jclass, jstring, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_setword (JNIEnv *env, jclass, jstring, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_remrange (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_remword__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_remword__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_capwords__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_capwords___3Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_reverse__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_reverse___3Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_center (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_lsqueeze__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_lsqueeze__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_lEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_lEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_lPixelSqueeze (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_csqueeze__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_csqueeze__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_cEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_cEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_cPixelSqueeze (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_rsqueeze__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_rsqueeze__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_rEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2I (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_rEmSqueeze__Ljava_lang_String_2Lorg_kde_qt_QFontMetrics_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_rPixelSqueeze (JNIEnv *env, jclass, jstring, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringHandler_matchFileName (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__CLjava_lang_String_2I (JNIEnv *env, jclass, jchar, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__CLjava_lang_String_2 (JNIEnv *env, jclass, jchar, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__Lorg_kde_qt_QRegExp_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringHandler_perlSplit__Lorg_kde_qt_QRegExp_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_tagURLs (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_obscure (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringHandler_isUtf8 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringHandler_from8Bit (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringHandler_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringHandler_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringHandler_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStringHandler__ */ diff --git a/kdejava/koala/kdejava/KStringListValidator.cpp b/kdejava/koala/kdejava/KStringListValidator.cpp deleted file mode 100644 index 83cd26f3..00000000 --- a/kdejava/koala/kdejava/KStringListValidator.cpp +++ /dev/null @@ -1,227 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KStringListValidatorJBridge : public KStringListValidator -{ -public: - KStringListValidatorJBridge(const TQStringList& arg1,bool arg2,bool arg3,TQObject* arg4,const char* arg5) : KStringListValidator(arg1,arg2,arg3,arg4,arg5) {}; - KStringListValidatorJBridge(const TQStringList& arg1,bool arg2,bool arg3,TQObject* arg4) : KStringListValidator(arg1,arg2,arg3,arg4) {}; - KStringListValidatorJBridge(const TQStringList& arg1,bool arg2,bool arg3) : KStringListValidator(arg1,arg2,arg3) {}; - KStringListValidatorJBridge(const TQStringList& arg1,bool arg2) : KStringListValidator(arg1,arg2) {}; - KStringListValidatorJBridge(const TQStringList& arg1) : KStringListValidator(arg1) {}; - KStringListValidatorJBridge() : KStringListValidator() {}; - ~KStringListValidatorJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KStringListValidator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KStringListValidator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KStringListValidator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KStringListValidator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KStringListValidator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KStringListValidator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_fixup(JNIEnv* env, jobject obj, jobject input) -{ -static TQString* _qstring_input = 0; - ((KStringListValidator*) QtSupport::getQt(env, obj))->fixup((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringListValidator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringListValidator_isFixupEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KStringListValidator*) QtSupport::getQt(env, obj))->isFixupEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KStringListValidator_isRejecting(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KStringListValidator*) QtSupport::getQt(env, obj))->isRejecting(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringListValidator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KStringListValidator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list) -{ -static TQStringList* _qlist_list = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray list, jboolean rejecting) -{ -static TQStringList* _qlist_list = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (bool) rejecting)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobjectArray list, jboolean rejecting, jboolean fixupEnabled) -{ -static TQStringList* _qlist_list = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (bool) rejecting, (bool) fixupEnabled)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZLorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobjectArray list, jboolean rejecting, jboolean fixupEnabled, jobject parent) -{ -static TQStringList* _qlist_list = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (bool) rejecting, (bool) fixupEnabled, (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZLorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list, jboolean rejecting, jboolean fixupEnabled, jobject parent, jstring name) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KStringListValidatorJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (bool) rejecting, (bool) fixupEnabled, (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_setFixupEnabled(JNIEnv* env, jobject obj, jboolean fixupEnabled) -{ - ((KStringListValidator*) QtSupport::getQt(env, obj))->setFixupEnabled((bool) fixupEnabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_setRejecting(JNIEnv* env, jobject obj, jboolean rejecting) -{ - ((KStringListValidator*) QtSupport::getQt(env, obj))->setRejecting((bool) rejecting); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KStringListValidator_setStringList(JNIEnv* env, jobject obj, jobjectArray list) -{ -static TQStringList* _qlist_list = 0; - ((KStringListValidator*) QtSupport::getQt(env, obj))->setStringList((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KStringListValidator_stringList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KStringListValidator*) QtSupport::getQt(env, obj))->stringList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KStringListValidator_validate(JNIEnv* env, jobject obj, jobject input, jintArray pos) -{ -static TQString* _qstring_input = 0; - int* _int_pos = QtSupport::toIntPtr(env, pos); - jint xret = (jint) ((KStringListValidator*) QtSupport::getQt(env, obj))->validate((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, input, &_qstring_input), (int&) *_int_pos); - QtSupport::fromTQStringToStringBuffer(env, _qstring_input, input); - env->SetIntArrayRegion(pos, 0, 1, (jint *) _int_pos); - return xret; -} - diff --git a/kdejava/koala/kdejava/KStringListValidator.h b/kdejava/koala/kdejava/KStringListValidator.h deleted file mode 100644 index 000dfc68..00000000 --- a/kdejava/koala/kdejava/KStringListValidator.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KStringListValidator__ -#define __org_kde_koala_KStringListValidator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringListValidator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KStringListValidator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZLorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jboolean, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZLorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobjectArray, jboolean, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobjectArray, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_newKStringListValidator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KStringListValidator_validate (JNIEnv *env, jobject, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_fixup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_setRejecting (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringListValidator_isRejecting (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_setFixupEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringListValidator_isFixupEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_setStringList (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KStringListValidator_stringList (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KStringListValidator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KStringListValidator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KStringListValidator__ */ diff --git a/kdejava/koala/kdejava/KSycoca.cpp b/kdejava/koala/kdejava/KSycoca.cpp deleted file mode 100644 index 41673aa4..00000000 --- a/kdejava/koala/kdejava/KSycoca.cpp +++ /dev/null @@ -1,442 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KSycocaJBridge : public KSycoca -{ -public: - KSycocaJBridge() : KSycoca() {}; - KSycocaJBridge(bool arg1) : KSycoca(arg1) {}; - bool protected_checkVersion(bool arg1) { - return (bool) KSycoca::checkVersion(arg1); - } - bool protected_checkVersion() { - return (bool) KSycoca::checkVersion(); - } - bool protected_openDatabase(bool arg1) { - return (bool) KSycoca::openDatabase(arg1); - } - bool protected_openDatabase() { - return (bool) KSycoca::openDatabase(); - } - void protected_closeDatabase() { - KSycoca::closeDatabase(); - return; - } - ~KSycocaJBridge() {QtSupport::qtKeyDeleted(this);} - bool isBuilding() { - return QtSupport::booleanDelegate(this,"isBuilding"); - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSycoca",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_allResourceDirs(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KSycoca*) QtSupport::getQt(env, obj))->allResourceDirs(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_checkVersion__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_checkVersion(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_checkVersion__Z(JNIEnv* env, jobject obj, jboolean abortOnError) -{ - jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_checkVersion((bool) abortOnError); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSycoca*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_closeDatabase(JNIEnv* env, jobject obj) -{ - ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_closeDatabase(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_determineRelativePath(JNIEnv* env, jclass cls, jstring _fullpath, jstring _resource) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring__fullpath = 0; -static TQCString* _qstring__resource = 0; - _qstring = KSycocaJBridge::determineRelativePath((const TQString&)*(TQString*) QtSupport::toTQString(env, _fullpath, &_qstring__fullpath), (const char*) QtSupport::toCharString(env, _resource, &_qstring__resource)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_disableAutoRebuild(JNIEnv* env, jobject obj) -{ - ((KSycoca*) QtSupport::getQt(env, obj))->disableAutoRebuild(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSycoca_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KSycoca*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KSycoca*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_findEntry(JNIEnv* env, jobject obj, jint offset, jint type) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSycoca*) QtSupport::getQt(env, obj))->findEntry((int) offset, (KSycocaType&) type), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_findFactory(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSycoca*) QtSupport::getQt(env, obj))->findFactory((KSycocaFactoryId) id), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSycocaJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_flagError(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KSycocaJBridge::flagError(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) KSycocaJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_isBuilding(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSycoca*) QtSupport::getQt(env, obj))->isBuilding(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_isChanged(JNIEnv* env, jclass cls, jstring type) -{ - (void) cls; -static TQCString* _qstring_type = 0; - jboolean xret = (jboolean) KSycocaJBridge::isChanged((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_kfsstnd_1prefixes(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSycoca*) QtSupport::getQt(env, obj))->kfsstnd_prefixes(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_language(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSycoca*) QtSupport::getQt(env, obj))->language(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSycoca*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_newKSycoca__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSycocaJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_newKSycoca__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSycocaJBridge((bool) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycoca_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = KSycocaJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_openDatabase__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_openDatabase(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_openDatabase__Z(JNIEnv* env, jobject obj, jboolean openDummyIfNotFound) -{ - jboolean xret = (jboolean) ((KSycocaJBridge*) QtSupport::getQt(env, obj))->protected_openDatabase((bool) openDummyIfNotFound); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_readError(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KSycocaJBridge::readError(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSycoca_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KSycocaJBridge::self(), "org.kde.koala.KSycoca"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycoca_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycoca_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KSycoca*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSycoca_timeStamp(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSycoca*) QtSupport::getQt(env, obj))->timeStamp(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSycoca_updateSignature(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSycoca*) QtSupport::getQt(env, obj))->updateSignature(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSycoca_version(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) KSycocaJBridge::version(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSycoca.h b/kdejava/koala/kdejava/KSycoca.h deleted file mode 100644 index abd5f5dc..00000000 --- a/kdejava/koala/kdejava/KSycoca.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSycoca__ -#define __org_kde_koala_KSycoca__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_newKSycoca__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_findEntry (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_findFactory (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_kfsstnd_1prefixes (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_language (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSycoca_timeStamp (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSycoca_updateSignature (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_allResourceDirs (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_isBuilding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_disableAutoRebuild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_self (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSycoca_version (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_determineRelativePath (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_isChanged (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_flagError (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_readError (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_newKSycoca__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_checkVersion__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_checkVersion__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_openDatabase__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_openDatabase__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_closeDatabase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycoca_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycoca_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSycoca_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycoca_objectName (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSycoca__ */ diff --git a/kdejava/koala/kdejava/KSycocaEntry.cpp b/kdejava/koala/kdejava/KSycocaEntry.cpp deleted file mode 100644 index 06529e1c..00000000 --- a/kdejava/koala/kdejava/KSycocaEntry.cpp +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycocaEntry_entryPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSycocaEntry*) QtSupport::getQt(env, obj))->entryPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycocaEntry_isDeleted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSycocaEntry*) QtSupport::getQt(env, obj))->isDeleted(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycocaEntry_isType(JNIEnv* env, jobject obj, jint t) -{ - jboolean xret = (jboolean) ((KSycocaEntry*) QtSupport::getQt(env, obj))->isType((KSycocaType) t); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSycocaEntry_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KSycocaEntry*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycocaEntry_load(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSycocaEntry*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSycocaEntry_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KSycocaEntry*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSycocaEntry_offset(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSycocaEntry*) QtSupport::getQt(env, obj))->offset(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycocaEntry_read__Lorg_kde_qt_QDataStream_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject s, jobject str) -{ - (void) cls; -static TQString* _qstring_str = 0; - KSycocaEntry::read((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, str, &_qstring_str)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_str, str); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycocaEntry_read__Lorg_kde_qt_QDataStream_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject s, jobjectArray list) -{ - (void) cls; -static TQStringList* _qlist_list = 0; - KSycocaEntry::read((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSycocaEntry_save(JNIEnv* env, jobject obj, jobject s) -{ - ((KSycocaEntry*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSycocaEntry_sycocaType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KSycocaEntry*) QtSupport::getQt(env, obj))->sycocaType(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KSycocaEntry.h b/kdejava/koala/kdejava/KSycocaEntry.h deleted file mode 100644 index 6591cada..00000000 --- a/kdejava/koala/kdejava/KSycocaEntry.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSycocaEntry__ -#define __org_kde_koala_KSycocaEntry__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycocaEntry_isType (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSycocaEntry_sycocaType (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycocaEntry_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSycocaEntry_entryPath (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycocaEntry_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSycocaEntry_isDeleted (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSycocaEntry_offset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycocaEntry_save (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycocaEntry_load (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycocaEntry_read__Lorg_kde_qt_QDataStream_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSycocaEntry_read__Lorg_kde_qt_QDataStream_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobjectArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSycocaEntry__ */ diff --git a/kdejava/koala/kdejava/KSyntaxHighlighter.cpp b/kdejava/koala/kdejava/KSyntaxHighlighter.cpp deleted file mode 100644 index 6791921a..00000000 --- a/kdejava/koala/kdejava/KSyntaxHighlighter.cpp +++ /dev/null @@ -1,123 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSyntaxHighlighterJBridge : public KSyntaxHighlighter -{ -public: - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2,const TQColor& arg3,const TQColor& arg4,const TQColor& arg5,const TQColor& arg6,KSyntaxHighlighter::SyntaxMode arg7) : KSyntaxHighlighter(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2,const TQColor& arg3,const TQColor& arg4,const TQColor& arg5,const TQColor& arg6) : KSyntaxHighlighter(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2,const TQColor& arg3,const TQColor& arg4,const TQColor& arg5) : KSyntaxHighlighter(arg1,arg2,arg3,arg4,arg5) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2,const TQColor& arg3,const TQColor& arg4) : KSyntaxHighlighter(arg1,arg2,arg3,arg4) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2,const TQColor& arg3) : KSyntaxHighlighter(arg1,arg2,arg3) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1,bool arg2) : KSyntaxHighlighter(arg1,arg2) {}; - KSyntaxHighlighterJBridge(TQTextEdit* arg1) : KSyntaxHighlighter(arg1) {}; - ~KSyntaxHighlighterJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSyntaxHighlighter_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KSyntaxHighlighter*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KSyntaxHighlighter_highlightParagraph(JNIEnv* env, jobject obj, jstring text, jint endStateOfLastPara) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((KSyntaxHighlighter*) QtSupport::getQt(env, obj))->highlightParagraph((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) endStateOfLastPara); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSyntaxHighlighter_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2(JNIEnv* env, jobject obj, jobject textEdit) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2Z(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting, jobject QuoteColor0) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor0))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting, jobject QuoteColor0, jobject QuoteColor1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor0), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting, jobject QuoteColor0, jobject QuoteColor1, jobject QuoteColor2) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor0), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting, jobject QuoteColor0, jobject QuoteColor1, jobject QuoteColor2, jobject QuoteColor3) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor0), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor2), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jobject obj, jobject textEdit, jboolean colorQuoting, jobject QuoteColor0, jobject QuoteColor1, jobject QuoteColor2, jobject QuoteColor3, jint mode) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSyntaxHighlighterJBridge((TQTextEdit*) QtSupport::getQt(env, textEdit), (bool) colorQuoting, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor0), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor2), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, QuoteColor3), (KSyntaxHighlighter::SyntaxMode) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KSyntaxHighlighter.h b/kdejava/koala/kdejava/KSyntaxHighlighter.h deleted file mode 100644 index 507d44fb..00000000 --- a/kdejava/koala/kdejava/KSyntaxHighlighter.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSyntaxHighlighter__ -#define __org_kde_koala_KSyntaxHighlighter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I (JNIEnv *env, jobject, jobject, jboolean, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jboolean, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jboolean, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jboolean, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2ZLorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_newKSyntaxHighlighter__Lorg_kde_qt_QTextEdit_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KSyntaxHighlighter_highlightParagraph (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSyntaxHighlighter_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSyntaxHighlighter_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSyntaxHighlighter__ */ diff --git a/kdejava/koala/kdejava/KSystemTray.cpp b/kdejava/koala/kdejava/KSystemTray.cpp deleted file mode 100644 index 559053ce..00000000 --- a/kdejava/koala/kdejava/KSystemTray.cpp +++ /dev/null @@ -1,592 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KSystemTrayJBridge : public KSystemTray -{ -public: - KSystemTrayJBridge(TQWidget* arg1,const char* arg2) : KSystemTray(arg1,arg2) {}; - KSystemTrayJBridge(TQWidget* arg1) : KSystemTray(arg1) {}; - KSystemTrayJBridge() : KSystemTray() {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - KSystemTray::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KSystemTray::mouseReleaseEvent(arg1); - return; - } - void protected_contextMenuAboutToShow(TDEPopupMenu* arg1) { - KSystemTray::contextMenuAboutToShow(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - KSystemTray::showEvent(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - KSystemTray::enterEvent(arg1); - return; - } - ~KSystemTrayJBridge() {QtSupport::qtKeyDeleted(this);} - void setMovie(const TQMovie& arg1) { - if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TQMovie")) { - TQLabel::setMovie(arg1); - } - return; - } - void setPicture(const TQPicture& arg1) { - if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TQPicture")) { - TQLabel::setPicture(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQLabel::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KSystemTray","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KSystemTray","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","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")) { - KSystemTray::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KSystemTray::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KSystemTray::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 contextMenuAboutToShow(TDEPopupMenu* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuAboutToShow",(void*)arg1,"org.kde.koala.TDEPopupMenu")) { - KSystemTray::contextMenuAboutToShow(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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KSystemTray::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - KSystemTray::setPixmap(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KSystemTray",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setBuddy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQLabel::setBuddy(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KSystemTray","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSystemTray_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSystemTray*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KSystemTray_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KSystemTray*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_contextMenuAboutToShow(JNIEnv* env, jobject obj, jobject menu) -{ - ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuAboutToShow((TDEPopupMenu*) QtSupport::getQt(env, menu)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSystemTray_contextMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSystemTray*) QtSupport::getQt(env, obj))->contextMenu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KSystemTray_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_enterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KSystemTray*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KSystemTray*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KSystemTray_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSystemTray_loadIcon__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring icon) -{ - (void) cls; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KSystemTrayJBridge::loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSystemTray_loadIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring icon, jobject instance) -{ - (void) cls; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(KSystemTrayJBridge::loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEInstance*) QtSupport::getQt(env, instance))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KSystemTray_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KSystemTray*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_newKSystemTray__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSystemTrayJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_newKSystemTray__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KSystemTrayJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_newKSystemTray__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 KSystemTrayJBridge((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_koala_KSystemTray_setActive(JNIEnv* env, jobject obj) -{ - ((KSystemTray*) QtSupport::getQt(env, obj))->setActive(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_setCaption(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - ((KSystemTray*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_setInactive(JNIEnv* env, jobject obj) -{ - ((KSystemTray*) QtSupport::getQt(env, obj))->setInactive(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_setPixmap(JNIEnv* env, jobject obj, jobject icon) -{ - ((KSystemTray*) QtSupport::getQt(env, obj))->setPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KSystemTrayJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KSystemTray_toggleActive(JNIEnv* env, jobject obj) -{ - ((KSystemTray*) QtSupport::getQt(env, obj))->toggleActive(); - return; -} - diff --git a/kdejava/koala/kdejava/KSystemTray.h b/kdejava/koala/kdejava/KSystemTray.h deleted file mode 100644 index f29d55c4..00000000 --- a/kdejava/koala/kdejava/KSystemTray.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KSystemTray__ -#define __org_kde_koala_KSystemTray__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KSystemTray_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_newKSystemTray__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_newKSystemTray__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_newKSystemTray__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_contextMenu (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_setPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_toggleActive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_setActive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_setInactive (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_loadIcon__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KSystemTray_loadIcon__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_contextMenuAboutToShow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KSystemTray_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSystemTray_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KSystemTray__ */ diff --git a/kdejava/koala/kdejava/KTabBar.cpp b/kdejava/koala/kdejava/KTabBar.cpp deleted file mode 100644 index 276904c6..00000000 --- a/kdejava/koala/kdejava/KTabBar.cpp +++ /dev/null @@ -1,688 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KTabBarJBridge : public KTabBar -{ -public: - KTabBarJBridge(TQWidget* arg1,const char* arg2) : KTabBar(arg1,arg2) {}; - KTabBarJBridge(TQWidget* arg1) : KTabBar(arg1) {}; - KTabBarJBridge() : KTabBar() {}; - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - KTabBar::mouseDoubleClickEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KTabBar::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KTabBar::mouseMoveEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KTabBar::mouseReleaseEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KTabBar::wheelEvent(arg1); - return; - } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - KTabBar::dragMoveEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KTabBar::dropEvent(arg1); - return; - } - void protected_paintLabel(TQPainter* arg1,const TQRect& arg2,TQTab* arg3,bool arg4) { - KTabBar::paintLabel(arg1,arg2,arg3,arg4); - return; - } - void protected_closeButtonClicked() { - KTabBar::closeButtonClicked(); - return; - } - void protected_onLayoutChange() { - KTabBar::onLayoutChange(); - return; - } - void protected_enableCloseButton() { - KTabBar::enableCloseButton(); - return; - } - void protected_activateDragSwitchTab() { - KTabBar::activateDragSwitchTab(); - return; - } - ~KTabBarJBridge() {QtSupport::qtKeyDeleted(this);} - void activateDragSwitchTab() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","activateDragSwitchTab")) { - KTabBar::activateDragSwitchTab(); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQTabBar::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KTabBar::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQTabBar::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KTabBar::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQTabBar::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KTabBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQTabBar::keyPressEvent(arg1); - } - return; - } - void removeTab(TQTab* arg1) { - if (!QtSupport::eventDelegate(this,"removeTab",(void*)arg1,"org.kde.qt.TQTab")) { - KTabBar::removeTab(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void onLayoutChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","onLayoutChange")) { - KTabBar::onLayoutChange(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KTabBar::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")) { - KTabBar::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KTabBar::mousePressEvent(arg1); - } - return; - } - void setCurrentTab(TQTab* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentTab",(void*)arg1,"org.kde.qt.TQTab")) { - TQTabBar::setCurrentTab(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KTabBar::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void enableCloseButton() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","enableCloseButton")) { - KTabBar::enableCloseButton(); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KTabBar::wheelEvent(arg1); - } - return; - } - void layoutTabs() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","layoutTabs")) { - TQTabBar::layoutTabs(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQTabBar::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KTabBar",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void closeButtonClicked() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","closeButtonClicked")) { - KTabBar::closeButtonClicked(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_activateDragSwitchTab(JNIEnv* env, jobject obj) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_activateDragSwitchTab(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTabBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTabBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_closeButtonClicked(JNIEnv* env, jobject obj) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_closeButtonClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTabBar_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_dragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_dropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_enableCloseButton(JNIEnv* env, jobject obj) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_enableCloseButton(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTabBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTabBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabBar_hoverCloseButtonDelayed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabBar*) QtSupport::getQt(env, obj))->hoverCloseButtonDelayed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabBar_hoverCloseButton(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabBar*) QtSupport::getQt(env, obj))->hoverCloseButton(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTabBar_insertTab__Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((KTabBar*) QtSupport::getQt(env, obj))->insertTab((TQTab*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTabBar_insertTab__Lorg_kde_qt_QTab_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - jint xret = (jint) ((KTabBar*) QtSupport::getQt(env, obj))->insertTab((TQTab*) QtSupport::getQt(env, arg1), (int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabBar_isTabReorderingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabBar*) QtSupport::getQt(env, obj))->isTabReorderingEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTabBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_newKTabBar__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabBarJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_newKTabBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_newKTabBar__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 KTabBarJBridge((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_koala_KTabBar_onLayoutChange(JNIEnv* env, jobject obj) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_onLayoutChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_paintLabel(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jobject arg3, jboolean arg4) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_paintLabel((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (TQTab*) QtSupport::getQt(env, arg3), (bool) arg4); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_removeTab(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->removeTab((TQTab*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setHoverCloseButtonDelayed(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setHoverCloseButtonDelayed((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setHoverCloseButton(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setHoverCloseButton((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setTabCloseActivatePrevious(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setTabCloseActivatePrevious((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setTabColor(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setTabColor((int) arg1, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setTabEnabled(JNIEnv* env, jobject obj, jint arg1, jboolean arg2) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setTabEnabled((int) arg1, (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_setTabReorderingEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KTabBar*) QtSupport::getQt(env, obj))->setTabReorderingEnabled((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabBar_tabCloseActivatePrevious(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabBar*) QtSupport::getQt(env, obj))->tabCloseActivatePrevious(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabBar_tabColor(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((KTabBar*) QtSupport::getQt(env, obj))->tabColor((int) arg1), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabBar_wheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabBarJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/KTabBar.h b/kdejava/koala/kdejava/KTabBar.h deleted file mode 100644 index 076708aa..00000000 --- a/kdejava/koala/kdejava/KTabBar.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTabBar__ -#define __org_kde_koala_KTabBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTabBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_newKTabBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_newKTabBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_newKTabBar__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setTabEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabBar_tabColor (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setTabColor (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTabBar_insertTab__Lorg_kde_qt_QTab_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTabBar_insertTab__Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_removeTab (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setTabReorderingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabBar_isTabReorderingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setHoverCloseButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabBar_hoverCloseButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setHoverCloseButtonDelayed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabBar_hoverCloseButtonDelayed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_setTabCloseActivatePrevious (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabBar_tabCloseActivatePrevious (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_dragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_paintLabel (JNIEnv *env, jobject, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_closeButtonClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_onLayoutChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_enableCloseButton (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_activateDragSwitchTab (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTabBar__ */ diff --git a/kdejava/koala/kdejava/KTabCtl.cpp b/kdejava/koala/kdejava/KTabCtl.cpp deleted file mode 100644 index 9c15aa96..00000000 --- a/kdejava/koala/kdejava/KTabCtl.cpp +++ /dev/null @@ -1,550 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KTabCtlJBridge : public KTabCtl -{ -public: - KTabCtlJBridge(TQWidget* arg1,const char* arg2) : KTabCtl(arg1,arg2) {}; - KTabCtlJBridge(TQWidget* arg1) : KTabCtl(arg1) {}; - KTabCtlJBridge() : KTabCtl() {}; - void protected_paintEvent(TQPaintEvent* arg1) { - KTabCtl::paintEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KTabCtl::resizeEvent(arg1); - return; - } - void protected_setSizes() { - KTabCtl::setSizes(); - return; - } - TQRect protected_getChildRect() { - return (TQRect) KTabCtl::getChildRect(); - } - void protected_showTab(int arg1) { - KTabCtl::showTab(arg1); - return; - } - ~KTabCtlJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KTabCtl::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KTabCtl::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KTabCtl","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KTabCtl",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabCtl","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_addTab(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((KTabCtl*) QtSupport::getQt(env, obj))->addTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTabCtl_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTabCtl*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTabCtl_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTabCtl*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTabCtl*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabCtl_getChildRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_getChildRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabCtl_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabCtl_isTabEnabled(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((KTabCtl*) QtSupport::getQt(env, obj))->isTabEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabCtl_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTabCtl*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_newKTabCtl__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabCtlJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_newKTabCtl__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabCtlJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_newKTabCtl__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 KTabCtlJBridge((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_koala_KTabCtl_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setBorder(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KTabCtl*) QtSupport::getQt(env, obj))->setBorder((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setFont(JNIEnv* env, jobject obj, jobject font) -{ - ((KTabCtl*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setShape(JNIEnv* env, jobject obj, jint shape) -{ - ((KTabCtl*) QtSupport::getQt(env, obj))->setShape((TQTabBar::Shape) shape); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setSizes(JNIEnv* env, jobject obj) -{ - ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_setSizes(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setTabEnabled(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQString* _qstring_arg1 = 0; - ((KTabCtl*) QtSupport::getQt(env, obj))->setTabEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_setTabFont(JNIEnv* env, jobject obj, jobject font) -{ - ((KTabCtl*) QtSupport::getQt(env, obj))->setTabFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_showTab(JNIEnv* env, jobject obj, jint i) -{ - ((KTabCtlJBridge*) QtSupport::getQt(env, obj))->protected_showTab((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabCtl_show(JNIEnv* env, jobject obj) -{ - ((KTabCtl*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabCtl_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KTabCtl*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KTabCtl.h b/kdejava/koala/kdejava/KTabCtl.h deleted file mode 100644 index 1ca9ed75..00000000 --- a/kdejava/koala/kdejava/KTabCtl.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTabCtl__ -#define __org_kde_koala_KTabCtl__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabCtl_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTabCtl_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_newKTabCtl__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_newKTabCtl__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_newKTabCtl__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setTabFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_addTab (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabCtl_isTabEnabled (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setTabEnabled (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setBorder (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setShape (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabCtl_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_setSizes (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabCtl_getChildRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_showTab (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabCtl_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabCtl_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTabCtl__ */ diff --git a/kdejava/koala/kdejava/KTabWidget.cpp b/kdejava/koala/kdejava/KTabWidget.cpp deleted file mode 100644 index b4d458d8..00000000 --- a/kdejava/koala/kdejava/KTabWidget.cpp +++ /dev/null @@ -1,778 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KTabWidgetJBridge : public KTabWidget -{ -public: - KTabWidgetJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KTabWidget(arg1,arg2,arg3) {}; - KTabWidgetJBridge(TQWidget* arg1,const char* arg2) : KTabWidget(arg1,arg2) {}; - KTabWidgetJBridge(TQWidget* arg1) : KTabWidget(arg1) {}; - KTabWidgetJBridge() : KTabWidget() {}; - void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) { - KTabWidget::mouseDoubleClickEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KTabWidget::mousePressEvent(arg1); - return; - } - void protected_dragMoveEvent(TQDragMoveEvent* arg1) { - KTabWidget::dragMoveEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - KTabWidget::dropEvent(arg1); - return; - } - unsigned int protected_tabBarWidthForMaxChars(uint arg1) { - return (unsigned int) KTabWidget::tabBarWidthForMaxChars(arg1); - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KTabWidget::wheelEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KTabWidget::resizeEvent(arg1); - return; - } - void protected_receivedDropEvent(int arg1,TQDropEvent* arg2) { - KTabWidget::receivedDropEvent(arg1,arg2); - return; - } - void protected_initiateDrag(int arg1) { - KTabWidget::initiateDrag(arg1); - return; - } - void protected_contextMenu(int arg1,const TQPoint& arg2) { - KTabWidget::contextMenu(arg1,arg2); - return; - } - void protected_mouseDoubleClick(int arg1) { - KTabWidget::mouseDoubleClick(arg1); - return; - } - void protected_mouseMiddleClick(int arg1) { - KTabWidget::mouseMiddleClick(arg1); - return; - } - void protected_closeRequest(int arg1) { - KTabWidget::closeRequest(arg1); - return; - } - void protected_wheelDelta(int arg1) { - KTabWidget::wheelDelta(arg1); - return; - } - ~KTabWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void removePage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TQWidget")) { - KTabWidget::removePage(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KTabWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KTabWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - KTabWidget::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KTabWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","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")) { - TQTabWidget::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - KTabWidget::dropEvent(arg1); - } - return; - } - void showPage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQTabWidget::showPage(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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KTabWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KTabWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTabWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabWidget_automaticResizeTabs(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabWidget*) QtSupport::getQt(env, obj))->automaticResizeTabs(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->changeTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_changeTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject child, jobject iconset, jstring label) -{ -static TQString* _qstring_label = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->changeTab((TQWidget*) QtSupport::getQt(env, child), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTabWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTabWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_closeRequest(JNIEnv* env, jobject obj, jint arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_closeRequest((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_contextMenu(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_contextMenu((int) arg1, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTabWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_dragMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTabWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTabWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabWidget_hoverCloseButtonDelayed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabWidget*) QtSupport::getQt(env, obj))->hoverCloseButtonDelayed(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_initiateDrag(JNIEnv* env, jobject obj, jint arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_initiateDrag((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jstring arg2, jint index) -{ -static TQString* _qstring_arg2 = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject child, jobject iconset, jstring label) -{ -static TQString* _qstring_label = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, child), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject child, jobject iconset, jstring label, jint index) -{ -static TQString* _qstring_label = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, child), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint index) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->insertTab((TQWidget*) QtSupport::getQt(env, arg1), (TQTab*) QtSupport::getQt(env, arg2), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabWidget_isTabBarHidden(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabWidget*) QtSupport::getQt(env, obj))->isTabBarHidden(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTabWidget_label(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((KTabWidget*) QtSupport::getQt(env, obj))->label((int) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTabWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_mouseDoubleClick(JNIEnv* env, jobject obj, jint arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClick((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_mouseMiddleClick(JNIEnv* env, jobject obj, jint arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMiddleClick((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_moveTab(JNIEnv* env, jobject obj, jint arg1, jint arg2) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->moveTab((int) arg1, (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_newKTabWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_newKTabWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_newKTabWidget__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 KTabWidgetJBridge((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_koala_KTabWidget_newKTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTabWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_receivedDropEvent(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_receivedDropEvent((int) arg1, (TQDropEvent*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_removePage(JNIEnv* env, jobject obj, jobject w) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->removePage((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setAutomaticResizeTabs(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setAutomaticResizeTabs((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setHoverCloseButtonDelayed(JNIEnv* env, jobject obj, jboolean delayed) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setHoverCloseButtonDelayed((bool) delayed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setHoverCloseButton(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setHoverCloseButton((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setTabBarHidden(JNIEnv* env, jobject obj, jboolean hide) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setTabBarHidden((bool) hide); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setTabCloseActivatePrevious(JNIEnv* env, jobject obj, jboolean previous) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setTabCloseActivatePrevious((bool) previous); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setTabColor(JNIEnv* env, jobject obj, jobject arg1, jobject color) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setTabColor((TQWidget*) QtSupport::getQt(env, arg1), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setTabLabel(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((KTabWidget*) QtSupport::getQt(env, obj))->setTabLabel((TQWidget*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_setTabReorderingEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KTabWidget*) QtSupport::getQt(env, obj))->setTabReorderingEnabled((bool) enable); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTabWidget_tabBarWidthForMaxChars(JNIEnv* env, jobject obj, jint maxLength) -{ - jint xret = (jint) ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_tabBarWidthForMaxChars((uint) maxLength); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTabWidget_tabCloseActivatePrevious(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTabWidget*) QtSupport::getQt(env, obj))->tabCloseActivatePrevious(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTabWidget_tabColor(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((KTabWidget*) QtSupport::getQt(env, obj))->tabColor((TQWidget*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTabWidget_tabLabel(JNIEnv* env, jobject obj, jobject arg1) -{ - TQString _qstring; - _qstring = ((KTabWidget*) QtSupport::getQt(env, obj))->tabLabel((TQWidget*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_wheelDelta(JNIEnv* env, jobject obj, jint arg1) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelDelta((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTabWidget_wheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTabWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/KTabWidget.h b/kdejava/koala/kdejava/KTabWidget.h deleted file mode 100644 index 5b9dfae7..00000000 --- a/kdejava/koala/kdejava/KTabWidget.h +++ /dev/null @@ -1,66 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTabWidget__ -#define __org_kde_koala_KTabWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTabWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_newKTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_newKTabWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_newKTabWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_newKTabWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setTabColor (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTabWidget_tabColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabWidget_hoverCloseButtonDelayed (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabWidget_tabCloseActivatePrevious (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabWidget_automaticResizeTabs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setTabBarHidden (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabWidget_isTabBarHidden (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_insertTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QTab_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_changeTab__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_changeTab__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTabWidget_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTabWidget_tabLabel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setTabLabel (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_moveTab (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_removePage (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setTabReorderingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setHoverCloseButton (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setHoverCloseButtonDelayed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setTabCloseActivatePrevious (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_setAutomaticResizeTabs (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_mouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_dragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTabWidget_tabBarWidthForMaxChars (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_receivedDropEvent (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_initiateDrag (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_contextMenu (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_mouseDoubleClick (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_mouseMiddleClick (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_closeRequest (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_wheelDelta (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTabWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTabWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTabWidget__ */ diff --git a/kdejava/koala/kdejava/KTar.cpp b/kdejava/koala/kdejava/KTar.cpp deleted file mode 100644 index 6648e1ca..00000000 --- a/kdejava/koala/kdejava/KTar.cpp +++ /dev/null @@ -1,208 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KTarJBridge : public KTar -{ -public: - KTarJBridge(const TQString& arg1,const TQString& arg2) : KTar(arg1,arg2) {}; - KTarJBridge(const TQString& arg1) : KTar(arg1) {}; - KTarJBridge(TQIODevice* arg1) : KTar(arg1) {}; - bool protected_openArchive(int arg1) { - return (bool) KTar::openArchive(arg1); - } - bool protected_closeArchive() { - return (bool) KTar::closeArchive(); - } - bool protected_prepareWriting_impl(const TQString& arg1,const TQString& arg2,const TQString& arg3,uint arg4,mode_t arg5,time_t arg6,time_t arg7,time_t arg8) { - return (bool) KTar::prepareWriting_impl(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - bool protected_writeDir_impl(const TQString& arg1,const TQString& arg2,const TQString& arg3,mode_t arg4,time_t arg5,time_t arg6,time_t arg7) { - return (bool) KTar::writeDir_impl(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - } - bool protected_writeSymLink_impl(const TQString& arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,mode_t arg5,time_t arg6,time_t arg7,time_t arg8) { - return (bool) KTar::writeSymLink_impl(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - ~KTarJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_closeArchive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTarJBridge*) QtSupport::getQt(env, obj))->protected_closeArchive(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTar_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_doneWriting(JNIEnv* env, jobject obj, jint size) -{ - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->doneWriting((uint) size); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTar_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KTar*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KTar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_newKTar__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_newKTar__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename, jstring mimetype) -{ -static TQString* _qstring_filename = 0; -static TQString* _qstring_mimetype = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTarJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_newKTar__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTarJBridge((TQIODevice*) QtSupport::getQt(env, dev))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_openArchive(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((KTarJBridge*) QtSupport::getQt(env, obj))->protected_openArchive((int) mode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_prepareWriting_1impl(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTarJBridge*) QtSupport::getQt(env, obj))->protected_prepareWriting_impl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTar_setOrigFileName(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQCString* _qcstring_fileName = 0; - ((KTar*) QtSupport::getQt(env, obj))->setOrigFileName((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fileName, &_qcstring_fileName)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_writeDir_1impl(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTarJBridge*) QtSupport::getQt(env, obj))->protected_writeDir_impl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2JIII(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_writeSymLink_1impl(JNIEnv* env, jobject obj, jstring name, jstring target, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTarJBridge*) QtSupport::getQt(env, obj))->protected_writeSymLink_impl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTar_writeSymLink(JNIEnv* env, jobject obj, jstring name, jstring target, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KTar*) QtSupport::getQt(env, obj))->writeSymLink((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - diff --git a/kdejava/koala/kdejava/KTar.h b/kdejava/koala/kdejava/KTar.h deleted file mode 100644 index c22b6148..00000000 --- a/kdejava/koala/kdejava/KTar.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTar__ -#define __org_kde_koala_KTar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_newKTar__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_newKTar__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_newKTar__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTar_fileName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_setOrigFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_writeSymLink (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_writeDir__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2JIII (JNIEnv *env, jobject, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_doneWriting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_openArchive (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_closeArchive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_prepareWriting_1impl (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_writeDir_1impl (JNIEnv *env, jobject, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_writeSymLink_1impl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTar__ */ diff --git a/kdejava/koala/kdejava/KTempDir.cpp b/kdejava/koala/kdejava/KTempDir.cpp deleted file mode 100644 index d1b1fed7..00000000 --- a/kdejava/koala/kdejava/KTempDir.cpp +++ /dev/null @@ -1,137 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KTempDirJBridge : public KTempDir -{ -public: - KTempDirJBridge(TQString arg1,int arg2) : KTempDir(arg1,arg2) {}; - KTempDirJBridge(TQString arg1) : KTempDir(arg1) {}; - KTempDirJBridge() : KTempDir() {}; - bool protected_create(const TQString& arg1,int arg2) { - return (bool) KTempDir::create(arg1,arg2); - } - void protected_setError(int arg1) { - KTempDir::setError(arg1); - return; - } - ~KTempDirJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempDir_create(JNIEnv* env, jobject obj, jstring directoryPrefix, jint mode) -{ -static TQString* _qstring_directoryPrefix = 0; - jboolean xret = (jboolean) ((KTempDirJBridge*) QtSupport::getQt(env, obj))->protected_create((const TQString&)*(TQString*) QtSupport::toTQString(env, directoryPrefix, &_qstring_directoryPrefix), (int) mode); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTempDir_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempDir_existing(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTempDir*) QtSupport::getQt(env, obj))->existing(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KTempDir*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempDir_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTempDir_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KTempDir*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_newKTempDir__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempDirJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_newKTempDir__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring directoryPrefix) -{ -static TQString* _qstring_directoryPrefix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempDirJBridge((TQString)*(TQString*) QtSupport::toTQString(env, directoryPrefix, &_qstring_directoryPrefix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_newKTempDir__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring directoryPrefix, jint mode) -{ -static TQString* _qstring_directoryPrefix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempDirJBridge((TQString)*(TQString*) QtSupport::toTQString(env, directoryPrefix, &_qstring_directoryPrefix), (int) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTempDir_qDir(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTempDir*) QtSupport::getQt(env, obj))->qDir(), "org.kde.qt.TQDir"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_setAutoDelete(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((KTempDir*) QtSupport::getQt(env, obj))->setAutoDelete((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_setError(JNIEnv* env, jobject obj, jint error) -{ - ((KTempDirJBridge*) QtSupport::getQt(env, obj))->protected_setError((int) error); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTempDir_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KTempDir*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempDir_unlink(JNIEnv* env, jobject obj) -{ - ((KTempDir*) QtSupport::getQt(env, obj))->unlink(); - return; -} - diff --git a/kdejava/koala/kdejava/KTempDir.h b/kdejava/koala/kdejava/KTempDir.h deleted file mode 100644 index 704c523e..00000000 --- a/kdejava/koala/kdejava/KTempDir.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTempDir__ -#define __org_kde_koala_KTempDir__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_newKTempDir__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_newKTempDir__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_newKTempDir__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTempDir_status (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTempDir_name (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTempDir_qDir (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_unlink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempDir_existing (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempDir_create (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_setError (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempDir_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempDir_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTempDir__ */ diff --git a/kdejava/koala/kdejava/KTempFile.cpp b/kdejava/koala/kdejava/KTempFile.cpp deleted file mode 100644 index f5175045..00000000 --- a/kdejava/koala/kdejava/KTempFile.cpp +++ /dev/null @@ -1,191 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KTempFileJBridge : public KTempFile -{ -public: - KTempFileJBridge(TQString arg1,TQString arg2,int arg3) : KTempFile(arg1,arg2,arg3) {}; - KTempFileJBridge(TQString arg1,TQString arg2) : KTempFile(arg1,arg2) {}; - KTempFileJBridge(TQString arg1) : KTempFile(arg1) {}; - KTempFileJBridge() : KTempFile() {}; - KTempFileJBridge(bool arg1) : KTempFile(arg1) {}; - bool protected_create(const TQString& arg1,const TQString& arg2,int arg3) { - return (bool) KTempFile::create(arg1,arg2,arg3); - } - void protected_setError(int arg1) { - KTempFile::setError(arg1); - return; - } - ~KTempFileJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempFile_close(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTempFile*) QtSupport::getQt(env, obj))->close(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempFile_create(JNIEnv* env, jobject obj, jstring filePrefix, jstring fileExtension, jint mode) -{ -static TQString* _qstring_filePrefix = 0; -static TQString* _qstring_fileExtension = 0; - jboolean xret = (jboolean) ((KTempFileJBridge*) QtSupport::getQt(env, obj))->protected_create((const TQString&)*(TQString*) QtSupport::toTQString(env, filePrefix, &_qstring_filePrefix), (const TQString&)*(TQString*) QtSupport::toTQString(env, fileExtension, &_qstring_fileExtension), (int) mode); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTempFile_dataStream(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTempFile*) QtSupport::getQt(env, obj))->dataStream(), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTempFile_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTempFile_file(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTempFile*) QtSupport::getQt(env, obj))->file(), "org.kde.qt.TQFile"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KTempFile*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTempFile_handle(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KTempFile*) QtSupport::getQt(env, obj))->handle(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempFile_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTempFile_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KTempFile*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_newKTempFile__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempFileJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filePrefix) -{ -static TQString* _qstring_filePrefix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempFileJBridge((TQString)*(TQString*) QtSupport::toTQString(env, filePrefix, &_qstring_filePrefix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filePrefix, jstring fileExtension) -{ -static TQString* _qstring_filePrefix = 0; -static TQString* _qstring_fileExtension = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempFileJBridge((TQString)*(TQString*) QtSupport::toTQString(env, filePrefix, &_qstring_filePrefix), (TQString)*(TQString*) QtSupport::toTQString(env, fileExtension, &_qstring_fileExtension))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring filePrefix, jstring fileExtension, jint mode) -{ -static TQString* _qstring_filePrefix = 0; -static TQString* _qstring_fileExtension = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempFileJBridge((TQString)*(TQString*) QtSupport::toTQString(env, filePrefix, &_qstring_filePrefix), (TQString)*(TQString*) QtSupport::toTQString(env, fileExtension, &_qstring_fileExtension), (int) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_newKTempFile__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTempFileJBridge((bool) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_setAutoDelete(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((KTempFile*) QtSupport::getQt(env, obj))->setAutoDelete((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_setError(JNIEnv* env, jobject obj, jint error) -{ - ((KTempFileJBridge*) QtSupport::getQt(env, obj))->protected_setError((int) error); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KTempFile_status(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KTempFile*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTempFile_sync(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTempFile*) QtSupport::getQt(env, obj))->sync(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTempFile_textStream(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTempFile*) QtSupport::getQt(env, obj))->textStream(), "org.kde.qt.TQTextStream"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTempFile_unlink(JNIEnv* env, jobject obj) -{ - ((KTempFile*) QtSupport::getQt(env, obj))->unlink(); - return; -} - diff --git a/kdejava/koala/kdejava/KTempFile.h b/kdejava/koala/kdejava/KTempFile.h deleted file mode 100644 index 19ea8aa0..00000000 --- a/kdejava/koala/kdejava/KTempFile.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTempFile__ -#define __org_kde_koala_KTempFile__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_newKTempFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_newKTempFile__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTempFile_status (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTempFile_name (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KTempFile_handle (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTempFile_textStream (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTempFile_dataStream (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTempFile_file (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_unlink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempFile_sync (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempFile_close (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_newKTempFile__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempFile_create (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_setError (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTempFile_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTempFile_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTempFile__ */ diff --git a/kdejava/koala/kdejava/KTextBrowser.cpp b/kdejava/koala/kdejava/KTextBrowser.cpp deleted file mode 100644 index baaa988c..00000000 --- a/kdejava/koala/kdejava/KTextBrowser.cpp +++ /dev/null @@ -1,783 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KTextBrowserJBridge : public KTextBrowser -{ -public: - KTextBrowserJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KTextBrowser(arg1,arg2,arg3) {}; - KTextBrowserJBridge(TQWidget* arg1,const char* arg2) : KTextBrowser(arg1,arg2) {}; - KTextBrowserJBridge(TQWidget* arg1) : KTextBrowser(arg1) {}; - KTextBrowserJBridge() : KTextBrowser() {}; - void protected_setSource(const TQString& arg1) { - KTextBrowser::setSource(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - KTextBrowser::keyPressEvent(arg1); - return; - } - void protected_viewportMouseMoveEvent(TQMouseEvent* arg1) { - KTextBrowser::viewportMouseMoveEvent(arg1); - return; - } - void protected_contentsWheelEvent(TQWheelEvent* arg1) { - KTextBrowser::contentsWheelEvent(arg1); - return; - } - TQPopupMenu* protected_createPopupMenu(const TQPoint& arg1) { - return (TQPopupMenu*) KTextBrowser::createPopupMenu(arg1); - } - ~KTextBrowserJBridge() {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.koala.KTextBrowser","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.koala.KTextBrowser","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.koala.KTextBrowser","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.koala.KTextBrowser","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.koala.KTextBrowser","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.koala.KTextBrowser","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","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.koala.KTextBrowser","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.koala.KTextBrowser","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","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 home() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","home")) { - TQTextBrowser::home(); - } - 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.koala.KTextBrowser","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","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")) { - KTextBrowser::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","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")) { - KTextBrowser::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.koala.KTextBrowser","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.koala.KTextBrowser","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.koala.KTextBrowser","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","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 backward() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","backward")) { - TQTextBrowser::backward(); - } - 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.koala.KTextBrowser","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")) { - KTextBrowser::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.koala.KTextBrowser","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.koala.KTextBrowser","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 reload() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","reload")) { - TQTextBrowser::reload(); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void forward() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","forward")) { - TQTextBrowser::forward(); - } - 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.koala.KTextBrowser","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextBrowser","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.koala.KTextBrowser","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTextBrowser_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTextBrowser*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_contentsWheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTextBrowser_createPopupMenu(JNIEnv* env, jobject obj, jobject pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTextBrowser_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTextBrowser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTextBrowser*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTextBrowser_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTextBrowser_isNotifyClick(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTextBrowser*) QtSupport::getQt(env, obj))->isNotifyClick(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTextBrowser_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTextBrowser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_newKTextBrowser__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextBrowserJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_newKTextBrowser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_newKTextBrowser__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 KTextBrowserJBridge((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_koala_KTextBrowser_newKTextBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean notifyClick) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextBrowserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) notifyClick)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_setNotifyClick(JNIEnv* env, jobject obj, jboolean notifyClick) -{ - ((KTextBrowser*) QtSupport::getQt(env, obj))->setNotifyClick((bool) notifyClick); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_setSource(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_setSource((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextBrowser_viewportMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KTextBrowserJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/KTextBrowser.h b/kdejava/koala/kdejava/KTextBrowser.h deleted file mode 100644 index fff7864c..00000000 --- a/kdejava/koala/kdejava/KTextBrowser.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTextBrowser__ -#define __org_kde_koala_KTextBrowser__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTextBrowser_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTextBrowser_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_newKTextBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_newKTextBrowser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_newKTextBrowser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_newKTextBrowser__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_setNotifyClick (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTextBrowser_isNotifyClick (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_setSource (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_viewportMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_contentsWheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTextBrowser_createPopupMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextBrowser_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTextBrowser_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTextBrowser__ */ diff --git a/kdejava/koala/kdejava/KTextEdit.cpp b/kdejava/koala/kdejava/KTextEdit.cpp deleted file mode 100644 index ac2cbac2..00000000 --- a/kdejava/koala/kdejava/KTextEdit.cpp +++ /dev/null @@ -1,856 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KTextEditJBridge : public KTextEdit -{ -public: - KTextEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : KTextEdit(arg1,arg2,arg3,arg4) {}; - KTextEditJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : KTextEdit(arg1,arg2,arg3) {}; - KTextEditJBridge(const TQString& arg1,const TQString& arg2) : KTextEdit(arg1,arg2) {}; - KTextEditJBridge(const TQString& arg1) : KTextEdit(arg1) {}; - KTextEditJBridge(TQWidget* arg1,const char* arg2) : KTextEdit(arg1,arg2) {}; - KTextEditJBridge(TQWidget* arg1) : KTextEdit(arg1) {}; - KTextEditJBridge() : KTextEdit() {}; - void protected_keyPressEvent(TQKeyEvent* arg1) { - KTextEdit::keyPressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - KTextEdit::focusInEvent(arg1); - return; - } - void protected_contentsWheelEvent(TQWheelEvent* arg1) { - KTextEdit::contentsWheelEvent(arg1); - return; - } - void protected_deleteWordBack() { - KTextEdit::deleteWordBack(); - return; - } - void protected_deleteWordForward() { - KTextEdit::deleteWordForward(); - return; - } - TQPopupMenu* protected_createPopupMenu(const TQPoint& arg1) { - return (TQPopupMenu*) KTextEdit::createPopupMenu(arg1); - } - ~KTextEditJBridge() {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.koala.KTextEdit","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.koala.KTextEdit","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.koala.KTextEdit","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.koala.KTextEdit","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.koala.KTextEdit","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.koala.KTextEdit","resetFormat")) { - TQTextEdit::resetFormat(); - } - return; - } - void zoomIn() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","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.koala.KTextEdit","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 setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - KTextEdit::setPalette(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.koala.KTextEdit","cut")) { - TQTextEdit::cut(); - } - return; - } - void scrollToBottom() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","scrollToBottom")) { - TQTextEdit::scrollToBottom(); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","clear")) { - TQTextEdit::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","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 deleteWordForward() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","deleteWordForward")) { - KTextEdit::deleteWordForward(); - } - 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.koala.KTextEdit","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","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")) { - KTextEdit::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void indent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","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")) { - KTextEdit::contentsWheelEvent(arg1); - } - return; - } - void deleteWordBack() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","deleteWordBack")) { - KTextEdit::deleteWordBack(); - } - 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.koala.KTextEdit","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.koala.KTextEdit","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.koala.KTextEdit","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","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.koala.KTextEdit","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.koala.KTextEdit","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.koala.KTextEdit","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")) { - KTextEdit::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.koala.KTextEdit","paste")) { - TQTextEdit::paste(); - } - return; - } - void redo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTextEdit","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.koala.KTextEdit","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTextEdit_checkSpellingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KTextEdit*) QtSupport::getQt(env, obj))->checkSpellingEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_checkSpelling(JNIEnv* env, jobject obj) -{ - ((KTextEdit*) QtSupport::getQt(env, obj))->checkSpelling(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTextEdit_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTextEdit*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_contentsWheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_contentsWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTextEdit_createPopupMenu(JNIEnv* env, jobject obj, jobject pos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_deleteWordBack(JNIEnv* env, jobject obj) -{ - ((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_deleteWordBack(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_deleteWordForward(JNIEnv* env, jobject obj) -{ - ((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_deleteWordForward(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTextEdit_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTextEdit*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTextEdit*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_highLightWord(JNIEnv* env, jobject obj, jint length, jint pos) -{ - ((KTextEdit*) QtSupport::getQt(env, obj))->highLightWord((unsigned int) length, (unsigned int) pos); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTextEdit_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KTextEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTextEdit_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTextEdit*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_newKTextEdit__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextEditJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_newKTextEdit__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 KTextEditJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_newKTextEdit__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 KTextEditJBridge((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_koala_KTextEdit_newKTextEdit__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 KTextEditJBridge((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_koala_KTextEdit_newKTextEdit__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 KTextEditJBridge((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_koala_KTextEdit_newKTextEdit__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTextEditJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_newKTextEdit__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 KTextEditJBridge((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_koala_KTextEdit_setCheckSpellingEnabled(JNIEnv* env, jobject obj, jboolean check) -{ - ((KTextEdit*) QtSupport::getQt(env, obj))->setCheckSpellingEnabled((bool) check); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_setPalette(JNIEnv* env, jobject obj, jobject palette) -{ - ((KTextEdit*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, palette)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTextEdit_setReadOnly(JNIEnv* env, jobject obj, jboolean readOnly) -{ - ((KTextEdit*) QtSupport::getQt(env, obj))->setReadOnly((bool) readOnly); - return; -} - diff --git a/kdejava/koala/kdejava/KTextEdit.h b/kdejava/koala/kdejava/KTextEdit.h deleted file mode 100644 index 8f2fcafc..00000000 --- a/kdejava/koala/kdejava/KTextEdit.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTextEdit__ -#define __org_kde_koala_KTextEdit__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTextEdit_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTextEdit_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_newKTextEdit__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_setPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_setCheckSpellingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTextEdit_checkSpellingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_highLightWord (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_checkSpelling (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_contentsWheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_deleteWordBack (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_deleteWordForward (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTextEdit_createPopupMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTextEdit_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTextEdit_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTextEdit__ */ diff --git a/kdejava/koala/kdejava/KTimeWidget.cpp b/kdejava/koala/kdejava/KTimeWidget.cpp deleted file mode 100644 index f0c63bf1..00000000 --- a/kdejava/koala/kdejava/KTimeWidget.cpp +++ /dev/null @@ -1,485 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KTimeWidgetJBridge : public KTimeWidget -{ -public: - KTimeWidgetJBridge(TQWidget* arg1,const char* arg2) : KTimeWidget(arg1,arg2) {}; - KTimeWidgetJBridge(TQWidget* arg1) : KTimeWidget(arg1) {}; - KTimeWidgetJBridge() : KTimeWidget() {}; - KTimeWidgetJBridge(const TQTime& arg1,TQWidget* arg2,const char* arg3) : KTimeWidget(arg1,arg2,arg3) {}; - KTimeWidgetJBridge(const TQTime& arg1,TQWidget* arg2) : KTimeWidget(arg1,arg2) {}; - KTimeWidgetJBridge(const TQTime& arg1) : KTimeWidget(arg1) {}; - ~KTimeWidgetJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KTimeWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KTimeWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTimeWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTimeWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTimeWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTimeWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTimeWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTimeWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTimeWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTimeWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTimeWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_newKTimeWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTimeWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject time) -{ -static TQTime* _qtime_time = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTimeWidgetJBridge((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject time, jobject parent) -{ -static TQTime* _qtime_time = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTimeWidgetJBridge((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject time, jobject parent, jstring name) -{ -static TQTime* _qtime_time = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTimeWidgetJBridge((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time), (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_koala_KTimeWidget_newKTimeWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTimeWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTimeWidget_newKTimeWidget__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 KTimeWidgetJBridge((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_koala_KTimeWidget_setTime(JNIEnv* env, jobject obj, jobject time) -{ -static TQTime* _qtime_time = 0; - ((KTimeWidget*) QtSupport::getQt(env, obj))->setTime((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, time, &_qtime_time)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTimeWidget_time(JNIEnv* env, jobject obj) -{ - TQTime _qtime; - _qtime = ((KTimeWidget*) QtSupport::getQt(env, obj))->time(); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - diff --git a/kdejava/koala/kdejava/KTimeWidget.h b/kdejava/koala/kdejava/KTimeWidget.h deleted file mode 100644 index 05f06d2f..00000000 --- a/kdejava/koala/kdejava/KTimeWidget.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTimeWidget__ -#define __org_kde_koala_KTimeWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTimeWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTimeWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_newKTimeWidget__Ljava_util_Date_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTimeWidget_time (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_setTime (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTimeWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTimeWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTimeWidget__ */ diff --git a/kdejava/koala/kdejava/KTipDatabase.cpp b/kdejava/koala/kdejava/KTipDatabase.cpp deleted file mode 100644 index 6e4df90b..00000000 --- a/kdejava/koala/kdejava/KTipDatabase.cpp +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KTipDatabaseJBridge : public KTipDatabase -{ -public: - KTipDatabaseJBridge(const TQString& arg1) : KTipDatabase(arg1) {}; - KTipDatabaseJBridge() : KTipDatabase() {}; - KTipDatabaseJBridge(const TQStringList& arg1) : KTipDatabase(arg1) {}; - ~KTipDatabaseJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTipDatabase_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KTipDatabase*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTipDatabase_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_newKTipDatabase__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDatabaseJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_newKTipDatabase__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring tipFile) -{ -static TQString* _qstring_tipFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDatabaseJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, tipFile, &_qstring_tipFile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_newKTipDatabase___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray tipFiles) -{ -static TQStringList* _qlist_tipFiles = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDatabaseJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, tipFiles, &_qlist_tipFiles))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_nextTip(JNIEnv* env, jobject obj) -{ - ((KTipDatabase*) QtSupport::getQt(env, obj))->nextTip(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDatabase_prevTip(JNIEnv* env, jobject obj) -{ - ((KTipDatabase*) QtSupport::getQt(env, obj))->prevTip(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTipDatabase_tip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KTipDatabase*) QtSupport::getQt(env, obj))->tip(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KTipDatabase.h b/kdejava/koala/kdejava/KTipDatabase.h deleted file mode 100644 index 14c8506c..00000000 --- a/kdejava/koala/kdejava/KTipDatabase.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTipDatabase__ -#define __org_kde_koala_KTipDatabase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_newKTipDatabase__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_newKTipDatabase__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_newKTipDatabase___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTipDatabase_tip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_nextTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_prevTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDatabase_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTipDatabase_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTipDatabase__ */ diff --git a/kdejava/koala/kdejava/KTipDialog.cpp b/kdejava/koala/kdejava/KTipDialog.cpp deleted file mode 100644 index ab1a4d22..00000000 --- a/kdejava/koala/kdejava/KTipDialog.cpp +++ /dev/null @@ -1,510 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KTipDialogJBridge : public KTipDialog -{ -public: - KTipDialogJBridge(KTipDatabase* arg1,TQWidget* arg2,const char* arg3) : KTipDialog(arg1,arg2,arg3) {}; - KTipDialogJBridge(KTipDatabase* arg1,TQWidget* arg2) : KTipDialog(arg1,arg2) {}; - KTipDialogJBridge(KTipDatabase* arg1) : KTipDialog(arg1) {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) KTipDialog::eventFilter(arg1,arg2); - } - ~KTipDialogJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KTipDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialog::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","reject")) { - TQDialog::reject(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KTipDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KTipDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KTipDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KTipDialog_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTipDialog_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((KTipDialogJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KTipDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KTipDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KTipDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KTipDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KTipDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2(JNIEnv* env, jobject obj, jobject db) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDialogJBridge((KTipDatabase*) QtSupport::getQt(env, db))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject db, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDialogJBridge((KTipDatabase*) QtSupport::getQt(env, db), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject db, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KTipDialogJBridge((KTipDatabase*) QtSupport::getQt(env, db), (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_koala_KTipDialog_setShowOnStart(JNIEnv* env, jclass cls, jboolean show) -{ - (void) cls; - (void) env; - KTipDialogJBridge::setShowOnStart((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showMultiTip__Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jobjectArray tipFiles) -{ - (void) cls; -static TQStringList* _qlist_tipFiles = 0; - KTipDialogJBridge::showMultiTip((TQWidget*) QtSupport::getQt(env, parent), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, tipFiles, &_qlist_tipFiles)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showMultiTip__Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject parent, jobjectArray tipFiles, jboolean force) -{ - (void) cls; -static TQStringList* _qlist_tipFiles = 0; - KTipDialogJBridge::showMultiTip((TQWidget*) QtSupport::getQt(env, parent), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, tipFiles, &_qlist_tipFiles), (bool) force); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KTipDialogJBridge::showTip(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring tipFile) -{ - (void) cls; -static TQString* _qstring_tipFile = 0; - KTipDialogJBridge::showTip((const TQString&)*(TQString*) QtSupport::toTQString(env, tipFile, &_qstring_tipFile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring tipFile, jboolean force) -{ - (void) cls; -static TQString* _qstring_tipFile = 0; - KTipDialogJBridge::showTip((const TQString&)*(TQString*) QtSupport::toTQString(env, tipFile, &_qstring_tipFile), (bool) force); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject parent) -{ - (void) cls; - KTipDialogJBridge::showTip((TQWidget*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject parent, jstring tipFile) -{ - (void) cls; -static TQString* _qstring_tipFile = 0; - KTipDialogJBridge::showTip((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, tipFile, &_qstring_tipFile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject parent, jstring tipFile, jboolean force) -{ - (void) cls; -static TQString* _qstring_tipFile = 0; - KTipDialogJBridge::showTip((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, tipFile, &_qstring_tipFile), (bool) force); - return; -} - diff --git a/kdejava/koala/kdejava/KTipDialog.h b/kdejava/koala/kdejava/KTipDialog.h deleted file mode 100644 index d913a9bf..00000000 --- a/kdejava/koala/kdejava/KTipDialog.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KTipDialog__ -#define __org_kde_koala_KTipDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KTipDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KTipDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_newKTipDialog__Lorg_kde_koala_KTipDatabase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showMultiTip__Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showMultiTip__Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_showTip__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_setShowOnStart (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTipDialog_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KTipDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KTipDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KTipDialog__ */ diff --git a/kdejava/koala/kdejava/KURIFilter.cpp b/kdejava/koala/kdejava/KURIFilter.cpp deleted file mode 100644 index 160d8cbd..00000000 --- a/kdejava/koala/kdejava/KURIFilter.cpp +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KURIFilterJBridge : public KURIFilter -{ -public: - KURIFilterJBridge() : KURIFilter() {}; - void protected_loadPlugins() { - KURIFilter::loadPlugins(); - return; - } - ~KURIFilterJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilter_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURIFilter_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Ljava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject uri) -{ -static TQString* _qstring_uri = 0; - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, uri, &_qstring_uri)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_uri, uri); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Ljava_lang_StringBuffer_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject uri, jobjectArray filters) -{ -static TQString* _qstring_uri = 0; -static TQStringList* _qlist_filters = 0; - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, uri, &_qstring_uri), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_uri, uri); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURIFilterData_2(JNIEnv* env, jobject obj, jobject data) -{ - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((KURIFilterData&)*(KURIFilterData*) QtSupport::getQt(env, data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURIFilterData_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject data, jobjectArray filters) -{ -static TQStringList* _qlist_filters = 0; - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((KURIFilterData&)*(KURIFilterData*) QtSupport::getQt(env, data), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject uri) -{ - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((KURL&)*(KURL*) QtSupport::getQt(env, uri)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURL_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject uri, jobjectArray filters) -{ -static TQStringList* _qlist_filters = 0; - jboolean xret = (jboolean) ((KURIFilter*) QtSupport::getQt(env, obj))->filterURI((KURL&)*(KURL*) QtSupport::getQt(env, uri), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilter_filteredURI__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uri) -{ - TQString _qstring; -static TQString* _qstring_uri = 0; - _qstring = ((KURIFilter*) QtSupport::getQt(env, obj))->filteredURI((const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilter_filteredURI__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring uri, jobjectArray filters) -{ - TQString _qstring; -static TQString* _qstring_uri = 0; -static TQStringList* _qlist_filters = 0; - _qstring = ((KURIFilter*) QtSupport::getQt(env, obj))->filteredURI((const TQString&)*(TQString*) QtSupport::toTQString(env, uri, &_qstring_uri), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilter_filteredURI__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject uri) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURIFilter*) QtSupport::getQt(env, obj))->filteredURI((const KURL&)*(const KURL*) QtSupport::getQt(env, uri))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilter_filteredURI__Lorg_kde_koala_KURL_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject uri, jobjectArray filters) -{ -static TQStringList* _qlist_filters = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURIFilter*) QtSupport::getQt(env, obj))->filteredURI((const KURL&)*(const KURL*) QtSupport::getQt(env, uri), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, filters, &_qlist_filters))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilter_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KURIFilter*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilter_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilter_loadPlugins(JNIEnv* env, jobject obj) -{ - ((KURIFilterJBridge*) QtSupport::getQt(env, obj))->protected_loadPlugins(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilter_newKURIFilter(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURIFilterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilter_pluginNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KURIFilter*) QtSupport::getQt(env, obj))->pluginNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilter_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)KURIFilterJBridge::self(), "org.kde.koala.KURIFilter"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURIFilter.h b/kdejava/koala/kdejava/KURIFilter.h deleted file mode 100644 index b656f612..00000000 --- a/kdejava/koala/kdejava/KURIFilter.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURIFilter__ -#define __org_kde_koala_KURIFilter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURIFilterData_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURIFilterData_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURL_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Ljava_lang_StringBuffer_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_filterURI__Ljava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilter_filteredURI__Lorg_kde_koala_KURL_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilter_filteredURI__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilter_filteredURI__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilter_filteredURI__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilter_pluginNames (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilter_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilter_newKURIFilter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilter_loadPlugins (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilter_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilter_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilter_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURIFilter__ */ diff --git a/kdejava/koala/kdejava/KURIFilterData.cpp b/kdejava/koala/kdejava/KURIFilterData.cpp deleted file mode 100644 index c9ab79f4..00000000 --- a/kdejava/koala/kdejava/KURIFilterData.cpp +++ /dev/null @@ -1,222 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KURIFilterDataJBridge : public KURIFilterData -{ -public: - KURIFilterDataJBridge() : KURIFilterData() {}; - KURIFilterDataJBridge(const KURL& arg1) : KURIFilterData(arg1) {}; - KURIFilterDataJBridge(const TQString& arg1) : KURIFilterData(arg1) {}; - KURIFilterDataJBridge(const KURIFilterData& arg1) : KURIFilterData(arg1) {}; - void protected_init(const KURL& arg1) { - KURIFilterData::init(arg1); - return; - } - void protected_init(const TQString& arg1) { - KURIFilterData::init(arg1); - return; - } - void protected_init() { - KURIFilterData::init(); - return; - } - ~KURIFilterDataJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterData_absolutePath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterData*) QtSupport::getQt(env, obj))->absolutePath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterData_argsAndOptions(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterData*) QtSupport::getQt(env, obj))->argsAndOptions(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterData_checkForExecutables(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->checkForExecutables(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURIFilterData_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterData_errorMsg(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterData*) QtSupport::getQt(env, obj))->errorMsg(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KURIFilterData*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterData_hasAbsolutePath(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->hasAbsolutePath(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterData_hasArgsAndOptions(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->hasArgsAndOptions(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterData_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterData*) QtSupport::getQt(env, obj))->iconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_init__(JNIEnv* env, jobject obj) -{ - ((KURIFilterDataJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_init__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KURIFilterDataJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_init__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KURIFilterDataJBridge*) QtSupport::getQt(env, obj))->protected_init((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterData_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_newKURIFilterData__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURIFilterDataJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_newKURIFilterData__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURIFilterDataJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_newKURIFilterData__Lorg_kde_koala_KURIFilterData_2(JNIEnv* env, jobject obj, jobject data) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURIFilterDataJBridge((const KURIFilterData&)*(const KURIFilterData*) QtSupport::getQt(env, data))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_newKURIFilterData__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURIFilterDataJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterData_setAbsolutePath(JNIEnv* env, jobject obj, jstring abs_path) -{ -static TQString* _qstring_abs_path = 0; - jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->setAbsolutePath((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_path, &_qstring_abs_path)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_setCheckForExecutables(JNIEnv* env, jobject obj, jboolean check) -{ - ((KURIFilterData*) QtSupport::getQt(env, obj))->setCheckForExecutables((bool) check); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_setData__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KURIFilterData*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURIFilterData_setData__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KURIFilterData*) QtSupport::getQt(env, obj))->setData((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterData_typedString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterData*) QtSupport::getQt(env, obj))->typedString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURIFilterData_uriType(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURIFilterData*) QtSupport::getQt(env, obj))->uriType(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilterData_uri(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURIFilterData*) QtSupport::getQt(env, obj))->uri()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURIFilterData.h b/kdejava/koala/kdejava/KURIFilterData.h deleted file mode 100644 index 774f74da..00000000 --- a/kdejava/koala/kdejava/KURIFilterData.h +++ /dev/null @@ -1,42 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURIFilterData__ -#define __org_kde_koala_KURIFilterData__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_newKURIFilterData__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_newKURIFilterData__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_newKURIFilterData__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_newKURIFilterData__Lorg_kde_koala_KURIFilterData_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilterData_uri (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterData_errorMsg (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURIFilterData_uriType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_setData__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_setData__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterData_setAbsolutePath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterData_absolutePath (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterData_hasAbsolutePath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterData_argsAndOptions (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterData_hasArgsAndOptions (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterData_iconName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_setCheckForExecutables (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterData_checkForExecutables (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterData_typedString (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_init__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_init__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_init__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURIFilterData_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterData_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURIFilterData__ */ diff --git a/kdejava/koala/kdejava/KURIFilterPlugin.cpp b/kdejava/koala/kdejava/KURIFilterPlugin.cpp deleted file mode 100644 index 646b6308..00000000 --- a/kdejava/koala/kdejava/KURIFilterPlugin.cpp +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterPlugin_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilterPlugin_configModule(JNIEnv* env, jobject obj, jobject arg1, jstring arg2) -{ -static TQCString* _qstring_arg2 = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURIFilterPlugin*) QtSupport::getQt(env, obj))->configModule((TQWidget*) QtSupport::getQt(env, arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterPlugin_configName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->configName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURIFilterPlugin_filterURI(JNIEnv* env, jobject obj, jobject data) -{ - jboolean xret = (jboolean) ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->filterURI((KURIFilterData&)*(KURIFilterData*) QtSupport::getQt(env, data)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURIFilterPlugin_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURIFilterPlugin*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURIFilterPlugin_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_KURIFilterPlugin_priority(JNIEnv* env, jobject obj) -{ - jdouble xret = (jdouble) ((KURIFilterPlugin*) QtSupport::getQt(env, obj))->priority(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURIFilterPlugin.h b/kdejava/koala/kdejava/KURIFilterPlugin.h deleted file mode 100644 index 98f92dcd..00000000 --- a/kdejava/koala/kdejava/KURIFilterPlugin.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURIFilterPlugin__ -#define __org_kde_koala_KURIFilterPlugin__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilterPlugin_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterPlugin_className (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterPlugin_name (JNIEnv *env, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_KURIFilterPlugin_priority (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURIFilterPlugin_filterURI (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURIFilterPlugin_configModule (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURIFilterPlugin_configName (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURIFilterPlugin__ */ diff --git a/kdejava/koala/kdejava/KURL.cpp b/kdejava/koala/kdejava/KURL.cpp deleted file mode 100644 index 4207d9c0..00000000 --- a/kdejava/koala/kdejava/KURL.cpp +++ /dev/null @@ -1,973 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KURLJBridge : public KURL -{ -public: - KURLJBridge() : KURL() {}; - KURLJBridge(const TQString& arg1,int arg2) : KURL(arg1,arg2) {}; - KURLJBridge(const TQString& arg1) : KURL(arg1) {}; - KURLJBridge(const KURL& arg1) : KURL(arg1) {}; - KURLJBridge(const TQUrl& arg1) : KURL(arg1) {}; - KURLJBridge(const KURL& arg1,const TQString& arg2,int arg3) : KURL(arg1,arg2,arg3) {}; - KURLJBridge(const KURL& arg1,const TQString& arg2) : KURL(arg1,arg2) {}; - void protected_reset() { - KURL::reset(); - return; - } - void protected_parseURL(const TQString& arg1,int arg2) { - KURL::parseURL(arg1,arg2); - return; - } - void protected_parseURL(const TQString& arg1) { - KURL::parseURL(arg1); - return; - } - void protected_parseRawURI(const TQString& arg1,int arg2) { - KURL::parseRawURI(arg1,arg2); - return; - } - void protected_parseRawURI(const TQString& arg1) { - KURL::parseRawURI(arg1); - return; - } - void protected_parseMailto(const TQString& arg1,int arg2) { - KURL::parseMailto(arg1,arg2); - return; - } - void protected_parseMailto(const TQString& arg1) { - KURL::parseMailto(arg1); - return; - } - void protected_parse(const TQString& arg1,int arg2) { - KURL::parse(arg1,arg2); - return; - } - void protected_parse(const TQString& arg1) { - KURL::parse(arg1); - return; - } - ~KURLJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_addPath(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->addPath((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_addQueryItem__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _item, jstring _value) -{ -static TQString* _qstring__item = 0; -static TQString* _qstring__value = 0; - ((KURL*) QtSupport::getQt(env, obj))->addQueryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, _item, &_qstring__item), (const TQString&)*(TQString*) QtSupport::toTQString(env, _value, &_qstring__value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_addQueryItem__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _item, jstring _value, jint encoding_hint) -{ -static TQString* _qstring__item = 0; -static TQString* _qstring__value = 0; - ((KURL*) QtSupport::getQt(env, obj))->addQueryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, _item, &_qstring__item), (const TQString&)*(TQString*) QtSupport::toTQString(env, _value, &_qstring__value), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_adjustPath(JNIEnv* env, jobject obj, jint _trailing) -{ - ((KURL*) QtSupport::getQt(env, obj))->adjustPath((int) _trailing); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_cd(JNIEnv* env, jobject obj, jstring _dir) -{ -static TQString* _qstring__dir = 0; - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->cd((const TQString&)*(TQString*) QtSupport::toTQString(env, _dir, &_qstring__dir)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_cleanPath__(JNIEnv* env, jobject obj) -{ - ((KURL*) QtSupport::getQt(env, obj))->cleanPath(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_cleanPath__Z(JNIEnv* env, jobject obj, jboolean cleanDirSeparator) -{ - ((KURL*) QtSupport::getQt(env, obj))->cleanPath((bool) cleanDirSeparator); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_decode_1string__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::decode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_decode_1string__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::decode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_directory__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->directory(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_directory__Z(JNIEnv* env, jobject obj, jboolean _strip_trailing_slash_from_result) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->directory((bool) _strip_trailing_slash_from_result); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_directory__ZZ(JNIEnv* env, jobject obj, jboolean _strip_trailing_slash_from_result, jboolean _ignore_trailing_slash_in_path) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->directory((bool) _strip_trailing_slash_from_result, (bool) _ignore_trailing_slash_in_path); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURL_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::encode_string_no_slash((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::encode_string_no_slash((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encode_1string__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::encode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encode_1string__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring str, jint encoding_hint) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = KURLJBridge::encode_string((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encodedHtmlRef(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedHtmlRef(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encodedPathAndQuery__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedPathAndQuery(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encodedPathAndQuery__I(JNIEnv* env, jobject obj, jint _trailing) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedPathAndQuery((int) _trailing); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encodedPathAndQuery__IZ(JNIEnv* env, jobject obj, jint _trailing, jboolean _no_empty_path) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedPathAndQuery((int) _trailing, (bool) _no_empty_path); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_encodedPathAndQuery__IZI(JNIEnv* env, jobject obj, jint _trailing, jboolean _no_empty_path, jint encoding_hint) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->encodedPathAndQuery((int) _trailing, (bool) _no_empty_path, (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_equals__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject u) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->equals((const KURL&)*(const KURL*) QtSupport::getQt(env, u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_equals__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject u, jboolean ignore_trailing) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->equals((const KURL&)*(const KURL*) QtSupport::getQt(env, u), (bool) ignore_trailing); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_fileEncoding(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->fileEncoding(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_fileName__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_fileName__Z(JNIEnv* env, jobject obj, jboolean _ignore_trailing_slash_in_path) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->fileName((bool) _ignore_trailing_slash_in_path); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KURL*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURL_fromPathOrURL(JNIEnv* env, jclass cls, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLJBridge::fromPathOrURL((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasHTMLRef(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasHTMLRef(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasHost(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasHost(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasPass(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasPass(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasPath(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasPath(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasRef(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasRef(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasSubURL(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasSubURL(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_hasUser(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->hasUser(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_host(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->host(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_htmlRef(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->htmlRef(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_htmlURL(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->htmlURL(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isLocalFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->isLocalFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isParentOf(JNIEnv* env, jobject obj, jobject u) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->isParentOf((const KURL&)*(const KURL*) QtSupport::getQt(env, u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isRelativeURL(JNIEnv* env, jclass cls, jstring _url) -{ - (void) cls; -static TQString* _qstring__url = 0; - jboolean xret = (jboolean) KURLJBridge::isRelativeURL((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_isValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->isValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURL_join(JNIEnv* env, jclass cls, jobjectArray _list) -{ - (void) cls; -static KURL::List* _qlist__list = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLJBridge::join((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, _list, &_qlist__list))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring url, jint encoding_hint) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) encoding_hint)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject u) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, u))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject _baseurl, jstring _rel_url) -{ -static TQString* _qstring__rel_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, _baseurl), (const TQString&)*(TQString*) QtSupport::toTQString(env, _rel_url, &_qstring__rel_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject _baseurl, jstring _rel_url, jint encoding_hint) -{ -static TQString* _qstring__rel_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, _baseurl), (const TQString&)*(TQString*) QtSupport::toTQString(env, _rel_url, &_qstring__rel_url), (int) encoding_hint)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_newKURL__Lorg_kde_qt_QUrlInterface_2(JNIEnv* env, jobject obj, jobject u) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLJBridge((const TQUrl&)*(const TQUrl*) QtSupport::getQt(env, u))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_op_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _u) -{ -static TQString* _qstring__u = 0; - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator==((const TQString&)*(TQString*) QtSupport::toTQString(env, _u, &_qstring__u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_op_1equals__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject _u) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator==((const KURL&)*(const KURL*) QtSupport::getQt(env, _u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_op_1lt(JNIEnv* env, jobject obj, jobject _u) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator<((const KURL&)*(const KURL*) QtSupport::getQt(env, _u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_op_1not_1equals__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _u) -{ -static TQString* _qstring__u = 0; - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator!=((const TQString&)*(TQString*) QtSupport::toTQString(env, _u, &_qstring__u)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURL_op_1not_1equals__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject _u) -{ - jboolean xret = (jboolean) ((KURL*) QtSupport::getQt(env, obj))->operator!=((const KURL&)*(const KURL*) QtSupport::getQt(env, _u)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseMailto__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseMailto((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseMailto__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseMailto((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseRawURI__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseRawURI((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseRawURI__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseRawURI((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseURL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseURL((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parseURL__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parseURL((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parse__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _url) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_parse__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _url, jint encoding_hint) -{ -static TQString* _qstring__url = 0; - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_parse((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url), (int) encoding_hint); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_pass(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->pass(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_pathOrURL(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->pathOrURL(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_path__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_path__I(JNIEnv* env, jobject obj, jint _trailing) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->path((int) _trailing); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_KURL_port(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((KURL*) QtSupport::getQt(env, obj))->port(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_prettyURL__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->prettyURL(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_prettyURL__I(JNIEnv* env, jobject obj, jint _trailing) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->prettyURL((int) _trailing); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_prettyURL__II(JNIEnv* env, jobject obj, jint _trailing, jint _flags) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->prettyURL((int) _trailing, (KURL::AdjustementFlags) _flags); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_protocol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->protocol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_queryItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item) -{ - TQString _qstring; -static TQString* _qstring_item = 0; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->queryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_queryItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring item, jint encoding_hint) -{ - TQString _qstring; -static TQString* _qstring_item = 0; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->queryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_query(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->query(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_ref(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->ref(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_relativePath__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring base_dir, jstring path) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_base_dir = 0; -static TQString* _qstring_path = 0; - _qstring = KURLJBridge::relativePath((const TQString&)*(TQString*) QtSupport::toTQString(env, base_dir, &_qstring_base_dir), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_relativePath__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jclass cls, jstring base_dir, jstring path, jbooleanArray isParent) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_base_dir = 0; -static TQString* _qstring_path = 0; - bool* _bool_isParent = QtSupport::toBooleanPtr(env, isParent); - _qstring = KURLJBridge::relativePath((const TQString&)*(TQString*) QtSupport::toTQString(env, base_dir, &_qstring_base_dir), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool*) _bool_isParent); - env->SetBooleanArrayRegion(isParent, 0, 1, (jboolean*) _bool_isParent); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_relativeURL__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject base_url, jobject url) -{ - TQString _qstring; - (void) cls; - _qstring = KURLJBridge::relativeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, base_url), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_relativeURL__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject base_url, jobject url, jint encoding_hint) -{ - TQString _qstring; - (void) cls; - _qstring = KURLJBridge::relativeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, base_url), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_removeQueryItem(JNIEnv* env, jobject obj, jstring _item) -{ -static TQString* _qstring__item = 0; - ((KURL*) QtSupport::getQt(env, obj))->removeQueryItem((const TQString&)*(TQString*) QtSupport::toTQString(env, _item, &_qstring__item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_reset(JNIEnv* env, jobject obj) -{ - ((KURLJBridge*) QtSupport::getQt(env, obj))->protected_reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setDirectory(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((KURL*) QtSupport::getQt(env, obj))->setDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setEncodedPathAndQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setEncodedPathAndQuery__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _txt, jint encoding_hint) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setEncodedPathAndQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setEncodedPath__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setEncodedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setEncodedPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _txt, jint encoding_hint) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setEncodedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setFileEncoding(JNIEnv* env, jobject obj, jstring encoding) -{ -static TQString* _qstring_encoding = 0; - ((KURL*) QtSupport::getQt(env, obj))->setFileEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, encoding, &_qstring_encoding)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setFileName(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setHTMLRef(JNIEnv* env, jobject obj, jstring _ref) -{ -static TQString* _qstring__ref = 0; - ((KURL*) QtSupport::getQt(env, obj))->setHTMLRef((const TQString&)*(TQString*) QtSupport::toTQString(env, _ref, &_qstring__ref)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setHost(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setPass(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setPass((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setPath(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((KURL*) QtSupport::getQt(env, obj))->setPath((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setPort(JNIEnv* env, jobject obj, jshort _p) -{ - ((KURL*) QtSupport::getQt(env, obj))->setPort((unsigned short int) _p); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setProtocol(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setQuery__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setQuery__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring _txt, jint encoding_hint) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setQuery((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt), (int) encoding_hint); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setRef(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setRef((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURL_setUser(JNIEnv* env, jobject obj, jstring _txt) -{ -static TQString* _qstring__txt = 0; - ((KURL*) QtSupport::getQt(env, obj))->setUser((const TQString&)*(TQString*) QtSupport::toTQString(env, _txt, &_qstring__txt)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURL_split__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _url) -{ - KURL::List _qlist; - (void) cls; -static TQString* _qstring__url = 0; - _qlist = KURLJBridge::split((const TQString&)*(TQString*) QtSupport::toTQString(env, _url, &_qstring__url)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURL_split__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject _url) -{ - KURL::List _qlist; - (void) cls; - _qlist = KURLJBridge::split((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)); - return (jobject) KDESupport::arrayWithKURLList(env, (KURL::List*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURL_upURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURL*) QtSupport::getQt(env, obj))->upURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURL_uriModeForProtocol(JNIEnv* env, jclass cls, jstring protocol) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jint xret = (jint) KURLJBridge::uriModeForProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURL_uriMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURL*) QtSupport::getQt(env, obj))->uriMode(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_url__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->url(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_url__I(JNIEnv* env, jobject obj, jint _trailing) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->url((int) _trailing); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_url__II(JNIEnv* env, jobject obj, jint _trailing, jint encoding_hint) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->url((int) _trailing, (int) encoding_hint); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURL_user(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURL*) QtSupport::getQt(env, obj))->user(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KURL.h b/kdejava/koala/kdejava/KURL.h deleted file mode 100644 index ebda9ea1..00000000 --- a/kdejava/koala/kdejava/KURL.h +++ /dev/null @@ -1,129 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURL__ -#define __org_kde_koala_KURL__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Lorg_kde_qt_QUrlInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_newKURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_protocol (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setProtocol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURL_uriMode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_user (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setUser (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasUser (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_pass (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setPass (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasPass (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_host (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setHost (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasHost (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_KURL_port (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setPort (JNIEnv *env, jobject, jshort); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_path__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_path__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasPath (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_cleanPath__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_cleanPath__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_adjustPath (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setEncodedPathAndQuery__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setEncodedPathAndQuery__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setEncodedPath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setEncodedPath__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encodedPathAndQuery__IZI (JNIEnv *env, jobject, jint, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encodedPathAndQuery__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encodedPathAndQuery__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encodedPathAndQuery__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setQuery__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setQuery__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_query (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setRef (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasRef (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_htmlRef (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encodedHtmlRef (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setHTMLRef (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasHTMLRef (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isValid (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isLocalFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setFileEncoding (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_fileEncoding (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_hasSubURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_addPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_queryItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_queryItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_addQueryItem__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_addQueryItem__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_removeQueryItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_fileName__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_fileName__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_directory__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_directory__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_directory__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_setDirectory (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_cd (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_url__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_url__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_url__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_prettyURL__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_prettyURL__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_prettyURL__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_pathOrURL (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_htmlURL (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURL_upURL (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_op_1equals__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_op_1equals__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_op_1not_1equals__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_op_1not_1equals__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_equals__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_equals__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isParentOf (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURL_split__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURL_split__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURL_join (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURL_fromPathOrURL (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encode_1string__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encode_1string__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_encode_1string_1no_1slash__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_decode_1string__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_decode_1string__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isRelativeURL (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_relativeURL__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_relativeURL__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_relativePath__Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jclass, jstring, jstring, jbooleanArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURL_relativePath__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURL_uriModeForProtocol (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseURL__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseURL__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseRawURI__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseRawURI__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseMailto__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parseMailto__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parse__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_parse__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURL_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURL_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURL__ */ diff --git a/kdejava/koala/kdejava/KURLBar.cpp b/kdejava/koala/kdejava/KURLBar.cpp deleted file mode 100644 index f00f3705..00000000 --- a/kdejava/koala/kdejava/KURLBar.cpp +++ /dev/null @@ -1,769 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class KURLBarJBridge : public KURLBar -{ -public: - KURLBarJBridge(bool arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KURLBar(arg1,arg2,arg3,arg4) {}; - KURLBarJBridge(bool arg1,TQWidget* arg2,const char* arg3) : KURLBar(arg1,arg2,arg3) {}; - KURLBarJBridge(bool arg1,TQWidget* arg2) : KURLBar(arg1,arg2) {}; - KURLBarJBridge(bool arg1) : KURLBar(arg1) {}; - void public_clear() { - KURLBar::clear(); - return; - } - bool protected_addNewItem() { - return (bool) KURLBar::addNewItem(); - } - bool protected_editItem(KURLBarItem* arg1) { - return (bool) KURLBar::editItem(arg1); - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KURLBar::resizeEvent(arg1); - return; - } - void protected_paletteChange(const TQPalette& arg1) { - KURLBar::paletteChange(arg1); - return; - } - void protected_slotContextMenuRequested(TQListBoxItem* arg1,const TQPoint& arg2) { - KURLBar::slotContextMenuRequested(arg1,arg2); - return; - } - void protected_slotSelected(TQListBoxItem* arg1) { - KURLBar::slotSelected(arg1); - return; - } - void protected_slotDropped(TQDropEvent* arg1) { - KURLBar::slotDropped(arg1); - return; - } - ~KURLBarJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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; - } - bool addNewItem() { - return QtSupport::booleanDelegate(this,"addNewItem"); - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KURLBar::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - KURLBar::paletteChange(arg1); - } - return; - } - void setListBox(KURLBarListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.koala.KURLBarListBox")) { - KURLBar::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KURLBar","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","clear")) { - KURLBar::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KURLBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotDropped(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"slotDropped",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KURLBar::slotDropped(arg1); - } - return; - } - void setCurrentItem(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)&arg1,"org.kde.koala.KURL")) { - KURLBar::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLBar",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_addNewItem(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_addNewItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_clear(JNIEnv* env, jobject obj) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_currentItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->currentItem(), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_currentURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURLBar*) QtSupport::getQt(env, obj))->currentURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLBar_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_editItem(JNIEnv* env, jobject obj, jobject item) -{ - jboolean xret = (jboolean) ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_editItem((KURLBarItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLBar_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLBar*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring description) -{ -static TQString* _qstring_description = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertDynamicItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description)), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring description, jstring icon) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertDynamicItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject url, jstring description, jstring icon, jint group) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertDynamicItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring description) -{ -static TQString* _qstring_description = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description)), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jstring description, jboolean applicationLocal) -{ -static TQString* _qstring_description = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (bool) applicationLocal), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring description, jboolean applicationLocal, jstring icon) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (bool) applicationLocal, (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject url, jstring description, jboolean applicationLocal, jstring icon, jint group) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->insertItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (bool) applicationLocal, (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group), "org.kde.koala.KURLBarItem"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_isImmutable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBar*) QtSupport::getQt(env, obj))->isImmutable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBar*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBar_isVertical(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBar*) QtSupport::getQt(env, obj))->isVertical(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_listBox(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->listBox(), "org.kde.koala.KURLBarListBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KURLBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_newKURLBar__Z(JNIEnv* env, jobject obj, jboolean useGlobalItems) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarJBridge((bool) useGlobalItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean useGlobalItems, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarJBridge((bool) useGlobalItems, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean useGlobalItems, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarJBridge((bool) useGlobalItems, (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_koala_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jboolean useGlobalItems, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarJBridge((bool) useGlobalItems, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLBar_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLBar*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_paletteChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_readConfig(JNIEnv* env, jobject obj, jobject config, jstring itemGroup) -{ -static TQString* _qstring_itemGroup = 0; - ((KURLBar*) QtSupport::getQt(env, obj))->readConfig((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, itemGroup, &_qstring_itemGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_readItem(JNIEnv* env, jobject obj, jint i, jobject config, jboolean applicationLocal) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->readItem((int) i, (TDEConfig*) QtSupport::getQt(env, config), (bool) applicationLocal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_setCurrentItem(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->setCurrentItem((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_setIconSize(JNIEnv* env, jobject obj, jint size) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_setListBox(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->setListBox((KURLBarListBox*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_setOrientation(JNIEnv* env, jobject obj, jint orient) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) orient); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBar_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KURLBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_slotContextMenuRequested(JNIEnv* env, jobject obj, jobject arg1, jobject pos) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_slotContextMenuRequested((TQListBoxItem*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_slotDropped(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_slotDropped((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_slotSelected(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarJBridge*) QtSupport::getQt(env, obj))->protected_slotSelected((TQListBoxItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_writeConfig(JNIEnv* env, jobject obj, jobject config, jstring itemGroup) -{ -static TQString* _qstring_itemGroup = 0; - ((KURLBar*) QtSupport::getQt(env, obj))->writeConfig((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, itemGroup, &_qstring_itemGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBar_writeItem(JNIEnv* env, jobject obj, jobject item, jint i, jobject arg3, jboolean global) -{ - ((KURLBar*) QtSupport::getQt(env, obj))->writeItem((KURLBarItem*) QtSupport::getQt(env, item), (int) i, (TDEConfig*) QtSupport::getQt(env, arg3), (bool) global); - return; -} - diff --git a/kdejava/koala/kdejava/KURLBar.h b/kdejava/koala/kdejava/KURLBar.h deleted file mode 100644 index 2d9bdf76..00000000 --- a/kdejava/koala/kdejava/KURLBar.h +++ /dev/null @@ -1,60 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLBar__ -#define __org_kde_koala_KURLBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jboolean, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_newKURLBar__ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_newKURLBar__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_insertDynamicItem__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBar_orientation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_setListBox (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_listBox (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_setIconSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBar_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_clear (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_readConfig (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_writeConfig (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_readItem (JNIEnv *env, jobject, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_writeItem (JNIEnv *env, jobject, jobject, jint, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBar_currentURL (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_isModified (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_isImmutable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_isVertical (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_setCurrentItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_addNewItem (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_editItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_paletteChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_slotContextMenuRequested (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_slotSelected (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_slotDropped (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLBar__ */ diff --git a/kdejava/koala/kdejava/KURLBarItem.cpp b/kdejava/koala/kdejava/KURLBarItem.cpp deleted file mode 100644 index 11c59305..00000000 --- a/kdejava/koala/kdejava/KURLBarItem.cpp +++ /dev/null @@ -1,275 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KURLBarItemJBridge : public KURLBarItem -{ -public: - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4,const TQString& arg5,TDEIcon::Group arg6) : KURLBarItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4,const TQString& arg5) : KURLBarItem(arg1,arg2,arg3,arg4,arg5) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3,const TQString& arg4) : KURLBarItem(arg1,arg2,arg3,arg4) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,bool arg3) : KURLBarItem(arg1,arg2,arg3) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4,TDEIcon::Group arg5) : KURLBarItem(arg1,arg2,arg3,arg4,arg5) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4) : KURLBarItem(arg1,arg2,arg3,arg4) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2,const TQString& arg3) : KURLBarItem(arg1,arg2,arg3) {}; - KURLBarItemJBridge(KURLBar* arg1,const KURL& arg2) : KURLBarItem(arg1,arg2) {}; - void protected_paint(TQPainter* arg1) { - KURLBarItem::paint(arg1); - return; - } - ~KURLBarItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItem_applicationLocal(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBarItem*) QtSupport::getQt(env, obj))->applicationLocal(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItem_description(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLBarItem*) QtSupport::getQt(env, obj))->description(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLBarItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KURLBarItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLBarItem_height(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((KURLBarItem*) QtSupport::getQt(env, obj))->height((const TQListBox*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLBarItem_iconGroup(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLBarItem*) QtSupport::getQt(env, obj))->iconGroup(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItem_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLBarItem*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItem_isPersistent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBarItem*) QtSupport::getQt(env, obj))->isPersistent(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject parent, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject url, jstring description) -{ -static TQString* _qstring_description = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject url, jstring description, jstring icon) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject url, jstring description, jstring icon, jint group) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject parent, jobject url, jboolean persistent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) persistent)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject url, jboolean persistent, jstring description) -{ -static TQString* _qstring_description = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) persistent, (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject url, jboolean persistent, jstring description, jstring icon) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) persistent, (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jobject url, jboolean persistent, jstring description, jstring icon, jint group) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemJBridge((KURLBar*) QtSupport::getQt(env, parent), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) persistent, (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_paint(JNIEnv* env, jobject obj, jobject p) -{ - ((KURLBarItemJBridge*) QtSupport::getQt(env, obj))->protected_paint((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarItem_pixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBarItem*) QtSupport::getQt(env, obj))->pixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setApplicationLocal(JNIEnv* env, jobject obj, jboolean local) -{ - ((KURLBarItem*) QtSupport::getQt(env, obj))->setApplicationLocal((bool) local); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setDescription(JNIEnv* env, jobject obj, jstring desc) -{ -static TQString* _qstring_desc = 0; - ((KURLBarItem*) QtSupport::getQt(env, obj))->setDescription((const TQString&)*(TQString*) QtSupport::toTQString(env, desc, &_qstring_desc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setIcon__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((KURLBarItem*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint group) -{ -static TQString* _qstring_icon = 0; - ((KURLBarItem*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TDEIcon::Group) group); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setToolTip(JNIEnv* env, jobject obj, jstring tip) -{ -static TQString* _qstring_tip = 0; - ((KURLBarItem*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, tip, &_qstring_tip)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItem_setURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLBarItem*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarItem_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((KURLBarItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItem_toolTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLBarItem*) QtSupport::getQt(env, obj))->toolTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarItem_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KURL *) &((KURLBarItem*) QtSupport::getQt(env, obj))->url(), "org.kde.koala.KURL"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLBarItem_width(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((KURLBarItem*) QtSupport::getQt(env, obj))->width((const TQListBox*) QtSupport::getQt(env, arg1)); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURLBarItem.h b/kdejava/koala/kdejava/KURLBarItem.h deleted file mode 100644 index 648421b7..00000000 --- a/kdejava/koala/kdejava/KURLBarItem.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLBarItem__ -#define __org_kde_koala_KURLBarItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_newKURLBarItem__Lorg_kde_koala_KURLBar_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setIcon__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setIcon__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setDescription (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setToolTip (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarItem_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBarItem_width (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBarItem_height (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarItem_url (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItem_description (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItem_icon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItem_toolTip (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBarItem_iconGroup (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarItem_pixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_setApplicationLocal (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItem_applicationLocal (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItem_isPersistent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_paint (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLBarItem__ */ diff --git a/kdejava/koala/kdejava/KURLBarItemDialog.cpp b/kdejava/koala/kdejava/KURLBarItemDialog.cpp deleted file mode 100644 index 4b8bc90b..00000000 --- a/kdejava/koala/kdejava/KURLBarItemDialog.cpp +++ /dev/null @@ -1,592 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KURLBarItemDialogJBridge : public KURLBarItemDialog -{ -public: - KURLBarItemDialogJBridge(bool arg1,const KURL& arg2,const TQString& arg3,TQString arg4,bool arg5,int arg6,TQWidget* arg7,const char* arg8) : KURLBarItemDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - KURLBarItemDialogJBridge(bool arg1,const KURL& arg2,const TQString& arg3,TQString arg4,bool arg5,int arg6,TQWidget* arg7) : KURLBarItemDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - KURLBarItemDialogJBridge(bool arg1,const KURL& arg2,const TQString& arg3,TQString arg4,bool arg5,int arg6) : KURLBarItemDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - KURLBarItemDialogJBridge(bool arg1,const KURL& arg2,const TQString& arg3,TQString arg4,bool arg5) : KURLBarItemDialog(arg1,arg2,arg3,arg4,arg5) {}; - KURLBarItemDialogJBridge(bool arg1,const KURL& arg2,const TQString& arg3,TQString arg4) : KURLBarItemDialog(arg1,arg2,arg3,arg4) {}; - ~KURLBarItemDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KURLBarItemDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarItemDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItemDialog_applicationLocal(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBarItemDialog*) QtSupport::getQt(env, obj))->applicationLocal(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItemDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLBarItemDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItemDialog_description(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLBarItemDialog*) QtSupport::getQt(env, obj))->description(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLBarItemDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLBarItemDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLBarItemDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItemDialog_getInformation__ZLorg_kde_koala_KURL_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2ZI(JNIEnv* env, jclass cls, jboolean allowGlobal, jobject url, jobject description, jobject icon, jboolean appLocal, jint iconSize) -{ - (void) cls; -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jboolean xret = (jboolean) KURLBarItemDialogJBridge::getInformation((bool) allowGlobal, (KURL&)*(KURL*) QtSupport::getQt(env, url), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, description, &_qstring_description), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, icon, &_qstring_icon), (bool&) appLocal, (int) iconSize); - QtSupport::fromTQStringToStringBuffer(env, _qstring_description, description); - QtSupport::fromTQStringToStringBuffer(env, _qstring_icon, icon); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItemDialog_getInformation__ZLorg_kde_koala_KURL_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2ZILorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jboolean allowGlobal, jobject url, jobject description, jobject icon, jboolean appLocal, jint iconSize, jobject parent) -{ - (void) cls; -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - jboolean xret = (jboolean) KURLBarItemDialogJBridge::getInformation((bool) allowGlobal, (KURL&)*(KURL*) QtSupport::getQt(env, url), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, description, &_qstring_description), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, icon, &_qstring_icon), (bool&) appLocal, (int) iconSize, (TQWidget*) QtSupport::getQt(env, parent)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_description, description); - QtSupport::fromTQStringToStringBuffer(env, _qstring_icon, icon); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarItemDialog_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLBarItemDialog*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarItemDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarItemDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBarItemDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean allowGlobal, jobject url, jstring description, jstring icon) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemDialogJBridge((bool) allowGlobal, (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (TQString)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jboolean allowGlobal, jobject url, jstring description, jstring icon, jboolean appLocal) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemDialogJBridge((bool) allowGlobal, (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (TQString)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (bool) appLocal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jboolean allowGlobal, jobject url, jstring description, jstring icon, jboolean appLocal, jint iconSize) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemDialogJBridge((bool) allowGlobal, (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (TQString)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (bool) appLocal, (int) iconSize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jboolean allowGlobal, jobject url, jstring description, jstring icon, jboolean appLocal, jint iconSize, jobject parent) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemDialogJBridge((bool) allowGlobal, (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (TQString)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (bool) appLocal, (int) iconSize, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jboolean allowGlobal, jobject url, jstring description, jstring icon, jboolean appLocal, jint iconSize, jobject parent, jstring name) -{ -static TQString* _qstring_description = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarItemDialogJBridge((bool) allowGlobal, (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, description, &_qstring_description), (TQString)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (bool) appLocal, (int) iconSize, (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_koala_KURLBarItemDialog_urlChanged(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((KURLBarItemDialog*) QtSupport::getQt(env, obj))->urlChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarItemDialog_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURLBarItemDialog*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURLBarItemDialog.h b/kdejava/koala/kdejava/KURLBarItemDialog.h deleted file mode 100644 index e9f26a66..00000000 --- a/kdejava/koala/kdejava/KURLBarItemDialog.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLBarItemDialog__ -#define __org_kde_koala_KURLBarItemDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarItemDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItemDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring, jstring, jboolean, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jboolean, jobject, jstring, jstring, jboolean, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jboolean, jobject, jstring, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jboolean, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_newKURLBarItemDialog__ZLorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jboolean, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarItemDialog_url (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItemDialog_description (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarItemDialog_iconName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItemDialog_applicationLocal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_urlChanged (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItemDialog_getInformation__ZLorg_kde_koala_KURL_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2ZILorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jboolean, jobject, jobject, jobject, jboolean, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItemDialog_getInformation__ZLorg_kde_koala_KURL_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2ZI (JNIEnv *env, jclass, jboolean, jobject, jobject, jobject, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarItemDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarItemDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLBarItemDialog__ */ diff --git a/kdejava/koala/kdejava/KURLBarListBox.cpp b/kdejava/koala/kdejava/KURLBarListBox.cpp deleted file mode 100644 index 18d5a6c0..00000000 --- a/kdejava/koala/kdejava/KURLBarListBox.cpp +++ /dev/null @@ -1,656 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KURLBarListBoxJBridge : public KURLBarListBox -{ -public: - KURLBarListBoxJBridge(TQWidget* arg1,const char* arg2) : KURLBarListBox(arg1,arg2) {}; - KURLBarListBoxJBridge(TQWidget* arg1) : KURLBarListBox(arg1) {}; - KURLBarListBoxJBridge() : KURLBarListBox() {}; - TQDragObject* protected_dragObject() { - return (TQDragObject*) KURLBarListBox::dragObject(); - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - KURLBarListBox::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - KURLBarListBox::contentsDropEvent(arg1); - return; - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - KURLBarListBox::contextMenuEvent(arg1); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KURLBarListBox::paintEvent(arg1); - return; - } - ~KURLBarListBoxJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListBox::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")) { - TQListBox::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")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQListBox::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 contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void ensureCurrentVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","ensureCurrentVisible")) { - TQListBox::ensureCurrentVisible(); - } - 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.koala.KURLBarListBox","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")) { - TQScrollView::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")) { - KURLBarListBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - KURLBarListBox::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.koala.KURLBarListBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","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")) { - TQListBox::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(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")) { - TDEListBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","clearSelection")) { - TQListBox::clearSelection(); - } - 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")) { - KURLBarListBox::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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 setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListBox::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")) { - TQScrollView::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")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::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 invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","invertSelection")) { - TQListBox::invertSelection(); - } - 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")) { - TDEListBox::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListBox::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLBarListBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQListBox::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::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 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.koala.KURLBarListBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQListBoxItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListBoxItem")) { - TQListBox::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQListBox::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")) { - TDEListBox::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - KURLBarListBox::contextMenuEvent(arg1); - } - 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")) { - TQListBox::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.koala.KURLBarListBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLBarListBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLBarListBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_contentsDropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLBarListBox_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarListBox_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBarListBoxJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLBarListBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLBarListBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarListBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLBarListBox_isVertical(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLBarListBox*) QtSupport::getQt(env, obj))->isVertical(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLBarListBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLBarListBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarListBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLBarListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__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 KURLBarListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLBarListBox_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLBarListBox*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLBarListBoxJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLBarListBox_setOrientation(JNIEnv* env, jobject obj, jint orient) -{ - ((KURLBarListBox*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) orient); - return; -} - diff --git a/kdejava/koala/kdejava/KURLBarListBox.h b/kdejava/koala/kdejava/KURLBarListBox.h deleted file mode 100644 index cd61a799..00000000 --- a/kdejava/koala/kdejava/KURLBarListBox.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLBarListBox__ -#define __org_kde_koala_KURLBarListBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarListBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLBarListBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_newKURLBarListBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLBarListBox_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarListBox_isVertical (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLBarListBox_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLBarListBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLBarListBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLBarListBox__ */ diff --git a/kdejava/koala/kdejava/KURLComboBox.cpp b/kdejava/koala/kdejava/KURLComboBox.cpp deleted file mode 100644 index de3c21fe..00000000 --- a/kdejava/koala/kdejava/KURLComboBox.cpp +++ /dev/null @@ -1,603 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KURLComboBoxJBridge : public KURLComboBox -{ -public: - KURLComboBoxJBridge(KURLComboBox::Mode arg1,TQWidget* arg2,const char* arg3) : KURLComboBox(arg1,arg2,arg3) {}; - KURLComboBoxJBridge(KURLComboBox::Mode arg1,TQWidget* arg2) : KURLComboBox(arg1,arg2) {}; - KURLComboBoxJBridge(KURLComboBox::Mode arg1) : KURLComboBox(arg1) {}; - KURLComboBoxJBridge(KURLComboBox::Mode arg1,bool arg2,TQWidget* arg3,const char* arg4) : KURLComboBox(arg1,arg2,arg3,arg4) {}; - KURLComboBoxJBridge(KURLComboBox::Mode arg1,bool arg2,TQWidget* arg3) : KURLComboBox(arg1,arg2,arg3) {}; - KURLComboBoxJBridge(KURLComboBox::Mode arg1,bool arg2) : KURLComboBox(arg1,arg2) {}; - void protected_init(KURLComboBox::Mode arg1) { - KURLComboBox::init(arg1); - return; - } - TQPixmap protected_getPixmap(const KURL& arg1) { - return (TQPixmap) KURLComboBox::getPixmap(arg1); - } - void protected_slotActivated(int arg1) { - KURLComboBox::slotActivated(arg1); - return; - } - ~KURLComboBoxJBridge() {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 setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQComboBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KURLComboBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQComboBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KComboBox::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - KComboBox::setLineEdit(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLComboBox",object,event)) { - return KComboBox::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->addDefaultURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring text) -{ -static TQString* _qstring_text = 0; - ((KURLComboBox*) QtSupport::getQt(env, obj))->addDefaultURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject url, jobject pix) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->addDefaultURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jobject pix, jstring text) -{ -static TQString* _qstring_text = 0; - ((KURLComboBox*) QtSupport::getQt(env, obj))->addDefaultURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLComboBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLComboBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLComboBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLComboBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLComboBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLComboBox_getPixmap(JNIEnv* env, jobject obj, jobject url) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KURLComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_getPixmap((const KURL&)*(const KURL*) QtSupport::getQt(env, url))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_init(JNIEnv* env, jobject obj, jint mode) -{ - ((KURLComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_init((KURLComboBox::Mode) mode); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLComboBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLComboBox_maxItems(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLComboBox*) QtSupport::getQt(env, obj))->maxItems(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLComboBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLComboBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_newKURLComboBox__I(JNIEnv* env, jobject obj, jint mode) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_newKURLComboBox__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint mode, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_newKURLComboBox__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint mode, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode, (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_koala_KURLComboBox_newKURLComboBox__IZ(JNIEnv* env, jobject obj, jint mode, jboolean rw) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode, (bool) rw)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_newKURLComboBox__IZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint mode, jboolean rw, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode, (bool) rw, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_newKURLComboBox__IZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint mode, jboolean rw, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboBoxJBridge((KURLComboBox::Mode) mode, (bool) rw, (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_koala_KURLComboBox_removeURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->removeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_removeURL__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject url, jboolean checkDefaultURLs) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->removeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) checkDefaultURLs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_setDefaults(JNIEnv* env, jobject obj) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->setDefaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_setMaxItems(JNIEnv* env, jobject obj, jint arg1) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->setMaxItems((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_setURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLComboBox*) QtSupport::getQt(env, obj))->setURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_setURLs___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray urls) -{ -static TQStringList* _qlist_urls = 0; - ((KURLComboBox*) QtSupport::getQt(env, obj))->setURLs((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, urls, &_qlist_urls)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_setURLs___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray urls, jint remove) -{ -static TQStringList* _qlist_urls = 0; - ((KURLComboBox*) QtSupport::getQt(env, obj))->setURLs((TQStringList)*(TQStringList*) QtSupport::toTQStringList(env, urls, &_qlist_urls), (KURLComboBox::OverLoadResolving) remove); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboBox_slotActivated(JNIEnv* env, jobject obj, jint arg1) -{ - ((KURLComboBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLComboBox_urls(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KURLComboBox*) QtSupport::getQt(env, obj))->urls(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/KURLComboBox.h b/kdejava/koala/kdejava/KURLComboBox.h deleted file mode 100644 index d246c460..00000000 --- a/kdejava/koala/kdejava/KURLComboBox.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLComboBox__ -#define __org_kde_koala_KURLComboBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLComboBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLComboBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__IZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__IZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_newKURLComboBox__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_setURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_setURLs___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_setURLs___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLComboBox_urls (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_setMaxItems (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLComboBox_maxItems (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_addDefaultURL__Lorg_kde_koala_KURL_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_setDefaults (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_removeURL__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_removeURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_init (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLComboBox_getPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_slotActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLComboBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLComboBox__ */ diff --git a/kdejava/koala/kdejava/KURLComboRequester.cpp b/kdejava/koala/kdejava/KURLComboRequester.cpp deleted file mode 100644 index 4abcc83a..00000000 --- a/kdejava/koala/kdejava/KURLComboRequester.cpp +++ /dev/null @@ -1,443 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class KURLComboRequesterJBridge : public KURLComboRequester -{ -public: - KURLComboRequesterJBridge(TQWidget* arg1,const char* arg2) : KURLComboRequester(arg1,arg2) {}; - KURLComboRequesterJBridge(TQWidget* arg1) : KURLComboRequester(arg1) {}; - KURLComboRequesterJBridge() : KURLComboRequester() {}; - ~KURLComboRequesterJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KURLComboRequester","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KURLComboRequester","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLComboRequester",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLComboRequester","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLComboRequester_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLComboRequester*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboRequester_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLComboRequester_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboRequester_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLComboRequester*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLComboRequester*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLComboRequester_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLComboRequester_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLComboRequester*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboRequesterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLComboRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__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 KURLComboRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KURLComboRequester.h b/kdejava/koala/kdejava/KURLComboRequester.h deleted file mode 100644 index 39517cf4..00000000 --- a/kdejava/koala/kdejava/KURLComboRequester.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLComboRequester__ -#define __org_kde_koala_KURLComboRequester__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLComboRequester_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLComboRequester_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboRequester_newKURLComboRequester__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboRequester_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLComboRequester_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLComboRequester_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLComboRequester__ */ diff --git a/kdejava/koala/kdejava/KURLCompletion.cpp b/kdejava/koala/kdejava/KURLCompletion.cpp deleted file mode 100644 index 827f5dc9..00000000 --- a/kdejava/koala/kdejava/KURLCompletion.cpp +++ /dev/null @@ -1,294 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KURLCompletionJBridge : public KURLCompletion -{ -public: - KURLCompletionJBridge() : KURLCompletion() {}; - KURLCompletionJBridge(KURLCompletion::Mode arg1) : KURLCompletion(arg1) {}; - void public_stop() { - KURLCompletion::stop(); - return; - } - void protected_postProcessMatch(TQString* arg1) { - KURLCompletion::postProcessMatch(arg1); - return; - } - void protected_postProcessMatches(TQStringList* arg1) { - KURLCompletion::postProcessMatches(arg1); - return; - } - void protected_customEvent(TQCustomEvent* arg1) { - KURLCompletion::customEvent(arg1); - return; - } - void protected_slotIOFinished(TDEIO::Job* arg1) { - KURLCompletion::slotIOFinished(arg1); - return; - } - ~KURLCompletionJBridge() {QtSupport::qtKeyDeleted(this);} - bool replaceHome() { - return QtSupport::booleanDelegate(this,"replaceHome"); - } - bool isRunning() { - return QtSupport::booleanDelegate(this,"isRunning"); - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLCompletion","clear")) { - TDECompletion::clear(); - } - return; - } - bool replaceEnv() { - return QtSupport::booleanDelegate(this,"replaceEnv"); - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - KURLCompletion::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLCompletion",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void stop() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLCompletion","stop")) { - KURLCompletion::stop(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLCompletion*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_customEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KURLCompletionJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_dir(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLCompletion*) QtSupport::getQt(env, obj))->dir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLCompletion_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KURLCompletion*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KURLCompletion*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLCompletion_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLCompletion_isRunning(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLCompletion*) QtSupport::getQt(env, obj))->isRunning(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_makeCompletion(JNIEnv* env, jobject obj, jstring text) -{ - TQString _qstring; -static TQString* _qstring_text = 0; - _qstring = ((KURLCompletion*) QtSupport::getQt(env, obj))->makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLCompletion_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLCompletion*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLCompletion_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLCompletion*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_newKURLCompletion__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLCompletionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_newKURLCompletion__I(JNIEnv* env, jobject obj, jint arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLCompletionJBridge((KURLCompletion::Mode) arg1)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_postProcessMatch(JNIEnv* env, jobject obj, jobject match) -{ -static TQString* _qstring_match = 0; - ((KURLCompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatch((TQString*) QtSupport::toTQStringFromStringBuffer(env, match, &_qstring_match)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_match, match); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_postProcessMatches(JNIEnv* env, jobject obj, jobjectArray matches) -{ -static TQStringList* _qlist_matches = 0; - ((KURLCompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatches((TQStringList*) QtSupport::toTQStringList(env, matches, &_qlist_matches)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLCompletion_replaceEnv(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLCompletion*) QtSupport::getQt(env, obj))->replaceEnv(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLCompletion_replaceHome(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLCompletion*) QtSupport::getQt(env, obj))->replaceHome(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ - TQString _qstring; -static TQString* _qstring_text = 0; - _qstring = ((KURLCompletion*) QtSupport::getQt(env, obj))->replacedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring text, jboolean replaceHome) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KURLCompletionJBridge::replacedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) replaceHome); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2ZZ(JNIEnv* env, jclass cls, jstring text, jboolean replaceHome, jboolean replaceEnv) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_text = 0; - _qstring = KURLCompletionJBridge::replacedPath((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) replaceHome, (bool) replaceEnv); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_setDir(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((KURLCompletion*) QtSupport::getQt(env, obj))->setDir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_setMode(JNIEnv* env, jobject obj, jint mode) -{ - ((KURLCompletion*) QtSupport::getQt(env, obj))->setMode((KURLCompletion::Mode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_setReplaceEnv(JNIEnv* env, jobject obj, jboolean replace) -{ - ((KURLCompletion*) QtSupport::getQt(env, obj))->setReplaceEnv((bool) replace); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_setReplaceHome(JNIEnv* env, jobject obj, jboolean replace) -{ - ((KURLCompletion*) QtSupport::getQt(env, obj))->setReplaceHome((bool) replace); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_slotIOFinished(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLCompletionJBridge*) QtSupport::getQt(env, obj))->protected_slotIOFinished((TDEIO::Job*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLCompletion_stop(JNIEnv* env, jobject obj) -{ - ((KURLCompletionJBridge*) QtSupport::getQt(env, obj))->public_stop(); - return; -} - diff --git a/kdejava/koala/kdejava/KURLCompletion.h b/kdejava/koala/kdejava/KURLCompletion.h deleted file mode 100644 index 3d361cef..00000000 --- a/kdejava/koala/kdejava/KURLCompletion.h +++ /dev/null @@ -1,43 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLCompletion__ -#define __org_kde_koala_KURLCompletion__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLCompletion_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_newKURLCompletion__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_newKURLCompletion__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_setDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_dir (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLCompletion_isRunning (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_stop (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLCompletion_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLCompletion_replaceEnv (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_setReplaceEnv (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLCompletion_replaceHome (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_setReplaceHome (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2ZZ (JNIEnv *env, jclass, jstring, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLCompletion_replacedPath__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_postProcessMatch (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_postProcessMatches (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_customEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_slotIOFinished (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLCompletion_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLCompletion_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLCompletion__ */ diff --git a/kdejava/koala/kdejava/KURLDrag.cpp b/kdejava/koala/kdejava/KURLDrag.cpp deleted file mode 100644 index 41b5e748..00000000 --- a/kdejava/koala/kdejava/KURLDrag.cpp +++ /dev/null @@ -1,164 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KURLDragJBridge : public KURLDrag -{ -public: - KURLDragJBridge(const KURL::List& arg1,TQWidget* arg2,const char* arg3) : KURLDrag(arg1,arg2,arg3) {}; - KURLDragJBridge(const KURL::List& arg1,TQWidget* arg2) : KURLDrag(arg1,arg2) {}; - KURLDragJBridge(const KURL::List& arg1) : KURLDrag(arg1) {}; - ~KURLDragJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLDrag",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLDrag_decode(JNIEnv* env, jclass cls, jobject e, jobjectArray urls) -{ - (void) cls; -static KURL::List* _qlist_urls = 0; - jboolean xret = (jboolean) KURLDragJBridge::decode((const TQMimeSource*) QtSupport::mimeSource(env, e), (KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLDrag_finalize(env, obj); - return; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KURLDrag_encodedData(JNIEnv* env, jobject obj, jstring mime) -{ - TQByteArray _qbyteArray; -static TQCString* _qstring_mime = 0; - _qbyteArray = ((KURLDrag*) QtSupport::getQt(env, obj))->encodedData((const char*) QtSupport::toCharString(env, mime, &_qstring_mime)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KURLDrag*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KURLDrag*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLDrag_format(JNIEnv* env, jobject obj, jint i) -{ - const char* _qstring; - _qstring = ((KURLDrag*) QtSupport::getQt(env, obj))->format((int) i); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLDrag_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2(JNIEnv* env, jobject obj, jobjectArray urls) -{ -static KURL::List* _qlist_urls = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLDragJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray urls, jobject dragSource) -{ -static KURL::List* _qlist_urls = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLDragJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls), (TQWidget*) QtSupport::getQt(env, dragSource))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray urls, jobject dragSource, jstring name) -{ -static KURL::List* _qlist_urls = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLDragJBridge((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, urls, &_qlist_urls), (TQWidget*) QtSupport::getQt(env, dragSource), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLDrag_setExportAsText(JNIEnv* env, jobject obj, jboolean exp) -{ - ((KURLDrag*) QtSupport::getQt(env, obj))->setExportAsText((bool) exp); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLDrag_stringToUrl(JNIEnv* env, jclass cls, jstring s) -{ - (void) cls; -static TQCString* _qcstring_s = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLDragJBridge::stringToUrl((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, s, &_qcstring_s))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLDrag_urlToString(JNIEnv* env, jclass cls, jobject url) -{ - TQString _qstring; - (void) cls; - _qstring = KURLDragJBridge::urlToString((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KURLDrag.h b/kdejava/koala/kdejava/KURLDrag.h deleted file mode 100644 index f325a266..00000000 --- a/kdejava/koala/kdejava/KURLDrag.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLDrag__ -#define __org_kde_koala_KURLDrag__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_newKURLDrag__Ljava_util_ArrayList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_setExportAsText (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLDrag_format (JNIEnv *env, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KURLDrag_encodedData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLDrag_decode (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLDrag_urlToString (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLDrag_stringToUrl (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLDrag_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLDrag_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLDrag__ */ diff --git a/kdejava/koala/kdejava/KURLLabel.cpp b/kdejava/koala/kdejava/KURLLabel.cpp deleted file mode 100644 index 5b8d5d3c..00000000 --- a/kdejava/koala/kdejava/KURLLabel.cpp +++ /dev/null @@ -1,747 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class KURLLabelJBridge : public KURLLabel -{ -public: - KURLLabelJBridge(TQWidget* arg1,const char* arg2) : KURLLabel(arg1,arg2) {}; - KURLLabelJBridge(TQWidget* arg1) : KURLLabel(arg1) {}; - KURLLabelJBridge() : KURLLabel() {}; - KURLLabelJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : KURLLabel(arg1,arg2,arg3,arg4) {}; - KURLLabelJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3) : KURLLabel(arg1,arg2,arg3) {}; - KURLLabelJBridge(const TQString& arg1,const TQString& arg2) : KURLLabel(arg1,arg2) {}; - KURLLabelJBridge(const TQString& arg1) : KURLLabel(arg1) {}; - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - KURLLabel::mouseReleaseEvent(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - KURLLabel::enterEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - KURLLabel::leaveEvent(arg1); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) KURLLabel::event(arg1); - } - ~KURLLabelJBridge() {QtSupport::qtKeyDeleted(this);} - void setMovie(const TQMovie& arg1) { - if (!QtSupport::eventDelegate(this,"setMovie",(void*)&arg1,"org.kde.qt.TQMovie")) { - TQLabel::setMovie(arg1); - } - return; - } - void setPicture(const TQPicture& arg1) { - if (!QtSupport::eventDelegate(this,"setPicture",(void*)&arg1,"org.kde.qt.TQPicture")) { - TQLabel::setPicture(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQLabel::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KURLLabel","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KURLLabel","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - KURLLabel::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - KURLLabel::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KURLLabel::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")) { - KURLLabel::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQLabel::setPixmap(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLLabel",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setBuddy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setBuddy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQLabel::setBuddy(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLLabel","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLLabel_altPixmap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLLabel*) QtSupport::getQt(env, obj))->altPixmap(), "org.kde.qt.TQPixmap"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLLabel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLLabel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLLabel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_enterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLLabelJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((KURLLabelJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLLabel*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLLabel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_isFloatEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLLabel*) QtSupport::getQt(env, obj))->isFloatEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_isGlowEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLLabel*) QtSupport::getQt(env, obj))->isGlowEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_leaveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLLabelJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLLabel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLLabel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLLabelJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jstring text) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring url, jstring text, jobject parent) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_koala_KURLLabel_newKURLLabel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLLabelJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_newKURLLabel__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 KURLLabelJBridge((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_koala_KURLLabel_setAltPixmap(JNIEnv* env, jobject obj, jobject altPix) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setAltPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, altPix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setFloat__(JNIEnv* env, jobject obj) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setFloat(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setFloat__Z(JNIEnv* env, jobject obj, jboolean do_float) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setFloat((bool) do_float); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setGlow__(JNIEnv* env, jobject obj) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setGlow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setGlow__Z(JNIEnv* env, jobject obj, jboolean glow) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setGlow((bool) glow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setHighlightedColor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring highcolor) -{ -static TQString* _qstring_highcolor = 0; - ((KURLLabel*) QtSupport::getQt(env, obj))->setHighlightedColor((const TQString&)*(TQString*) QtSupport::toTQString(env, highcolor, &_qstring_highcolor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setHighlightedColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject highcolor) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setHighlightedColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, highcolor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setSelectedColor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring selcolor) -{ -static TQString* _qstring_selcolor = 0; - ((KURLLabel*) QtSupport::getQt(env, obj))->setSelectedColor((const TQString&)*(TQString*) QtSupport::toTQString(env, selcolor, &_qstring_selcolor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setSelectedColor__Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jobject selcolor) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setSelectedColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, selcolor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setTipText(JNIEnv* env, jobject obj, jstring tip) -{ -static TQString* _qstring_tip = 0; - ((KURLLabel*) QtSupport::getQt(env, obj))->setTipText((const TQString&)*(TQString*) QtSupport::toTQString(env, tip, &_qstring_tip)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setURL(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KURLLabel*) QtSupport::getQt(env, obj))->setURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUnderline__(JNIEnv* env, jobject obj) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUnderline(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUnderline__Z(JNIEnv* env, jobject obj, jboolean on) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUnderline((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUseCursor__Z(JNIEnv* env, jobject obj, jboolean on) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUseCursor((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUseCursor__ZLorg_kde_qt_QCursor_2(JNIEnv* env, jobject obj, jboolean on, jobject cursor) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUseCursor((bool) on, (TQCursor*) QtSupport::getQt(env, cursor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUseTips__(JNIEnv* env, jobject obj) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUseTips(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLLabel_setUseTips__Z(JNIEnv* env, jobject obj, jboolean on) -{ - ((KURLLabel*) QtSupport::getQt(env, obj))->setUseTips((bool) on); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLLabel_tipText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLLabel*) QtSupport::getQt(env, obj))->tipText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLLabel_url(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLLabel*) QtSupport::getQt(env, obj))->url(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_useCursor(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLLabel*) QtSupport::getQt(env, obj))->useCursor(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLLabel_useTips(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLLabel*) QtSupport::getQt(env, obj))->useTips(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURLLabel.h b/kdejava/koala/kdejava/KURLLabel.h deleted file mode 100644 index a152f0f6..00000000 --- a/kdejava/koala/kdejava/KURLLabel.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLLabel__ -#define __org_kde_koala_KURLLabel__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLLabel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLLabel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_newKURLLabel__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLLabel_url (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLLabel_tipText (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_useTips (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_useCursor (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_isGlowEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_isFloatEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLLabel_altPixmap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUnderline__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUnderline__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUseTips__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUseTips__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setTipText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setHighlightedColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setHighlightedColor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setSelectedColor__Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setSelectedColor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUseCursor__ZLorg_kde_qt_QCursor_2 (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setUseCursor__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setGlow__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setGlow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setFloat__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setFloat__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_setAltPixmap (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLLabel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLLabel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLLabel__ */ diff --git a/kdejava/koala/kdejava/KURLPixmapProvider.cpp b/kdejava/koala/kdejava/KURLPixmapProvider.cpp deleted file mode 100644 index c5683b41..00000000 --- a/kdejava/koala/kdejava/KURLPixmapProvider.cpp +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KURLPixmapProviderJBridge : public KURLPixmapProvider -{ -public: - KURLPixmapProviderJBridge() : KURLPixmapProvider() {}; - ~KURLPixmapProviderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLPixmapProvider_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLPixmapProvider_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLPixmapProvider_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KURLPixmapProvider*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLPixmapProvider_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLPixmapProvider_newKURLPixmapProvider(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLPixmapProviderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLPixmapProvider_pixmapFor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KURLPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLPixmapProvider_pixmapFor__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring url, jint size) -{ -static TQString* _qstring_url = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((KURLPixmapProvider*) QtSupport::getQt(env, obj))->pixmapFor((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURLPixmapProvider.h b/kdejava/koala/kdejava/KURLPixmapProvider.h deleted file mode 100644 index a9e84fe1..00000000 --- a/kdejava/koala/kdejava/KURLPixmapProvider.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLPixmapProvider__ -#define __org_kde_koala_KURLPixmapProvider__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLPixmapProvider_pixmapFor__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLPixmapProvider_pixmapFor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLPixmapProvider_newKURLPixmapProvider (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLPixmapProvider_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLPixmapProvider_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLPixmapProvider_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLPixmapProvider__ */ diff --git a/kdejava/koala/kdejava/KURLRequester.cpp b/kdejava/koala/kdejava/KURLRequester.cpp deleted file mode 100644 index b66e3e25..00000000 --- a/kdejava/koala/kdejava/KURLRequester.cpp +++ /dev/null @@ -1,645 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KURLRequesterJBridge : public KURLRequester -{ -public: - KURLRequesterJBridge(TQWidget* arg1,const char* arg2) : KURLRequester(arg1,arg2) {}; - KURLRequesterJBridge(TQWidget* arg1) : KURLRequester(arg1) {}; - KURLRequesterJBridge() : KURLRequester() {}; - KURLRequesterJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KURLRequester(arg1,arg2,arg3) {}; - KURLRequesterJBridge(const TQString& arg1,TQWidget* arg2) : KURLRequester(arg1,arg2) {}; - KURLRequesterJBridge(const TQString& arg1) : KURLRequester(arg1) {}; - KURLRequesterJBridge(TQWidget* arg1,TQWidget* arg2,const char* arg3) : KURLRequester(arg1,arg2,arg3) {}; - KURLRequesterJBridge(TQWidget* arg1,TQWidget* arg2) : KURLRequester(arg1,arg2) {}; - void protected_init() { - KURLRequester::init(); - return; - } - void protected_slotOpenDialog() { - KURLRequester::slotOpenDialog(); - return; - } - ~KURLRequesterJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.KURLRequester","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KURLRequester","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KURLRequester",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequester","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_button(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->button(), "org.kde.koala.KPushButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLRequester_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLRequester*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_clear(JNIEnv* env, jobject obj) -{ - ((KURLRequester*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_comboBox(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->comboBox(), "org.kde.koala.KComboBox"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_completionObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->completionObject(), "org.kde.koala.KURLCompletion"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLRequester_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_fileDialog(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->fileDialog(), "org.kde.koala.KFileDialog"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLRequester_filter(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLRequester*) QtSupport::getQt(env, obj))->filter(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLRequester*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLRequester*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_init(JNIEnv* env, jobject obj) -{ - ((KURLRequesterJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLRequester_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_lineEdit(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->lineEdit(), "org.kde.koala.KLineEdit"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequester_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequester*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KURLRequester_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KURLRequester*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring url, jobject parent) -{ -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jobject parent, jstring name) -{ -static TQString* _qstring_url = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (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_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__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 KURLRequesterJBridge((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_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject editWidget, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((TQWidget*) QtSupport::getQt(env, editWidget), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject editWidget, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterJBridge((TQWidget*) QtSupport::getQt(env, editWidget), (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_koala_KURLRequester_setCaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((KURLRequester*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_setFilter(JNIEnv* env, jobject obj, jstring filter) -{ -static TQString* _qstring_filter = 0; - ((KURLRequester*) QtSupport::getQt(env, obj))->setFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_setKURL(JNIEnv* env, jobject obj, jobject url) -{ - ((KURLRequester*) QtSupport::getQt(env, obj))->setKURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_setMode(JNIEnv* env, jobject obj, jint m) -{ - ((KURLRequester*) QtSupport::getQt(env, obj))->setMode((uint) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_setShowLocalProtocol(JNIEnv* env, jobject obj, jboolean b) -{ - ((KURLRequester*) QtSupport::getQt(env, obj))->setShowLocalProtocol((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_setURL(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((KURLRequester*) QtSupport::getQt(env, obj))->setURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLRequester_showLocalProtocol(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KURLRequester*) QtSupport::getQt(env, obj))->showLocalProtocol(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequester_slotOpenDialog(JNIEnv* env, jobject obj) -{ - ((KURLRequesterJBridge*) QtSupport::getQt(env, obj))->protected_slotOpenDialog(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLRequester_url(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KURLRequester*) QtSupport::getQt(env, obj))->url(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KURLRequester.h b/kdejava/koala/kdejava/KURLRequester.h deleted file mode 100644 index 8089e5cc..00000000 --- a/kdejava/koala/kdejava/KURLRequester.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLRequester__ -#define __org_kde_koala_KURLRequester__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLRequester_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_newKURLRequester__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLRequester_url (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setShowLocalProtocol (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KURLRequester_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLRequester_filter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLRequester_showLocalProtocol (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_fileDialog (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_lineEdit (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_comboBox (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_button (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequester_completionObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setKURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_setCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_slotOpenDialog (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequester_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLRequester_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLRequester__ */ diff --git a/kdejava/koala/kdejava/KURLRequesterDlg.cpp b/kdejava/koala/kdejava/KURLRequesterDlg.cpp deleted file mode 100644 index 914bd392..00000000 --- a/kdejava/koala/kdejava/KURLRequesterDlg.cpp +++ /dev/null @@ -1,575 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KURLRequesterDlgJBridge : public KURLRequesterDlg -{ -public: - KURLRequesterDlgJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3,bool arg4) : KURLRequesterDlg(arg1,arg2,arg3,arg4) {}; - KURLRequesterDlgJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KURLRequesterDlg(arg1,arg2,arg3) {}; - KURLRequesterDlgJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4,bool arg5) : KURLRequesterDlg(arg1,arg2,arg3,arg4,arg5) {}; - KURLRequesterDlgJBridge(const TQString& arg1,const TQString& arg2,TQWidget* arg3,const char* arg4) : KURLRequesterDlg(arg1,arg2,arg3,arg4) {}; - ~KURLRequesterDlgJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.KURLRequesterDlg","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KURLRequesterDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KURLRequesterDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KURLRequesterDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequesterDlg_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KURLRequesterDlg_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_fileDialog(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequesterDlg*) QtSupport::getQt(env, obj))->fileDialog(), "org.kde.koala.KFileDialog"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequesterDlg_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KURLRequesterDlg*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KURLRequesterDlg*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_getURL__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLRequesterDlgJBridge::getURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring url) -{ - (void) cls; -static TQString* _qstring_url = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLRequesterDlgJBridge::getURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring url, jobject parent) -{ - (void) cls; -static TQString* _qstring_url = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLRequesterDlgJBridge::getURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (TQWidget*) QtSupport::getQt(env, parent))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring url, jobject parent, jstring caption) -{ - (void) cls; -static TQString* _qstring_url = 0; -static TQString* _qstring_caption = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(KURLRequesterDlgJBridge::getURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KURLRequesterDlg_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequesterDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (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_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring url, jstring text, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jobject parent, jstring name) -{ -static TQString* _qstring_url = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (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_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring url, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_url = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KURLRequesterDlgJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_selectedURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURLRequesterDlg*) QtSupport::getQt(env, obj))->selectedURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KURLRequesterDlg_urlRequester(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KURLRequesterDlg*) QtSupport::getQt(env, obj))->urlRequester(), "org.kde.koala.KURLRequester"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KURLRequesterDlg.h b/kdejava/koala/kdejava/KURLRequesterDlg.h deleted file mode 100644 index aa1127cf..00000000 --- a/kdejava/koala/kdejava/KURLRequesterDlg.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KURLRequesterDlg__ -#define __org_kde_koala_KURLRequesterDlg__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KURLRequesterDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_newKURLRequesterDlg__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_selectedURL (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_fileDialog (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_urlRequester (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_getURL__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KURLRequesterDlg_getURL__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KURLRequesterDlg_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KURLRequesterDlg_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KURLRequesterDlg__ */ diff --git a/kdejava/koala/kdejava/KUniqueApplication.cpp b/kdejava/koala/kdejava/KUniqueApplication.cpp deleted file mode 100644 index 3d749093..00000000 --- a/kdejava/koala/kdejava/KUniqueApplication.cpp +++ /dev/null @@ -1,344 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KUniqueApplicationJBridge : public KUniqueApplication -{ -public: - KUniqueApplicationJBridge(bool arg1,bool arg2,bool arg3) : KUniqueApplication(arg1,arg2,arg3) {}; - KUniqueApplicationJBridge(bool arg1,bool arg2) : KUniqueApplication(arg1,arg2) {}; - KUniqueApplicationJBridge(bool arg1) : KUniqueApplication(arg1) {}; - KUniqueApplicationJBridge() : KUniqueApplication() {}; - ~KUniqueApplicationJBridge() {QtSupport::qtKeyDeleted(this);} - void processOneEvent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KUniqueApplication","processOneEvent")) { - TQApplication::processOneEvent(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void polish(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"polish",(void*)arg1,"org.kde.qt.TQWidget")) { - TQApplication::polish(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void setMainWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setMainWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQApplication::setMainWidget(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KUniqueApplication",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_addCmdLineOptions(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KUniqueApplicationJBridge::addCmdLineOptions(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KUniqueApplication_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KUniqueApplication*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KUniqueApplication_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KUniqueApplication*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KUniqueApplication*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KUniqueApplicationJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) KUniqueApplicationJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KUniqueApplication_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KUniqueApplication*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KUniqueApplication_newInstance(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KUniqueApplication*) QtSupport::getQt(env, obj))->newInstance(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KUniqueApplicationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__Z(JNIEnv* env, jobject obj, jboolean allowStyles) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KUniqueApplicationJBridge((bool) allowStyles)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__ZZ(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KUniqueApplicationJBridge((bool) allowStyles, (bool) GUIenabled)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__ZZZ(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled, jboolean configUnique) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KUniqueApplicationJBridge((bool) allowStyles, (bool) GUIenabled, (bool) configUnique)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KUniqueApplication_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KUniqueApplication_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = KUniqueApplicationJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((KUniqueApplication*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_restoringSession(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KUniqueApplication*) QtSupport::getQt(env, obj))->restoringSession(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KUniqueApplication_setHandleAutoStarted(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - KUniqueApplicationJBridge::setHandleAutoStarted(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*)(KUniqueApplication*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KUniqueApplication_start(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) KUniqueApplicationJBridge::start(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KUniqueApplication.h b/kdejava/koala/kdejava/KUniqueApplication.h deleted file mode 100644 index e7cff40d..00000000 --- a/kdejava/koala/kdejava/KUniqueApplication.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KUniqueApplication__ -#define __org_kde_koala_KUniqueApplication__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KUniqueApplication_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__ZZZ (JNIEnv *env, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_newKUniqueApplication__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KUniqueApplication_newInstance (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_restoringSession (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_addCmdLineOptions (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_start (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_setHandleAutoStarted (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KUniqueApplication_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KUniqueApplication_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KUniqueApplication_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KUniqueApplication_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KUniqueApplication_objectName (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KUniqueApplication__ */ diff --git a/kdejava/koala/kdejava/KValueSelector.cpp b/kdejava/koala/kdejava/KValueSelector.cpp deleted file mode 100644 index ab1ca047..00000000 --- a/kdejava/koala/kdejava/KValueSelector.cpp +++ /dev/null @@ -1,564 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KValueSelectorJBridge : public KValueSelector -{ -public: - KValueSelectorJBridge(TQWidget* arg1,const char* arg2) : KValueSelector(arg1,arg2) {}; - KValueSelectorJBridge(TQWidget* arg1) : KValueSelector(arg1) {}; - KValueSelectorJBridge() : KValueSelector() {}; - KValueSelectorJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : KValueSelector(arg1,arg2,arg3) {}; - KValueSelectorJBridge(TQt::Orientation arg1,TQWidget* arg2) : KValueSelector(arg1,arg2) {}; - KValueSelectorJBridge(TQt::Orientation arg1) : KValueSelector(arg1) {}; - void protected_drawPalette(TQPixmap* arg1) { - KValueSelector::drawPalette(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - KValueSelector::resizeEvent(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - KValueSelector::drawContents(arg1); - return; - } - ~KValueSelectorJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KValueSelector::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - KValueSelector::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","stepChange")) { - TQRangeControl::stepChange(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void valueChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","valueChange")) { - TDESelector::valueChange(); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDESelector::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KValueSelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void drawPalette(TQPixmap* arg1) { - if (!QtSupport::eventDelegate(this,"drawPalette",(void*)arg1,"org.kde.qt.TQPixmap")) { - KValueSelector::drawPalette(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDESelector::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDESelector::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void rangeChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","rangeChange")) { - TQRangeControl::rangeChange(); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDESelector::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KValueSelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KValueSelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KValueSelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KValueSelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KValueSelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_drawContents(JNIEnv* env, jobject obj, jobject painter) -{ - ((KValueSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, painter)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_drawPalette(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((KValueSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawPalette((TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KValueSelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KValueSelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KValueSelector_hue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KValueSelector*) QtSupport::getQt(env, obj))->hue(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KValueSelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KValueSelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KValueSelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_newKValueSelector__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KValueSelectorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_newKValueSelector__I(JNIEnv* env, jobject obj, jint o) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KValueSelectorJBridge((TQt::Orientation) o)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_newKValueSelector__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint o, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KValueSelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_newKValueSelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint o, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KValueSelectorJBridge((TQt::Orientation) o, (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_koala_KValueSelector_newKValueSelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KValueSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_newKValueSelector__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 KValueSelectorJBridge((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_koala_KValueSelector_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KValueSelectorJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KValueSelector_saturation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KValueSelector*) QtSupport::getQt(env, obj))->saturation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_setHue(JNIEnv* env, jobject obj, jint h) -{ - ((KValueSelector*) QtSupport::getQt(env, obj))->setHue((int) h); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_setSaturation(JNIEnv* env, jobject obj, jint s) -{ - ((KValueSelector*) QtSupport::getQt(env, obj))->setSaturation((int) s); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KValueSelector_updateContents(JNIEnv* env, jobject obj) -{ - ((KValueSelector*) QtSupport::getQt(env, obj))->updateContents(); - return; -} - diff --git a/kdejava/koala/kdejava/KValueSelector.h b/kdejava/koala/kdejava/KValueSelector.h deleted file mode 100644 index d4af1836..00000000 --- a/kdejava/koala/kdejava/KValueSelector.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KValueSelector__ -#define __org_kde_koala_KValueSelector__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KValueSelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KValueSelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_newKValueSelector__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KValueSelector_hue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_setHue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KValueSelector_saturation (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_setSaturation (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_updateContents (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_drawPalette (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KValueSelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KValueSelector_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KValueSelector__ */ diff --git a/kdejava/koala/kdejava/KWidgetAction.cpp b/kdejava/koala/kdejava/KWidgetAction.cpp deleted file mode 100644 index d5a9b2b2..00000000 --- a/kdejava/koala/kdejava/KWidgetAction.cpp +++ /dev/null @@ -1,194 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KWidgetActionJBridge : public KWidgetAction -{ -public: - KWidgetActionJBridge(TQWidget* arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TDEActionCollection* arg6,const char* arg7) : KWidgetAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - void protected_slotToolbarDestroyed() { - KWidgetAction::slotToolbarDestroyed(); - return; - } - ~KWidgetActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - KWidgetAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWidgetAction","slotActivated")) { - TDEAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KWidgetAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWidgetAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KWidgetAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KWidgetAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KWidgetAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KWidgetAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWidgetAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWidgetAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_newKWidgetAction(JNIEnv* env, jobject obj, jobject widget, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWidgetActionJBridge((TQWidget*) QtSupport::getQt(env, widget), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((KWidgetAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_setAutoSized(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((KWidgetAction*) QtSupport::getQt(env, obj))->setAutoSized((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_slotToolbarDestroyed(JNIEnv* env, jobject obj) -{ - ((KWidgetActionJBridge*) QtSupport::getQt(env, obj))->protected_slotToolbarDestroyed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWidgetAction_unplug(JNIEnv* env, jobject obj, jobject w) -{ - ((KWidgetAction*) QtSupport::getQt(env, obj))->unplug((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWidgetAction_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWidgetAction*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KWidgetAction.h b/kdejava/koala/kdejava/KWidgetAction.h deleted file mode 100644 index d9e15b35..00000000 --- a/kdejava/koala/kdejava/KWidgetAction.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KWidgetAction__ -#define __org_kde_koala_KWidgetAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWidgetAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWidgetAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_newKWidgetAction (JNIEnv *env, jobject, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWidgetAction_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_setAutoSized (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KWidgetAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_unplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_slotToolbarDestroyed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWidgetAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWidgetAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KWidgetAction__ */ diff --git a/kdejava/koala/kdejava/KWindowInfo.cpp b/kdejava/koala/kdejava/KWindowInfo.cpp deleted file mode 100644 index ac5782a4..00000000 --- a/kdejava/koala/kdejava/KWindowInfo.cpp +++ /dev/null @@ -1,257 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KWindowInfoJBridge : public KWindowInfo -{ -public: - KWindowInfoJBridge(TQWidget* arg1,const char* arg2) : KWindowInfo(arg1,arg2) {}; - KWindowInfoJBridge(TQWidget* arg1) : KWindowInfo(arg1) {}; - void protected_display(const TQString& arg1,const TQPixmap& arg2) { - KWindowInfo::display(arg1,arg2); - return; - } - void protected_save() { - KWindowInfo::save(); - return; - } - void protected_restore() { - KWindowInfo::restore(); - return; - } - ~KWindowInfoJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void restore() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWindowInfo","restore")) { - KWindowInfo::restore(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void save() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWindowInfo","save")) { - KWindowInfo::save(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KWindowInfo",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWindowInfo_autoDelete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KWindowInfo*) QtSupport::getQt(env, obj))->autoDelete(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWindowInfo_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KWindowInfo*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_display(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - ((KWindowInfoJBridge*) QtSupport::getQt(env, obj))->protected_display((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KWindowInfo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KWindowInfo*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KWindowInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWindowInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint timeout) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) timeout); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jstring text, jobject pix, jint timeout) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->message((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (int) timeout); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWindowInfo_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWindowInfo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_newKWindowInfo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWindowInfoJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_newKWindowInfo__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 KWindowInfoJBridge((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_koala_KWindowInfo_permanent__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->permanent((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_permanent__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - ((KWindowInfo*) QtSupport::getQt(env, obj))->permanent((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_restore(JNIEnv* env, jobject obj) -{ - ((KWindowInfoJBridge*) QtSupport::getQt(env, obj))->protected_restore(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_save(JNIEnv* env, jobject obj) -{ - ((KWindowInfoJBridge*) QtSupport::getQt(env, obj))->protected_save(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_setAutoDelete(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KWindowInfo*) QtSupport::getQt(env, obj))->setAutoDelete((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject window, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - KWindowInfoJBridge::showMessage((TQWidget*) QtSupport::getQt(env, window), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jclass cls, jobject window, jstring text, jint timeout) -{ - (void) cls; -static TQString* _qstring_text = 0; - KWindowInfoJBridge::showMessage((TQWidget*) QtSupport::getQt(env, window), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) timeout); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject window, jstring text, jobject pix) -{ - (void) cls; -static TQString* _qstring_text = 0; - KWindowInfoJBridge::showMessage((TQWidget*) QtSupport::getQt(env, window), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jclass cls, jobject window, jstring text, jobject pix, jint timeout) -{ - (void) cls; -static TQString* _qstring_text = 0; - KWindowInfoJBridge::showMessage((TQWidget*) QtSupport::getQt(env, window), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix), (int) timeout); - return; -} - diff --git a/kdejava/koala/kdejava/KWindowInfo.h b/kdejava/koala/kdejava/KWindowInfo.h deleted file mode 100644 index 76d84aee..00000000 --- a/kdejava/koala/kdejava/KWindowInfo.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KWindowInfo__ -#define __org_kde_koala_KWindowInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWindowInfo_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWindowInfo_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_newKWindowInfo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_newKWindowInfo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWindowInfo_autoDelete (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_setAutoDelete (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_message__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_permanent__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_permanent__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jclass, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jclass, jobject, jstring, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_showMessage__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_display (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_restore (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWindowInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWindowInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KWindowInfo__ */ diff --git a/kdejava/koala/kdejava/KWizard.cpp b/kdejava/koala/kdejava/KWizard.cpp deleted file mode 100644 index 984a46ff..00000000 --- a/kdejava/koala/kdejava/KWizard.cpp +++ /dev/null @@ -1,479 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KWizardJBridge : public KWizard -{ -public: - KWizardJBridge(TQWidget* arg1,const char* arg2,bool arg3,TQt::WFlags arg4) : KWizard(arg1,arg2,arg3,arg4) {}; - KWizardJBridge(TQWidget* arg1,const char* arg2,bool arg3) : KWizard(arg1,arg2,arg3) {}; - KWizardJBridge(TQWidget* arg1,const char* arg2) : KWizard(arg1,arg2) {}; - KWizardJBridge(TQWidget* arg1) : KWizard(arg1) {}; - KWizardJBridge() : KWizard() {}; - ~KWizardJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void removePage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"removePage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWizard::removePage(arg1); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void next() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","next")) { - TQWizard::next(); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KWizard","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDialog::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void back() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","back")) { - TQWizard::back(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 showPage(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"showPage",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWizard::showPage(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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","reject")) { - TQDialog::reject(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void help() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","help")) { - TQWizard::help(); - } - return; - } - void layOutButtonRow(TQHBoxLayout* arg1) { - if (!QtSupport::eventDelegate(this,"layOutButtonRow",(void*)arg1,"org.kde.qt.TQHBoxLayout")) { - TQWizard::layOutButtonRow(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWizard","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWizard_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KWizard*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KWizard_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KWizard*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KWizard*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWizard_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWizard_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWizard*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_newKWizard__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWizardJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWizardJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_newKWizard__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 KWizardJBridge((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_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWizardJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWizardJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/KWizard.h b/kdejava/koala/kdejava/KWizard.h deleted file mode 100644 index 7f1ebe41..00000000 --- a/kdejava/koala/kdejava/KWizard.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KWizard__ -#define __org_kde_koala_KWizard__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWizard_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWizard_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_newKWizard__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_newKWizard__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWizard_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWizard_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KWizard__ */ diff --git a/kdejava/koala/kdejava/KWordWrap.cpp b/kdejava/koala/kdejava/KWordWrap.cpp deleted file mode 100644 index a1776ae5..00000000 --- a/kdejava/koala/kdejava/KWordWrap.cpp +++ /dev/null @@ -1,91 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWordWrap_boundingRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KWordWrap*) QtSupport::getQt(env, obj))->boundingRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWordWrap_drawFadeoutText(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint maxW, jstring t) -{ - (void) cls; -static TQString* _qstring_t = 0; - KWordWrap::drawFadeoutText((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) maxW, (const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWordWrap_drawText__Lorg_kde_qt_QPainter_2II(JNIEnv* env, jobject obj, jobject painter, jint x, jint y) -{ - ((KWordWrap*) QtSupport::getQt(env, obj))->drawText((TQPainter*) QtSupport::getQt(env, painter), (int) x, (int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWordWrap_drawText__Lorg_kde_qt_QPainter_2III(JNIEnv* env, jobject obj, jobject painter, jint x, jint y, jint flags) -{ - ((KWordWrap*) QtSupport::getQt(env, obj))->drawText((TQPainter*) QtSupport::getQt(env, painter), (int) x, (int) y, (int) flags); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWordWrap_drawTruncateText(JNIEnv* env, jclass cls, jobject p, jint x, jint y, jint maxW, jstring t) -{ - (void) cls; -static TQString* _qstring_t = 0; - KWordWrap::drawTruncateText((TQPainter*) QtSupport::getQt(env, p), (int) x, (int) y, (int) maxW, (const TQString&)*(TQString*) QtSupport::toTQString(env, t, &_qstring_t)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWordWrap_formatText__Lorg_kde_qt_QFontMetrics_2Lorg_kde_qt_QRect_2ILjava_lang_String_2(JNIEnv* env, jclass cls, jobject fm, jobject r, jint flags, jstring str) -{ - (void) cls; -static TQString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KWordWrap::formatText((TQFontMetrics&)*(TQFontMetrics*) QtSupport::getQt(env, fm), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)), "org.kde.koala.KWordWrap"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWordWrap_formatText__Lorg_kde_qt_QFontMetrics_2Lorg_kde_qt_QRect_2ILjava_lang_String_2I(JNIEnv* env, jclass cls, jobject fm, jobject r, jint flags, jstring str, jint len) -{ - (void) cls; -static TQString* _qstring_str = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)KWordWrap::formatText((TQFontMetrics&)*(TQFontMetrics*) QtSupport::getQt(env, fm), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, r), (int) flags, (const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (int) len), "org.kde.koala.KWordWrap"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWordWrap_truncatedString__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KWordWrap*) QtSupport::getQt(env, obj))->truncatedString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWordWrap_truncatedString__Z(JNIEnv* env, jobject obj, jboolean dots) -{ - TQString _qstring; - _qstring = ((KWordWrap*) QtSupport::getQt(env, obj))->truncatedString((bool) dots); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWordWrap_wrappedString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KWordWrap*) QtSupport::getQt(env, obj))->wrappedString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/KWordWrap.h b/kdejava/koala/kdejava/KWordWrap.h deleted file mode 100644 index 95d0ca00..00000000 --- a/kdejava/koala/kdejava/KWordWrap.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KWordWrap__ -#define __org_kde_koala_KWordWrap__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWordWrap_boundingRect (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWordWrap_wrappedString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWordWrap_truncatedString__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWordWrap_truncatedString__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWordWrap_drawText__Lorg_kde_qt_QPainter_2III (JNIEnv *env, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWordWrap_drawText__Lorg_kde_qt_QPainter_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWordWrap_formatText__Lorg_kde_qt_QFontMetrics_2Lorg_kde_qt_QRect_2ILjava_lang_String_2I (JNIEnv *env, jclass, jobject, jobject, jint, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWordWrap_formatText__Lorg_kde_qt_QFontMetrics_2Lorg_kde_qt_QRect_2ILjava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWordWrap_drawFadeoutText (JNIEnv *env, jclass, jobject, jint, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWordWrap_drawTruncateText (JNIEnv *env, jclass, jobject, jint, jint, jint, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KWordWrap__ */ diff --git a/kdejava/koala/kdejava/KWritePermsIcon.cpp b/kdejava/koala/kdejava/KWritePermsIcon.cpp deleted file mode 100644 index 0ed6ccb7..00000000 --- a/kdejava/koala/kdejava/KWritePermsIcon.cpp +++ /dev/null @@ -1,465 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KWritePermsIconJBridge : public KWritePermsIcon -{ -public: - KWritePermsIconJBridge(const TQString& arg1,TQWidget* arg2,const char* arg3) : KWritePermsIcon(arg1,arg2,arg3) {}; - KWritePermsIconJBridge(const TQString& arg1,TQWidget* arg2) : KWritePermsIcon(arg1,arg2) {}; - KWritePermsIconJBridge(const TQString& arg1) : KWritePermsIcon(arg1) {}; - ~KWritePermsIconJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KWritePermsIcon","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KWritePermsIcon",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KWritePermsIcon","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWritePermsIcon_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KWritePermsIcon*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KWritePermsIcon_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KWritePermsIcon_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KWritePermsIcon*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KWritePermsIcon*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KWritePermsIcon*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWritePermsIcon_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KWritePermsIcon_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KWritePermsIcon*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWritePermsIconJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring fileName, jobject parent) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWritePermsIconJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jobject parent, jstring name) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KWritePermsIconJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (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_koala_KWritePermsIcon_setFileName(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - ((KWritePermsIcon*) QtSupport::getQt(env, obj))->setFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KWritePermsIcon_status(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KWritePermsIcon*) QtSupport::getQt(env, obj))->status(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KWritePermsIcon_updateStatus(JNIEnv* env, jobject obj) -{ - ((KWritePermsIcon*) QtSupport::getQt(env, obj))->updateStatus(); - return; -} - diff --git a/kdejava/koala/kdejava/KWritePermsIcon.h b/kdejava/koala/kdejava/KWritePermsIcon.h deleted file mode 100644 index 51ccde9d..00000000 --- a/kdejava/koala/kdejava/KWritePermsIcon.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KWritePermsIcon__ -#define __org_kde_koala_KWritePermsIcon__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KWritePermsIcon_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWritePermsIcon_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_newKWritePermsIcon__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWritePermsIcon_status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_setFileName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KWritePermsIcon_fileName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_updateStatus (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KWritePermsIcon_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KWritePermsIcon_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KWritePermsIcon__ */ diff --git a/kdejava/koala/kdejava/KXMLGUI.cpp b/kdejava/koala/kdejava/KXMLGUI.cpp deleted file mode 100644 index 9fe20e34..00000000 --- a/kdejava/koala/kdejava/KXMLGUI.cpp +++ /dev/null @@ -1,7 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - diff --git a/kdejava/koala/kdejava/KXMLGUI.h b/kdejava/koala/kdejava/KXMLGUI.h deleted file mode 100644 index c040f3f4..00000000 --- a/kdejava/koala/kdejava/KXMLGUI.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KXMLGUI__ -#define __org_kde_koala_KXMLGUI__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KXMLGUI__ */ diff --git a/kdejava/koala/kdejava/KXMLGUIBuilder.cpp b/kdejava/koala/kdejava/KXMLGUIBuilder.cpp deleted file mode 100644 index da56d99f..00000000 --- a/kdejava/koala/kdejava/KXMLGUIBuilder.cpp +++ /dev/null @@ -1,137 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KXMLGUIBuilderJBridge : public KXMLGUIBuilder -{ -public: - KXMLGUIBuilderJBridge(TQWidget* arg1) : KXMLGUIBuilder(arg1) {}; - ~KXMLGUIBuilderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_builderClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->builderClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_builderInstance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->builderInstance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_containerTags(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->containerTags(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_createContainer(JNIEnv* env, jobject obj, jobject parent, jint index, jobject element, jintArray id) -{ - int* _int_id = QtSupport::toIntPtr(env, id); - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->createContainer((TQWidget*) QtSupport::getQt(env, parent), (int) index, (const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element), (int&) *_int_id), "org.kde.qt.TQWidget"); - env->SetIntArrayRegion(id, 0, 1, (jint *) _int_id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KXMLGUIBuilder_createCustomElement(JNIEnv* env, jobject obj, jobject parent, jint index, jobject element) -{ - jint xret = (jint) ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->createCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) index, (const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_customTags(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->customTags(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KXMLGUIBuilder_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KXMLGUIBuilder*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_finalizeGUI(JNIEnv* env, jobject obj, jobject client) -{ - ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->finalizeGUI((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXMLGUIBuilder_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_newKXMLGUIBuilder(JNIEnv* env, jobject obj, jobject widget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIBuilderJBridge((TQWidget*) QtSupport::getQt(env, widget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_removeContainer(JNIEnv* env, jobject obj, jobject container, jobject parent, jobject element, jint id) -{ - ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->removeContainer((TQWidget*) QtSupport::getQt(env, container), (TQWidget*) QtSupport::getQt(env, parent), (TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, element), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_removeCustomElement(JNIEnv* env, jobject obj, jobject parent, jint id) -{ - ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->removeCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_setBuilderClient(JNIEnv* env, jobject obj, jobject client) -{ - ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->setBuilderClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIBuilder_setBuilderInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->setBuilderInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIBuilder_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/KXMLGUIBuilder.h b/kdejava/koala/kdejava/KXMLGUIBuilder.h deleted file mode 100644 index 8e8a82f6..00000000 --- a/kdejava/koala/kdejava/KXMLGUIBuilder.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KXMLGUIBuilder__ -#define __org_kde_koala_KXMLGUIBuilder__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_newKXMLGUIBuilder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_builderClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_setBuilderClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_builderInstance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_setBuilderInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_widget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_containerTags (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_createContainer (JNIEnv *env, jobject, jobject, jint, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_removeContainer (JNIEnv *env, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIBuilder_customTags (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXMLGUIBuilder_createCustomElement (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_removeCustomElement (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_finalizeGUI (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIBuilder_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXMLGUIBuilder_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KXMLGUIBuilder__ */ diff --git a/kdejava/koala/kdejava/KXMLGUIClient.cpp b/kdejava/koala/kdejava/KXMLGUIClient.cpp deleted file mode 100644 index 8310ffd1..00000000 --- a/kdejava/koala/kdejava/KXMLGUIClient.cpp +++ /dev/null @@ -1,382 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KXMLGUIClientJBridge : public KXMLGUIClient -{ -public: - KXMLGUIClientJBridge() : KXMLGUIClient() {}; - KXMLGUIClientJBridge(KXMLGUIClient* arg1) : KXMLGUIClient(arg1) {}; - void protected_setInstance(TDEInstance* arg1) { - KXMLGUIClient::setInstance(arg1); - return; - } - void protected_setXMLFile(const TQString& arg1,bool arg2,bool arg3) { - KXMLGUIClient::setXMLFile(arg1,arg2,arg3); - return; - } - void protected_setXMLFile(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXMLFile(arg1,arg2); - return; - } - void protected_setXMLFile(const TQString& arg1) { - KXMLGUIClient::setXMLFile(arg1); - return; - } - void protected_setLocalXMLFile(const TQString& arg1) { - KXMLGUIClient::setLocalXMLFile(arg1); - return; - } - void protected_setXML(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXML(arg1,arg2); - return; - } - void protected_setXML(const TQString& arg1) { - KXMLGUIClient::setXML(arg1); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1,bool arg2) { - KXMLGUIClient::setDOMDocument(arg1,arg2); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1) { - KXMLGUIClient::setDOMDocument(arg1); - return; - } - void protected_conserveMemory() { - KXMLGUIClient::conserveMemory(); - return; - } - void protected_stateChanged(const TQString& arg1,KXMLGUIClient::ReverseStateChange arg2) { - KXMLGUIClient::stateChanged(arg1,arg2); - return; - } - void protected_stateChanged(const TQString& arg1) { - KXMLGUIClient::stateChanged(arg1); - return; - } - ~KXMLGUIClientJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_addStateActionDisabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->addStateActionDisabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_addStateActionEnabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->addStateActionEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_beginXMLPlug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->beginXMLPlug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_clientBuilder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->clientBuilder(), "org.kde.koala.KXMLGUIBuilderInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_conserveMemory(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_conserveMemory(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KXMLGUIClient_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_domDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_endXMLPlug(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->endXMLPlug(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_factory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->factory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KXMLGUIClient*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIClient_findMostRecentXMLFile(JNIEnv* env, jclass cls, jobjectArray files, jobject doc) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_files = 0; -static TQString* _qstring_doc = 0; - _qstring = KXMLGUIClientJBridge::findMostRecentXMLFile((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, doc, &_qstring_doc)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_doc, doc); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_insertChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->insertChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXMLGUIClient_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIClient_localXMLFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*) QtSupport::getQt(env, obj))->localXMLFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_newKXMLGUIClient__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIClientJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_newKXMLGUIClient__Lorg_kde_koala_KXMLGUIClientInterface_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIClientJBridge((KXMLGUIClient*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_parentClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*) QtSupport::getQt(env, obj))->parentClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_prepareXMLUnplug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_reloadXML(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->reloadXML(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_removeChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->removeChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setClientBuilder(JNIEnv* env, jobject obj, jobject builder) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->setClientBuilder((KXMLGUIBuilder*) QtSupport::getQt(env, builder)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setDOMDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject document) -{ - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jobject obj, jobject document, jboolean merge) -{ - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setFactory(JNIEnv* env, jobject obj, jobject factory) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->setFactory((KXMLGUIFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setLocalXMLFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setXMLFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setXMLFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring file, jboolean merge) -{ -static TQString* _qstring_file = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setXMLFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring file, jboolean merge, jboolean setXMLDoc) -{ -static TQString* _qstring_file = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge, (bool) setXMLDoc); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setXMLGUIBuildDocument(JNIEnv* env, jobject obj, jobject doc) -{ - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setXML__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring document) -{ -static TQString* _qstring_document = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_setXML__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring document, jboolean merge) -{ -static TQString* _qstring_document = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_stateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_stateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint reverse) -{ -static TQString* _qstring_newstate = 0; - ((KXMLGUIClientJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIClient_unplugActionList(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KXMLGUIClient*) QtSupport::getQt(env, obj))->unplugActionList((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIClient_xmlFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*) QtSupport::getQt(env, obj))->xmlFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIClient_xmlguiBuildDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/KXMLGUIClient.h b/kdejava/koala/kdejava/KXMLGUIClient.h deleted file mode 100644 index ece99b6b..00000000 --- a/kdejava/koala/kdejava/KXMLGUIClient.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KXMLGUIClient__ -#define __org_kde_koala_KXMLGUIClient__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_newKXMLGUIClient__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_newKXMLGUIClient__Lorg_kde_koala_KXMLGUIClientInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_action__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_domDocument (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIClient_xmlFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIClient_localXMLFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXMLGUIBuildDocument (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_xmlguiBuildDocument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setFactory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_factory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_parentClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_insertChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_removeChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setClientBuilder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIClient_clientBuilder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_reloadXML (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_unplugActionList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_addStateActionEnabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_addStateActionDisabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_beginXMLPlug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_endXMLPlug (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_prepareXMLUnplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIClient_findMostRecentXMLFile (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXMLFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXMLFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXMLFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setLocalXMLFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXML__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setXML__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_setDOMDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_conserveMemory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_stateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_stateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIClient_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXMLGUIClient_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KXMLGUIClient__ */ diff --git a/kdejava/koala/kdejava/KXMLGUIFactory.cpp b/kdejava/koala/kdejava/KXMLGUIFactory.cpp deleted file mode 100644 index 99b9d836..00000000 --- a/kdejava/koala/kdejava/KXMLGUIFactory.cpp +++ /dev/null @@ -1,307 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class KXMLGUIFactoryJBridge : public KXMLGUIFactory -{ -public: - KXMLGUIFactoryJBridge(KXMLGUIBuilder* arg1,TQObject* arg2,const char* arg3) : KXMLGUIFactory(arg1,arg2,arg3) {}; - KXMLGUIFactoryJBridge(KXMLGUIBuilder* arg1,TQObject* arg2) : KXMLGUIFactory(arg1,arg2) {}; - KXMLGUIFactoryJBridge(KXMLGUIBuilder* arg1) : KXMLGUIFactory(arg1) {}; - ~KXMLGUIFactoryJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KXMLGUIFactory",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIFactory_actionPropertiesElement(JNIEnv* env, jclass cls, jobject doc) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(KXMLGUIFactoryJBridge::actionPropertiesElement((TQDomDocument&)*(TQDomDocument*) QtSupport::getQt(env, doc))), "org.kde.qt.TQDomElement", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_addClient(JNIEnv* env, jobject obj, jobject client) -{ - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->addClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->configureShortcuts(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__Z(JNIEnv* env, jobject obj, jboolean bAllowLetterShortcuts) -{ - jint xret = (jint) ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->configureShortcuts((bool) bAllowLetterShortcuts); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__ZZ(JNIEnv* env, jobject obj, jboolean bAllowLetterShortcuts, jboolean bSaveSettings) -{ - jint xret = (jint) ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->configureShortcuts((bool) bAllowLetterShortcuts, (bool) bSaveSettings); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIFactory_container__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIClientInterface_2(JNIEnv* env, jobject obj, jstring containerName, jobject client) -{ -static TQString* _qstring_containerName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIFactory*) QtSupport::getQt(env, obj))->container((const TQString&)*(TQString*) QtSupport::toTQString(env, containerName, &_qstring_containerName), (KXMLGUIClient*) QtSupport::getQt(env, client)), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIFactory_container__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIClientInterface_2Z(JNIEnv* env, jobject obj, jstring containerName, jobject client, jboolean useTagName) -{ -static TQString* _qstring_containerName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIFactory*) QtSupport::getQt(env, obj))->container((const TQString&)*(TQString*) QtSupport::toTQString(env, containerName, &_qstring_containerName), (KXMLGUIClient*) QtSupport::getQt(env, client), (bool) useTagName), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KXMLGUIFactory_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_documentToXML(JNIEnv* env, jclass cls, jobject doc) -{ - TQString _qstring; - (void) cls; - _qstring = KXMLGUIFactoryJBridge::documentToXML((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_elementToXML(JNIEnv* env, jclass cls, jobject elem) -{ - TQString _qstring; - (void) cls; - _qstring = KXMLGUIFactoryJBridge::elementToXML((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, elem)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((KXMLGUIFactory*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (KXMLGUIFactory*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIFactory_findActionByName(JNIEnv* env, jclass cls, jobject elem, jstring sName, jboolean create) -{ - (void) cls; -static TQString* _qstring_sName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomElement(KXMLGUIFactoryJBridge::findActionByName((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, elem), (const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName), (bool) create)), "org.kde.qt.TQDomElement", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXMLGUIFactory_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXMLGUIFactory_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIFactory*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2(JNIEnv* env, jobject obj, jobject builder) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIFactoryJBridge((KXMLGUIBuilder*) QtSupport::getQt(env, builder))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject builder, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIFactoryJBridge((KXMLGUIBuilder*) QtSupport::getQt(env, builder), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject builder, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXMLGUIFactoryJBridge((KXMLGUIBuilder*) QtSupport::getQt(env, builder), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = KXMLGUIFactoryJBridge::readConfigFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring filename, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = KXMLGUIFactoryJBridge::readConfigFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring filename, jboolean never_null) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = KXMLGUIFactoryJBridge::readConfigFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) never_null); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2ZLorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jstring filename, jboolean never_null, jobject instance) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = KXMLGUIFactoryJBridge::readConfigFile((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) never_null, (const TDEInstance*) QtSupport::getQt(env, instance)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_removeClient(JNIEnv* env, jobject obj, jobject client) -{ - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->removeClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_removeDOMComments(JNIEnv* env, jclass cls, jobject node) -{ - (void) cls; - KXMLGUIFactoryJBridge::removeDOMComments((TQDomNode&)*(TQDomNode*) QtSupport::getQt(env, node)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_resetContainer__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring containerName) -{ -static TQString* _qstring_containerName = 0; - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->resetContainer((const TQString&)*(TQString*) QtSupport::toTQString(env, containerName, &_qstring_containerName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_resetContainer__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring containerName, jboolean useTagName) -{ -static TQString* _qstring_containerName = 0; - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->resetContainer((const TQString&)*(TQString*) QtSupport::toTQString(env, containerName, &_qstring_containerName), (bool) useTagName); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_reset(JNIEnv* env, jobject obj) -{ - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->reset(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXMLGUIFactory_saveConfigFile__Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject doc, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) KXMLGUIFactoryJBridge::saveConfigFile((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXMLGUIFactory_saveConfigFile__Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jobject doc, jstring filename, jobject instance) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) KXMLGUIFactoryJBridge::saveConfigFile((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (const TDEInstance*) QtSupport::getQt(env, instance)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXMLGUIFactory_unplugActionList(JNIEnv* env, jobject obj, jobject client, jstring name) -{ -static TQString* _qstring_name = 0; - ((KXMLGUIFactory*) QtSupport::getQt(env, obj))->unplugActionList((KXMLGUIClient*) QtSupport::getQt(env, client), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - diff --git a/kdejava/koala/kdejava/KXMLGUIFactory.h b/kdejava/koala/kdejava/KXMLGUIFactory.h deleted file mode 100644 index 221d8cf5..00000000 --- a/kdejava/koala/kdejava/KXMLGUIFactory.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KXMLGUIFactory__ -#define __org_kde_koala_KXMLGUIFactory__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIFactory_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_newKXMLGUIFactory__Lorg_kde_koala_KXMLGUIBuilderInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_addClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_removeClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_unplugActionList (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIFactory_container__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIClientInterface_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIFactory_container__Ljava_lang_String_2Lorg_kde_koala_KXMLGUIClientInterface_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_resetContainer__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_resetContainer__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXMLGUIFactory_configureShortcuts__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2ZLorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jboolean, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jstring, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_readConfigFile__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXMLGUIFactory_saveConfigFile__Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXMLGUIFactory_saveConfigFile__Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_documentToXML (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXMLGUIFactory_elementToXML (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_removeDOMComments (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIFactory_actionPropertiesElement (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXMLGUIFactory_findActionByName (JNIEnv *env, jclass, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXMLGUIFactory_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXMLGUIFactory_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KXMLGUIFactory__ */ diff --git a/kdejava/koala/kdejava/KXYSelector.cpp b/kdejava/koala/kdejava/KXYSelector.cpp deleted file mode 100644 index 845988f3..00000000 --- a/kdejava/koala/kdejava/KXYSelector.cpp +++ /dev/null @@ -1,568 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KXYSelectorJBridge : public KXYSelector -{ -public: - KXYSelectorJBridge(TQWidget* arg1,const char* arg2) : KXYSelector(arg1,arg2) {}; - KXYSelectorJBridge(TQWidget* arg1) : KXYSelector(arg1) {}; - KXYSelectorJBridge() : KXYSelector() {}; - void protected_drawContents(TQPainter* arg1) { - KXYSelector::drawContents(arg1); - return; - } - void protected_drawCursor(TQPainter* arg1,int arg2,int arg3) { - KXYSelector::drawCursor(arg1,arg2,arg3); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - KXYSelector::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - KXYSelector::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - KXYSelector::mouseMoveEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - KXYSelector::wheelEvent(arg1); - return; - } - void protected_valuesFromPosition(int arg1,int arg2,int& arg3,int& arg4) { - KXYSelector::valuesFromPosition(arg1,arg2,arg3,arg4); - return; - } - ~KXYSelectorJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - KXYSelector::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - KXYSelector::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.KXYSelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KXYSelector::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - KXYSelector::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KXYSelector::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.KXYSelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.KXYSelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KXYSelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KXYSelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXYSelector_contentsRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((KXYSelector*) QtSupport::getQt(env, obj))->contentsRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KXYSelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_drawCursor(JNIEnv* env, jobject obj, jobject p, jint xp, jint yp) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawCursor((TQPainter*) QtSupport::getQt(env, p), (int) xp, (int) yp); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(KXYSelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (KXYSelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KXYSelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KXYSelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXYSelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_newKXYSelector__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXYSelectorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_newKXYSelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KXYSelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_newKXYSelector__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 KXYSelectorJBridge((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_koala_KXYSelector_paintEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_setRange(JNIEnv* env, jobject obj, jint minX, jint minY, jint maxX, jint maxY) -{ - ((KXYSelector*) QtSupport::getQt(env, obj))->setRange((int) minX, (int) minY, (int) maxX, (int) maxY); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_setValues(JNIEnv* env, jobject obj, jint xPos, jint yPos) -{ - ((KXYSelector*) QtSupport::getQt(env, obj))->setValues((int) xPos, (int) yPos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_setXValue(JNIEnv* env, jobject obj, jint xPos) -{ - ((KXYSelector*) QtSupport::getQt(env, obj))->setXValue((int) xPos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_setYValue(JNIEnv* env, jobject obj, jint yPos) -{ - ((KXYSelector*) QtSupport::getQt(env, obj))->setYValue((int) yPos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_valuesFromPosition(JNIEnv* env, jobject obj, jint x, jint y, jintArray xVal, jintArray yVal) -{ - int* _int_xVal = QtSupport::toIntPtr(env, xVal); - int* _int_yVal = QtSupport::toIntPtr(env, yVal); - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_valuesFromPosition((int) x, (int) y, (int&) *_int_xVal, (int&) *_int_yVal); - env->SetIntArrayRegion(xVal, 0, 1, (jint *) _int_xVal); - env->SetIntArrayRegion(yVal, 0, 1, (jint *) _int_yVal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KXYSelector_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXYSelectorJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KXYSelector_xValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KXYSelector*) QtSupport::getQt(env, obj))->xValue(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KXYSelector_yValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KXYSelector*) QtSupport::getQt(env, obj))->yValue(); - return xret; -} - diff --git a/kdejava/koala/kdejava/KXYSelector.h b/kdejava/koala/kdejava/KXYSelector.h deleted file mode 100644 index c45134a9..00000000 --- a/kdejava/koala/kdejava/KXYSelector.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KXYSelector__ -#define __org_kde_koala_KXYSelector__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXYSelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KXYSelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_newKXYSelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_newKXYSelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_newKXYSelector__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_setValues (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_setXValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_setYValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_setRange (JNIEnv *env, jobject, jint, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXYSelector_xValue (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KXYSelector_yValue (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KXYSelector_contentsRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_drawCursor (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_valuesFromPosition (JNIEnv *env, jobject, jint, jint, jintArray, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KXYSelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KXYSelector_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KXYSelector__ */ diff --git a/kdejava/koala/kdejava/KZip.cpp b/kdejava/koala/kdejava/KZip.cpp deleted file mode 100644 index 6dce2517..00000000 --- a/kdejava/koala/kdejava/KZip.cpp +++ /dev/null @@ -1,235 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class KZipJBridge : public KZip -{ -public: - KZipJBridge(const TQString& arg1) : KZip(arg1) {}; - KZipJBridge(TQIODevice* arg1) : KZip(arg1) {}; - bool protected_openArchive(int arg1) { - return (bool) KZip::openArchive(arg1); - } - bool protected_closeArchive() { - return (bool) KZip::closeArchive(); - } - bool protected_writeDir(const TQString& arg1,const TQString& arg2,const TQString& arg3) { - return (bool) KZip::writeDir(arg1,arg2,arg3); - } - bool protected_writeData_impl(const char* arg1,uint arg2) { - return (bool) KZip::writeData_impl(arg1,arg2); - } - bool protected_prepareWriting_impl(const TQString& arg1,const TQString& arg2,const TQString& arg3,uint arg4,mode_t arg5,time_t arg6,time_t arg7,time_t arg8) { - return (bool) KZip::prepareWriting_impl(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - bool protected_writeSymLink_impl(const TQString& arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,mode_t arg5,time_t arg6,time_t arg7,time_t arg8) { - return (bool) KZip::writeSymLink_impl(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - ~KZipJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_closeArchive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_closeArchive(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KZip_compression(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KZip*) QtSupport::getQt(env, obj))->compression(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KZip_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_doneWriting(JNIEnv* env, jobject obj, jint size) -{ - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->doneWriting((uint) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KZip_extraField(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KZip*) QtSupport::getQt(env, obj))->extraField(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KZip_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KZip*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KZip*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_newKZip__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KZipJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_newKZip__Lorg_kde_qt_QIODeviceInterface_2(JNIEnv* env, jobject obj, jobject dev) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KZipJBridge((TQIODevice*) QtSupport::getQt(env, dev))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_openArchive(JNIEnv* env, jobject obj, jint mode) -{ - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_openArchive((int) mode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_prepareWriting_1impl(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_prepareWriting_impl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->prepareWriting((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_setCompression(JNIEnv* env, jobject obj, jint c) -{ - ((KZip*) QtSupport::getQt(env, obj))->setCompression((KZip::Compression) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZip_setExtraField(JNIEnv* env, jobject obj, jint ef) -{ - ((KZip*) QtSupport::getQt(env, obj))->setExtraField((KZip::ExtraField) ef); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeData_1impl(JNIEnv* env, jobject obj, jstring data, jint size) -{ -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_writeData_impl((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeData(JNIEnv* env, jobject obj, jstring data, jint size) -{ -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->writeData((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) size); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeDir(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_writeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIIILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jlong perm, jint atime, jint mtime, jint ctime, jstring data) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->writeFile((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime, (const char*) QtSupport::toCharString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring user, jstring group, jint size, jstring data) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQCString* _qstring_data = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->writeFile((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (uint) size, (const char*) QtSupport::toCharString(env, data, &_qstring_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeSymLink_1impl(JNIEnv* env, jobject obj, jstring name, jstring target, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZipJBridge*) QtSupport::getQt(env, obj))->protected_writeSymLink_impl((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZip_writeSymLink(JNIEnv* env, jobject obj, jstring name, jstring target, jstring user, jstring group, jlong perm, jint atime, jint mtime, jint ctime) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((KZip*) QtSupport::getQt(env, obj))->writeSymLink((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (mode_t) perm, (time_t) atime, (time_t) mtime, (time_t) ctime); - return xret; -} - diff --git a/kdejava/koala/kdejava/KZip.h b/kdejava/koala/kdejava/KZip.h deleted file mode 100644 index 1826ee3c..00000000 --- a/kdejava/koala/kdejava/KZip.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KZip__ -#define __org_kde_koala_KZip__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_newKZip__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_newKZip__Lorg_kde_qt_QIODeviceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KZip_fileName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_setExtraField (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KZip_extraField (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_setCompression (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KZip_compression (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeSymLink (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_prepareWriting__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIII (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeFile__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJIIILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeData (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_doneWriting (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_openArchive (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_closeArchive (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeDir (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeData_1impl (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_prepareWriting_1impl (JNIEnv *env, jobject, jstring, jstring, jstring, jint, jlong, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_writeSymLink_1impl (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jlong, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZip_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZip_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KZip__ */ diff --git a/kdejava/koala/kdejava/KZipFileEntry.cpp b/kdejava/koala/kdejava/KZipFileEntry.cpp deleted file mode 100644 index 13e98dc8..00000000 --- a/kdejava/koala/kdejava/KZipFileEntry.cpp +++ /dev/null @@ -1,127 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class KZipFileEntryJBridge : public KZipFileEntry -{ -public: - KZipFileEntryJBridge(KZip* arg1,const TQString& arg2,int arg3,int arg4,const TQString& arg5,const TQString& arg6,const TQString& arg7,const TQString& arg8,TQ_LONG arg9,TQ_LONG arg10,int arg11,TQ_LONG arg12) : KZipFileEntry(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) {}; - ~KZipFileEntryJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KZipFileEntry_compressedSize(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KZipFileEntry*) QtSupport::getQt(env, obj))->compressedSize(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KZipFileEntry_crc32(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KZipFileEntry*) QtSupport::getQt(env, obj))->crc32(); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_KZipFileEntry_data(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((KZipFileEntry*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_KZipFileEntry_device(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KZipFileEntry*) QtSupport::getQt(env, obj))->device(), "org.kde.qt.TQIODeviceInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_KZipFileEntry_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_KZipFileEntry_encoding(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KZipFileEntry*) QtSupport::getQt(env, obj))->encoding(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (KZipFileEntry*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_KZipFileEntry_headerStart(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((KZipFileEntry*) QtSupport::getQt(env, obj))->headerStart(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_KZipFileEntry_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_newKZipFileEntry(JNIEnv* env, jobject obj, jobject zip, jstring name, jint access, jint date, jstring user, jstring group, jstring symlink, jstring path, jlong start, jlong uncompressedSize, jint encoding, jlong compressedSize) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_group = 0; -static TQString* _qstring_symlink = 0; -static TQString* _qstring_path = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new KZipFileEntryJBridge((KZip*) QtSupport::getQt(env, zip), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) access, (int) date, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (const TQString&)*(TQString*) QtSupport::toTQString(env, symlink, &_qstring_symlink), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (TQ_LONG) start, (TQ_LONG) uncompressedSize, (int) encoding, (TQ_LONG) compressedSize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_KZipFileEntry_path(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KZipFileEntry*) QtSupport::getQt(env, obj))->path(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_setCRC32(JNIEnv* env, jobject obj, jlong crc32) -{ - ((KZipFileEntry*) QtSupport::getQt(env, obj))->setCRC32((unsigned long) crc32); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_setCompressedSize(JNIEnv* env, jobject obj, jlong compressedSize) -{ - ((KZipFileEntry*) QtSupport::getQt(env, obj))->setCompressedSize((TQ_LONG) compressedSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_KZipFileEntry_setHeaderStart(JNIEnv* env, jobject obj, jlong headerstart) -{ - ((KZipFileEntry*) QtSupport::getQt(env, obj))->setHeaderStart((TQ_LONG) headerstart); - return; -} - diff --git a/kdejava/koala/kdejava/KZipFileEntry.h b/kdejava/koala/kdejava/KZipFileEntry.h deleted file mode 100644 index 84a8b5d5..00000000 --- a/kdejava/koala/kdejava/KZipFileEntry.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_KZipFileEntry__ -#define __org_kde_koala_KZipFileEntry__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_newKZipFileEntry (JNIEnv *env, jobject, jobject, jstring, jint, jint, jstring, jstring, jstring, jstring, jlong, jlong, jint, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_KZipFileEntry_encoding (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KZipFileEntry_compressedSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_setCompressedSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_setHeaderStart (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KZipFileEntry_headerStart (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_KZipFileEntry_crc32 (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_setCRC32 (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KZipFileEntry_path (JNIEnv *env, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_KZipFileEntry_data (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KZipFileEntry_device (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_KZipFileEntry_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_KZipFileEntry_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_KZipFileEntry__ */ diff --git a/kdejava/koala/kdejava/LinkStyle.cpp b/kdejava/koala/kdejava/LinkStyle.cpp deleted file mode 100644 index dfd12116..00000000 --- a/kdejava/koala/kdejava/LinkStyle.cpp +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class LinkStyleJBridge : public DOM::LinkStyle -{ -public: - LinkStyleJBridge() : DOM::LinkStyle() {}; - LinkStyleJBridge(const DOM::LinkStyle& arg1) : DOM::LinkStyle(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_LinkStyle_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::LinkStyle*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_LinkStyle_newLinkStyle__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new LinkStyleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_LinkStyle_newLinkStyle__Lorg_kde_koala_LinkStyle_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new LinkStyleJBridge((const DOM::LinkStyle&)*(const DOM::LinkStyle*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_LinkStyle_sheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::StyleSheet(((DOM::LinkStyle*) QtSupport::getQt(env, obj))->sheet()), "org.kde.koala.StyleSheet", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/LinkStyle.h b/kdejava/koala/kdejava/LinkStyle.h deleted file mode 100644 index c9d5190e..00000000 --- a/kdejava/koala/kdejava/LinkStyle.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_LinkStyle__ -#define __org_kde_koala_LinkStyle__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_LinkStyle_newLinkStyle__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_LinkStyle_newLinkStyle__Lorg_kde_koala_LinkStyle_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_LinkStyle_sheet (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_LinkStyle_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_LinkStyle__ */ diff --git a/kdejava/koala/kdejava/ListJob.cpp b/kdejava/koala/kdejava/ListJob.cpp deleted file mode 100644 index 7a57245d..00000000 --- a/kdejava/koala/kdejava/ListJob.cpp +++ /dev/null @@ -1,191 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class ListJobJBridge : public TDEIO::ListJob -{ -public: - ListJobJBridge(const KURL& arg1,bool arg2,bool arg3,TQString arg4,bool arg5) : TDEIO::ListJob(arg1,arg2,arg3,arg4,arg5) {}; - ListJobJBridge(const KURL& arg1,bool arg2,bool arg3,TQString arg4) : TDEIO::ListJob(arg1,arg2,arg3,arg4) {}; - ListJobJBridge(const KURL& arg1,bool arg2,bool arg3) : TDEIO::ListJob(arg1,arg2,arg3) {}; - ListJobJBridge(const KURL& arg1,bool arg2) : TDEIO::ListJob(arg1,arg2) {}; - void protected_slotFinished() { - TDEIO::ListJob::slotFinished(); - return; - } - void protected_slotResult(TDEIO::Job* arg1) { - TDEIO::ListJob::slotResult(arg1); - return; - } - void protected_slotRedirection(const KURL& arg1) { - TDEIO::ListJob::slotRedirection(arg1); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ListJob","slotFinished")) { - ListJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - ListJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - ListJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.ListJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ListJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ListJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::ListJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ListJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::ListJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo, jboolean recursive) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) recursive)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo, jboolean recursive, jstring prefix) -{ -static TQString* _qstring_prefix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) recursive, (TQString)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo, jboolean recursive, jstring prefix, jboolean includeHidden) -{ -static TQString* _qstring_prefix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ListJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) recursive, (TQString)*(TQString*) QtSupport::toTQString(env, prefix, &_qstring_prefix), (bool) includeHidden)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ListJob_redirectionURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KURL *) &((TDEIO::ListJob*) QtSupport::getQt(env, obj))->redirectionURL(), "org.kde.koala.KURL"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_setUnrestricted(JNIEnv* env, jobject obj, jboolean unrestricted) -{ - ((TDEIO::ListJob*) QtSupport::getQt(env, obj))->setUnrestricted((bool) unrestricted); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((ListJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_slotRedirection(JNIEnv* env, jobject obj, jobject url) -{ - ((ListJobJBridge*) QtSupport::getQt(env, obj))->protected_slotRedirection((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((ListJobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ListJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::ListJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - diff --git a/kdejava/koala/kdejava/ListJob.h b/kdejava/koala/kdejava/ListJob.h deleted file mode 100644 index cef3514b..00000000 --- a/kdejava/koala/kdejava/ListJob.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_ListJob__ -#define __org_kde_koala_ListJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ListJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ListJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jboolean, jboolean, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jboolean, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_newListJob__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ListJob_redirectionURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_setUnrestricted (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_slotFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_slotResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ListJob_slotRedirection (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_ListJob__ */ diff --git a/kdejava/koala/kdejava/LiveConnectExtension.cpp b/kdejava/koala/kdejava/LiveConnectExtension.cpp deleted file mode 100644 index f1c327e7..00000000 --- a/kdejava/koala/kdejava/LiveConnectExtension.cpp +++ /dev/null @@ -1,113 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class LiveConnectExtensionJBridge : public KParts::LiveConnectExtension -{ -public: - LiveConnectExtensionJBridge(KParts::ReadOnlyPart* arg1,const char* arg2) : KParts::LiveConnectExtension(arg1,arg2) {}; - LiveConnectExtensionJBridge(KParts::ReadOnlyPart* arg1) : KParts::LiveConnectExtension(arg1) {}; - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.LiveConnectExtension",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_LiveConnectExtension_childObject(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)LiveConnectExtensionJBridge::childObject((TQObject*) QtSupport::getQt(env, arg1)), "org.kde.koala.LiveConnectExtension"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_LiveConnectExtension_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::LiveConnectExtension*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_LiveConnectExtension_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::LiveConnectExtension*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_LiveConnectExtension_newLiveConnectExtension__Lorg_kde_koala_ReadOnlyPart_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new LiveConnectExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_LiveConnectExtension_newLiveConnectExtension__Lorg_kde_koala_ReadOnlyPart_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 LiveConnectExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_LiveConnectExtension_put(JNIEnv* env, jobject obj, jlong objid, jstring field, jstring value) -{ -static TQString* _qstring_field = 0; -static TQString* _qstring_value = 0; - jboolean xret = (jboolean) ((KParts::LiveConnectExtension*) QtSupport::getQt(env, obj))->put((const unsigned long) objid, (const TQString&)*(TQString*) QtSupport::toTQString(env, field, &_qstring_field), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_LiveConnectExtension_unregister(JNIEnv* env, jobject obj, jlong objid) -{ - ((KParts::LiveConnectExtension*) QtSupport::getQt(env, obj))->unregister((const unsigned long) objid); - return; -} - diff --git a/kdejava/koala/kdejava/LiveConnectExtension.h b/kdejava/koala/kdejava/LiveConnectExtension.h deleted file mode 100644 index f68f4fbf..00000000 --- a/kdejava/koala/kdejava/LiveConnectExtension.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_LiveConnectExtension__ -#define __org_kde_koala_LiveConnectExtension__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_LiveConnectExtension_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_LiveConnectExtension_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_LiveConnectExtension_newLiveConnectExtension__Lorg_kde_koala_ReadOnlyPart_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_LiveConnectExtension_newLiveConnectExtension__Lorg_kde_koala_ReadOnlyPart_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_LiveConnectExtension_put (JNIEnv *env, jobject, jlong, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_LiveConnectExtension_unregister (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_LiveConnectExtension_childObject (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_LiveConnectExtension__ */ diff --git a/kdejava/koala/kdejava/MainWindow.cpp b/kdejava/koala/kdejava/MainWindow.cpp deleted file mode 100644 index da122d92..00000000 --- a/kdejava/koala/kdejava/MainWindow.cpp +++ /dev/null @@ -1,646 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class MainWindowJBridge : public KParts::MainWindow -{ -public: - MainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : KParts::MainWindow(arg1,arg2,arg3) {}; - MainWindowJBridge(TQWidget* arg1,const char* arg2) : KParts::MainWindow(arg1,arg2) {}; - MainWindowJBridge(TQWidget* arg1) : KParts::MainWindow(arg1) {}; - MainWindowJBridge(const char* arg1,TQt::WFlags arg2) : KParts::MainWindow(arg1,arg2) {}; - MainWindowJBridge(const char* arg1) : KParts::MainWindow(arg1) {}; - MainWindowJBridge() : KParts::MainWindow() {}; - MainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : KParts::MainWindow(arg1,arg2,arg3,arg4) {}; - MainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3) : KParts::MainWindow(arg1,arg2,arg3) {}; - MainWindowJBridge(int arg1,TQWidget* arg2) : KParts::MainWindow(arg1,arg2) {}; - void protected_createShellGUI(bool arg1) { - KParts::MainWindow::createShellGUI(arg1); - return; - } - void protected_createShellGUI() { - KParts::MainWindow::createShellGUI(); - return; - } - void protected_createGUI(KParts::Part* arg1) { - KParts::MainWindow::createGUI(arg1); - return; - } - void protected_slotSetStatusBarText(const TQString& arg1) { - KParts::MainWindow::slotSetStatusBarText(arg1); - return; - } - void protected_saveNewToolbarConfig() { - KParts::MainWindow::saveNewToolbarConfig(); - return; - } - void protected_setInstance(TDEInstance* arg1) { - KParts::PartBase::setInstance(arg1); - return; - } - void protected_setInstance(TDEInstance* arg1,bool arg2) { - KParts::PartBase::setInstance(arg1,arg2); - return; - } - void protected_loadPlugins(TQObject* arg1,KXMLGUIClient* arg2,TDEInstance* arg3) { - KParts::PartBase::loadPlugins(arg1,arg2,arg3); - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEMainWindow::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - bool queryClose() { - return QtSupport::booleanDelegate(this,"queryClose"); - } - void setCentralWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCentralWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQMainWindow::setCentralWidget(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","show")) { - TDEMainWindow::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","hide")) { - TDEMainWindow::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEMainWindow::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void removeDockWindow(TQDockWindow* arg1) { - if (!QtSupport::eventDelegate(this,"removeDockWindow",(void*)arg1,"org.kde.qt.TQDockWindow")) { - TQMainWindow::removeDockWindow(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void showAboutApplication() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","showAboutApplication")) { - TDEMainWindow::showAboutApplication(); - } - return; - } - void readGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readGlobalProperties(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - bool queryExit() { - return QtSupport::booleanDelegate(this,"queryExit"); - } - void saveProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveProperties(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.koala.MainWindow","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TDEMainWindow::closeEvent(arg1); - } - return; - } - void readProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readProperties(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void setUpLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","setUpLayout")) { - TQMainWindow::setUpLayout(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TDEMainWindow::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")) { - TDEMainWindow::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void whatsThis() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","whatsThis")) { - TQMainWindow::whatsThis(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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; - } - bool isCustomizable() { - return QtSupport::booleanDelegate(this,"isCustomizable"); - } - void customize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","customize")) { - TQMainWindow::customize(); - } - return; - } - void saveGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveGlobalProperties(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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MainWindow","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MainWindow_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::MainWindow*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_createGUI(JNIEnv* env, jobject obj, jobject part) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createGUI((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_createShellGUI__(JNIEnv* env, jobject obj) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createShellGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_createShellGUI__Z(JNIEnv* env, jobject obj, jboolean create) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_createShellGUI((bool) create); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_loadPlugins(JNIEnv* env, jobject obj, jobject parent, jobject parentGUIClient, jobject instance) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MainWindow_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::MainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint cflags, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint cflags, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge((int) cflags, (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_koala_MainWindow_newMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint cflags, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge((const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge((const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_newMainWindow__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 MainWindowJBridge((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_koala_MainWindow_newMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MainWindow_partObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartBase*)(KParts::MainWindow*) QtSupport::getQt(env, obj))->partObject(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_saveNewToolbarConfig(JNIEnv* env, jobject obj) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveNewToolbarConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z(JNIEnv* env, jobject obj, jobject instance, jboolean loadPlugins) -{ - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance), (bool) loadPlugins); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_setPartObject(JNIEnv* env, jobject obj, jobject object) -{ - ((KParts::PartBase*)(KParts::MainWindow*) QtSupport::getQt(env, obj))->setPartObject((TQObject*) QtSupport::getQt(env, object)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MainWindow_slotSetStatusBarText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((MainWindowJBridge*) QtSupport::getQt(env, obj))->protected_slotSetStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/MainWindow.h b/kdejava/koala/kdejava/MainWindow.h deleted file mode 100644 index 81c9ac81..00000000 --- a/kdejava/koala/kdejava/MainWindow.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MainWindow__ -#define __org_kde_koala_MainWindow__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MainWindow_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MainWindow_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_newMainWindow__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_createShellGUI__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_createShellGUI__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_createGUI (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_slotSetStatusBarText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_saveNewToolbarConfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_setPartObject (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MainWindow_partObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MainWindow_loadPlugins (JNIEnv *env, jobject, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MainWindow__ */ diff --git a/kdejava/koala/kdejava/Makefile.am b/kdejava/koala/kdejava/Makefile.am deleted file mode 100644 index 1deb3654..00000000 --- a/kdejava/koala/kdejava/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ -####### tdevelop will overwrite this part!!! (begin)########## -jniloc_LTLIBRARIES = libkdejava.la -jnilocdir = $(libdir)/jni - - -## INCLUDES were found outside tdevelop specific part - - -AM_LDFLAGS = - -libkdejava_la_SOURCES = StoredTransferJob.cpp BrowserRun.cpp BrowserHostExtension.cpp WindowArgs.cpp URLArgs.cpp PartManager.cpp KNamedCommand.cpp KSSLCertBox.cpp TextEvent.cpp StatusBarExtension.cpp SkipDlg.cpp SessionData.cpp RangeException.cpp Plugin.cpp PasswordDialog.cpp PartBase.cpp Notation.cpp MutationEvent.cpp MultiGetJob.cpp LiveConnectExtension.cpp LinkStyle.cpp KZipFileEntry.cpp KZip.cpp KXMLGUI.cpp KWindowInfo.cpp KWidgetAction.cpp KURLBarItemDialog.cpp KTempDir.cpp KSyntaxHighlighter.cpp KSSLSigners.cpp KSSLPKCS7.cpp KSSLKeyGen.cpp KSSLCertificateFactory.cpp KSSLCertificateCache.cpp KSSLCertDlg.cpp KSpellingHighlighter.cpp KSMIMECrypto.cpp KSimpleFileFilter.cpp KShell.cpp KServiceSeparator.cpp KRegExpEditorInterface.cpp KPluginSelector.cpp KPassivePopup.cpp KPanelAppMenu.cpp KOCRDialog.cpp KMountPoint.cpp KMimeTypeValidator.cpp KMimeTypeResolverHelper.cpp KMimeTypeResolverBase.cpp KMD5.cpp KKeyNative.cpp KIDNA.cpp TDEFontRequester.cpp KFileShare.cpp KFilePlugin.cpp KDockArea.cpp KDiskFreeSp.cpp KDCOPServiceStarter.cpp KCustomMenuEditor.cpp KCPUInfo.cpp TDEConfigGroup.cpp KCMultiDialog.cpp TDECModuleLoader.cpp TDECModuleInfo.cpp KCalendarSystemFactory.cpp KAr.cpp KActiveLabel.cpp TDEActionShortcutList.cpp TDEAccelShortcutList.cpp HTMLFormCollection.cpp HistoryProvider.cpp Factory.cpp EventException.cpp Entity.cpp DOMImplementation.cpp DOMException.cpp CSSValueList.cpp CSSUnknownRule.cpp CSSStyleRule.cpp CSSPageRule.cpp CSSMediaRule.cpp CSSImportRule.cpp CSSFontFaceRule.cpp CSSCharsetRule.cpp KInputDialog.cpp KAsyncIO.cpp Observer.cpp RenameDlg.cpp KDirLister.cpp TDEBufferedIO.cpp AuthInfo.cpp SlaveInterface.cpp SlaveBase.cpp KShellProcess.cpp KMimeMagicResult.cpp KMimeMagic.cpp KFloatValidator.cpp KEdit.cpp DefaultProgress.cpp KURLComboRequester.cpp TDEToggleToolBarAction.cpp KTimeWidget.cpp KTextEdit.cpp KTabWidget.cpp KTabBar.cpp KStringListValidator.cpp TDEPasteTextAction.cpp KMdiToolViewAccessor.cpp KMdiWin32IconButton.cpp KMdiViewCloseEvent.cpp KMdiTaskBar.cpp KMdiTaskBarButton.cpp KMdiMainFrm.cpp KMdi.cpp KMdiChildView.cpp KMdiChildFrmResizeEndEvent.cpp KMdiChildFrmResizeBeginEvent.cpp KMdiChildFrmMoveEvent.cpp KMdiChildFrmDragEndEvent.cpp KMdiChildFrmDragBeginEvent.cpp KMdiChildFrm.cpp KMdiChildFrmCaption.cpp KMdiChildArea.cpp KKeyButton.cpp KDoubleValidator.cpp KCatalogue.cpp UIEvent.cpp PreviewJob.cpp Node.cpp MetaInfoJob.cpp KURLBarListBox.cpp KURLBarItem.cpp KURLBar.cpp TDEToggleFullScreenAction.cpp KSSLX509V3.cpp KSSLSession.cpp KSSLCertChain.cpp TDEShortcutList.cpp TDESharedConfig.cpp KMimeSourceFactory.cpp KFileMetaInfoGroup.cpp KCalendarSystem.cpp EventListener.cpp DomShared.cpp Document.cpp DavJob.cpp CustomNodeFilter.cpp CSSRuleList.cpp CSSRule.cpp AbstractView.cpp KReplaceDialog.cpp KReplace.cpp KProgressDialog.cpp KPrintAction.cpp KMultiTabBarTab.cpp KMultiTabBar.cpp KMultiTabBarButton.cpp KFindDialog.cpp KFind.cpp KDateTimeWidget.cpp KArrowButton.cpp TDERecentFilesAction.cpp TDEListAction.cpp KSSLCertDlgRet.cpp KDE.cpp KValueSelector.cpp KPaletteTable.cpp KHSSelector.cpp KColorPatch.cpp KColorDialog.cpp KColorCells.cpp KColor.cpp KURLPixmapProvider.cpp KDockWidget.cpp KDockTabGroup.cpp KDockManager.cpp KDockMainWindow.cpp KKeySequence.cpp ProgressBase.cpp StatusbarProgress.cpp Scheduler.cpp TDEIO.cpp KKey.cpp TDEShortcut.cpp KWordWrap.cpp KMultipleDrag.cpp KFileTreeViewToolTip.cpp KFileTreeViewItem.cpp KFileTreeView.cpp KFileTreeBranch.cpp KFileFilterCombo.cpp KEMailSettings.cpp KDirSelectDialog.cpp KDateWidget.cpp KDataToolInfo.cpp KDataToolAction.cpp KDataTool.cpp KStdGuiItem.cpp TDEIconViewItem.cpp KGuiItem.cpp KFileMetaInfoItem.cpp KFileMetaInfo.cpp KDialogBase.cpp KArchiveFile.cpp KArchiveEntry.cpp KSSLPKCS12.cpp KArchiveDirectory.cpp KTar.cpp KArchive.cpp TDEListViewItem.cpp KTipDialog.cpp KTipDatabase.cpp KDEJavaSlot.cpp TDEToolBarPopupAction.cpp KSqueezedTextLabel.cpp KScanDialog.cpp KPushButton.cpp KPreviewWidgetBase.cpp KPixmapSplitter.cpp KPanelExtension.cpp KMacroCommand.cpp TDEFontCombo.cpp KFilterDev.cpp KFilterBase.cpp KEditListBox.cpp KDialogQueue.cpp TDECompletionBox.cpp KCommandHistory.cpp KCommand.cpp KCodecs.cpp TDEAboutTranslator.cpp TDEAboutContributor.cpp Slave.cpp Connection.cpp TransferJob.cpp StatJob.cpp SimpleJob.cpp MimetypeJob.cpp ListJob.cpp KDirSize.cpp KDirNotify.cpp Job.cpp FileCopyJob.cpp DeleteJob.cpp CopyJob.cpp CharacterData.cpp TreeWalker.cpp Text.cpp Range.cpp ProcessingInstruction.cpp NodeIterator.cpp NodeFilter.cpp EntityReference.cpp Comment.cpp CDATASection.cpp MainWindow.cpp DockMainWindow.cpp Attr.cpp HTMLUListElement.cpp HTMLTitleElement.cpp HTMLTextAreaElement.cpp HTMLTableSectionElement.cpp HTMLTableRowElement.cpp HTMLTableElement.cpp HTMLTableColElement.cpp HTMLTableCellElement.cpp HTMLTableCaptionElement.cpp HTMLStyleElement.cpp HTMLSelectElement.cpp HTMLScriptElement.cpp HTMLQuoteElement.cpp HTMLPreElement.cpp HTMLParamElement.cpp HTMLParagraphElement.cpp HTMLOptionElement.cpp HTMLOptGroupElement.cpp HTMLObjectElement.cpp HTMLOListElement.cpp HTMLModElement.cpp HTMLMetaElement.cpp HTMLMenuElement.cpp HTMLMapElement.cpp HTMLLinkElement.cpp HTMLLegendElement.cpp HTMLLabelElement.cpp HTMLLIElement.cpp HTMLIsIndexElement.cpp HTMLInputElement.cpp HTMLImageElement.cpp HTMLIFrameElement.cpp HTMLHtmlElement.cpp HTMLHeadingElement.cpp HTMLHeadElement.cpp HTMLHRElement.cpp HTMLFrameSetElement.cpp HTMLFrameElement.cpp HTMLFormElement.cpp HTMLFontElement.cpp HTMLFieldSetElement.cpp HTMLElement.cpp HTMLDivElement.cpp HTMLDirectoryElement.cpp HTMLDListElement.cpp HTMLCollection.cpp HTMLButtonElement.cpp HTMLBodyElement.cpp HTMLBlockquoteElement.cpp HTMLBaseFontElement.cpp HTMLBaseElement.cpp HTMLBRElement.cpp HTMLAreaElement.cpp HTMLAppletElement.cpp HTMLAnchorElement.cpp Element.cpp Rect.cpp RGBColor.cpp Counter.cpp CSSValue.cpp CSSStyleDeclaration.cpp CSSPrimitiveValue.cpp CSSException.cpp StyleSheet.cpp CSSStyleSheet.cpp NamedNodeMap.cpp HTMLDocument.cpp DocumentType.cpp DocumentStyle.cpp DocumentFragment.cpp ReadWritePart.cpp PartSelectEvent.cpp PartActivateEvent.cpp OpenURLEvent.cpp MouseEvent.cpp GUIActivateEvent.cpp Event.cpp KDESupport.cpp NetAccess.cpp ReadOnlyPart.cpp Part.cpp KXYSelector.cpp KXMLGUIFactory.cpp KXMLGUIClient.cpp KXMLGUIBuilder.cpp KWritePermsIcon.cpp KWizard.cpp KUniqueApplication.cpp KURLRequesterDlg.cpp KURLRequester.cpp KURLLabel.cpp KURLDrag.cpp KURLCompletion.cpp KURLComboBox.cpp KURL.cpp KURIFilterPlugin.cpp KURIFilterData.cpp KURIFilter.cpp TDETrader.cpp TDEToolBarSeparator.cpp TDEToolBarRadioGroup.cpp TDEToolBarButton.cpp TDEToolBar.cpp TDEToggleAction.cpp KTextBrowser.cpp KTempFile.cpp KTabCtl.cpp KSystemTray.cpp KSycocaEntry.cpp KSycoca.cpp KStringHandler.cpp KStdAction.cpp TDEStdAccel.cpp KStatusBarLabel.cpp KStatusBar.cpp KStaticDeleterBase.cpp TDEStandardDirs.cpp KSpellDlg.cpp KSpellConfig.cpp KSpell.cpp KSimpleConfig.cpp KShred.cpp KShellCompletion.cpp TDEShared.cpp KSessionManaged.cpp KServiceTypeProfile.cpp KServiceType.cpp KServiceOffer.cpp KServiceGroup.cpp KService.cpp KSeparator.cpp TDESelector.cpp TDESelectAction.cpp KSaveFile.cpp KSSLX509Map.cpp KSSLSettings.cpp KSSLPeerInfo.cpp KSSLInfoDlg.cpp KSSLConnectionInfo.cpp KSSLCertificateHome.cpp KSSLCertificate.cpp KSSL.cpp KRun.cpp KRuler.cpp KRootProp.cpp KRootPixmap.cpp KRootPermsIcon.cpp KRestrictedLine.cpp TDERecentDocument.cpp KRandomSequence.cpp TDERadioAction.cpp KRFCDate.cpp KProtocolManager.cpp KProtocolInfo.cpp KProgress.cpp TDEProcessRunner.cpp TDEProcessController.cpp TDEProcess.cpp KProcIO.cpp TDEPopupTitle.cpp TDEPopupMenu.cpp TDEPopupFrame.cpp KPixmapProvider.cpp KPixmapIO.cpp KPixmapEffect.cpp KPixmap.cpp KPasswordEdit.cpp KPasswordDialog.cpp KPanelMenu.cpp KPanelApplet.cpp KPalette.cpp KOpenWithDlg.cpp KNumInput.cpp KNotifyClient.cpp KMimeType.cpp KMessageBox.cpp KMenuBar.cpp TDEMainWindow.cpp TDELocale.cpp TDEListView.cpp TDEListBox.cpp KLineEdit.cpp KLibLoader.cpp KLibFactory.cpp KLed.cpp KKeyDialog.cpp KKeyChooser.cpp KJanusWidget.cpp KIntValidator.cpp KIntSpinBox.cpp KIntNumInput.cpp TDEInstance.cpp KImageIO.cpp KImageEffect.cpp TDEIconView.cpp TDEIconLoader.cpp TDEIconEffect.cpp TDEIconDialog.cpp TDEIconCanvas.cpp TDEIconButton.cpp KIPC.cpp KHistoryCombo.cpp KHelpMenu.cpp TDEHTMLView.cpp TDEHTMLSettings.cpp TDEHTMLPart.cpp KGradientSelector.cpp TDEGlobal.cpp TDEGlobalSettings.cpp TDEGlobalAccel.cpp TDEFontSizeAction.cpp TDEFontDialog.cpp TDEFontChooser.cpp TDEFontAction.cpp KFolderType.cpp KFileViewSignaler.cpp KFileView.cpp KFilePreview.cpp KFileListViewItem.cpp KFileItem.cpp KFileIconViewItem.cpp KFileIconView.cpp KFileFilter.cpp KFileDialog.cpp KFileDetailView.cpp KFile.cpp KExecMimeType.cpp KEntryKey.cpp KEntry.cpp KEditToolbarWidget.cpp KEditToolbar.cpp KEdReplace.cpp KEdGotoLine.cpp KEdFind.cpp KDualColorButton.cpp KDoubleNumInput.cpp KDockWidgetHeaderDrag.cpp KDockWidgetHeader.cpp KDockWidgetAbstractHeaderDrag.cpp KDockWidgetAbstractHeader.cpp KDirWatch.cpp KDirOperator.cpp KDialog.cpp KDesktopFile.cpp KDateValidator.cpp KDateTable.cpp KDatePicker.cpp KDEDesktopMimeType.cpp KDCOPPropertyProxy.cpp KDCOPActionProxy.cpp KCursor.cpp KContextMenuManager.cpp TDEConfigINIBackEnd.cpp TDEConfigGroupSaver.cpp TDEConfigBase.cpp TDEConfigBackEnd.cpp TDEConfig.cpp TDECompletionBase.cpp TDECompletion.cpp KComboBox.cpp KCombiView.cpp KColorDrag.cpp KColorCombo.cpp KColorButton.cpp TDECmdLineArgs.cpp KCharsets.cpp KCharSelectTable.cpp KCharSelect.cpp TDECModule.cpp KButtonBox.cpp KBugReport.cpp KAuthIcon.cpp KAudioPlayer.cpp TDEApplication.cpp KAnimWidget.cpp TDEActionSeparator.cpp TDEActionMenu.cpp TDEActionCollection.cpp TDEAction.cpp TDEAccel.cpp TDEAboutWidget.cpp TDEAboutPerson.cpp TDEAboutKDE.cpp TDEAboutDialog.cpp TDEAboutData.cpp TDEAboutContainer.cpp TDEAboutApplication.cpp DCOPObjectProxy.cpp DCOPObject.cpp DCOPClient.cpp BrowserExtension.cpp - - -EXTRA_DIST = BrowserExtension.h DCOPClient.h DCOPObject.h DCOPObjectInterface.h DCOPObjectProxy.h TDEAboutApplication.h TDEAboutContainer.h TDEAboutData.h TDEAboutDialog.h TDEAboutKDE.h TDEAboutPerson.h TDEAboutWidget.h TDEAccel.h TDEAction.h TDEActionCollection.h TDEActionMenu.h TDEActionSeparator.h KAnimWidget.h TDEApplication.h KAudioPlayer.h KAuthIcon.h KBugReport.h KButtonBox.h TDECModule.h KCharSelect.h KCharSelectTable.h KCharsets.h TDECmdLineArgs.h KColorButton.h KColorCombo.h KColorDrag.h KCombiView.h KComboBox.h TDECompletion.h TDECompletionBase.h TDECompletionBaseInterface.h TDEConfig.h TDEConfigBackEnd.h TDEConfigBase.h TDEConfigGroupSaver.h TDEConfigINIBackEnd.h KContextMenuManager.h KCursor.h KDCOPActionProxy.h KDCOPPropertyProxy.h KDEDesktopMimeType.h KDateInternalMonthPicker.h KDateInternalYearSelector.h KDatePicker.h KDateTable.h KDateValidator.h KDesktopFile.h KDialog.h KDialogBase.h KDirOperator.h KDirWatch.h KDockWidgetAbstractHeader.h KDockWidgetAbstractHeaderDrag.h KDockWidgetHeader.h KDockWidgetHeaderDrag.h KDoubleNumInput.h KDualColorButton.h KEdFind.h KEdGotoLine.h KEdReplace.h KEditToolbar.h KEditToolbarWidget.h KEntry.h KEntryKey.h KExecMimeType.h KFile.h KFileDetailView.h KFileDialog.h KFileFilter.h KFileIconView.h KFileIconViewItem.h KFileItem.h KFileListViewItem.h KFilePreview.h KFileView.h KFileViewInterface.h KFileViewSignaler.h KFolderType.h TDEFontAction.h TDEFontChooser.h TDEFontDialog.h TDEFontSizeAction.h TDEGlobal.h TDEGlobalAccel.h TDEGlobalSettings.h KGradientSelector.h TDEHTMLPart.h TDEHTMLSettings.h TDEHTMLView.h KHelpMenu.h KHistoryCombo.h KIPC.h TDEIconButton.h TDEIconCanvas.h TDEIconDialog.h TDEIconEffect.h TDEIconLoader.h TDEIconView.h KImageEffect.h KImageIO.h TDEInstance.h TDEInstanceInterface.h KIntNumInput.h KIntSpinBox.h KIntValidator.h KJanusWidget.h KKeyChooser.h KKeyDialog.h KLed.h KLibFactory.h KLibLoader.h KLineEdit.h TDEListBox.h TDEListView.h TDELocale.h TDEMainWindow.h KMenuBar.h KMessageBox.h KMimeType.h KNotifyClient.h KNumInput.h KOpenWithDlg.h KPalette.h KPanelApplet.h KPanelMenu.h KPasswordDialog.h KPasswordEdit.h KPixmap.h KPixmapEffect.h KPixmapIO.h KPixmapProvider.h TDEPopupFrame.h TDEPopupMenu.h TDEPopupTitle.h KProcIO.h TDEProcess.h TDEProcessController.h TDEProcessRunner.h KProgress.h KProtocolInfo.h KProtocolManager.h KRFCDate.h TDERadioAction.h KRandomSequence.h TDERecentDocument.h KRestrictedLine.h KRootPermsIcon.h KRootPixmap.h KRootProp.h KRuler.h KRun.h KSSL.h KSSLCertificate.h KSSLCertificateHome.h KSSLConnectionInfo.h KSSLInfoDlg.h KSSLPeerInfo.h KSSLSettings.h KSSLX509Map.h KSaveFile.h TDESelectAction.h TDESelector.h KSeparator.h KService.h KServiceGroup.h KServiceOffer.h KServiceType.h KServiceTypeProfile.h KSessionManaged.h TDEShared.h KShellCompletion.h KShred.h KSimpleConfig.h KSpell.h KSpellConfig.h KSpellDlg.h TDEStandardDirs.h KStaticDeleterBase.h KStatusBar.h KStatusBarLabel.h TDEStdAccel.h KStdAction.h KStringHandler.h KSycoca.h KSycocaEntry.h KSystemTray.h KTabCtl.h KTempFile.h KTextBrowser.h TDEToggleAction.h TDEToolBar.h TDEToolBarButton.h TDEToolBarRadioGroup.h TDEToolBarSeparator.h TDETrader.h KURIFilter.h KURIFilterData.h KURIFilterPlugin.h KURL.h KURLComboBox.h KURLCompletion.h KURLDrag.h KURLLabel.h KURLRequester.h KURLRequesterDlg.h KUniqueApplication.h KWizard.h KWritePermsIcon.h KXMLGUIBuilder.h KXMLGUIBuilderInterface.h KXMLGUIClient.h KXMLGUIClientInterface.h KXMLGUIFactory.h KXYSelector.h Part.h PartBaseInterface.h ReadOnlyPart.h BrowserExtension.cpp DCOPClient.cpp DCOPObject.cpp DCOPObjectProxy.cpp TDEAboutApplication.cpp TDEAboutContainer.cpp TDEAboutData.cpp TDEAboutDialog.cpp TDEAboutKDE.cpp TDEAboutPerson.cpp TDEAboutWidget.cpp TDEAccel.cpp TDEAction.cpp TDEActionCollection.cpp TDEActionMenu.cpp TDEActionSeparator.cpp KAnimWidget.cpp TDEApplication.cpp KAudioPlayer.cpp KAuthIcon.cpp KBugReport.cpp KButtonBox.cpp TDECModule.cpp KCharSelect.cpp KCharSelectTable.cpp KCharsets.cpp TDECmdLineArgs.cpp KColorButton.cpp KColorCombo.cpp KColorDrag.cpp KCombiView.cpp KComboBox.cpp TDECompletion.cpp TDECompletionBase.cpp TDEConfig.cpp TDEConfigBackEnd.cpp TDEConfigBase.cpp TDEConfigGroupSaver.cpp TDEConfigINIBackEnd.cpp KContextMenuManager.cpp KCursor.cpp KDCOPActionProxy.cpp KDCOPPropertyProxy.cpp KDEDesktopMimeType.cpp KDatePicker.cpp KDateTable.cpp KDateValidator.cpp KDesktopFile.cpp KDialog.cpp KDirOperator.cpp KDirWatch.cpp KDockWidgetAbstractHeader.cpp KDockWidgetAbstractHeaderDrag.cpp KDockWidgetHeader.cpp KDockWidgetHeaderDrag.cpp KDoubleNumInput.cpp KDualColorButton.cpp KEdFind.cpp KEdGotoLine.cpp KEdReplace.cpp KEditToolbar.cpp KEditToolbarWidget.cpp KEntry.cpp KEntryKey.cpp KExecMimeType.cpp KFile.cpp KFileDetailView.cpp KFileDialog.cpp KFileFilter.cpp KFileIconView.cpp KFileIconViewItem.cpp KFileItem.cpp KFileListViewItem.cpp KFilePreview.cpp KFileView.cpp KFileViewSignaler.cpp KFolderType.cpp TDEFontAction.cpp TDEFontChooser.cpp TDEFontDialog.cpp TDEFontSizeAction.cpp TDEGlobal.cpp TDEGlobalAccel.cpp TDEGlobalSettings.cpp KGradientSelector.cpp TDEHTMLPart.cpp TDEHTMLSettings.cpp TDEHTMLView.cpp KHelpMenu.cpp KHistoryCombo.cpp KIPC.cpp TDEIconButton.cpp TDEIconCanvas.cpp TDEIconDialog.cpp TDEIconEffect.cpp TDEIconLoader.cpp TDEIconView.cpp KImageEffect.cpp KImageIO.cpp TDEInstance.cpp KIntNumInput.cpp KIntSpinBox.cpp KIntValidator.cpp KJanusWidget.cpp KKeyChooser.cpp KKeyDialog.cpp KLed.cpp KLibFactory.cpp KLibLoader.cpp KLineEdit.cpp TDEListBox.cpp TDEListView.cpp TDELocale.cpp TDEMainWindow.cpp KMenuBar.cpp KMessageBox.cpp KMimeType.cpp KNotifyClient.cpp KNumInput.cpp KOpenWithDlg.cpp KPalette.cpp KPanelApplet.cpp KPanelMenu.cpp KPasswordDialog.cpp KPasswordEdit.cpp KPixmap.cpp KPixmapEffect.cpp KPixmapIO.cpp KPixmapProvider.cpp TDEPopupFrame.cpp TDEPopupMenu.cpp TDEPopupTitle.cpp KProcIO.cpp TDEProcess.cpp TDEProcessController.cpp TDEProcessRunner.cpp KProgress.cpp KProtocolInfo.cpp KProtocolManager.cpp KRFCDate.cpp TDERadioAction.cpp KRandomSequence.cpp TDERecentDocument.cpp KRestrictedLine.cpp KRootPermsIcon.cpp KRootPixmap.cpp KRootProp.cpp KRuler.cpp KRun.cpp KSSL.cpp KSSLCertificate.cpp KSSLCertificateHome.cpp KSSLConnectionInfo.cpp KSSLInfoDlg.cpp KSSLPeerInfo.cpp KSSLSettings.cpp KSSLX509Map.cpp KSaveFile.cpp TDESelectAction.cpp TDESelector.cpp KSeparator.cpp KService.cpp KServiceGroup.cpp KServiceOffer.cpp KServiceType.cpp KServiceTypeProfile.cpp KSessionManaged.cpp TDEShared.cpp KShellCompletion.cpp KShred.cpp KSimpleConfig.cpp KSpell.cpp KSpellConfig.cpp KSpellDlg.cpp TDEStandardDirs.cpp KStaticDeleterBase.cpp KStatusBar.cpp KStatusBarLabel.cpp TDEStdAccel.cpp KStdAction.cpp KStringHandler.cpp KSycoca.cpp KSycocaEntry.cpp KSystemTray.cpp KTabCtl.cpp KTempFile.cpp KTextBrowser.cpp TDEToggleAction.cpp TDEToolBar.cpp TDEToolBarButton.cpp TDEToolBarRadioGroup.cpp TDEToolBarSeparator.cpp TDETrader.cpp KURIFilter.cpp KURIFilterData.cpp KURIFilterPlugin.cpp KURL.cpp KURLComboBox.cpp KURLCompletion.cpp KURLDrag.cpp KURLLabel.cpp KURLRequester.cpp KURLRequesterDlg.cpp KUniqueApplication.cpp KWizard.cpp KWritePermsIcon.cpp KXMLGUIBuilder.cpp KXMLGUIClient.cpp KXMLGUIFactory.cpp KXYSelector.cpp Part.cpp ReadOnlyPart.cpp NetAccess.cpp NetAccess.h KDESupport.cpp Event.cpp GUIActivateEvent.cpp MouseEvent.cpp OpenURLEvent.cpp PartActivateEvent.cpp PartSelectEvent.cpp ReadWritePart.cpp DocumentFragment.cpp DocumentStyle.cpp DocumentType.cpp HTMLDocument.cpp NamedNodeMap.cpp CSSStyleSheet.cpp StyleSheet.cpp CSSException.cpp CSSPrimitiveValue.cpp CSSStyleDeclaration.cpp CSSValue.cpp Counter.cpp RGBColor.cpp Rect.cpp Element.cpp HTMLAnchorElement.cpp HTMLAppletElement.cpp HTMLAreaElement.cpp HTMLBRElement.cpp HTMLBaseElement.cpp HTMLBaseFontElement.cpp HTMLBlockquoteElement.cpp HTMLBodyElement.cpp HTMLButtonElement.cpp HTMLCollection.cpp HTMLDListElement.cpp HTMLDirectoryElement.cpp HTMLDivElement.cpp HTMLElement.cpp HTMLFieldSetElement.cpp HTMLFontElement.cpp HTMLFormElement.cpp HTMLFrameElement.cpp HTMLFrameSetElement.cpp HTMLHRElement.cpp HTMLHeadElement.cpp HTMLHeadingElement.cpp HTMLHtmlElement.cpp HTMLIFrameElement.cpp HTMLImageElement.cpp HTMLInputElement.cpp HTMLIsIndexElement.cpp HTMLLIElement.cpp HTMLLabelElement.cpp HTMLLegendElement.cpp HTMLLinkElement.cpp HTMLMapElement.cpp HTMLMenuElement.cpp HTMLMetaElement.cpp HTMLModElement.cpp HTMLOListElement.cpp HTMLObjectElement.cpp HTMLOptGroupElement.cpp HTMLOptionElement.cpp HTMLParagraphElement.cpp HTMLParamElement.cpp HTMLPreElement.cpp HTMLQuoteElement.cpp HTMLScriptElement.cpp HTMLSelectElement.cpp HTMLStyleElement.cpp HTMLTableCaptionElement.cpp HTMLTableCellElement.cpp HTMLTableColElement.cpp HTMLTableElement.cpp HTMLTableRowElement.cpp HTMLTableSectionElement.cpp HTMLTextAreaElement.cpp HTMLTitleElement.cpp HTMLUListElement.cpp Attr.cpp Attr.h CSSException.h CSSPrimitiveValue.h CSSStyleDeclaration.h CSSStyleSheet.h CSSValue.h Counter.h DocumentFragment.h DocumentStyle.h DocumentType.h Element.h Event.h GUIActivateEvent.h HTMLAnchorElement.h HTMLAppletElement.h HTMLAreaElement.h HTMLBRElement.h HTMLBaseElement.h HTMLBaseFontElement.h HTMLBlockquoteElement.h HTMLBodyElement.h HTMLButtonElement.h HTMLCollection.h HTMLDListElement.h HTMLDirectoryElement.h HTMLDivElement.h HTMLDocument.h HTMLElement.h HTMLFieldSetElement.h HTMLFontElement.h HTMLFormElement.h HTMLFrameElement.h HTMLFrameSetElement.h HTMLHRElement.h HTMLHeadElement.h HTMLHeadingElement.h HTMLHtmlElement.h HTMLIFrameElement.h HTMLImageElement.h HTMLInputElement.h HTMLIsIndexElement.h HTMLLIElement.h HTMLLabelElement.h HTMLLegendElement.h HTMLLinkElement.h HTMLMapElement.h HTMLMenuElement.h HTMLMetaElement.h HTMLModElement.h HTMLOListElement.h HTMLObjectElement.h HTMLOptGroupElement.h HTMLOptionElement.h HTMLParagraphElement.h HTMLParamElement.h HTMLPreElement.h HTMLQuoteElement.h HTMLScriptElement.h HTMLSelectElement.h HTMLStyleElement.h HTMLTableCaptionElement.h HTMLTableCellElement.h HTMLTableColElement.h HTMLTableElement.h HTMLTableRowElement.h HTMLTableSectionElement.h HTMLTextAreaElement.h HTMLTitleElement.h HTMLUListElement.h MouseEvent.h NamedNodeMap.h OpenURLEvent.h PartActivateEvent.h PartSelectEvent.h RGBColor.h ReadWritePart.h Rect.h StyleSheet.h DockMainWindow.cpp MainWindow.cpp DockMainWindow.h MainWindow.h CDATASection.cpp Comment.cpp EntityReference.cpp NodeFilter.cpp NodeIterator.cpp ProcessingInstruction.cpp Range.cpp Text.cpp TreeWalker.cpp CharacterData.cpp CDATASection.h CharacterData.h Comment.h EntityReference.h NodeFilter.h NodeIterator.h ProcessingInstruction.h Range.h Text.h TreeWalker.h CopyJob.cpp DeleteJob.cpp FileCopyJob.cpp Job.cpp KDirNotify.cpp KDirSize.cpp ListJob.cpp MimetypeJob.cpp SimpleJob.cpp StatJob.cpp TransferJob.cpp Connection.cpp Slave.cpp Connection.h CopyJob.h DeleteJob.h FileCopyJob.h Job.h KDirNotify.h KDirSize.h ListJob.h MimetypeJob.h SimpleJob.h Slave.h StatJob.h TransferJob.h TDEAboutContributor.cpp TDEAboutContributor.h TDEAboutTranslator.cpp TDEAboutTranslator.h KCodecs.cpp KCodecs.h KCommand.cpp KCommand.h KCommandHistory.cpp KCommandHistory.h TDECompletionBox.cpp TDECompletionBox.h KDialogQueue.cpp KDialogQueue.h KEditListBox.cpp KEditListBox.h KFilterBase.cpp KFilterBase.h KFilterDev.cpp KFilterDev.h TDEFontCombo.cpp TDEFontCombo.h KMacroCommand.cpp KMacroCommand.h KPanelExtension.cpp KPanelExtension.h KPixmapSplitter.cpp KPixmapSplitter.h KPreviewWidgetBase.cpp KPreviewWidgetBase.h KPushButton.cpp KPushButton.h KScanDialog.cpp KScanDialog.h KSqueezedTextLabel.cpp KSqueezedTextLabel.h TDEToolBarPopupAction.cpp TDEToolBarPopupAction.h KDEJavaSlot.cpp KDEJavaSlot.h KTipDatabase.cpp KTipDialog.cpp KTipDatabase.h KTipDialog.h ASConsumer.java TDEListViewItem.cpp TDEListViewItem.h KArchive.cpp KArchive.h KTar.cpp KTar.h KArchiveDirectory.cpp KSSLPKCS12.cpp KArchiveDirectory.h KSSLPKCS12.h KArchiveEntry.cpp KArchiveFile.cpp KArchiveEntry.h KArchiveFile.h KDialogBase.cpp KFileMetaInfo.cpp KFileMetaInfo.h KFileMetaInfoItem.cpp KFileMetaInfoItem.h KGuiItem.cpp KGuiItem.h TDEIconViewItem.cpp TDEIconViewItem.h KStdGuiItem.cpp KStdGuiItem.h KDataTool.cpp KDataToolAction.cpp KDataToolInfo.cpp KDateWidget.cpp KDirSelectDialog.cpp KEMailSettings.cpp KFileFilterCombo.cpp KFileTreeBranch.cpp KFileTreeView.cpp KFileTreeViewItem.cpp KFileTreeViewToolTip.cpp KMultipleDrag.cpp KWordWrap.cpp KDataTool.h KDataToolAction.h KDataToolInfo.h KDateWidget.h KDirSelectDialog.h KFileTreeBranch.h KFileTreeView.h KFileTreeViewItem.h KFileTreeViewToolTip.h KEMailSettings.h KFileFilterCombo.h KMultipleDrag.h KWordWrap.h TDEShortcut.cpp KKey.cpp KKey.h TDEShortcut.h TDEIO.cpp TDEIO.h Scheduler.cpp Scheduler.h StatusbarProgress.cpp StatusbarProgress.h ProgressBase.cpp ProgressBase.h KKeySequence.cpp KKeySequence.h KDockMainWindow.cpp KDockMainWindow.h KDockManager.cpp KDockManager.h KDockTabGroup.cpp KDockTabGroup.h KDockWidget.cpp KDockWidget.h KURLPixmapProvider.cpp KURLPixmapProvider.h KColor.cpp KColor.h KColorCells.cpp KColorCells.h KColorDialog.cpp KColorDialog.h KColorPatch.cpp KColorPatch.h KHSSelector.cpp KHSSelector.h KPaletteTable.cpp KPaletteTable.h KValueSelector.cpp KValueSelector.h KDE.cpp KDE.h KSSLCertDlgRet.cpp KSSLCertDlgRet.h TDEListAction.cpp TDEListAction.h TDERecentFilesAction.cpp TDERecentFilesAction.h KArrowButton.cpp KArrowButton.h KDateTimeWidget.cpp KDateTimeWidget.h KFind.cpp KFindDialog.cpp KFindDialog.h KFind.h KMultiTabBarButton.cpp KMultiTabBarButton.h KMultiTabBar.cpp KMultiTabBar.h KMultiTabBarTab.cpp KMultiTabBarTab.h KPrintAction.cpp KPrintAction.h KProgressDialog.cpp KProgressDialog.h KReplace.cpp KReplaceDialog.cpp KReplaceDialog.h KReplace.h AbstractView.cpp AbstractView.h CSSRule.cpp CSSRule.h CSSRuleList.cpp CSSRuleList.h CustomNodeFilter.cpp CustomNodeFilter.h DavJob.cpp DavJob.h Document.cpp Document.h DomShared.cpp DomShared.h EventListener.cpp EventListener.h KCalendarSystem.cpp KCalendarSystem.h KFileMetaInfoGroup.cpp KFileMetaInfoGroup.h KMimeSourceFactory.cpp KMimeSourceFactory.h TDESharedConfig.cpp TDESharedConfig.h TDEShortcutList.cpp TDEShortcutList.h KSSLCertBox.h KSSLCertBox.java KSSLCertChain.cpp KSSLCertChain.h KSSLSession.cpp KSSLSession.h KSSLX509V3.cpp KSSLX509V3.h TDEToggleFullScreenAction.cpp TDEToggleFullScreenAction.h KURLBar.cpp KURLBar.h KURLBarItem.cpp KURLBarItem.h KURLBarListBox.cpp KURLBarListBox.h MetaInfoJob.cpp MetaInfoJob.h Node.cpp Node.h PreviewJob.cpp PreviewJob.h UIEvent.cpp UIEvent.h KCatalogue.cpp KCatalogue.h KDoubleValidator.cpp KDoubleValidator.h KKeyButton.cpp KKeyButton.h KMdiToolViewAccessor.cpp KMdiToolViewAccessor.h KMdiChildArea.cpp KMdiChildArea.h KMdiChildFrmCaption.cpp KMdiChildFrmCaption.h KMdiChildFrm.cpp KMdiChildFrmDragBeginEvent.cpp KMdiChildFrmDragBeginEvent.h KMdiChildFrmDragEndEvent.cpp KMdiChildFrmDragEndEvent.h KMdiChildFrm.h KMdiChildFrmMoveEvent.cpp KMdiChildFrmMoveEvent.h KMdiChildFrmResizeBeginEvent.cpp KMdiChildFrmResizeBeginEvent.h KMdiChildFrmResizeEndEvent.cpp KMdiChildFrmResizeEndEvent.h KMdiChildView.cpp KMdiChildView.h KMdi.cpp KMdi.h KMdiMainFrm.cpp KMdiMainFrm.h KMdiTaskBarButton.cpp KMdiTaskBarButton.h KMdiTaskBar.cpp KMdiTaskBar.h KMdiViewCloseEvent.cpp KMdiViewCloseEvent.h KMdiWin32IconButton.cpp KMdiWin32IconButton.h TDEPasteTextAction.cpp TDEPasteTextAction.h KStringListValidator.cpp KStringListValidator.h KTabBar.cpp KTabBar.h KTabWidget.cpp KTabWidget.h KTextEdit.cpp KTextEdit.h KTimeWidget.cpp KTimeWidget.h TDEToggleToolBarAction.cpp TDEToggleToolBarAction.h KURLComboRequester.cpp KURLComboRequester.h DefaultProgress.h SlaveBase.h DefaultProgress.cpp KEdit.cpp KEdit.h KFloatValidator.cpp KFloatValidator.h KMimeMagic.cpp KMimeMagic.h KMimeMagicResult.cpp KMimeMagicResult.h KShellProcess.cpp KShellProcess.h SlaveBase.cpp SlaveInterface.cpp SlaveInterface.h AuthInfo.cpp TDEBufferedIO.cpp KDirLister.cpp RenameDlg.cpp Observer.cpp KAsyncIO.cpp AuthInfo.h KAsyncIO.h TDEBufferedIO.h KDirLister.h Observer.h RenameDlg.h KInputDialog.cpp KInputDialog.h CSSCharsetRule.cpp CSSCharsetRule.h CSSFontFaceRule.cpp CSSFontFaceRule.h CSSImportRule.cpp CSSImportRule.h CSSMediaRule.cpp CSSMediaRule.h CSSPageRule.cpp CSSPageRule.h CSSStyleRule.cpp CSSStyleRule.h CSSUnknownRule.cpp CSSUnknownRule.h CSSValueList.cpp CSSValueList.h DOMException.cpp DOMException.h DOMImplementation.cpp DOMImplementation.h Entity.cpp Entity.h EventException.cpp EventException.h Factory.cpp Factory.h HistoryProvider.cpp HistoryProvider.h HTMLFormCollection.cpp HTMLFormCollection.h TDEAccelShortcutList.cpp TDEAccelShortcutList.h TDEActionShortcutList.cpp TDEActionShortcutList.h KActiveLabel.cpp KActiveLabel.h KAr.cpp KAr.h KCalendarSystemFactory.cpp KCalendarSystemFactory.h TDECModuleInfo.cpp TDECModuleInfo.h TDECModuleLoader.cpp TDECModuleLoader.h KCMultiDialog.cpp KCMultiDialog.h TDEConfigGroup.cpp TDEConfigGroup.h KCPUInfo.cpp KCPUInfo.h KCustomMenuEditor.cpp KCustomMenuEditor.h KDCOPServiceStarter.cpp KDCOPServiceStarter.h KDiskFreeSp.cpp KDiskFreeSp.h KDockArea.cpp KDockArea.h KFilePlugin.cpp KFilePlugin.h KFileShare.cpp KFileShare.h TDEFontRequester.cpp TDEFontRequester.h KIDNA.cpp KIDNA.h KKeyNative.cpp KKeyNative.h KMD5.cpp KMD5.h KMimeTypeResolverBase.cpp KMimeTypeResolverBase.h KMimeTypeResolverHelper.cpp KMimeTypeResolverHelper.h KMimeTypeValidator.cpp KMimeTypeValidator.h KMountPoint.cpp KMountPoint.h KOCRDialog.cpp KOCRDialog.h KPanelAppMenu.cpp KPanelAppMenu.h KPassivePopup.cpp KPassivePopup.h KPluginSelector.cpp KPluginSelector.h KRegExpEditorInterface.cpp KRegExpEditorInterface.h KServiceSeparator.cpp KServiceSeparator.h KShell.cpp KShell.h KSimpleFileFilter.cpp KSimpleFileFilter.h KSMIMECrypto.cpp KSMIMECrypto.h KSpellingHighlighter.cpp KSpellingHighlighter.h KSSLCertDlg.cpp KSSLCertDlg.h KSSLCertificateCache.cpp KSSLCertificateCache.h KSSLCertificateFactory.cpp KSSLCertificateFactory.h KSSLKeyGen.cpp KSSLKeyGen.h KSSLPKCS7.cpp KSSLPKCS7.h KSSLSigners.cpp KSSLSigners.h KSyntaxHighlighter.cpp KSyntaxHighlighter.h KTempDir.cpp KTempDir.h KURLBarItemDialog.cpp KURLBarItemDialog.h KWidgetAction.cpp KWidgetAction.h KWindowInfo.cpp KWindowInfo.h KXMLGUI.cpp KXMLGUI.h KZip.cpp KZipFileEntry.cpp KZipFileEntry.h KZip.h LinkStyle.cpp LinkStyle.h LiveConnectExtension.cpp LiveConnectExtension.h MultiGetJob.cpp MultiGetJob.h MutationEvent.cpp MutationEvent.h Notation.cpp Notation.h PartBase.cpp PartBase.h PasswordDialog.cpp PasswordDialog.h Plugin.cpp Plugin.h RangeException.cpp RangeException.h SessionData.cpp SessionData.h SkipDlg.cpp SkipDlg.h StatusBarExtension.cpp StatusBarExtension.h TextEvent.cpp TextEvent.h KSSLCertBox.cpp KNamedCommand.cpp KNamedCommand.h PartManager.cpp PartManager.h URLArgs.cpp UrlArgs.h WindowArgs.cpp WindowArgs.h BrowserHostExtension.cpp BrowserHostExtension.h BrowserRun.cpp BrowserRun.h StoredTransferJob.cpp StoredTransferJob.h - -####### tdevelop will overwrite this part!!! (end)############ - - - - - -INCLUDES = -I$(srcdir)/../../../qtjava/javalib -I$(srcdir)/.. $(jni_includes) $(all_includes) - -SOMAJOR = 1 -SOMINOR = 0 -SOSUBMINOR = 0 - -METASOURCES = AUTO - -# here you should add all header files, which contains the functionality -# of your shared lib (published for the users) -noinst_HEADERS = KDESupport.h KDEJavaSlot.h - -libkdejava_la_LDFLAGS = $(all_libraries) -no-undefined -version-info $(SOMAJOR):$(SOMINOR):$(SOSUBMINOR) - -libkdejava_la_LIBADD = $(top_builddir)/qtjava/javalib/qtjava/libqtjavasupport.la -ltdemdi $(LIB_TDEHTML) $(LIB_TDESPELL) $(LIB_TDEIO) $(LIB_TDECORE) $(LIB_TDEPARTS) $(LIB_TDEUI) $(LIB_TDEUTILS) $(LIB_TDEPRINT) -lDCOP -ltdefx - -KDE_OPTIONS = qtonly nofinal diff --git a/kdejava/koala/kdejava/MetaInfoJob.cpp b/kdejava/koala/kdejava/MetaInfoJob.cpp deleted file mode 100644 index 2c0b8ffe..00000000 --- a/kdejava/koala/kdejava/MetaInfoJob.cpp +++ /dev/null @@ -1,143 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class MetaInfoJobJBridge : public TDEIO::MetaInfoJob -{ -public: - MetaInfoJobJBridge(const KFileItemList& arg1,bool arg2) : TDEIO::MetaInfoJob(arg1,arg2) {}; - MetaInfoJobJBridge(const KFileItemList& arg1) : TDEIO::MetaInfoJob(arg1) {}; - void protected_getMetaInfo() { - TDEIO::MetaInfoJob::getMetaInfo(); - return; - } - void protected_slotResult(TDEIO::Job* arg1) { - TDEIO::MetaInfoJob::slotResult(arg1); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - MetaInfoJob::slotResult(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.MetaInfoJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MetaInfoJob_availablePlugins(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = MetaInfoJobJBridge::availablePlugins(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MetaInfoJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::MetaInfoJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MetaInfoJob_getMetaInfo(JNIEnv* env, jobject obj) -{ - ((MetaInfoJobJBridge*) QtSupport::getQt(env, obj))->protected_getMetaInfo(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MetaInfoJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::MetaInfoJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MetaInfoJob_newMetaInfoJob__Ljava_util_ArrayList_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static KFileItemList* _qlist_items = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MetaInfoJobJBridge((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MetaInfoJob_newMetaInfoJob__Ljava_util_ArrayList_2Z(JNIEnv* env, jobject obj, jobjectArray items, jboolean deleteItems) -{ -static KFileItemList* _qlist_items = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MetaInfoJobJBridge((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (bool) deleteItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MetaInfoJob_removeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEIO::MetaInfoJob*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MetaInfoJob_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((MetaInfoJobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MetaInfoJob_supportedMimeTypes(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = MetaInfoJobJBridge::supportedMimeTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/MetaInfoJob.h b/kdejava/koala/kdejava/MetaInfoJob.h deleted file mode 100644 index 1d7b4759..00000000 --- a/kdejava/koala/kdejava/MetaInfoJob.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MetaInfoJob__ -#define __org_kde_koala_MetaInfoJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MetaInfoJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MetaInfoJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MetaInfoJob_newMetaInfoJob__Ljava_util_ArrayList_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MetaInfoJob_newMetaInfoJob__Ljava_util_ArrayList_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MetaInfoJob_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MetaInfoJob_availablePlugins (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MetaInfoJob_supportedMimeTypes (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MetaInfoJob_getMetaInfo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MetaInfoJob_slotResult (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MetaInfoJob__ */ diff --git a/kdejava/koala/kdejava/MimetypeJob.cpp b/kdejava/koala/kdejava/MimetypeJob.cpp deleted file mode 100644 index a26fbaa0..00000000 --- a/kdejava/koala/kdejava/MimetypeJob.cpp +++ /dev/null @@ -1,147 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class MimetypeJobJBridge : public TDEIO::MimetypeJob -{ -public: - MimetypeJobJBridge(const KURL& arg1,int arg2,const TQByteArray& arg3,bool arg4) : TDEIO::MimetypeJob(arg1,arg2,arg3,arg4) {}; - void protected_slotFinished() { - TDEIO::MimetypeJob::slotFinished(); - return; - } - void slotRedirection(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotRedirection",(void*)&arg1,"org.kde.koala.KURL")) { - TransferJob::slotRedirection(arg1); - } - return; - } - void slotNeedSubURLData() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MimetypeJob","slotNeedSubURLData")) { - TransferJob::slotNeedSubURLData(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MimetypeJob","slotFinished")) { - MimetypeJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - TransferJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - MimetypeJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotDataReq() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MimetypeJob","slotDataReq")) { - TransferJob::slotDataReq(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.MimetypeJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MimetypeJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MimetypeJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::MimetypeJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MimetypeJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::MimetypeJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MimetypeJob_mimetype(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::MimetypeJob*) QtSupport::getQt(env, obj))->mimetype(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MimetypeJob_newMimetypeJob(JNIEnv* env, jobject obj, jobject url, jint command, jbyteArray packedArgs, jboolean showProgressInfo) -{ -static TQByteArray* _qbyteArray_packedArgs = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MimetypeJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, packedArgs, &_qbyteArray_packedArgs), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MimetypeJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((MimetypeJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MimetypeJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::MimetypeJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - diff --git a/kdejava/koala/kdejava/MimetypeJob.h b/kdejava/koala/kdejava/MimetypeJob.h deleted file mode 100644 index 538c9835..00000000 --- a/kdejava/koala/kdejava/MimetypeJob.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MimetypeJob__ -#define __org_kde_koala_MimetypeJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MimetypeJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MimetypeJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MimetypeJob_newMimetypeJob (JNIEnv *env, jobject, jobject, jint, jbyteArray, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MimetypeJob_mimetype (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MimetypeJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MimetypeJob_slotFinished (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MimetypeJob__ */ diff --git a/kdejava/koala/kdejava/MouseEvent.cpp b/kdejava/koala/kdejava/MouseEvent.cpp deleted file mode 100644 index 00915e01..00000000 --- a/kdejava/koala/kdejava/MouseEvent.cpp +++ /dev/null @@ -1,88 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_MouseEvent_altKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->altKey(); - return xret; -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_MouseEvent_button(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->button(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_MouseEvent_clientX(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->clientX(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_MouseEvent_clientY(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->clientY(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_MouseEvent_ctrlKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->ctrlKey(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MouseEvent_initMouseEvent(JNIEnv* env, jobject obj, jstring typeArg, jboolean canBubbleArg, jboolean cancelableArg, jobject viewArg, jlong detailArg, jlong screenXArg, jlong screenYArg, jlong clientXArg, jlong clientYArg, jboolean ctrlKeyArg, jboolean altKeyArg, jboolean shiftKeyArg, jboolean metaKeyArg, jshort buttonArg, jobject relatedTargetArg) -{ -static DOM::DOMString* _domstring_typeArg = 0; - ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->initMouseEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, typeArg, &_domstring_typeArg), (bool) canBubbleArg, (bool) cancelableArg, (const DOM::AbstractView&)*(const DOM::AbstractView*) QtSupport::getQt(env, viewArg), (long) detailArg, (long) screenXArg, (long) screenYArg, (long) clientXArg, (long) clientYArg, (bool) ctrlKeyArg, (bool) altKeyArg, (bool) shiftKeyArg, (bool) metaKeyArg, (unsigned short) buttonArg, (const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, relatedTargetArg)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_MouseEvent_metaKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->metaKey(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MouseEvent_relatedTarget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::MouseEvent*) QtSupport::getQt(env, obj))->relatedTarget()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_MouseEvent_screenX(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->screenX(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_MouseEvent_screenY(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->screenY(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_MouseEvent_shiftKey(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::MouseEvent*) QtSupport::getQt(env, obj))->shiftKey(); - return xret; -} - diff --git a/kdejava/koala/kdejava/MouseEvent.h b/kdejava/koala/kdejava/MouseEvent.h deleted file mode 100644 index 32e6c8bd..00000000 --- a/kdejava/koala/kdejava/MouseEvent.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MouseEvent__ -#define __org_kde_koala_MouseEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_MouseEvent_screenX (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_MouseEvent_screenY (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_MouseEvent_clientX (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_MouseEvent_clientY (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_MouseEvent_ctrlKey (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_MouseEvent_shiftKey (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_MouseEvent_altKey (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_MouseEvent_metaKey (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_MouseEvent_button (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MouseEvent_relatedTarget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MouseEvent_initMouseEvent (JNIEnv *env, jobject, jstring, jboolean, jboolean, jobject, jlong, jlong, jlong, jlong, jlong, jboolean, jboolean, jboolean, jboolean, jshort, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MouseEvent__ */ diff --git a/kdejava/koala/kdejava/MultiGetJob.cpp b/kdejava/koala/kdejava/MultiGetJob.cpp deleted file mode 100644 index 7f856c96..00000000 --- a/kdejava/koala/kdejava/MultiGetJob.cpp +++ /dev/null @@ -1,174 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class MultiGetJobJBridge : public TDEIO::MultiGetJob -{ -public: - MultiGetJobJBridge(const KURL& arg1,bool arg2) : TDEIO::MultiGetJob(arg1,arg2) {}; - void protected_slotRedirection(const KURL& arg1) { - TDEIO::MultiGetJob::slotRedirection(arg1); - return; - } - void protected_slotFinished() { - TDEIO::MultiGetJob::slotFinished(); - return; - } - void protected_slotData(const TQByteArray& arg1) { - TDEIO::MultiGetJob::slotData(arg1); - return; - } - void protected_slotMimetype(const TQString& arg1) { - TDEIO::MultiGetJob::slotMimetype(arg1); - return; - } - void slotRedirection(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotRedirection",(void*)&arg1,"org.kde.koala.KURL")) { - MultiGetJob::slotRedirection(arg1); - } - return; - } - void slotNeedSubURLData() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MultiGetJob","slotNeedSubURLData")) { - TransferJob::slotNeedSubURLData(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MultiGetJob","slotFinished")) { - MultiGetJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - TransferJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - MultiGetJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotDataReq() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MultiGetJob","slotDataReq")) { - TransferJob::slotDataReq(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.MultiGetJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.MultiGetJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MultiGetJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::MultiGetJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MultiGetJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::MultiGetJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_newMultiGetJob(JNIEnv* env, jobject obj, jobject url, jboolean showProgressInfo) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MultiGetJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_slotData(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((MultiGetJobJBridge*) QtSupport::getQt(env, obj))->protected_slotData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((MultiGetJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_slotMimetype(JNIEnv* env, jobject obj, jstring mimetype) -{ -static TQString* _qstring_mimetype = 0; - ((MultiGetJobJBridge*) QtSupport::getQt(env, obj))->protected_slotMimetype((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_slotRedirection(JNIEnv* env, jobject obj, jobject url) -{ - ((MultiGetJobJBridge*) QtSupport::getQt(env, obj))->protected_slotRedirection((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MultiGetJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::MultiGetJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - diff --git a/kdejava/koala/kdejava/MultiGetJob.h b/kdejava/koala/kdejava/MultiGetJob.h deleted file mode 100644 index dcfc1338..00000000 --- a/kdejava/koala/kdejava/MultiGetJob.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MultiGetJob__ -#define __org_kde_koala_MultiGetJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MultiGetJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MultiGetJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_newMultiGetJob (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_slotRedirection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_slotFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_slotData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MultiGetJob_slotMimetype (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MultiGetJob__ */ diff --git a/kdejava/koala/kdejava/MutationEvent.cpp b/kdejava/koala/kdejava/MutationEvent.cpp deleted file mode 100644 index 7f9b8cdd..00000000 --- a/kdejava/koala/kdejava/MutationEvent.cpp +++ /dev/null @@ -1,96 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class MutationEventJBridge : public DOM::MutationEvent -{ -public: - MutationEventJBridge() : DOM::MutationEvent() {}; - MutationEventJBridge(const DOM::MutationEvent& arg1) : DOM::MutationEvent(arg1) {}; - MutationEventJBridge(const DOM::Event& arg1) : DOM::MutationEvent(arg1) {}; -}; - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_MutationEvent_attrChange(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::MutationEvent*) QtSupport::getQt(env, obj))->attrChange(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MutationEvent_attrName(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::MutationEvent*) QtSupport::getQt(env, obj))->attrName(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MutationEvent_initMutationEvent(JNIEnv* env, jobject obj, jstring typeArg, jboolean canBubbleArg, jboolean cancelableArg, jobject relatedNodeArg, jstring prevValueArg, jstring newValueArg, jstring attrNameArg, jshort attrChangeArg) -{ -static DOM::DOMString* _domstring_typeArg = 0; -static DOM::DOMString* _domstring_prevValueArg = 0; -static DOM::DOMString* _domstring_newValueArg = 0; -static DOM::DOMString* _domstring_attrNameArg = 0; - ((DOM::MutationEvent*) QtSupport::getQt(env, obj))->initMutationEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, typeArg, &_domstring_typeArg), (bool) canBubbleArg, (bool) cancelableArg, (const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, relatedNodeArg), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, prevValueArg, &_domstring_prevValueArg), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, newValueArg, &_domstring_newValueArg), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, attrNameArg, &_domstring_attrNameArg), (unsigned short) attrChangeArg); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MutationEvent_newMutationEvent__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MutationEventJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MutationEvent_newMutationEvent__Lorg_kde_koala_Event_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MutationEventJBridge((const DOM::Event&)*(const DOM::Event*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_MutationEvent_newMutationEvent__Lorg_kde_koala_MutationEvent_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new MutationEventJBridge((const DOM::MutationEvent&)*(const DOM::MutationEvent*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MutationEvent_newValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::MutationEvent*) QtSupport::getQt(env, obj))->newValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_MutationEvent_prevValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::MutationEvent*) QtSupport::getQt(env, obj))->prevValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_MutationEvent_relatedNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::MutationEvent*) QtSupport::getQt(env, obj))->relatedNode()), "org.kde.koala.Node", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/MutationEvent.h b/kdejava/koala/kdejava/MutationEvent.h deleted file mode 100644 index 2b536003..00000000 --- a/kdejava/koala/kdejava/MutationEvent.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_MutationEvent__ -#define __org_kde_koala_MutationEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_MutationEvent_newMutationEvent__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MutationEvent_newMutationEvent__Lorg_kde_koala_MutationEvent_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MutationEvent_newMutationEvent__Lorg_kde_koala_Event_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_MutationEvent_relatedNode (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MutationEvent_prevValue (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MutationEvent_newValue (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_MutationEvent_attrName (JNIEnv *env, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_MutationEvent_attrChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_MutationEvent_initMutationEvent (JNIEnv *env, jobject, jstring, jboolean, jboolean, jobject, jstring, jstring, jstring, jshort); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_MutationEvent__ */ diff --git a/kdejava/koala/kdejava/NamedNodeMap.cpp b/kdejava/koala/kdejava/NamedNodeMap.cpp deleted file mode 100644 index 26035ced..00000000 --- a/kdejava/koala/kdejava/NamedNodeMap.cpp +++ /dev/null @@ -1,104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class NamedNodeMapJBridge : public DOM::NamedNodeMap -{ -public: - NamedNodeMapJBridge() : DOM::NamedNodeMap() {}; - NamedNodeMapJBridge(const DOM::NamedNodeMap& arg1) : DOM::NamedNodeMap(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_getNamedItemNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->getNamedItemNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_getNamedItem(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->getNamedItem((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NamedNodeMap_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_item(JNIEnv* env, jobject obj, jlong index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->item((unsigned long) index)), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_NamedNodeMap_length(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->length(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NamedNodeMap_newNamedNodeMap__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NamedNodeMapJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NamedNodeMap_newNamedNodeMap__Lorg_kde_koala_NamedNodeMap_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NamedNodeMapJBridge((const DOM::NamedNodeMap&)*(const DOM::NamedNodeMap*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_removeNamedItemNS(JNIEnv* env, jobject obj, jstring namespaceURI, jstring localName) -{ -static DOM::DOMString* _domstring_namespaceURI = 0; -static DOM::DOMString* _domstring_localName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItemNS((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, namespaceURI, &_domstring_namespaceURI), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, localName, &_domstring_localName))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_removeNamedItem(JNIEnv* env, jobject obj, jstring name) -{ -static DOM::DOMString* _domstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->removeNamedItem((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, name, &_domstring_name))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_setNamedItemNS(JNIEnv* env, jobject obj, jobject arg) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItemNS((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, arg))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NamedNodeMap_setNamedItem(JNIEnv* env, jobject obj, jobject arg) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NamedNodeMap*) QtSupport::getQt(env, obj))->setNamedItem((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, arg))), "org.kde.koala.Node", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/NamedNodeMap.h b/kdejava/koala/kdejava/NamedNodeMap.h deleted file mode 100644 index abc57986..00000000 --- a/kdejava/koala/kdejava/NamedNodeMap.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_NamedNodeMap__ -#define __org_kde_koala_NamedNodeMap__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_NamedNodeMap_newNamedNodeMap__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NamedNodeMap_newNamedNodeMap__Lorg_kde_koala_NamedNodeMap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_NamedNodeMap_length (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_getNamedItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_setNamedItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_removeNamedItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_item (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_getNamedItemNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_setNamedItemNS (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NamedNodeMap_removeNamedItemNS (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NamedNodeMap_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_NamedNodeMap__ */ diff --git a/kdejava/koala/kdejava/NetAccess.cpp b/kdejava/koala/kdejava/NetAccess.cpp deleted file mode 100644 index c0b49db5..00000000 --- a/kdejava/koala/kdejava/NetAccess.cpp +++ /dev/null @@ -1,304 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_NetAccess_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::NetAccess*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_copy(JNIEnv* env, jclass cls, jobject src, jobject target, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_del(JNIEnv* env, jclass cls, jobject url, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::del((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_dircopy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject target) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::dircopy((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_dircopy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobjectArray src, jobject target, jobject window) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::dircopy((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_dircopy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject src, jobject target, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::dircopy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_download(JNIEnv* env, jclass cls, jobject src, jobject target, jobject window) -{ - (void) cls; -static TQString* _qstring_target = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::download((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, target, &_qstring_target), (TQWidget*) QtSupport::getQt(env, window)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_target, target); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_exists(JNIEnv* env, jclass cls, jobject url, jboolean source, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::exists((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) source, (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume, (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject target) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject src, jobject target, jint permissions) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (int) permissions); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ(JNIEnv* env, jclass cls, jobject src, jobject target, jint permissions, jboolean overwrite) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (int) permissions, (bool) overwrite); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject src, jobject target, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (int) permissions, (bool) overwrite, (bool) resume); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject src, jobject target, jint permissions, jboolean overwrite, jboolean resume, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (int) permissions, (bool) overwrite, (bool) resume, (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_NetAccess_fish_1execute(JNIEnv* env, jclass cls, jobject url, jstring command, jobject window) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_command = 0; - _qstring = TDEIO::NetAccess::fish_execute((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString)*(TQString*) QtSupport::toTQString(env, command, &_qstring_command), (TQWidget*) QtSupport::getQt(env, window)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_NetAccess_lastErrorString(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::NetAccess::lastErrorString(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_NetAccess_lastError(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEIO::NetAccess::lastError(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NetAccess_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::NetAccess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_NetAccess_mimetype(JNIEnv* env, jclass cls, jobject url, jobject window) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::NetAccess::mimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_mkdir__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject url, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_mkdir__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2I(JNIEnv* env, jclass cls, jobject url, jobject window, jint permissions) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window), (int) permissions); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NetAccess_mostLocalURL(JNIEnv* env, jclass cls, jobject url, jobject window) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(TDEIO::NetAccess::mostLocalURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (TQWidget*) QtSupport::getQt(env, window))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject target) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::move((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobjectArray src, jobject target, jobject window) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::move((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject target) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject src, jobject target, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NetAccess_removeTempFile(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - TDEIO::NetAccess::removeTempFile((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject job, jobject window) -{ - (void) cls; - jboolean xret = (jboolean) TDEIO::NetAccess::synchronousRun((TDEIO::Job*) QtSupport::getQt(env, job), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2_3B(JNIEnv* env, jclass cls, jobject job, jobject window, jbyteArray data) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::synchronousRun((TDEIO::Job*) QtSupport::getQt(env, job), (TQWidget*) QtSupport::getQt(env, window), (TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2_3BLorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject job, jobject window, jbyteArray data, jobject finalURL) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::synchronousRun((TDEIO::Job*) QtSupport::getQt(env, job), (TQWidget*) QtSupport::getQt(env, window), (TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (KURL*) QtSupport::getQt(env, finalURL)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NetAccess_upload(JNIEnv* env, jclass cls, jstring src, jobject target, jobject window) -{ - (void) cls; -static TQString* _qstring_src = 0; - jboolean xret = (jboolean) TDEIO::NetAccess::upload((const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, target), (TQWidget*) QtSupport::getQt(env, window)); - return xret; -} - diff --git a/kdejava/koala/kdejava/NetAccess.h b/kdejava/koala/kdejava/NetAccess.h deleted file mode 100644 index ed3b412c..00000000 --- a/kdejava/koala/kdejava/NetAccess.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_NetAccess__ -#define __org_kde_koala_NetAccess__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NetAccess_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_NetAccess_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_download (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NetAccess_removeTempFile (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_upload (JNIEnv *env, jclass, jstring, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_copy (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_dircopy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_dircopy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_dircopy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_exists (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NetAccess_mostLocalURL (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_del (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_mkdir__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_mkdir__Lorg_kde_koala_KURL_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_NetAccess_fish_1execute (JNIEnv *env, jclass, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2_3BLorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject, jbyteArray, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2_3B (JNIEnv *env, jclass, jobject, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NetAccess_synchronousRun__Lorg_kde_koala_Job_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_NetAccess_mimetype (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_NetAccess_lastErrorString (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_NetAccess_lastError (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_NetAccess__ */ diff --git a/kdejava/koala/kdejava/Node.cpp b/kdejava/koala/kdejava/Node.cpp deleted file mode 100644 index 2540d3e8..00000000 --- a/kdejava/koala/kdejava/Node.cpp +++ /dev/null @@ -1,296 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class NodeJBridge : public DOM::Node -{ -public: - NodeJBridge() : DOM::Node() {}; - NodeJBridge(const DOM::Node& arg1) : DOM::Node(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_addEventListener(JNIEnv* env, jobject obj, jstring type, jobject listener, jboolean useCapture) -{ -static DOM::DOMString* _domstring_type = 0; - ((DOM::Node*) QtSupport::getQt(env, obj))->addEventListener((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, type, &_domstring_type), (DOM::EventListener*) QtSupport::getQt(env, listener), (const bool) useCapture); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_appendChild(JNIEnv* env, jobject obj, jobject newChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->appendChild((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, newChild))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_applyChanges(JNIEnv* env, jobject obj) -{ - ((DOM::Node*) QtSupport::getQt(env, obj))->applyChanges(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_attributes(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NamedNodeMap(((DOM::Node*) QtSupport::getQt(env, obj))->attributes()), "org.kde.koala.NamedNodeMap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_childNodes(JNIEnv* env, jobject obj) -{ - DOM::NodeList _qlist; - _qlist = ((DOM::Node*) QtSupport::getQt(env, obj))->childNodes(); - return (jobject) KDESupport::arrayWithNodeList(env, (DOM::NodeList *) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_cloneNode(JNIEnv* env, jobject obj, jboolean deep) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->cloneNode((bool) deep)), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_dispatchEvent(JNIEnv* env, jobject obj, jobject evt) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->dispatchEvent((const DOM::Event&)*(const DOM::Event*) QtSupport::getQt(env, evt)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Node_elementId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::Node*) QtSupport::getQt(env, obj))->elementId(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_firstChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->firstChild()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_getRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((DOM::Node*) QtSupport::getQt(env, obj))->getRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_hasAttributes(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->hasAttributes(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_hasChildNodes(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->hasChildNodes(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_Node_index(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::Node*) QtSupport::getQt(env, obj))->index(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_insertBefore(JNIEnv* env, jobject obj, jobject newChild, jobject refChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->insertBefore((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, newChild), (const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refChild))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_isSupported(JNIEnv* env, jobject obj, jstring feature, jstring version) -{ -static DOM::DOMString* _domstring_feature = 0; -static DOM::DOMString* _domstring_version = 0; - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->isSupported((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, feature, &_domstring_feature), (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, version, &_domstring_version)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_lastChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->lastChild()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Node_localName(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Node*) QtSupport::getQt(env, obj))->localName(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Node_namespaceURI(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Node*) QtSupport::getQt(env, obj))->namespaceURI(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_newNode__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_newNode__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_nextSibling(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->nextSibling()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Node_nodeName(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Node*) QtSupport::getQt(env, obj))->nodeName(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_Node_nodeType(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((DOM::Node*) QtSupport::getQt(env, obj))->nodeType(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Node_nodeValue(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Node*) QtSupport::getQt(env, obj))->nodeValue(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_normalize(JNIEnv* env, jobject obj) -{ - ((DOM::Node*) QtSupport::getQt(env, obj))->normalize(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_op_1equals(JNIEnv* env, jobject obj, jobject other) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->operator==((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Node_op_1not_1equals(JNIEnv* env, jobject obj, jobject other) -{ - jboolean xret = (jboolean) ((DOM::Node*) QtSupport::getQt(env, obj))->operator!=((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_ownerDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((DOM::Node*) QtSupport::getQt(env, obj))->ownerDocument()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_parentNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->parentNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Node_prefix(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Node*) QtSupport::getQt(env, obj))->prefix(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_previousSibling(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->previousSibling()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_removeChild(JNIEnv* env, jobject obj, jobject oldChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->removeChild((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, oldChild))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_removeEventListener(JNIEnv* env, jobject obj, jstring type, jobject listener, jboolean useCapture) -{ -static DOM::DOMString* _domstring_type = 0; - ((DOM::Node*) QtSupport::getQt(env, obj))->removeEventListener((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, type, &_domstring_type), (DOM::EventListener*) QtSupport::getQt(env, listener), (bool) useCapture); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Node_replaceChild(JNIEnv* env, jobject obj, jobject newChild, jobject oldChild) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Node*) QtSupport::getQt(env, obj))->replaceChild((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, newChild), (const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, oldChild))), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_setNodeValue(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::Node*) QtSupport::getQt(env, obj))->setNodeValue((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Node_setPrefix(JNIEnv* env, jobject obj, jstring prefix) -{ -static DOM::DOMString* _domstring_prefix = 0; - ((DOM::Node*) QtSupport::getQt(env, obj))->setPrefix((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, prefix, &_domstring_prefix)); - return; -} - diff --git a/kdejava/koala/kdejava/Node.h b/kdejava/koala/kdejava/Node.h deleted file mode 100644 index 6a814226..00000000 --- a/kdejava/koala/kdejava/Node.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Node__ -#define __org_kde_koala_Node__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_newNode__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_newNode__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Node_nodeName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Node_nodeValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_setNodeValue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_Node_nodeType (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_parentNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_childNodes (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_firstChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_lastChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_previousSibling (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_nextSibling (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_attributes (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_ownerDocument (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_insertBefore (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_replaceChild (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_removeChild (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_appendChild (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_hasChildNodes (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_cloneNode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_normalize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_isSupported (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Node_namespaceURI (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Node_prefix (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_setPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Node_localName (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_hasAttributes (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_addEventListener (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_removeEventListener (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_dispatchEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Node_elementId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Node_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_Node_index (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Node_applyChanges (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Node_getRect (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Node__ */ diff --git a/kdejava/koala/kdejava/NodeFilter.cpp b/kdejava/koala/kdejava/NodeFilter.cpp deleted file mode 100644 index bb758c2c..00000000 --- a/kdejava/koala/kdejava/NodeFilter.cpp +++ /dev/null @@ -1,71 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class NodeFilterJBridge : public DOM::NodeFilter -{ -public: - NodeFilterJBridge() : DOM::NodeFilter() {}; - NodeFilterJBridge(const DOM::NodeFilter& arg1) : DOM::NodeFilter(arg1) {}; -}; - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_NodeFilter_acceptNode(JNIEnv* env, jobject obj, jobject n) -{ - jshort xret = (jshort) ((DOM::NodeFilter*) QtSupport::getQt(env, obj))->acceptNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, n)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeFilter_createCustom(JNIEnv* env, jclass cls, jobject custom) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NodeFilter(NodeFilterJBridge::createCustom((DOM::CustomNodeFilter*) QtSupport::getQt(env, custom))), "org.kde.koala.NodeFilter", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeFilter_customNodeFilter(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DOM::NodeFilter*) QtSupport::getQt(env, obj))->customNodeFilter(), "org.kde.koala.CustomNodeFilter"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NodeFilter_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::NodeFilter*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeFilter_newNodeFilter__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeFilterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeFilter_newNodeFilter__Lorg_kde_koala_NodeFilter_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeFilterJBridge((const DOM::NodeFilter&)*(const DOM::NodeFilter*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeFilter_setCustomNodeFilter(JNIEnv* env, jobject obj, jobject custom) -{ - ((DOM::NodeFilter*) QtSupport::getQt(env, obj))->setCustomNodeFilter((DOM::CustomNodeFilter*) QtSupport::getQt(env, custom)); - return; -} - diff --git a/kdejava/koala/kdejava/NodeFilter.h b/kdejava/koala/kdejava/NodeFilter.h deleted file mode 100644 index 7c88f3cc..00000000 --- a/kdejava/koala/kdejava/NodeFilter.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_NodeFilter__ -#define __org_kde_koala_NodeFilter__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeFilter_newNodeFilter__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeFilter_newNodeFilter__Lorg_kde_koala_NodeFilter_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_NodeFilter_acceptNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NodeFilter_isNull (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeFilter_setCustomNodeFilter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeFilter_customNodeFilter (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeFilter_createCustom (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_NodeFilter__ */ diff --git a/kdejava/koala/kdejava/NodeIterator.cpp b/kdejava/koala/kdejava/NodeIterator.cpp deleted file mode 100644 index cea120f1..00000000 --- a/kdejava/koala/kdejava/NodeIterator.cpp +++ /dev/null @@ -1,91 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class NodeIteratorJBridge : public DOM::NodeIterator -{ -public: - NodeIteratorJBridge() : DOM::NodeIterator() {}; - NodeIteratorJBridge(const DOM::NodeIterator& arg1) : DOM::NodeIterator(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeIterator_detach(JNIEnv* env, jobject obj) -{ - ((DOM::NodeIterator*) QtSupport::getQt(env, obj))->detach(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NodeIterator_expandEntityReferences(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::NodeIterator*) QtSupport::getQt(env, obj))->expandEntityReferences(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeIterator_filter(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NodeFilter(((DOM::NodeIterator*) QtSupport::getQt(env, obj))->filter()), "org.kde.koala.NodeFilter", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_NodeIterator_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::NodeIterator*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeIterator_newNodeIterator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeIteratorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_NodeIterator_newNodeIterator__Lorg_kde_koala_NodeIterator_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NodeIteratorJBridge((const DOM::NodeIterator&)*(const DOM::NodeIterator*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeIterator_nextNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NodeIterator*) QtSupport::getQt(env, obj))->nextNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeIterator_previousNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NodeIterator*) QtSupport::getQt(env, obj))->previousNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_NodeIterator_root(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::NodeIterator*) QtSupport::getQt(env, obj))->root()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_NodeIterator_whatToShow(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::NodeIterator*) QtSupport::getQt(env, obj))->whatToShow(); - return xret; -} - diff --git a/kdejava/koala/kdejava/NodeIterator.h b/kdejava/koala/kdejava/NodeIterator.h deleted file mode 100644 index 0744c000..00000000 --- a/kdejava/koala/kdejava/NodeIterator.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_NodeIterator__ -#define __org_kde_koala_NodeIterator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeIterator_newNodeIterator__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeIterator_newNodeIterator__Lorg_kde_koala_NodeIterator_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeIterator_root (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_NodeIterator_whatToShow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeIterator_filter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NodeIterator_expandEntityReferences (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeIterator_nextNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_NodeIterator_previousNode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_NodeIterator_detach (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_NodeIterator_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_NodeIterator__ */ diff --git a/kdejava/koala/kdejava/Notation.cpp b/kdejava/koala/kdejava/Notation.cpp deleted file mode 100644 index 41394ddb..00000000 --- a/kdejava/koala/kdejava/Notation.cpp +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class NotationJBridge : public DOM::Notation -{ -public: - NotationJBridge() : DOM::Notation() {}; - NotationJBridge(const DOM::Notation& arg1) : DOM::Notation(arg1) {}; - NotationJBridge(const DOM::Node& arg1) : DOM::Notation(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Notation_newNotation__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NotationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Notation_newNotation__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NotationJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Notation_newNotation__Lorg_kde_koala_Notation_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new NotationJBridge((const DOM::Notation&)*(const DOM::Notation*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Notation_publicId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Notation*) QtSupport::getQt(env, obj))->publicId(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Notation_systemId(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Notation*) QtSupport::getQt(env, obj))->systemId(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Notation.h b/kdejava/koala/kdejava/Notation.h deleted file mode 100644 index 8efe40b0..00000000 --- a/kdejava/koala/kdejava/Notation.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Notation__ -#define __org_kde_koala_Notation__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Notation_newNotation__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Notation_newNotation__Lorg_kde_koala_Notation_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Notation_newNotation__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Notation_publicId (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Notation_systemId (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Notation__ */ diff --git a/kdejava/koala/kdejava/Observer.cpp b/kdejava/koala/kdejava/Observer.cpp deleted file mode 100644 index 7ace02a9..00000000 --- a/kdejava/koala/kdejava/Observer.cpp +++ /dev/null @@ -1,510 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class ObserverJBridge : public Observer -{ -public: - ObserverJBridge() : Observer() {}; - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Observer",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Observer_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((Observer*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)ObserverJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ObserverJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_jobFinished(JNIEnv* env, jobject obj, jint progressId) -{ - ((Observer*) QtSupport::getQt(env, obj))->jobFinished((int) progressId); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_messageBox__IILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint progressId, jint type, jstring text, jstring caption, jstring buttonYes, jstring buttonNo) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_buttonYes = 0; -static TQString* _qstring_buttonNo = 0; - jint xret = (jint) ObserverJBridge::messageBox((int) progressId, (int) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonYes, &_qstring_buttonYes), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonNo, &_qstring_buttonNo)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_messageBox__IILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint progressId, jint type, jstring text, jstring caption, jstring buttonYes, jstring buttonNo, jstring dontAskAgainName) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_buttonYes = 0; -static TQString* _qstring_buttonNo = 0; -static TQString* _qstring_dontAskAgainName = 0; - jint xret = (jint) ObserverJBridge::messageBox((int) progressId, (int) type, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonYes, &_qstring_buttonYes), (const TQString&)*(TQString*) QtSupport::toTQString(env, buttonNo, &_qstring_buttonNo), (const TQString&)*(TQString*) QtSupport::toTQString(env, dontAskAgainName, &_qstring_dontAskAgainName)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((Observer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_mounting(JNIEnv* env, jobject obj, jobject arg1, jstring dev, jstring point) -{ -static TQString* _qstring_dev = 0; -static TQString* _qstring_point = 0; - ((Observer*) QtSupport::getQt(env, obj))->mounting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, dev, &_qstring_dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_newJob(JNIEnv* env, jobject obj, jobject job, jboolean showProgress) -{ - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->newJob((TDEIO::Job*) QtSupport::getQt(env, job), (bool) showProgress); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_newObserver(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ObserverJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Observer_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Observer_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = ObserverJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_openPassDlg(JNIEnv* env, jobject obj, jobject info) -{ - jboolean xret = (jboolean) ((Observer*) QtSupport::getQt(env, obj))->openPassDlg((TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, info)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2J(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJ(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJI(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJII(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIII(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIIII(JNIEnv* env, jobject obj, jobject job, jstring caption, jstring src, jstring dest, jint mode, jobject newDest, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc, jint mtimeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDest = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_RenameDlg((TDEIO::Job*) QtSupport::getQt(env, job), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDest, &_qstring_newDest), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc, (time_t) mtimeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDest, newDest); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Observer_open_1SkipDlg(JNIEnv* env, jobject obj, jobject job, jboolean multi, jstring error_text) -{ -static TQString* _qstring_error_text = 0; - jint xret = (jint) ((Observer*) QtSupport::getQt(env, obj))->open_SkipDlg((TDEIO::Job*) QtSupport::getQt(env, job), (bool) multi, (const TQString&)*(TQString*) QtSupport::toTQString(env, error_text, &_qstring_error_text)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Observer_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)ObserverJBridge::self(), "org.kde.koala.Observer"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Observer_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*)(Observer*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotCanResume(JNIEnv* env, jobject obj, jobject arg1, jlong offset) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotCanResume((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotCopying(JNIEnv* env, jobject obj, jobject arg1, jobject from, jobject to) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotCopying((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, from), (const KURL&)*(const KURL*) QtSupport::getQt(env, to)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotCreatingDir(JNIEnv* env, jobject obj, jobject arg1, jobject dir) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotCreatingDir((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotDeleting(JNIEnv* env, jobject obj, jobject arg1, jobject url) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotDeleting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotInfoMessage(JNIEnv* env, jobject obj, jobject arg1, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((Observer*) QtSupport::getQt(env, obj))->slotInfoMessage((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotMoving(JNIEnv* env, jobject obj, jobject arg1, jobject from, jobject to) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotMoving((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, from), (const KURL&)*(const KURL*) QtSupport::getQt(env, to)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotPercent(JNIEnv* env, jobject obj, jobject arg1, jlong percent) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotPercent((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotProcessedDirs(JNIEnv* env, jobject obj, jobject arg1, jlong dirs) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotProcessedDirs((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotProcessedFiles(JNIEnv* env, jobject obj, jobject arg1, jlong files) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotProcessedFiles((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotProcessedSize(JNIEnv* env, jobject obj, jobject arg1, jlong size) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotProcessedSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotSpeed(JNIEnv* env, jobject obj, jobject arg1, jlong speed) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotSpeed((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) speed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotTotalDirs(JNIEnv* env, jobject obj, jobject arg1, jlong dirs) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotTotalDirs((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotTotalFiles(JNIEnv* env, jobject obj, jobject arg1, jlong files) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotTotalFiles((TDEIO::Job*) QtSupport::getQt(env, arg1), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotTotalSize(JNIEnv* env, jobject obj, jobject arg1, jlong size) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotTotalSize((TDEIO::Job*) QtSupport::getQt(env, arg1), (TDEIO::filesize_t) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_slotTransferring(JNIEnv* env, jobject obj, jobject arg1, jobject url) -{ - ((Observer*) QtSupport::getQt(env, obj))->slotTransferring((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_stating(JNIEnv* env, jobject obj, jobject arg1, jobject url) -{ - ((Observer*) QtSupport::getQt(env, obj))->stating((TDEIO::Job*) QtSupport::getQt(env, arg1), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Observer_unmounting(JNIEnv* env, jobject obj, jobject arg1, jstring point) -{ -static TQString* _qstring_point = 0; - ((Observer*) QtSupport::getQt(env, obj))->unmounting((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)); - return; -} - diff --git a/kdejava/koala/kdejava/Observer.h b/kdejava/koala/kdejava/Observer.h deleted file mode 100644 index ff0ef08e..00000000 --- a/kdejava/koala/kdejava/Observer.h +++ /dev/null @@ -1,69 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Observer__ -#define __org_kde_koala_Observer__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Observer_className (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_newJob (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_jobFinished (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_openPassDlg (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIIII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJI (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2J (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1RenameDlg__Lorg_kde_koala_Job_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_open_1SkipDlg (JNIEnv *env, jobject, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_stating (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_mounting (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_unmounting (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotTotalSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotTotalFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotTotalDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotProcessedSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotProcessedFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotProcessedDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotSpeed (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotPercent (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotInfoMessage (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotCopying (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotMoving (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotDeleting (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotTransferring (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotCreatingDir (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_slotCanResume (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_self (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_messageBox__IILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jint, jstring, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Observer_messageBox__IILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jint, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_newObserver (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Observer_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Observer_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Observer_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Observer_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Observer_objectName (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Observer__ */ diff --git a/kdejava/koala/kdejava/OpenURLEvent.cpp b/kdejava/koala/kdejava/OpenURLEvent.cpp deleted file mode 100644 index 221137bc..00000000 --- a/kdejava/koala/kdejava/OpenURLEvent.cpp +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class OpenURLEventJBridge : public KParts::OpenURLEvent -{ -public: - OpenURLEventJBridge(KParts::ReadOnlyPart* arg1,const KURL& arg2,const KParts::URLArgs& arg3) : KParts::OpenURLEvent(arg1,arg2,arg3) {}; - OpenURLEventJBridge(KParts::ReadOnlyPart* arg1,const KURL& arg2) : KParts::OpenURLEvent(arg1,arg2) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_OpenURLEvent_args(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KParts::URLArgs(((KParts::OpenURLEvent*) QtSupport::getQt(env, obj))->args()), "org.kde.koala.URLArgs", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_OpenURLEvent_newOpenURLEvent__Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject part, jobject url) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new OpenURLEventJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, part), (const KURL&)*(const KURL*) QtSupport::getQt(env, url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_OpenURLEvent_newOpenURLEvent__Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2(JNIEnv* env, jobject obj, jobject part, jobject url, jobject args) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new OpenURLEventJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, part), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_OpenURLEvent_part(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::OpenURLEvent*) QtSupport::getQt(env, obj))->part(), "org.kde.koala.ReadOnlyPart"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_OpenURLEvent_test(JNIEnv* env, jclass cls, jobject event) -{ - (void) cls; - jboolean xret = (jboolean) OpenURLEventJBridge::test((const TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_OpenURLEvent_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KParts::OpenURLEvent*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/OpenURLEvent.h b/kdejava/koala/kdejava/OpenURLEvent.h deleted file mode 100644 index 483b93f7..00000000 --- a/kdejava/koala/kdejava/OpenURLEvent.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_OpenURLEvent__ -#define __org_kde_koala_OpenURLEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_OpenURLEvent_newOpenURLEvent__Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_koala_KURL_2Lorg_kde_koala_URLArgs_2 (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_OpenURLEvent_newOpenURLEvent__Lorg_kde_koala_ReadOnlyPart_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_OpenURLEvent_part (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_OpenURLEvent_url (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_OpenURLEvent_args (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_OpenURLEvent_test (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_OpenURLEvent__ */ diff --git a/kdejava/koala/kdejava/Part.cpp b/kdejava/koala/kdejava/Part.cpp deleted file mode 100644 index e62da8a6..00000000 --- a/kdejava/koala/kdejava/Part.cpp +++ /dev/null @@ -1,304 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class PartJBridge : public KParts::Part -{ -public: - PartJBridge(TQObject* arg1,const char* arg2) : KParts::Part(arg1,arg2) {}; - PartJBridge(TQObject* arg1) : KParts::Part(arg1) {}; - PartJBridge() : KParts::Part() {}; - void protected_setWidget(TQWidget* arg1) { - KParts::Part::setWidget(arg1); - return; - } - void protected_customEvent(TQCustomEvent* arg1) { - KParts::Part::customEvent(arg1); - return; - } - void protected_partActivateEvent(KParts::PartActivateEvent* arg1) { - KParts::Part::partActivateEvent(arg1); - return; - } - void protected_partSelectEvent(KParts::PartSelectEvent* arg1) { - KParts::Part::partSelectEvent(arg1); - return; - } - void protected_guiActivateEvent(KParts::GUIActivateEvent* arg1) { - KParts::Part::guiActivateEvent(arg1); - return; - } - TQWidget* protected_hostContainer(const TQString& arg1) { - return (TQWidget*) KParts::Part::hostContainer(arg1); - } - void protected_setInstance(TDEInstance* arg1) { - KParts::PartBase::setInstance(arg1); - return; - } - void protected_setInstance(TDEInstance* arg1,bool arg2) { - KParts::PartBase::setInstance(arg1,arg2); - return; - } - void protected_loadPlugins(TQObject* arg1,KXMLGUIClient* arg2,TDEInstance* arg3) { - KParts::PartBase::loadPlugins(arg1,arg2,arg3); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void partSelectEvent(KParts::PartSelectEvent* arg1) { - if (!QtSupport::eventDelegate(this,"partSelectEvent",(void*)arg1,"org.kde.koala.PartSelectEvent")) { - Part::partSelectEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.Part","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - void setManager(KParts::PartManager* arg1) { - if (!QtSupport::eventDelegate(this,"setManager",(void*)arg1,"org.kde.koala.PartManager")) { - Part::setManager(arg1); - } - return; - } - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - Part::setWidget(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - Part::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void embed(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"embed",(void*)arg1,"org.kde.qt.TQWidget")) { - Part::embed(arg1); - } - return; - } - void partActivateEvent(KParts::PartActivateEvent* arg1) { - if (!QtSupport::eventDelegate(this,"partActivateEvent",(void*)arg1,"org.kde.koala.PartActivateEvent")) { - Part::partActivateEvent(arg1); - } - return; - } - void guiActivateEvent(KParts::GUIActivateEvent* arg1) { - if (!QtSupport::eventDelegate(this,"guiActivateEvent",(void*)arg1,"org.kde.koala.GUIActivateEvent")) { - Part::guiActivateEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Part",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Part_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::Part*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_customEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_embed(JNIEnv* env, jobject obj, jobject parentWidget) -{ - ((KParts::Part*) QtSupport::getQt(env, obj))->embed((TQWidget*) QtSupport::getQt(env, parentWidget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_guiActivateEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_guiActivateEvent((KParts::GUIActivateEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_hitTest(JNIEnv* env, jobject obj, jobject widget, jobject globalPos) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Part*) QtSupport::getQt(env, obj))->hitTest((TQWidget*) QtSupport::getQt(env, widget), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, globalPos)), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_hostContainer(JNIEnv* env, jobject obj, jstring containerName) -{ -static TQString* _qstring_containerName = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((PartJBridge*) QtSupport::getQt(env, obj))->protected_hostContainer((const TQString&)*(TQString*) QtSupport::toTQString(env, containerName, &_qstring_containerName)), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Part_isSelectable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::Part*) QtSupport::getQt(env, obj))->isSelectable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_loadPlugins(JNIEnv* env, jobject obj, jobject parent, jobject parentGUIClient, jobject instance) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_manager(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Part*) QtSupport::getQt(env, obj))->manager(), "org.kde.koala.PartManager"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Part*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_newPart__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_newPart__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_newPart__Lorg_kde_qt_QObject_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 PartJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_partActivateEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_partActivateEvent((KParts::PartActivateEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_partObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartBase*)(KParts::Part*) QtSupport::getQt(env, obj))->partObject(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_partSelectEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_partSelectEvent((KParts::PartSelectEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setInstance__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z(JNIEnv* env, jobject obj, jobject instance, jboolean loadPlugins) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance), (bool) loadPlugins); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setManager(JNIEnv* env, jobject obj, jobject manager) -{ - ((KParts::Part*) QtSupport::getQt(env, obj))->setManager((KParts::PartManager*) QtSupport::getQt(env, manager)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setPartObject(JNIEnv* env, jobject obj, jobject object) -{ - ((KParts::PartBase*)(KParts::Part*) QtSupport::getQt(env, obj))->setPartObject((TQObject*) QtSupport::getQt(env, object)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setSelectable(JNIEnv* env, jobject obj, jboolean selectable) -{ - ((KParts::Part*) QtSupport::getQt(env, obj))->setSelectable((bool) selectable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Part_setWidget(JNIEnv* env, jobject obj, jobject widget) -{ - ((PartJBridge*) QtSupport::getQt(env, obj))->protected_setWidget((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Part_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Part*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/Part.h b/kdejava/koala/kdejava/Part.h deleted file mode 100644 index ec1a2e4a..00000000 --- a/kdejava/koala/kdejava/Part.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Part__ -#define __org_kde_koala_Part__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Part_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_newPart__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_newPart__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_newPart__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_embed (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_widget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setManager (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_manager (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_hitTest (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setSelectable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Part_isSelectable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_customEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_partActivateEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_partSelectEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_guiActivateEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_hostContainer (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setPartObject (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Part_partObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setInstance__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Part_loadPlugins (JNIEnv *env, jobject, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Part__ */ diff --git a/kdejava/koala/kdejava/PartActivateEvent.cpp b/kdejava/koala/kdejava/PartActivateEvent.cpp deleted file mode 100644 index fbb3cd20..00000000 --- a/kdejava/koala/kdejava/PartActivateEvent.cpp +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class PartActivateEventJBridge : public KParts::PartActivateEvent -{ -public: - PartActivateEventJBridge(bool arg1,KParts::Part* arg2,TQWidget* arg3) : KParts::PartActivateEvent(arg1,arg2,arg3) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartActivateEvent_activated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::PartActivateEvent*) QtSupport::getQt(env, obj))->activated(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartActivateEvent_newPartActivateEvent(JNIEnv* env, jobject obj, jboolean activated, jobject part, jobject widget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartActivateEventJBridge((bool) activated, (KParts::Part*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, widget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartActivateEvent_part(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartActivateEvent*) QtSupport::getQt(env, obj))->part(), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartActivateEvent_test(JNIEnv* env, jclass cls, jobject event) -{ - (void) cls; - jboolean xret = (jboolean) PartActivateEventJBridge::test((const TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartActivateEvent_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartActivateEvent*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/PartActivateEvent.h b/kdejava/koala/kdejava/PartActivateEvent.h deleted file mode 100644 index ea93587c..00000000 --- a/kdejava/koala/kdejava/PartActivateEvent.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PartActivateEvent__ -#define __org_kde_koala_PartActivateEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartActivateEvent_newPartActivateEvent (JNIEnv *env, jobject, jboolean, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartActivateEvent_activated (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartActivateEvent_part (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartActivateEvent_widget (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartActivateEvent_test (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PartActivateEvent__ */ diff --git a/kdejava/koala/kdejava/PartBase.cpp b/kdejava/koala/kdejava/PartBase.cpp deleted file mode 100644 index 5d9b03e0..00000000 --- a/kdejava/koala/kdejava/PartBase.cpp +++ /dev/null @@ -1,70 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class PartBaseJBridge : public KParts::PartBase -{ -public: - PartBaseJBridge() : KParts::PartBase() {}; - void protected_setInstance(TDEInstance* arg1) { - KParts::PartBase::setInstance(arg1); - return; - } - void protected_setInstance(TDEInstance* arg1,bool arg2) { - KParts::PartBase::setInstance(arg1,arg2); - return; - } - void protected_loadPlugins(TQObject* arg1,KXMLGUIClient* arg2,TDEInstance* arg3) { - KParts::PartBase::loadPlugins(arg1,arg2,arg3); - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartBase_loadPlugins(JNIEnv* env, jobject obj, jobject parent, jobject parentGUIClient, jobject instance) -{ - ((PartBaseJBridge*) QtSupport::getQt(env, obj))->protected_loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartBase_newPartBase(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartBaseJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartBase_partObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartBase*) QtSupport::getQt(env, obj))->partObject(), "org.kde.qt.TQObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartBase_setInstance__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - ((PartBaseJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartBase_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z(JNIEnv* env, jobject obj, jobject instance, jboolean loadPlugins) -{ - ((PartBaseJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance), (bool) loadPlugins); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartBase_setPartObject(JNIEnv* env, jobject obj, jobject object) -{ - ((KParts::PartBase*) QtSupport::getQt(env, obj))->setPartObject((TQObject*) QtSupport::getQt(env, object)); - return; -} - diff --git a/kdejava/koala/kdejava/PartBase.h b/kdejava/koala/kdejava/PartBase.h deleted file mode 100644 index 48b042af..00000000 --- a/kdejava/koala/kdejava/PartBase.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PartBase__ -#define __org_kde_koala_PartBase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartBase_newPartBase (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartBase_setPartObject (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartBase_partObject (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartBase_setInstance__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartBase_setInstance__Lorg_kde_koala_TDEInstanceInterface_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartBase_loadPlugins (JNIEnv *env, jobject, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PartBase__ */ diff --git a/kdejava/koala/kdejava/PartManager.cpp b/kdejava/koala/kdejava/PartManager.cpp deleted file mode 100644 index 08c48f7c..00000000 --- a/kdejava/koala/kdejava/PartManager.cpp +++ /dev/null @@ -1,327 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class PartManagerJBridge : public KParts::PartManager -{ -public: - PartManagerJBridge(TQWidget* arg1,const char* arg2) : KParts::PartManager(arg1,arg2) {}; - PartManagerJBridge(TQWidget* arg1) : KParts::PartManager(arg1) {}; - PartManagerJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : KParts::PartManager(arg1,arg2,arg3) {}; - PartManagerJBridge(TQWidget* arg1,TQObject* arg2) : KParts::PartManager(arg1,arg2) {}; - void protected_setActiveInstance(TDEInstance* arg1) { - KParts::PartManager::setActiveInstance(arg1); - return; - } - void protected_slotObjectDestroyed() { - KParts::PartManager::slotObjectDestroyed(); - return; - } - void protected_slotWidgetDestroyed() { - KParts::PartManager::slotWidgetDestroyed(); - return; - } - void protected_slotManagedTopLevelWidgetDestroyed() { - KParts::PartManager::slotManagedTopLevelWidgetDestroyed(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void setActiveInstance(TDEInstance* arg1) { - if (!QtSupport::eventDelegate(this,"setActiveInstance",(void*)arg1,"org.kde.koala.TDEInstanceInterface")) { - PartManager::setActiveInstance(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void removePart(KParts::Part* arg1) { - if (!QtSupport::eventDelegate(this,"removePart",(void*)arg1,"org.kde.koala.Part")) { - PartManager::removePart(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.PartManager",object,event)) { - return PartManager::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jshort JNICALL -Java_org_kde_koala_PartManager_activationButtonMask(JNIEnv* env, jobject obj) -{ - jshort xret = (jshort) ((KParts::PartManager*) QtSupport::getQt(env, obj))->activationButtonMask(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartManager_activePart(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartManager*) QtSupport::getQt(env, obj))->activePart(), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartManager_activeWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartManager*) QtSupport::getQt(env, obj))->activeWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_addManagedTopLevelWidget(JNIEnv* env, jobject obj, jobject topLevel) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->addManagedTopLevelWidget((const TQWidget*) QtSupport::getQt(env, topLevel)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_addPart__Lorg_kde_koala_Part_2(JNIEnv* env, jobject obj, jobject part) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->addPart((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_addPart__Lorg_kde_koala_Part_2Z(JNIEnv* env, jobject obj, jobject part, jboolean setActive) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->addPart((KParts::Part*) QtSupport::getQt(env, part), (bool) setActive); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartManager_allowNestedParts(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::PartManager*) QtSupport::getQt(env, obj))->allowNestedParts(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_PartManager_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::PartManager*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartManager_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject ev) -{ - jboolean xret = (jboolean) ((KParts::PartManager*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, ev)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartManager_ignoreScrollBars(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::PartManager*) QtSupport::getQt(env, obj))->ignoreScrollBars(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartManager_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartManager*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartManagerJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_newPartManager__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 PartManagerJBridge((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_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject topLevel, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartManagerJBridge((TQWidget*) QtSupport::getQt(env, topLevel), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject topLevel, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartManagerJBridge((TQWidget*) QtSupport::getQt(env, topLevel), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PartManager_reason(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((KParts::PartManager*) QtSupport::getQt(env, obj))->reason(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_removeManagedTopLevelWidget(JNIEnv* env, jobject obj, jobject topLevel) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->removeManagedTopLevelWidget((const TQWidget*) QtSupport::getQt(env, topLevel)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_removePart(JNIEnv* env, jobject obj, jobject part) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->removePart((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_replacePart__Lorg_kde_koala_Part_2Lorg_kde_koala_Part_2(JNIEnv* env, jobject obj, jobject oldPart, jobject newPart) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->replacePart((KParts::Part*) QtSupport::getQt(env, oldPart), (KParts::Part*) QtSupport::getQt(env, newPart)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_replacePart__Lorg_kde_koala_Part_2Lorg_kde_koala_Part_2Z(JNIEnv* env, jobject obj, jobject oldPart, jobject newPart, jboolean setActive) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->replacePart((KParts::Part*) QtSupport::getQt(env, oldPart), (KParts::Part*) QtSupport::getQt(env, newPart), (bool) setActive); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartManager_selectedPart(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartManager*) QtSupport::getQt(env, obj))->selectedPart(), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartManager_selectedWidget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartManager*) QtSupport::getQt(env, obj))->selectedWidget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setActivationButtonMask(JNIEnv* env, jobject obj, jshort buttonMask) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setActivationButtonMask((short int) buttonMask); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setActiveInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((PartManagerJBridge*) QtSupport::getQt(env, obj))->protected_setActiveInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setActivePart__Lorg_kde_koala_Part_2(JNIEnv* env, jobject obj, jobject part) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setActivePart((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setActivePart__Lorg_kde_koala_Part_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject part, jobject widget) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setActivePart((KParts::Part*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setAllowNestedParts(JNIEnv* env, jobject obj, jboolean allow) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setAllowNestedParts((bool) allow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setIgnoreScrollBars(JNIEnv* env, jobject obj, jboolean ignore) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setIgnoreScrollBars((bool) ignore); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setSelectedPart__Lorg_kde_koala_Part_2(JNIEnv* env, jobject obj, jobject part) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setSelectedPart((KParts::Part*) QtSupport::getQt(env, part)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_setSelectedPart__Lorg_kde_koala_Part_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject part, jobject widget) -{ - ((KParts::PartManager*) QtSupport::getQt(env, obj))->setSelectedPart((KParts::Part*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_slotManagedTopLevelWidgetDestroyed(JNIEnv* env, jobject obj) -{ - ((PartManagerJBridge*) QtSupport::getQt(env, obj))->protected_slotManagedTopLevelWidgetDestroyed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_slotObjectDestroyed(JNIEnv* env, jobject obj) -{ - ((PartManagerJBridge*) QtSupport::getQt(env, obj))->protected_slotObjectDestroyed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartManager_slotWidgetDestroyed(JNIEnv* env, jobject obj) -{ - ((PartManagerJBridge*) QtSupport::getQt(env, obj))->protected_slotWidgetDestroyed(); - return; -} - diff --git a/kdejava/koala/kdejava/PartManager.h b/kdejava/koala/kdejava/PartManager.h deleted file mode 100644 index 06ff3064..00000000 --- a/kdejava/koala/kdejava/PartManager.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PartManager__ -#define __org_kde_koala_PartManager__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartManager_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_PartManager_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_newPartManager__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setAllowNestedParts (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartManager_allowNestedParts (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setIgnoreScrollBars (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartManager_ignoreScrollBars (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setActivationButtonMask (JNIEnv *env, jobject, jshort); -extern JNIEXPORT jshort JNICALL Java_org_kde_koala_PartManager_activationButtonMask (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartManager_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_addPart__Lorg_kde_koala_Part_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_addPart__Lorg_kde_koala_Part_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_removePart (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_replacePart__Lorg_kde_koala_Part_2Lorg_kde_koala_Part_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_replacePart__Lorg_kde_koala_Part_2Lorg_kde_koala_Part_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setActivePart__Lorg_kde_koala_Part_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setActivePart__Lorg_kde_koala_Part_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartManager_activePart (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartManager_activeWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setSelectedPart__Lorg_kde_koala_Part_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setSelectedPart__Lorg_kde_koala_Part_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartManager_selectedPart (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartManager_selectedWidget (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_addManagedTopLevelWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_removeManagedTopLevelWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PartManager_reason (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_setActiveInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_slotObjectDestroyed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_slotWidgetDestroyed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartManager_slotManagedTopLevelWidgetDestroyed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PartManager__ */ diff --git a/kdejava/koala/kdejava/PartSelectEvent.cpp b/kdejava/koala/kdejava/PartSelectEvent.cpp deleted file mode 100644 index 1efabfe1..00000000 --- a/kdejava/koala/kdejava/PartSelectEvent.cpp +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class PartSelectEventJBridge : public KParts::PartSelectEvent -{ -public: - PartSelectEventJBridge(bool arg1,KParts::Part* arg2,TQWidget* arg3) : KParts::PartSelectEvent(arg1,arg2,arg3) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_PartSelectEvent_newPartSelectEvent(JNIEnv* env, jobject obj, jboolean selected, jobject part, jobject widget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PartSelectEventJBridge((bool) selected, (KParts::Part*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, widget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartSelectEvent_part(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartSelectEvent*) QtSupport::getQt(env, obj))->part(), "org.kde.koala.Part"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartSelectEvent_selected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::PartSelectEvent*) QtSupport::getQt(env, obj))->selected(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PartSelectEvent_test(JNIEnv* env, jclass cls, jobject event) -{ - (void) cls; - jboolean xret = (jboolean) PartSelectEventJBridge::test((const TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PartSelectEvent_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::PartSelectEvent*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - diff --git a/kdejava/koala/kdejava/PartSelectEvent.h b/kdejava/koala/kdejava/PartSelectEvent.h deleted file mode 100644 index d5be922f..00000000 --- a/kdejava/koala/kdejava/PartSelectEvent.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PartSelectEvent__ -#define __org_kde_koala_PartSelectEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_PartSelectEvent_newPartSelectEvent (JNIEnv *env, jobject, jboolean, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartSelectEvent_selected (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartSelectEvent_part (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PartSelectEvent_widget (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PartSelectEvent_test (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PartSelectEvent__ */ diff --git a/kdejava/koala/kdejava/PasswordDialog.cpp b/kdejava/koala/kdejava/PasswordDialog.cpp deleted file mode 100644 index 80791b50..00000000 --- a/kdejava/koala/kdejava/PasswordDialog.cpp +++ /dev/null @@ -1,662 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class PasswordDialogJBridge : public TDEIO::PasswordDialog -{ -public: - PasswordDialogJBridge(const TQString& arg1,const TQString& arg2,bool arg3,bool arg4,TQWidget* arg5,const char* arg6) : TDEIO::PasswordDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - PasswordDialogJBridge(const TQString& arg1,const TQString& arg2,bool arg3,bool arg4,TQWidget* arg5) : TDEIO::PasswordDialog(arg1,arg2,arg3,arg4,arg5) {}; - PasswordDialogJBridge(const TQString& arg1,const TQString& arg2,bool arg3,bool arg4) : TDEIO::PasswordDialog(arg1,arg2,arg3,arg4) {}; - PasswordDialogJBridge(const TQString& arg1,const TQString& arg2,bool arg3) : TDEIO::PasswordDialog(arg1,arg2,arg3) {}; - PasswordDialogJBridge(const TQString& arg1,const TQString& arg2) : TDEIO::PasswordDialog(arg1,arg2) {}; - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.PasswordDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.PasswordDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_addCommentLine(JNIEnv* env, jobject obj, jstring label, jstring comment) -{ -static TQString* _qstring_label = 0; -static TQString* _qstring_comment = 0; - ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->addCommentLine((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (const TQString)*(TQString*) QtSupport::toTQString(env, comment, &_qstring_comment)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_PasswordDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3Z(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep, jstring prompt) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); -static TQString* _qstring_prompt = 0; - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep, (const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2Z(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep, jstring prompt, jboolean readOnly) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); -static TQString* _qstring_prompt = 0; - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep, (const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (bool) readOnly); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep, jstring prompt, jboolean readOnly, jstring caption) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); -static TQString* _qstring_prompt = 0; -static TQString* _qstring_caption = 0; - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep, (const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (bool) readOnly, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep, jstring prompt, jboolean readOnly, jstring caption, jstring comment) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); -static TQString* _qstring_prompt = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_comment = 0; - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep, (const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (bool) readOnly, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, comment, &_qstring_comment)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject user, jobject pass, jbooleanArray keep, jstring prompt, jboolean readOnly, jstring caption, jstring comment, jstring label) -{ - (void) cls; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - bool* _bool_keep = QtSupport::toBooleanPtr(env, keep); -static TQString* _qstring_prompt = 0; -static TQString* _qstring_caption = 0; -static TQString* _qstring_comment = 0; -static TQString* _qstring_label = 0; - jint xret = (jint) PasswordDialogJBridge::getNameAndPassword((TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, user, &_qstring_user), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, pass, &_qstring_pass), (bool*) _bool_keep, (const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (bool) readOnly, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, comment, &_qstring_comment), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_user, user); - QtSupport::fromTQStringToStringBuffer(env, _qstring_pass, pass); - env->SetBooleanArrayRegion(keep, 0, 1, (jboolean*) _bool_keep); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PasswordDialog_keepPassword(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->keepPassword(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PasswordDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prompt, jstring user) -{ -static TQString* _qstring_prompt = 0; -static TQString* _qstring_user = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PasswordDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring prompt, jstring user, jboolean enableKeep) -{ -static TQString* _qstring_prompt = 0; -static TQString* _qstring_user = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PasswordDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (bool) enableKeep)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring prompt, jstring user, jboolean enableKeep, jboolean modal) -{ -static TQString* _qstring_prompt = 0; -static TQString* _qstring_user = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PasswordDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (bool) enableKeep, (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring prompt, jstring user, jboolean enableKeep, jboolean modal, jobject parent) -{ -static TQString* _qstring_prompt = 0; -static TQString* _qstring_user = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PasswordDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (bool) enableKeep, (bool) modal, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring prompt, jstring user, jboolean enableKeep, jboolean modal, jobject parent, jstring name) -{ -static TQString* _qstring_prompt = 0; -static TQString* _qstring_user = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PasswordDialogJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt), (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (bool) enableKeep, (bool) modal, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_PasswordDialog_password(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->password(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_setKeepPassword(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->setKeepPassword((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_setPassword(JNIEnv* env, jobject obj, jstring password) -{ -static TQString* _qstring_password = 0; - ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->setPassword((const TQString&)*(TQString*) QtSupport::toTQString(env, password, &_qstring_password)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_setPrompt(JNIEnv* env, jobject obj, jstring prompt) -{ -static TQString* _qstring_prompt = 0; - ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->setPrompt((const TQString&)*(TQString*) QtSupport::toTQString(env, prompt, &_qstring_prompt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PasswordDialog_setUserReadOnly(JNIEnv* env, jobject obj, jboolean readOnly) -{ - ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->setUserReadOnly((bool) readOnly); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_PasswordDialog_username(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::PasswordDialog*) QtSupport::getQt(env, obj))->username(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/PasswordDialog.h b/kdejava/koala/kdejava/PasswordDialog.h deleted file mode 100644 index 3a03d19c..00000000 --- a/kdejava/koala/kdejava/PasswordDialog.h +++ /dev/null @@ -1,39 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PasswordDialog__ -#define __org_kde_koala_PasswordDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PasswordDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_PasswordDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_newPasswordDialog__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_setPrompt (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_addCommentLine (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_PasswordDialog_password (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_PasswordDialog_username (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PasswordDialog_keepPassword (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_setKeepPassword (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_setUserReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PasswordDialog_setPassword (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jbooleanArray, jstring, jboolean, jstring, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jbooleanArray, jstring, jboolean, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jbooleanArray, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2Z (JNIEnv *env, jclass, jobject, jobject, jbooleanArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ZLjava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jbooleanArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_PasswordDialog_getNameAndPassword__Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3Z (JNIEnv *env, jclass, jobject, jobject, jbooleanArray); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PasswordDialog__ */ diff --git a/kdejava/koala/kdejava/Plugin.cpp b/kdejava/koala/kdejava/Plugin.cpp deleted file mode 100644 index 88fc1eab..00000000 --- a/kdejava/koala/kdejava/Plugin.cpp +++ /dev/null @@ -1,471 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class PluginJBridge : public KParts::Plugin -{ -public: - PluginJBridge(TQObject* arg1,const char* arg2) : KParts::Plugin(arg1,arg2) {}; - PluginJBridge(TQObject* arg1) : KParts::Plugin(arg1) {}; - PluginJBridge() : KParts::Plugin() {}; - void protected_setInstance(TDEInstance* arg1) { - KParts::Plugin::setInstance(arg1); - return; - } - static KParts::Plugin* protected_loadPlugin(TQObject* arg1,const char* arg2) { - return (KParts::Plugin*) KParts::Plugin::loadPlugin(arg1,arg2); - } - void protected_setXMLFile(const TQString& arg1,bool arg2,bool arg3) { - KXMLGUIClient::setXMLFile(arg1,arg2,arg3); - return; - } - void protected_setXMLFile(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXMLFile(arg1,arg2); - return; - } - void protected_setXMLFile(const TQString& arg1) { - KXMLGUIClient::setXMLFile(arg1); - return; - } - void protected_setLocalXMLFile(const TQString& arg1) { - KXMLGUIClient::setLocalXMLFile(arg1); - return; - } - void protected_setXML(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXML(arg1,arg2); - return; - } - void protected_setXML(const TQString& arg1) { - KXMLGUIClient::setXML(arg1); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1,bool arg2) { - KXMLGUIClient::setDOMDocument(arg1,arg2); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1) { - KXMLGUIClient::setDOMDocument(arg1); - return; - } - void protected_conserveMemory() { - KXMLGUIClient::conserveMemory(); - return; - } - void protected_stateChanged(const TQString& arg1,KXMLGUIClient::ReverseStateChange arg2) { - KXMLGUIClient::stateChanged(arg1,arg2); - return; - } - void protected_stateChanged(const TQString& arg1) { - KXMLGUIClient::stateChanged(arg1); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.Plugin","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Plugin",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setInstance(TDEInstance* arg1) { - if (!QtSupport::eventDelegate(this,"setInstance",(void*)arg1,"org.kde.koala.TDEInstanceInterface")) { - Plugin::setInstance(arg1); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_addStateActionDisabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->addStateActionDisabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_addStateActionEnabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->addStateActionEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_beginXMLPlug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->beginXMLPlug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Plugin_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::Plugin*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_clientBuilder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->clientBuilder(), "org.kde.koala.KXMLGUIBuilderInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_conserveMemory(JNIEnv* env, jobject obj) -{ - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_conserveMemory(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_domDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_endXMLPlug(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->endXMLPlug(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_factory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->factory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Plugin_findMostRecentXMLFile(JNIEnv* env, jclass cls, jobjectArray files, jobject doc) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_files = 0; -static TQString* _qstring_doc = 0; - _qstring = PluginJBridge::findMostRecentXMLFile((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, doc, &_qstring_doc)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_doc, doc); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_insertChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->insertChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_loadPlugin(JNIEnv* env, jclass cls, jobject parent, jstring libname) -{ - (void) cls; -static TQCString* _qstring_libname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)PluginJBridge::protected_loadPlugin((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, libname, &_qstring_libname)), "org.kde.koala.Plugin"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jobject parent, jobject instance) -{ - (void) cls; - PluginJBridge::loadPlugins((TQObject*) QtSupport::getQt(env, parent), (const TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_KXMLGUIClientInterface_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jclass cls, jobject parent, jobject parentGUIClient, jobject instance) -{ - (void) cls; - PluginJBridge::loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_KXMLGUIClientInterface_2Lorg_kde_koala_TDEInstanceInterface_2Z(JNIEnv* env, jclass cls, jobject parent, jobject parentGUIClient, jobject instance, jboolean enableNewPluginsByDefault) -{ - (void) cls; - PluginJBridge::loadPlugins((TQObject*) QtSupport::getQt(env, parent), (KXMLGUIClient*) QtSupport::getQt(env, parentGUIClient), (TDEInstance*) QtSupport::getQt(env, instance), (bool) enableNewPluginsByDefault); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Plugin_localXMLFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KParts::Plugin*) QtSupport::getQt(env, obj))->localXMLFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::Plugin*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_newPlugin__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PluginJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_newPlugin__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PluginJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_newPlugin__Lorg_kde_qt_QObject_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 PluginJBridge((TQObject*) 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_koala_Plugin_parentClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->parentClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_prepareXMLUnplug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_reloadXML(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->reloadXML(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_removeChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->removeChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setClientBuilder(JNIEnv* env, jobject obj, jobject builder) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->setClientBuilder((KXMLGUIBuilder*) QtSupport::getQt(env, builder)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setDOMDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject document) -{ - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jobject obj, jobject document, jboolean merge) -{ - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setFactory(JNIEnv* env, jobject obj, jobject factory) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->setFactory((KXMLGUIFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setLocalXMLFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring file, jboolean merge) -{ -static TQString* _qstring_file = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring file, jboolean merge, jboolean setXMLDoc) -{ -static TQString* _qstring_file = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge, (bool) setXMLDoc); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setXMLGUIBuildDocument(JNIEnv* env, jobject obj, jobject doc) -{ - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setXML__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring document) -{ -static TQString* _qstring_document = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_setXML__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring document, jboolean merge) -{ -static TQString* _qstring_document = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_stateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_stateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint reverse) -{ -static TQString* _qstring_newstate = 0; - ((PluginJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Plugin_unplugActionList(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->unplugActionList((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Plugin_xmlFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KParts::Plugin*) QtSupport::getQt(env, obj))->xmlFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Plugin_xmlguiBuildDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(KParts::Plugin*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/Plugin.h b/kdejava/koala/kdejava/Plugin.h deleted file mode 100644 index 7b05ee91..00000000 --- a/kdejava/koala/kdejava/Plugin.h +++ /dev/null @@ -1,63 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Plugin__ -#define __org_kde_koala_Plugin__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Plugin_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_newPlugin__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_newPlugin__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_newPlugin__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Plugin_xmlFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Plugin_localXMLFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_KXMLGUIClientInterface_2Lorg_kde_koala_TDEInstanceInterface_2Z (JNIEnv *env, jclass, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_loadPlugins__Lorg_kde_qt_QObject_2Lorg_kde_koala_KXMLGUIClientInterface_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jclass, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_loadPlugin (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_action__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_domDocument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLGUIBuildDocument (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_xmlguiBuildDocument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setFactory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_factory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_parentClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_insertChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_removeChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setClientBuilder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Plugin_clientBuilder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_reloadXML (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_unplugActionList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_addStateActionEnabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_addStateActionDisabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_beginXMLPlug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_endXMLPlug (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_prepareXMLUnplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Plugin_findMostRecentXMLFile (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXMLFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setLocalXMLFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXML__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setXML__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_setDOMDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_conserveMemory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_stateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Plugin_stateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Plugin__ */ diff --git a/kdejava/koala/kdejava/PreviewJob.cpp b/kdejava/koala/kdejava/PreviewJob.cpp deleted file mode 100644 index abdfa85f..00000000 --- a/kdejava/koala/kdejava/PreviewJob.cpp +++ /dev/null @@ -1,183 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class PreviewJobJBridge : public TDEIO::PreviewJob -{ -public: - PreviewJobJBridge(const KFileItemList& arg1,int arg2,int arg3,int arg4,int arg5,bool arg6,bool arg7,const TQStringList* arg8,bool arg9) : TDEIO::PreviewJob(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - PreviewJobJBridge(const KFileItemList& arg1,int arg2,int arg3,int arg4,int arg5,bool arg6,bool arg7,const TQStringList* arg8) : TDEIO::PreviewJob(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - void protected_getOrCreateThumbnail() { - TDEIO::PreviewJob::getOrCreateThumbnail(); - return; - } - bool protected_statResultThumbnail() { - return (bool) TDEIO::PreviewJob::statResultThumbnail(); - } - void protected_createThumbnail(TQString arg1) { - TDEIO::PreviewJob::createThumbnail(arg1); - return; - } - void protected_slotResult(TDEIO::Job* arg1) { - TDEIO::PreviewJob::slotResult(arg1); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - PreviewJob::slotResult(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.PreviewJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PreviewJob_availablePlugins(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = PreviewJobJBridge::availablePlugins(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_PreviewJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::PreviewJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_createThumbnail(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((PreviewJobJBridge*) QtSupport::getQt(env, obj))->protected_createThumbnail((TQString)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_getOrCreateThumbnail(JNIEnv* env, jobject obj) -{ - ((PreviewJobJBridge*) QtSupport::getQt(env, obj))->protected_getOrCreateThumbnail(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PreviewJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::PreviewJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_newPreviewJob__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale, jboolean save, jobjectArray enabledPlugins) -{ -static KFileItemList* _qlist_items = 0; -static TQStringList* _qlist_enabledPlugins = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PreviewJobJBridge((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save, (const TQStringList*) QtSupport::toTQStringList(env, enabledPlugins, &_qlist_enabledPlugins))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_newPreviewJob__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale, jboolean save, jobjectArray enabledPlugins, jboolean deleteItems) -{ -static KFileItemList* _qlist_items = 0; -static TQStringList* _qlist_enabledPlugins = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new PreviewJobJBridge((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save, (const TQStringList*) QtSupport::toTQStringList(env, enabledPlugins, &_qlist_enabledPlugins), (bool) deleteItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_removeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEIO::PreviewJob*) QtSupport::getQt(env, obj))->removeItem((const KFileItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_setIgnoreMaximumSize__(JNIEnv* env, jobject obj) -{ - ((TDEIO::PreviewJob*) QtSupport::getQt(env, obj))->setIgnoreMaximumSize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_setIgnoreMaximumSize__Z(JNIEnv* env, jobject obj, jboolean ignoreSize) -{ - ((TDEIO::PreviewJob*) QtSupport::getQt(env, obj))->setIgnoreMaximumSize((bool) ignoreSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_PreviewJob_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((PreviewJobJBridge*) QtSupport::getQt(env, obj))->protected_slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_PreviewJob_statResultThumbnail(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((PreviewJobJBridge*) QtSupport::getQt(env, obj))->protected_statResultThumbnail(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_PreviewJob_supportedMimeTypes(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = PreviewJobJBridge::supportedMimeTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/PreviewJob.h b/kdejava/koala/kdejava/PreviewJob.h deleted file mode 100644 index 62b204a2..00000000 --- a/kdejava/koala/kdejava/PreviewJob.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_PreviewJob__ -#define __org_kde_koala_PreviewJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PreviewJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_PreviewJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_newPreviewJob__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jboolean, jboolean, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_newPreviewJob__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jint, jint, jint, jboolean, jboolean, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_removeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_setIgnoreMaximumSize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_setIgnoreMaximumSize__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PreviewJob_availablePlugins (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_PreviewJob_supportedMimeTypes (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_getOrCreateThumbnail (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_PreviewJob_statResultThumbnail (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_createThumbnail (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_PreviewJob_slotResult (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_PreviewJob__ */ diff --git a/kdejava/koala/kdejava/ProcessingInstruction.cpp b/kdejava/koala/kdejava/ProcessingInstruction.cpp deleted file mode 100644 index 17c76a7a..00000000 --- a/kdejava/koala/kdejava/ProcessingInstruction.cpp +++ /dev/null @@ -1,79 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class ProcessingInstructionJBridge : public DOM::ProcessingInstruction -{ -public: - ProcessingInstructionJBridge() : DOM::ProcessingInstruction() {}; - ProcessingInstructionJBridge(const DOM::ProcessingInstruction& arg1) : DOM::ProcessingInstruction(arg1) {}; - ProcessingInstructionJBridge(const DOM::Node& arg1) : DOM::ProcessingInstruction(arg1) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ProcessingInstruction_data(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::ProcessingInstruction*) QtSupport::getQt(env, obj))->data(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ProcessingInstructionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ProcessingInstructionJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__Lorg_kde_koala_ProcessingInstruction_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ProcessingInstructionJBridge((const DOM::ProcessingInstruction&)*(const DOM::ProcessingInstruction*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProcessingInstruction_setData(JNIEnv* env, jobject obj, jstring arg1) -{ -static DOM::DOMString* _domstring_arg1 = 0; - ((DOM::ProcessingInstruction*) QtSupport::getQt(env, obj))->setData((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, arg1, &_domstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ProcessingInstruction_sheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::StyleSheet(((DOM::ProcessingInstruction*) QtSupport::getQt(env, obj))->sheet()), "org.kde.koala.StyleSheet", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ProcessingInstruction_target(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::ProcessingInstruction*) QtSupport::getQt(env, obj))->target(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/ProcessingInstruction.h b/kdejava/koala/kdejava/ProcessingInstruction.h deleted file mode 100644 index 8362df12..00000000 --- a/kdejava/koala/kdejava/ProcessingInstruction.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_ProcessingInstruction__ -#define __org_kde_koala_ProcessingInstruction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__Lorg_kde_koala_ProcessingInstruction_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProcessingInstruction_newProcessingInstruction__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ProcessingInstruction_target (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ProcessingInstruction_data (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProcessingInstruction_setData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ProcessingInstruction_sheet (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_ProcessingInstruction__ */ diff --git a/kdejava/koala/kdejava/ProgressBase.cpp b/kdejava/koala/kdejava/ProgressBase.cpp deleted file mode 100644 index ad277a57..00000000 --- a/kdejava/koala/kdejava/ProgressBase.cpp +++ /dev/null @@ -1,579 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class ProgressBaseJBridge : public TDEIO::ProgressBase -{ -public: - ProgressBaseJBridge(TQWidget* arg1) : TDEIO::ProgressBase(arg1) {}; - void public_slotClean() { - TDEIO::ProgressBase::slotClean(); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - TDEIO::ProgressBase::closeEvent(arg1); - return; - } - void protected_slotFinished(TDEIO::Job* arg1) { - TDEIO::ProgressBase::slotFinished(arg1); - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.ProgressBase","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - ProgressBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotClean() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","slotClean")) { - ProgressBase::slotClean(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.ProgressBase",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.ProgressBase","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ProgressBase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((ProgressBaseJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_finished(JNIEnv* env, jobject obj) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->finished(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ProgressBase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_newProgressBase(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new ProgressBaseJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ProgressBase_onlyClean(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->onlyClean(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_CopyJob_2(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->setJob((TDEIO::CopyJob*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_DeleteJob_2(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->setJob((TDEIO::DeleteJob*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_Job_2(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->setJob((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_setOnlyClean(JNIEnv* env, jobject obj, jboolean onlyClean) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->setOnlyClean((bool) onlyClean); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_setStopOnClose(JNIEnv* env, jobject obj, jboolean stopOnClose) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->setStopOnClose((bool) stopOnClose); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotCanResume(JNIEnv* env, jobject obj, jobject job, jlong from) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotCanResume((TDEIO::Job*) QtSupport::getQt(env, job), (TDEIO::filesize_t) from); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotClean(JNIEnv* env, jobject obj) -{ - ((ProgressBaseJBridge*) QtSupport::getQt(env, obj))->public_slotClean(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotCopying(JNIEnv* env, jobject obj, jobject job, jobject src, jobject dest) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotCopying((TDEIO::Job*) QtSupport::getQt(env, job), (const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotCreatingDir(JNIEnv* env, jobject obj, jobject job, jobject dir) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotCreatingDir((TDEIO::Job*) QtSupport::getQt(env, job), (const KURL&)*(const KURL*) QtSupport::getQt(env, dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotDeleting(JNIEnv* env, jobject obj, jobject job, jobject url) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotDeleting((TDEIO::Job*) QtSupport::getQt(env, job), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotFinished(JNIEnv* env, jobject obj, jobject arg1) -{ - ((ProgressBaseJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished((TDEIO::Job*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotMoving(JNIEnv* env, jobject obj, jobject job, jobject src, jobject dest) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotMoving((TDEIO::Job*) QtSupport::getQt(env, job), (const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotPercent(JNIEnv* env, jobject obj, jobject job, jlong percent) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotPercent((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotProcessedDirs(JNIEnv* env, jobject obj, jobject job, jlong dirs) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotProcessedDirs((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotProcessedFiles(JNIEnv* env, jobject obj, jobject job, jlong files) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotProcessedFiles((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotProcessedSize(JNIEnv* env, jobject obj, jobject job, jlong bytes) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotProcessedSize((TDEIO::Job*) QtSupport::getQt(env, job), (TDEIO::filesize_t) bytes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotSpeed(JNIEnv* env, jobject obj, jobject job, jlong speed) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotSpeed((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) speed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotStop(JNIEnv* env, jobject obj) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotStop(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotTotalDirs(JNIEnv* env, jobject obj, jobject job, jlong dirs) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotTotalDirs((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) dirs); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotTotalFiles(JNIEnv* env, jobject obj, jobject job, jlong files) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotTotalFiles((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) files); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ProgressBase_slotTotalSize(JNIEnv* env, jobject obj, jobject job, jlong size) -{ - ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->slotTotalSize((TDEIO::Job*) QtSupport::getQt(env, job), (TDEIO::filesize_t) size); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ProgressBase_stopOnClose(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::ProgressBase*) QtSupport::getQt(env, obj))->stopOnClose(); - return xret; -} - diff --git a/kdejava/koala/kdejava/ProgressBase.h b/kdejava/koala/kdejava/ProgressBase.h deleted file mode 100644 index 9d535fce..00000000 --- a/kdejava/koala/kdejava/ProgressBase.h +++ /dev/null @@ -1,46 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_ProgressBase__ -#define __org_kde_koala_ProgressBase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ProgressBase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ProgressBase_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_newProgressBase (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_Job_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_CopyJob_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_setJob__Lorg_kde_koala_DeleteJob_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_setStopOnClose (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ProgressBase_stopOnClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_setOnlyClean (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ProgressBase_onlyClean (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_finished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotStop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotClean (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotTotalSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotTotalFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotTotalDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotProcessedSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotProcessedFiles (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotProcessedDirs (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotSpeed (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotPercent (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotCopying (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotMoving (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotDeleting (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotCreatingDir (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotCanResume (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ProgressBase_slotFinished (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_ProgressBase__ */ diff --git a/kdejava/koala/kdejava/RGBColor.cpp b/kdejava/koala/kdejava/RGBColor.cpp deleted file mode 100644 index b6eb1788..00000000 --- a/kdejava/koala/kdejava/RGBColor.cpp +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class RGBColorJBridge : public DOM::RGBColor -{ -public: - RGBColorJBridge() : DOM::RGBColor() {}; - RGBColorJBridge(TQRgb arg1) : DOM::RGBColor(arg1) {}; - RGBColorJBridge(const DOM::RGBColor& arg1) : DOM::RGBColor(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_RGBColor_blue(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::RGBColor*) QtSupport::getQt(env, obj))->blue()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_RGBColor_color(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::RGBColor*) QtSupport::getQt(env, obj))->color(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_RGBColor_green(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::RGBColor*) QtSupport::getQt(env, obj))->green()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RGBColor_newRGBColor__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RGBColorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RGBColor_newRGBColor__I(JNIEnv* env, jobject obj, jint color) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RGBColorJBridge((TQRgb) color)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RGBColor_newRGBColor__Lorg_kde_koala_RGBColor_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RGBColorJBridge((const DOM::RGBColor&)*(const DOM::RGBColor*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_RGBColor_red(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::RGBColor*) QtSupport::getQt(env, obj))->red()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/RGBColor.h b/kdejava/koala/kdejava/RGBColor.h deleted file mode 100644 index 7aa3f5e0..00000000 --- a/kdejava/koala/kdejava/RGBColor.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_RGBColor__ -#define __org_kde_koala_RGBColor__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_RGBColor_newRGBColor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RGBColor_newRGBColor__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RGBColor_newRGBColor__Lorg_kde_koala_RGBColor_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_RGBColor_red (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_RGBColor_green (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_RGBColor_blue (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_RGBColor_color (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_RGBColor__ */ diff --git a/kdejava/koala/kdejava/Range.cpp b/kdejava/koala/kdejava/Range.cpp deleted file mode 100644 index e017052f..00000000 --- a/kdejava/koala/kdejava/Range.cpp +++ /dev/null @@ -1,258 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class RangeJBridge : public DOM::Range -{ -public: - RangeJBridge() : DOM::Range() {}; - RangeJBridge(const DOM::Document arg1) : DOM::Range(arg1) {}; - RangeJBridge(const DOM::Range& arg1) : DOM::Range(arg1) {}; - RangeJBridge(const DOM::Node arg1,const long arg2,const DOM::Node arg3,const long arg4) : DOM::Range(arg1,arg2,arg3,arg4) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Range_boundaryPointsValid(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Range*) QtSupport::getQt(env, obj))->boundaryPointsValid(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_cloneContents(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentFragment(((DOM::Range*) QtSupport::getQt(env, obj))->cloneContents()), "org.kde.koala.DocumentFragment", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_cloneRange(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Range(((DOM::Range*) QtSupport::getQt(env, obj))->cloneRange()), "org.kde.koala.Range", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_collapse(JNIEnv* env, jobject obj, jboolean toStart) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->collapse((bool) toStart); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Range_collapsed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Range*) QtSupport::getQt(env, obj))->collapsed(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_commonAncestorContainer(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Range*) QtSupport::getQt(env, obj))->commonAncestorContainer()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_createContextualFragment(JNIEnv* env, jobject obj, jstring html) -{ -static DOM::DOMString* _domstring_html = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentFragment(((DOM::Range*) QtSupport::getQt(env, obj))->createContextualFragment((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, html, &_domstring_html))), "org.kde.koala.DocumentFragment", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_deleteContents(JNIEnv* env, jobject obj) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->deleteContents(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_detach(JNIEnv* env, jobject obj) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->detach(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_endContainer(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Range*) QtSupport::getQt(env, obj))->endContainer()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_Range_endOffset(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::Range*) QtSupport::getQt(env, obj))->endOffset(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_extractContents(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::DocumentFragment(((DOM::Range*) QtSupport::getQt(env, obj))->extractContents()), "org.kde.koala.DocumentFragment", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_insertNode(JNIEnv* env, jobject obj, jobject newNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->insertNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, newNode)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Range_isDetached(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Range*) QtSupport::getQt(env, obj))->isDetached(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Range_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Range*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_newRange__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Document_2(JNIEnv* env, jobject obj, jobject rootContainer) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeJBridge((const DOM::Document)*(const DOM::Document*) QtSupport::getQt(env, rootContainer))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Node_2JLorg_kde_koala_Node_2J(JNIEnv* env, jobject obj, jobject startContainer, jlong startOffset, jobject endContainer, jlong endOffset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeJBridge((const DOM::Node)*(const DOM::Node*) QtSupport::getQt(env, startContainer), (const long) startOffset, (const DOM::Node)*(const DOM::Node*) QtSupport::getQt(env, endContainer), (const long) endOffset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Range_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeJBridge((const DOM::Range&)*(const DOM::Range*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_selectNodeContents(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->selectNodeContents((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_selectNode(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->selectNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setEndAfter(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setEndAfter((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setEndBefore(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setEndBefore((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setEnd(JNIEnv* env, jobject obj, jobject refNode, jlong offset) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setEnd((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode), (long) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setStartAfter(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setStartAfter((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setStartBefore(JNIEnv* env, jobject obj, jobject refNode) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setStartBefore((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_setStart(JNIEnv* env, jobject obj, jobject refNode, jlong offset) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->setStart((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, refNode), (long) offset); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Range_startContainer(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::Range*) QtSupport::getQt(env, obj))->startContainer()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_Range_startOffset(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::Range*) QtSupport::getQt(env, obj))->startOffset(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Range_surroundContents(JNIEnv* env, jobject obj, jobject newParent) -{ - ((DOM::Range*) QtSupport::getQt(env, obj))->surroundContents((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, newParent)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Range_toHTML(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Range*) QtSupport::getQt(env, obj))->toHTML(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Range_toString(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::Range*) QtSupport::getQt(env, obj))->toString(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Range.h b/kdejava/koala/kdejava/Range.h deleted file mode 100644 index e942043b..00000000 --- a/kdejava/koala/kdejava/Range.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Range__ -#define __org_kde_koala_Range__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_newRange__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Document_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Range_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_newRange__Lorg_kde_koala_Node_2JLorg_kde_koala_Node_2J (JNIEnv *env, jobject, jobject, jlong, jobject, jlong); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_startContainer (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_Range_startOffset (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_endContainer (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_Range_endOffset (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Range_collapsed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_commonAncestorContainer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setStart (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setEnd (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setStartBefore (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setStartAfter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setEndBefore (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_setEndAfter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_collapse (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_selectNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_selectNodeContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Range_boundaryPointsValid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_deleteContents (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_extractContents (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_cloneContents (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_insertNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_surroundContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_cloneRange (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Range_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Range_toHTML (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Range_createContextualFragment (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Range_detach (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Range_isDetached (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Range_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Range__ */ diff --git a/kdejava/koala/kdejava/RangeException.cpp b/kdejava/koala/kdejava/RangeException.cpp deleted file mode 100644 index 333fc4cc..00000000 --- a/kdejava/koala/kdejava/RangeException.cpp +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class RangeExceptionJBridge : public DOM::RangeException -{ -public: - RangeExceptionJBridge(unsigned short arg1) : DOM::RangeException(arg1) {}; - RangeExceptionJBridge(const DOM::RangeException& arg1) : DOM::RangeException(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_RangeException_newRangeException__Lorg_kde_koala_RangeException_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeExceptionJBridge((const DOM::RangeException&)*(const DOM::RangeException*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RangeException_newRangeException__S(JNIEnv* env, jobject obj, jshort _code) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RangeExceptionJBridge((unsigned short) _code)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/RangeException.h b/kdejava/koala/kdejava/RangeException.h deleted file mode 100644 index af62956e..00000000 --- a/kdejava/koala/kdejava/RangeException.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_RangeException__ -#define __org_kde_koala_RangeException__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_RangeException_newRangeException__S (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RangeException_newRangeException__Lorg_kde_koala_RangeException_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_RangeException__ */ diff --git a/kdejava/koala/kdejava/ReadOnlyPart.cpp b/kdejava/koala/kdejava/ReadOnlyPart.cpp deleted file mode 100644 index db8a1870..00000000 --- a/kdejava/koala/kdejava/ReadOnlyPart.cpp +++ /dev/null @@ -1,90 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ReadOnlyPart_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_closeStream(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->closeStream(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_closeURL(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->closeURL(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_isProgressInfoEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->isProgressInfoEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ReadOnlyPart_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_openStream(JNIEnv* env, jobject obj, jstring mimeType, jobject url) -{ -static TQString* _qstring_mimeType = 0; - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->openStream((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_openURL(JNIEnv* env, jobject obj, jobject url) -{ - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadOnlyPart_setProgressInfoEnabled(JNIEnv* env, jobject obj, jboolean show) -{ - ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->setProgressInfoEnabled((bool) show); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadOnlyPart_showProgressInfo(JNIEnv* env, jobject obj, jboolean show) -{ - ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->showProgressInfo((bool) show); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ReadOnlyPart_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->url()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadOnlyPart_writeStream(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((KParts::ReadOnlyPart*) QtSupport::getQt(env, obj))->writeStream((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - diff --git a/kdejava/koala/kdejava/ReadOnlyPart.h b/kdejava/koala/kdejava/ReadOnlyPart.h deleted file mode 100644 index b47e5ee8..00000000 --- a/kdejava/koala/kdejava/ReadOnlyPart.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_ReadOnlyPart__ -#define __org_kde_koala_ReadOnlyPart__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ReadOnlyPart_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ReadOnlyPart_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadOnlyPart_setProgressInfoEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_isProgressInfoEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadOnlyPart_showProgressInfo (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ReadOnlyPart_url (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_closeURL (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_openStream (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_writeStream (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_closeStream (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadOnlyPart_openURL (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_ReadOnlyPart__ */ diff --git a/kdejava/koala/kdejava/ReadWritePart.cpp b/kdejava/koala/kdejava/ReadWritePart.cpp deleted file mode 100644 index 890ace43..00000000 --- a/kdejava/koala/kdejava/ReadWritePart.cpp +++ /dev/null @@ -1,107 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_ReadWritePart_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_closeURL__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->closeURL(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_closeURL__Z(JNIEnv* env, jobject obj, jboolean promptToSave) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->closeURL((bool) promptToSave); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_isReadWrite(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->isReadWrite(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_ReadWritePart_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_queryClose(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->queryClose(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_saveAs(JNIEnv* env, jobject obj, jobject url) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->saveAs((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadWritePart_setModified__(JNIEnv* env, jobject obj) -{ - ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->setModified(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadWritePart_setModified__Z(JNIEnv* env, jobject obj, jboolean modified) -{ - ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->setModified((bool) modified); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadWritePart_setReadWrite__(JNIEnv* env, jobject obj) -{ - ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->setReadWrite(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_ReadWritePart_setReadWrite__Z(JNIEnv* env, jobject obj, jboolean readwrite) -{ - ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->setReadWrite((bool) readwrite); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_ReadWritePart_waitSaveComplete(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::ReadWritePart*) QtSupport::getQt(env, obj))->waitSaveComplete(); - return xret; -} - diff --git a/kdejava/koala/kdejava/ReadWritePart.h b/kdejava/koala/kdejava/ReadWritePart.h deleted file mode 100644 index 06847ece..00000000 --- a/kdejava/koala/kdejava/ReadWritePart.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_ReadWritePart__ -#define __org_kde_koala_ReadWritePart__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_ReadWritePart_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_ReadWritePart_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_isReadWrite (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadWritePart_setReadWrite__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadWritePart_setReadWrite__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_isModified (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_queryClose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_closeURL__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_closeURL__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_saveAs (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadWritePart_setModified__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_ReadWritePart_setModified__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_save (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_ReadWritePart_waitSaveComplete (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_ReadWritePart__ */ diff --git a/kdejava/koala/kdejava/Rect.cpp b/kdejava/koala/kdejava/Rect.cpp deleted file mode 100644 index 2c03b27d..00000000 --- a/kdejava/koala/kdejava/Rect.cpp +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class RectJBridge : public DOM::Rect -{ -public: - RectJBridge() : DOM::Rect() {}; - RectJBridge(const DOM::Rect& arg1) : DOM::Rect(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Rect_bottom(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::Rect*) QtSupport::getQt(env, obj))->bottom()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Rect_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::Rect*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Rect_left(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::Rect*) QtSupport::getQt(env, obj))->left()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Rect_newRect__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Rect_newRect__Lorg_kde_koala_Rect_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RectJBridge((const DOM::Rect&)*(const DOM::Rect*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Rect_right(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::Rect*) QtSupport::getQt(env, obj))->right()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Rect_top(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::CSSPrimitiveValue(((DOM::Rect*) QtSupport::getQt(env, obj))->top()), "org.kde.koala.CSSPrimitiveValue", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/Rect.h b/kdejava/koala/kdejava/Rect.h deleted file mode 100644 index 5b874c54..00000000 --- a/kdejava/koala/kdejava/Rect.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Rect__ -#define __org_kde_koala_Rect__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Rect_newRect__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Rect_newRect__Lorg_kde_koala_Rect_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Rect_top (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Rect_right (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Rect_bottom (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Rect_left (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Rect_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Rect__ */ diff --git a/kdejava/koala/kdejava/RenameDlg.cpp b/kdejava/koala/kdejava/RenameDlg.cpp deleted file mode 100644 index 6d8edff4..00000000 --- a/kdejava/koala/kdejava/RenameDlg.cpp +++ /dev/null @@ -1,567 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class RenameDlgJBridge : public TDEIO::RenameDlg -{ -public: - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7,time_t arg8,time_t arg9,time_t arg10,time_t arg11,bool arg12) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7,time_t arg8,time_t arg9,time_t arg10,time_t arg11) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7,time_t arg8,time_t arg9,time_t arg10) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7,time_t arg8,time_t arg9) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7,time_t arg8) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6,TDEIO::filesize_t arg7) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5,TDEIO::filesize_t arg6) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5,arg6) {}; - RenameDlgJBridge(TQWidget* arg1,const TQString& arg2,const TQString& arg3,const TQString& arg4,TDEIO::RenameDlg_Mode arg5) : TDEIO::RenameDlg(arg1,arg2,arg3,arg4,arg5) {}; - void protected_enableRenameButton(const TQString& arg1) { - TDEIO::RenameDlg::enableRenameButton(arg1); - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.RenameDlg","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQDialog::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","reject")) { - TQDialog::reject(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.RenameDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b0Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b0Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b1Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b1Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b2Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b2Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b3Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b3Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b4Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b4Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b5Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b5Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b6Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b6Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b7Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b7Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_b8Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->b8Pressed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_RenameDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_enableRenameButton(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((RenameDlgJBridge*) QtSupport::getQt(env, obj))->protected_enableRenameButton((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_RenameDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_RenameDlg_newDestURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEIO::RenameDlg*) QtSupport::getQt(env, obj))->newDestURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJ(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJ(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJI(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest, jint ctimeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJII(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIII(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIIII(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc, jint mtimeDest) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc, (time_t) mtimeDest)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIIIIZ(JNIEnv* env, jobject obj, jobject parent, jstring caption, jstring src, jstring dest, jint mode, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc, jint mtimeDest, jboolean modal) -{ -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new RenameDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc, (time_t) mtimeDest, (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_RenameDlg_suggestName(JNIEnv* env, jclass cls, jobject baseURL, jstring oldName) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_oldName = 0; - _qstring = RenameDlgJBridge::suggestName((const KURL&)*(const KURL*) QtSupport::getQt(env, baseURL), (const TQString&)*(TQString*) QtSupport::toTQString(env, oldName, &_qstring_oldName)); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/RenameDlg.h b/kdejava/koala/kdejava/RenameDlg.h deleted file mode 100644 index 8959a2dd..00000000 --- a/kdejava/koala/kdejava/RenameDlg.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_RenameDlg__ -#define __org_kde_koala_RenameDlg__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_RenameDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_RenameDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIIIIZ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong, jint, jint, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIIII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJIII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJII (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJI (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJJ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2IJ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_newRenameDlg__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_RenameDlg_newDestURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b0Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b1Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b2Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b3Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b4Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b5Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b6Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b7Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_b8Pressed (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_RenameDlg_suggestName (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_RenameDlg_enableRenameButton (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_RenameDlg__ */ diff --git a/kdejava/koala/kdejava/Scheduler.cpp b/kdejava/koala/kdejava/Scheduler.cpp deleted file mode 100644 index 85b27f7e..00000000 --- a/kdejava/koala/kdejava/Scheduler.cpp +++ /dev/null @@ -1,484 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - -class SchedulerJBridge : public TDEIO::Scheduler -{ -public: - void protected_setupSlave(TDEIO::Slave* arg1,const KURL& arg2,const TQString& arg3,const TQString& arg4,bool arg5) { - TDEIO::Scheduler::setupSlave(arg1,arg2,arg3,arg4,arg5); - return; - } - bool protected_startJobDirect() { - return (bool) TDEIO::Scheduler::startJobDirect(); - } - SchedulerJBridge() : TDEIO::Scheduler() {}; - void protected_startStep() { - TDEIO::Scheduler::startStep(); - return; - } - void protected_slotCleanIdleSlaves() { - TDEIO::Scheduler::slotCleanIdleSlaves(); - return; - } - void protected_slotSlaveConnected() { - TDEIO::Scheduler::slotSlaveConnected(); - return; - } - void protected_slotSlaveError(int arg1,const TQString& arg2) { - TDEIO::Scheduler::slotSlaveError(arg1,arg2); - return; - } - void protected_slotScheduleCoSlave() { - TDEIO::Scheduler::slotScheduleCoSlave(); - return; - } - void protected_slotUnregisterWindow(TQObject* arg1) { - TDEIO::Scheduler::slotUnregisterWindow(arg1); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.Scheduler",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_assignJobToSlave(JNIEnv* env, jclass cls, jobject slave, jobject job) -{ - (void) cls; - jboolean xret = (jboolean) SchedulerJBridge::assignJobToSlave((TDEIO::Slave*) QtSupport::getQt(env, slave), (TDEIO::SimpleJob*) QtSupport::getQt(env, job)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_callingDcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->callingDcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_cancelJob(JNIEnv* env, jclass cls, jobject job) -{ - (void) cls; - SchedulerJBridge::cancelJob((TDEIO::SimpleJob*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_checkSlaveOnHold(JNIEnv* env, jclass cls, jboolean b) -{ - (void) cls; - (void) env; - SchedulerJBridge::checkSlaveOnHold((bool) b); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Scheduler_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_connectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot, jboolean Volatile) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->connectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot), (bool) Volatile); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject sender, jstring signal, jobject receiver, jstring member) -{ - (void) cls; -static TQCString* _qstring_signal = 0; - jboolean xret = (jboolean) SchedulerJBridge::connect((const TQObject*) QtSupport::getQt(env, sender), (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_debug_1info(JNIEnv* env, jobject obj) -{ - ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->debug_info(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_disconnectDCOPSignal(JNIEnv* env, jobject obj, jstring sender, jstring senderObj, jstring signal, jstring slot) -{ -static TQCString* _qcstring_sender = 0; -static TQCString* _qcstring_senderObj = 0; -static TQCString* _qcstring_signal = 0; -static TQCString* _qcstring_slot = 0; - jboolean xret = (jboolean) ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->disconnectDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, sender, &_qcstring_sender), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, senderObj, &_qcstring_senderObj), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, slot, &_qcstring_slot)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_disconnectSlave(JNIEnv* env, jclass cls, jobject slave) -{ - (void) cls; - jboolean xret = (jboolean) SchedulerJBridge::disconnectSlave((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_doJob(JNIEnv* env, jclass cls, jobject job) -{ - (void) cls; - SchedulerJBridge::doJob((TDEIO::SimpleJob*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_emitDCOPSignal(JNIEnv* env, jobject obj, jstring signal, jbyteArray data) -{ -static TQCString* _qcstring_signal = 0; -static TQByteArray* _qbyteArray_data = 0; - ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->emitDCOPSignal((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, signal, &_qcstring_signal), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_find(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)SchedulerJBridge::find((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)), "org.kde.koala.DCOPObjectInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_functionsDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->functionsDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_functions(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->functions(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_getConnectedSlave(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)SchedulerJBridge::getConnectedSlave((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.Slave"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_hasObject(JNIEnv* env, jclass cls, jstring objId) -{ - (void) cls; -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) SchedulerJBridge::hasObject((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_interfacesDynamic(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->interfacesDynamic(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_interfaces(JNIEnv* env, jobject obj) -{ - QCStringList _qlist; - _qlist = ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->interfaces(); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_jobFinished(JNIEnv* env, jclass cls, jobject job, jobject slave) -{ - (void) cls; - SchedulerJBridge::jobFinished((TDEIO::SimpleJob*) QtSupport::getQt(env, job), (TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Scheduler_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_newScheduler(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new SchedulerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Scheduler_objId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->objId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Scheduler_objectName(JNIEnv* env, jclass cls, jobject arg1) -{ - TQCString _qstring; - (void) cls; - _qstring = SchedulerJBridge::objectName((TQObject*) QtSupport::getQt(env, arg1)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_processDynamic(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->processDynamic((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_process(JNIEnv* env, jobject obj, jstring fun, jbyteArray data, jobject replyType, jbyteArray replyData) -{ -static TQCString* _qcstring_fun = 0; -static TQByteArray* _qbyteArray_data = 0; -static TQCString* _qcstring_replyType = 0; - if (_qcstring_replyType == 0) { - _qcstring_replyType = new TQCString(); - } -static TQByteArray* _qbyteArray_replyData = 0; - jboolean xret = (jboolean) ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->process((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, fun, &_qcstring_fun), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (TQCString&)*(TQCString*) _qcstring_replyType, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, replyData, &_qbyteArray_replyData)); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_replyType, replyType); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_publishSlaveOnHold(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - SchedulerJBridge::publishSlaveOnHold(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_putSlaveOnHold(JNIEnv* env, jclass cls, jobject job, jobject url) -{ - (void) cls; - SchedulerJBridge::putSlaveOnHold((TDEIO::SimpleJob*) QtSupport::getQt(env, job), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_registerWindow(JNIEnv* env, jclass cls, jobject wid) -{ - (void) cls; - SchedulerJBridge::registerWindow((TQWidget*) QtSupport::getQt(env, wid)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_removeSlaveOnHold(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - SchedulerJBridge::removeSlaveOnHold(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_scheduleJob(JNIEnv* env, jclass cls, jobject job) -{ - (void) cls; - SchedulerJBridge::scheduleJob((TDEIO::SimpleJob*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_setCallingDcopClient(JNIEnv* env, jobject obj, jobject arg1) -{ - ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->setCallingDcopClient((DCOPClient*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_setObjId(JNIEnv* env, jobject obj, jstring objId) -{ -static TQCString* _qcstring_objId = 0; - jboolean xret = (jboolean) ((DCOPObject*)(TDEIO::Scheduler*) QtSupport::getQt(env, obj))->setObjId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, objId, &_qcstring_objId)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_setupSlave(JNIEnv* env, jobject obj, jobject slave, jobject url, jstring protocol, jstring proxy, jboolean newSlave) -{ -static TQString* _qstring_protocol = 0; -static TQString* _qstring_proxy = 0; - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_setupSlave((TDEIO::Slave*) QtSupport::getQt(env, slave), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol), (const TQString&)*(TQString*) QtSupport::toTQString(env, proxy, &_qstring_proxy), (bool) newSlave); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotCleanIdleSlaves(JNIEnv* env, jobject obj) -{ - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_slotCleanIdleSlaves(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotScheduleCoSlave(JNIEnv* env, jobject obj) -{ - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_slotScheduleCoSlave(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotSlaveConnected(JNIEnv* env, jobject obj) -{ - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_slotSlaveConnected(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotSlaveDied(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->slotSlaveDied((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotSlaveError(JNIEnv* env, jobject obj, jint error, jstring errorMsg) -{ -static TQString* _qstring_errorMsg = 0; - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_slotSlaveError((int) error, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorMsg, &_qstring_errorMsg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotSlaveStatus(JNIEnv* env, jobject obj, jint pid, jstring protocol, jstring host, jboolean connected) -{ -static TQCString* _qcstring_protocol = 0; -static TQString* _qstring_host = 0; - ((TDEIO::Scheduler*) QtSupport::getQt(env, obj))->slotSlaveStatus((pid_t) pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, protocol, &_qcstring_protocol), (const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) connected); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_slotUnregisterWindow(JNIEnv* env, jobject obj, jobject arg1) -{ - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_slotUnregisterWindow((TQObject*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_startJobDirect(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_startJobDirect(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_startStep(JNIEnv* env, jobject obj) -{ - ((SchedulerJBridge*) QtSupport::getQt(env, obj))->protected_startStep(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Scheduler_unregisterWindow(JNIEnv* env, jclass cls, jobject wid) -{ - (void) cls; - SchedulerJBridge::unregisterWindow((TQObject*) QtSupport::getQt(env, wid)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_connect__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring signal, jobject receiver, jstring member) -{ - (void) cls; - JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member); - TQString qtSignalName(javaSlot->javaToQtSignalName(env, signal, 0)); - jboolean xret = (jboolean) SchedulerJBridge::connect((const char*) qtSignalName, (const TQObject*) javaSlot, javaSlot->javaToQtSlotName(env, member, qtSignalName)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject sender, jstring signal, jstring member) -{ - return QtSupport::connect(env, sender, signal, obj, member); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Scheduler_disconnect(JNIEnv *env, jclass cls, jobject sender, jstring signal, jobject receiver, jstring member) -{ - (void) cls; - return QtSupport::disconnect(env, sender, signal, receiver, member); -} - diff --git a/kdejava/koala/kdejava/Scheduler.h b/kdejava/koala/kdejava/Scheduler.h deleted file mode 100644 index 608f6ea8..00000000 --- a/kdejava/koala/kdejava/Scheduler.h +++ /dev/null @@ -1,65 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Scheduler__ -#define __org_kde_koala_Scheduler__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Scheduler_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_debug_1info (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_process (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_functions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotSlaveDied (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotSlaveStatus (JNIEnv *env, jobject, jint, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_doJob (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_scheduleJob (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_cancelJob (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_jobFinished (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_putSlaveOnHold (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_removeSlaveOnHold (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_publishSlaveOnHold (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_getConnectedSlave (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_assignJobToSlave (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_disconnectSlave (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_registerWindow (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_unregisterWindow (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_connect__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_disconnect (JNIEnv *env, jclass, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_checkSlaveOnHold (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_setupSlave (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_startJobDirect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_newScheduler (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_startStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotCleanIdleSlaves (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotSlaveConnected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotSlaveError (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotScheduleCoSlave (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_slotUnregisterWindow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Scheduler_objId (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_setObjId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_processDynamic (JNIEnv *env, jobject, jstring, jbyteArray, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_functionsDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_interfacesDynamic (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_interfaces (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_emitDCOPSignal (JNIEnv *env, jobject, jstring, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_connectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_disconnectDCOPSignal (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_callingDcopClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Scheduler_setCallingDcopClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Scheduler_hasObject (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Scheduler_find (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Scheduler_objectName (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Scheduler__ */ diff --git a/kdejava/koala/kdejava/SessionData.cpp b/kdejava/koala/kdejava/SessionData.cpp deleted file mode 100644 index 0ffa30c1..00000000 --- a/kdejava/koala/kdejava/SessionData.cpp +++ /dev/null @@ -1,112 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class SessionDataJBridge : public TDEIO::SessionData -{ -public: - SessionDataJBridge() : TDEIO::SessionData() {}; - void public_reset() { - TDEIO::SessionData::reset(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void reset() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SessionData","reset")) { - SessionData::reset(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.SessionData",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_SessionData_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::SessionData*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SessionData_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SessionData*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SessionData_newSessionData(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new SessionDataJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SessionData_reset(JNIEnv* env, jobject obj) -{ - ((SessionDataJBridge*) QtSupport::getQt(env, obj))->public_reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SessionData_slotAuthData(JNIEnv* env, jobject obj, jstring arg1, jstring arg2, jboolean arg3) -{ -static TQCString* _qcstring_arg1 = 0; -static TQCString* _qcstring_arg2 = 0; - ((TDEIO::SessionData*) QtSupport::getQt(env, obj))->slotAuthData((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg2, &_qcstring_arg2), (bool) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SessionData_slotDelAuthData(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQCString* _qcstring_arg1 = 0; - ((TDEIO::SessionData*) QtSupport::getQt(env, obj))->slotDelAuthData((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, arg1, &_qcstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/SessionData.h b/kdejava/koala/kdejava/SessionData.h deleted file mode 100644 index e90b35ad..00000000 --- a/kdejava/koala/kdejava/SessionData.h +++ /dev/null @@ -1,24 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_SessionData__ -#define __org_kde_koala_SessionData__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SessionData_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_SessionData_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SessionData_newSessionData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SessionData_reset (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SessionData_slotAuthData (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SessionData_slotDelAuthData (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_SessionData__ */ diff --git a/kdejava/koala/kdejava/SimpleJob.cpp b/kdejava/koala/kdejava/SimpleJob.cpp deleted file mode 100644 index 664e948a..00000000 --- a/kdejava/koala/kdejava/SimpleJob.cpp +++ /dev/null @@ -1,282 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class SimpleJobJBridge : public TDEIO::SimpleJob -{ -public: - SimpleJobJBridge(const KURL& arg1,int arg2,const TQByteArray& arg3,bool arg4) : TDEIO::SimpleJob(arg1,arg2,arg3,arg4) {}; - void public_kill() { - TDEIO::SimpleJob::kill(); - return; - } - void public_putOnHold() { - TDEIO::SimpleJob::putOnHold(); - return; - } - void protected_storeSSLSessionFromJob(const KURL& arg1) { - TDEIO::SimpleJob::storeSSLSessionFromJob(arg1); - return; - } - void protected_slotFinished() { - TDEIO::SimpleJob::slotFinished(); - return; - } - void protected_slotWarning(const TQString& arg1) { - TDEIO::SimpleJob::slotWarning(arg1); - return; - } - void protected_slotInfoMessage(const TQString& arg1) { - TDEIO::SimpleJob::slotInfoMessage(arg1); - return; - } - void protected_slotConnected() { - TDEIO::SimpleJob::slotConnected(); - return; - } - void protected_slotProcessedSize(TDEIO::filesize_t arg1) { - TDEIO::SimpleJob::slotProcessedSize(arg1); - return; - } - void protected_slotSpeed(unsigned long arg1) { - TDEIO::SimpleJob::slotSpeed(arg1); - return; - } - void protected_slotNeedProgressId() { - TDEIO::SimpleJob::slotNeedProgressId(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SimpleJob","slotFinished")) { - SimpleJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - Job::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - SimpleJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.SimpleJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SimpleJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_SimpleJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SimpleJob_command(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->command(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_kill__(JNIEnv* env, jobject obj) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->public_kill(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_kill__Z(JNIEnv* env, jobject obj, jboolean quietly) -{ - ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->kill((bool) quietly); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SimpleJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_newSimpleJob(JNIEnv* env, jobject obj, jobject url, jint command, jbyteArray packedArgs, jboolean showProgressInfo) -{ -static TQByteArray* _qbyteArray_packedArgs = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new SimpleJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, packedArgs, &_qbyteArray_packedArgs), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_putOnHold(JNIEnv* env, jobject obj) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->public_putOnHold(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_removeOnHold(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - SimpleJobJBridge::removeOnHold(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slaveDone(JNIEnv* env, jobject obj) -{ - ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->slaveDone(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SimpleJob_slave(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->slave(), "org.kde.koala.Slave"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotConnected(JNIEnv* env, jobject obj) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotConnected(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotError(JNIEnv* env, jobject obj, jint arg1, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->slotError((int) arg1, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotInfoMessage(JNIEnv* env, jobject obj, jstring s) -{ -static TQString* _qstring_s = 0; - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotInfoMessage((const TQString&)*(TQString*) QtSupport::toTQString(env, s, &_qstring_s)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotNeedProgressId(JNIEnv* env, jobject obj) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotNeedProgressId(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotProcessedSize(JNIEnv* env, jobject obj, jlong data_size) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotProcessedSize((TDEIO::filesize_t) data_size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotSpeed(JNIEnv* env, jobject obj, jlong speed) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotSpeed((unsigned long) speed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotTotalSize(JNIEnv* env, jobject obj, jlong data_size) -{ - ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->slotTotalSize((TDEIO::filesize_t) data_size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_slotWarning(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_slotWarning((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SimpleJob_storeSSLSessionFromJob(JNIEnv* env, jobject obj, jobject m_redirectionURL) -{ - ((SimpleJobJBridge*) QtSupport::getQt(env, obj))->protected_storeSSLSessionFromJob((const KURL&)*(const KURL*) QtSupport::getQt(env, m_redirectionURL)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SimpleJob_url(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KURL *) &((TDEIO::SimpleJob*) QtSupport::getQt(env, obj))->url(), "org.kde.koala.KURL"); - return xret; -} - diff --git a/kdejava/koala/kdejava/SimpleJob.h b/kdejava/koala/kdejava/SimpleJob.h deleted file mode 100644 index 0c4a441e..00000000 --- a/kdejava/koala/kdejava/SimpleJob.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_SimpleJob__ -#define __org_kde_koala_SimpleJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SimpleJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_SimpleJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_newSimpleJob (JNIEnv *env, jobject, jobject, jint, jbyteArray, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SimpleJob_url (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_kill__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_kill__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_putOnHold (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slaveDone (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SimpleJob_slave (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SimpleJob_command (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotTotalSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotError (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_removeOnHold (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_storeSSLSessionFromJob (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotWarning (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotInfoMessage (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotConnected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotProcessedSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotSpeed (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SimpleJob_slotNeedProgressId (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_SimpleJob__ */ diff --git a/kdejava/koala/kdejava/SkipDlg.cpp b/kdejava/koala/kdejava/SkipDlg.cpp deleted file mode 100644 index 1dc06ee3..00000000 --- a/kdejava/koala/kdejava/SkipDlg.cpp +++ /dev/null @@ -1,406 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class SkipDlgJBridge : public TDEIO::SkipDlg -{ -public: - SkipDlgJBridge(TQWidget* arg1,bool arg2,const TQString& arg3,bool arg4) : TDEIO::SkipDlg(arg1,arg2,arg3,arg4) {}; - SkipDlgJBridge(TQWidget* arg1,bool arg2,const TQString& arg3) : TDEIO::SkipDlg(arg1,arg2,arg3) {}; - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","accept")) { - TQDialog::accept(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.SkipDlg","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialog::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TQDialog::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","reject")) { - TQDialog::reject(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.SkipDlg","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_SkipDlg_b0Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::SkipDlg*) QtSupport::getQt(env, obj))->b0Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SkipDlg_b1Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::SkipDlg*) QtSupport::getQt(env, obj))->b1Pressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SkipDlg_b2Pressed(JNIEnv* env, jobject obj) -{ - ((TDEIO::SkipDlg*) QtSupport::getQt(env, obj))->b2Pressed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_SkipDlg_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::SkipDlg*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SkipDlg_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SkipDlg*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SkipDlg_newSkipDlg__Lorg_kde_qt_QWidget_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jboolean _multi, jstring _error_text) -{ -static TQString* _qstring__error_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new SkipDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (bool) _multi, (const TQString&)*(TQString*) QtSupport::toTQString(env, _error_text, &_qstring__error_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SkipDlg_newSkipDlg__Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jboolean _multi, jstring _error_text, jboolean _modal) -{ -static TQString* _qstring__error_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new SkipDlgJBridge((TQWidget*) QtSupport::getQt(env, parent), (bool) _multi, (const TQString&)*(TQString*) QtSupport::toTQString(env, _error_text, &_qstring__error_text), (bool) _modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/SkipDlg.h b/kdejava/koala/kdejava/SkipDlg.h deleted file mode 100644 index da0b677e..00000000 --- a/kdejava/koala/kdejava/SkipDlg.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_SkipDlg__ -#define __org_kde_koala_SkipDlg__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SkipDlg_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_SkipDlg_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SkipDlg_newSkipDlg__Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jboolean, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SkipDlg_newSkipDlg__Lorg_kde_qt_QWidget_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SkipDlg_b0Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SkipDlg_b1Pressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SkipDlg_b2Pressed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_SkipDlg__ */ diff --git a/kdejava/koala/kdejava/Slave.cpp b/kdejava/koala/kdejava/Slave.cpp deleted file mode 100644 index 5a4c8e3e..00000000 --- a/kdejava/koala/kdejava/Slave.cpp +++ /dev/null @@ -1,247 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Slave_createSlave(JNIEnv* env, jclass cls, jstring protocol, jobject url, jintArray error, jobject error_text) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - int* _int_error = QtSupport::toIntPtr(env, error); -static TQString* _qstring_error_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::Slave::createSlave((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int&) *_int_error, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, error_text, &_qstring_error_text)), "org.kde.koala.Slave"); - env->SetIntArrayRegion(error, 0, 1, (jint *) _int_error); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error_text, error_text); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_deref(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->deref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_gotInput(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->gotInput(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Slave_holdSlave(JNIEnv* env, jclass cls, jstring protocol, jobject url) -{ - (void) cls; -static TQString* _qstring_protocol = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::Slave::holdSlave((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol), (const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.Slave"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_hold(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->hold((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_host(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->host(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Slave_idleTime(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->idleTime(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Slave_isAlive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->isAlive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Slave_isConnected(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->isConnected(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_kill(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->kill(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Slave_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::Slave*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_passwd(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->passwd(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Slave_port(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->port(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_protocol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->protocol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_ref(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->ref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_resetHost(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->resetHost(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_resume(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->resume(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_send__I(JNIEnv* env, jobject obj, jint cmd) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->send((int) cmd); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_send__I_3B(JNIEnv* env, jobject obj, jint cmd, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->send((int) cmd, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_setConnected(JNIEnv* env, jobject obj, jboolean c) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->setConnected((bool) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_setHost(JNIEnv* env, jobject obj, jstring host, jint port, jstring user, jstring passwd) -{ -static TQString* _qstring_host = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_passwd = 0; - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (int) port, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, passwd, &_qstring_passwd)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_setIdle(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->setIdle(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_setPID(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->setPID((pid_t) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_setProtocol(JNIEnv* env, jobject obj, jstring protocol) -{ -static TQString* _qstring_protocol = 0; - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->setProtocol((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_slaveProtocol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->slaveProtocol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_Slave_slave_1pid(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->slave_pid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_suspend(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->suspend(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_Slave_suspended(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::Slave*) QtSupport::getQt(env, obj))->suspended(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Slave_timeout(JNIEnv* env, jobject obj) -{ - ((TDEIO::Slave*) QtSupport::getQt(env, obj))->timeout(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_Slave_user(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIO::Slave*) QtSupport::getQt(env, obj))->user(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/Slave.h b/kdejava/koala/kdejava/Slave.h deleted file mode 100644 index f101c42b..00000000 --- a/kdejava/koala/kdejava/Slave.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Slave__ -#define __org_kde_koala_Slave__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Slave_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_setPID (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Slave_slave_1pid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_kill (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Slave_isAlive (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_setHost (JNIEnv *env, jobject, jstring, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_resetHost (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_protocol (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_setProtocol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_slaveProtocol (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_host (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Slave_port (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_user (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_Slave_passwd (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_suspend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_resume (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Slave_suspended (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_send__I_3B (JNIEnv *env, jobject, jint, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_send__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_hold (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_Slave_idleTime (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_setIdle (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_Slave_isConnected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_setConnected (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_deref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_gotInput (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Slave_timeout (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Slave_createSlave (JNIEnv *env, jclass, jstring, jobject, jintArray, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Slave_holdSlave (JNIEnv *env, jclass, jstring, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Slave__ */ diff --git a/kdejava/koala/kdejava/SlaveBase.cpp b/kdejava/koala/kdejava/SlaveBase.cpp deleted file mode 100644 index 4c586a86..00000000 --- a/kdejava/koala/kdejava/SlaveBase.cpp +++ /dev/null @@ -1,534 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_canResume__(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->canResume(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_canResume__J(JNIEnv* env, jobject obj, jlong offset) -{ - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->canResume((TDEIO::filesize_t) offset); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_chmod(JNIEnv* env, jobject obj, jobject url, jint permissions) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->chmod((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_closeConnection(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->closeConnection(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SlaveBase_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfigBase"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_connectSlave(JNIEnv* env, jobject obj, jstring path) -{ -static TQString* _qstring_path = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->connectSlave((const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_connectTimeout(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->connectTimeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_connected(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->connected(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SlaveBase_connection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->connection(), "org.kde.koala.Connection"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_copy(JNIEnv* env, jobject obj, jobject src, jobject dest, jint permissions, jboolean overwrite) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_dataReq(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dataReq(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_data(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->data((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SlaveBase_dcopClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_del(JNIEnv* env, jobject obj, jobject url, jboolean isfile) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->del((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) isfile); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_disconnectSlave(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->disconnectSlave(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_dispatchLoop(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dispatchLoop(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_dispatch__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dispatch(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_dispatch__I_3B(JNIEnv* env, jobject obj, jint command, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dispatch((int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_dropNetwork__(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dropNetwork(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_dropNetwork__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring host) -{ -static TQString* _qstring_host = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->dropNetwork((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_errorPage(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->errorPage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_error(JNIEnv* env, jobject obj, jint _errid, jstring _text) -{ -static TQString* _qstring__text = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->error((int) _errid, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_exit(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->exit(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_finished(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->finished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_get(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->get((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_hasMetaData(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->hasMetaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_infoMessage(JNIEnv* env, jobject obj, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->infoMessage((const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_listDir(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_SlaveBase_metaData(JNIEnv* env, jobject obj, jstring key) -{ - TQString _qstring; -static TQString* _qstring_key = 0; - _qstring = ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->metaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_mimeType(JNIEnv* env, jobject obj, jstring _type) -{ -static TQString* _qstring__type = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->mimeType((const TQString&)*(TQString*) QtSupport::toTQString(env, _type, &_qstring__type)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_mimetype(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->mimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_mkdir(JNIEnv* env, jobject obj, jobject url, jint permissions) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_multiGet(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->multiGet((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_needSubURLData(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->needSubURLData(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_openConnection(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->openConnection(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_openPassDlg__Lorg_kde_koala_AuthInfo_2(JNIEnv* env, jobject obj, jobject info) -{ - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->openPassDlg((TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, info)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_openPassDlg__Lorg_kde_koala_AuthInfo_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject info, jstring errorMsg) -{ -static TQString* _qstring_errorMsg = 0; - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->openPassDlg((TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, info), (const TQString&)*(TQString*) QtSupport::toTQString(env, errorMsg, &_qstring_errorMsg)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_processedPercent(JNIEnv* env, jobject obj, jfloat percent) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->processedPercent((float) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_processedSize(JNIEnv* env, jobject obj, jlong _bytes) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->processedSize((TDEIO::filesize_t) _bytes); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_proxyConnectTimeout(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->proxyConnectTimeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_put(JNIEnv* env, jobject obj, jobject url, jint permissions, jboolean overwrite, jboolean resume) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->put((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_readData(JNIEnv* env, jobject obj, jbyteArray buffer) -{ -static TQByteArray* _qbyteArray_buffer = 0; - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->readData((TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, buffer, &_qbyteArray_buffer)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_readTimeout(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->readTimeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_redirection(JNIEnv* env, jobject obj, jobject _url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->redirection((const KURL&)*(const KURL*) QtSupport::getQt(env, _url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_rename(JNIEnv* env, jobject obj, jobject src, jobject dest, jboolean overwrite) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->rename((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_reparseConfiguration(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->reparseConfiguration(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_requestNetwork__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->requestNetwork(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_requestNetwork__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring host) -{ -static TQString* _qstring_host = 0; - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->requestNetwork((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_responseTimeout(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->responseTimeout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_sendMetaData(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->sendMetaData(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setConnection(JNIEnv* env, jobject obj, jobject connection) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setConnection((TDEIO::Connection*) QtSupport::getQt(env, connection)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setHost(JNIEnv* env, jobject obj, jstring host, jint port, jstring user, jstring pass) -{ -static TQString* _qstring_host = 0; -static TQString* _qstring_user = 0; -static TQString* _qstring_pass = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setHost((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (int) port, (const TQString&)*(TQString*) QtSupport::toTQString(env, user, &_qstring_user), (const TQString&)*(TQString*) QtSupport::toTQString(env, pass, &_qstring_pass)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setKillFlag(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setKillFlag(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setMetaData(JNIEnv* env, jobject obj, jstring key, jstring value) -{ -static TQString* _qstring_key = 0; -static TQString* _qstring_value = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setMetaData((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setSubURL(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setSubURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setTimeoutSpecialCommand__I(JNIEnv* env, jobject obj, jint timeout) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setTimeoutSpecialCommand((int) timeout); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_setTimeoutSpecialCommand__I_3B(JNIEnv* env, jobject obj, jint timeout, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->setTimeoutSpecialCommand((int) timeout, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_sigpipe_1handler(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TDEIO::SlaveBase::sigpipe_handler((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_sigsegv_1handler(JNIEnv* env, jclass cls, jint arg1) -{ - (void) cls; - (void) env; - TDEIO::SlaveBase::sigsegv_handler((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_slaveStatus(JNIEnv* env, jobject obj, jstring host, jboolean connected) -{ -static TQString* _qstring_host = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->slaveStatus((const TQString&)*(TQString*) QtSupport::toTQString(env, host, &_qstring_host), (bool) connected); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_slave_1status(JNIEnv* env, jobject obj) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->slave_status(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_special(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->special((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_speed(JNIEnv* env, jobject obj, jlong _bytes_per_second) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->speed((unsigned long) _bytes_per_second); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_stat(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_symlink(JNIEnv* env, jobject obj, jstring target, jobject dest, jboolean overwrite) -{ -static TQString* _qstring_target = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->symlink((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_totalSize(JNIEnv* env, jobject obj, jlong _bytes) -{ - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->totalSize((TDEIO::filesize_t) _bytes); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_waitForAnswer__II_3B(JNIEnv* env, jobject obj, jint expected1, jint expected2, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->waitForAnswer((int) expected1, (int) expected2, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveBase_waitForAnswer__II_3B_3I(JNIEnv* env, jobject obj, jint expected1, jint expected2, jbyteArray data, jintArray pCmd) -{ -static TQByteArray* _qbyteArray_data = 0; - int* _int_pCmd = QtSupport::toIntPtr(env, pCmd); - jint xret = (jint) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->waitForAnswer((int) expected1, (int) expected2, (TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (int*) _int_pCmd); - env->SetIntArrayRegion(pCmd, 0, 1, (jint *) _int_pCmd); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveBase_warning(JNIEnv* env, jobject obj, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->warning((const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_SlaveBase_wasKilled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::SlaveBase*) QtSupport::getQt(env, obj))->wasKilled(); - return xret; -} - diff --git a/kdejava/koala/kdejava/SlaveBase.h b/kdejava/koala/kdejava/SlaveBase.h deleted file mode 100644 index ac0d616d..00000000 --- a/kdejava/koala/kdejava/SlaveBase.h +++ /dev/null @@ -1,88 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_SlaveBase__ -#define __org_kde_koala_SlaveBase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_exit (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_dispatchLoop (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setConnection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SlaveBase_connection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_data (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_dataReq (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_error (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_connected (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_finished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_needSubURLData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_slaveStatus (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_canResume__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_canResume__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_totalSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_processedSize (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_processedPercent (JNIEnv *env, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_speed (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_redirection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_errorPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_mimeType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_warning (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_infoMessage (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setMetaData (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_hasMetaData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_SlaveBase_metaData (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SlaveBase_config (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setHost (JNIEnv *env, jobject, jstring, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setSubURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_openConnection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_closeConnection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_get (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_put (JNIEnv *env, jobject, jobject, jint, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_stat (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_mimetype (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_listDir (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_mkdir (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_rename (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_symlink (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_chmod (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_copy (JNIEnv *env, jobject, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_del (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_special (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_multiGet (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_slave_1status (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_reparseConfiguration (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_connectTimeout (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_proxyConnectTimeout (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_responseTimeout (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_readTimeout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setTimeoutSpecialCommand__I_3B (JNIEnv *env, jobject, jint, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setTimeoutSpecialCommand__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_dispatch__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_dispatch__I_3B (JNIEnv *env, jobject, jint, jbyteArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_readData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_connectSlave (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_disconnectSlave (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_openPassDlg__Lorg_kde_koala_AuthInfo_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_openPassDlg__Lorg_kde_koala_AuthInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_requestNetwork__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_requestNetwork__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_dropNetwork__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_dropNetwork__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SlaveBase_dcopClient (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_waitForAnswer__II_3B_3I (JNIEnv *env, jobject, jint, jint, jbyteArray, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveBase_waitForAnswer__II_3B (JNIEnv *env, jobject, jint, jint, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_sendMetaData (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_SlaveBase_wasKilled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_setKillFlag (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_sigsegv_1handler (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveBase_sigpipe_1handler (JNIEnv *env, jclass, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_SlaveBase__ */ diff --git a/kdejava/koala/kdejava/SlaveInterface.cpp b/kdejava/koala/kdejava/SlaveInterface.cpp deleted file mode 100644 index 9e944a51..00000000 --- a/kdejava/koala/kdejava/SlaveInterface.cpp +++ /dev/null @@ -1,75 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_SlaveInterface_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SlaveInterface_connection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->connection(), "org.kde.koala.Connection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_SlaveInterface_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_SlaveInterface_offset(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->offset(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_SlaveInterface_progressId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->progressId(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveInterface_sendResumeAnswer(JNIEnv* env, jobject obj, jboolean resume) -{ - ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->sendResumeAnswer((bool) resume); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveInterface_setConnection(JNIEnv* env, jobject obj, jobject connection) -{ - ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->setConnection((TDEIO::Connection*) QtSupport::getQt(env, connection)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveInterface_setOffset(JNIEnv* env, jobject obj, jlong offset) -{ - ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->setOffset((TDEIO::filesize_t) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_SlaveInterface_setProgressId(JNIEnv* env, jobject obj, jint id) -{ - ((TDEIO::SlaveInterface*) QtSupport::getQt(env, obj))->setProgressId((int) id); - return; -} - diff --git a/kdejava/koala/kdejava/SlaveInterface.h b/kdejava/koala/kdejava/SlaveInterface.h deleted file mode 100644 index 4f75a6e6..00000000 --- a/kdejava/koala/kdejava/SlaveInterface.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_SlaveInterface__ -#define __org_kde_koala_SlaveInterface__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SlaveInterface_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_SlaveInterface_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveInterface_setConnection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_SlaveInterface_connection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveInterface_setProgressId (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_SlaveInterface_progressId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveInterface_sendResumeAnswer (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_SlaveInterface_setOffset (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_SlaveInterface_offset (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_SlaveInterface__ */ diff --git a/kdejava/koala/kdejava/StatJob.cpp b/kdejava/koala/kdejava/StatJob.cpp deleted file mode 100644 index f1a439a2..00000000 --- a/kdejava/koala/kdejava/StatJob.cpp +++ /dev/null @@ -1,146 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class StatJobJBridge : public TDEIO::StatJob -{ -public: - StatJobJBridge(const KURL& arg1,int arg2,const TQByteArray& arg3,bool arg4) : TDEIO::StatJob(arg1,arg2,arg3,arg4) {}; - void protected_slotRedirection(const KURL& arg1) { - TDEIO::StatJob::slotRedirection(arg1); - return; - } - void protected_slotFinished() { - TDEIO::StatJob::slotFinished(); - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatJob","slotFinished")) { - StatJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - Job::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - StatJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.StatJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StatJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::StatJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StatJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::StatJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_newStatJob(JNIEnv* env, jobject obj, jobject url, jint command, jbyteArray packedArgs, jboolean showProgressInfo) -{ -static TQByteArray* _qbyteArray_packedArgs = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StatJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, packedArgs, &_qbyteArray_packedArgs), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_setDetails(JNIEnv* env, jobject obj, jshort details) -{ - ((TDEIO::StatJob*) QtSupport::getQt(env, obj))->setDetails((short int) details); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_setSide(JNIEnv* env, jobject obj, jboolean source) -{ - ((TDEIO::StatJob*) QtSupport::getQt(env, obj))->setSide((bool) source); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((StatJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_slotRedirection(JNIEnv* env, jobject obj, jobject url) -{ - ((StatJobJBridge*) QtSupport::getQt(env, obj))->protected_slotRedirection((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::StatJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - diff --git a/kdejava/koala/kdejava/StatJob.h b/kdejava/koala/kdejava/StatJob.h deleted file mode 100644 index 57569ea8..00000000 --- a/kdejava/koala/kdejava/StatJob.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_StatJob__ -#define __org_kde_koala_StatJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StatJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StatJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_newStatJob (JNIEnv *env, jobject, jobject, jint, jbyteArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_setSide (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_setDetails (JNIEnv *env, jobject, jshort); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_slotRedirection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatJob_slotFinished (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_StatJob__ */ diff --git a/kdejava/koala/kdejava/StatusBarExtension.cpp b/kdejava/koala/kdejava/StatusBarExtension.cpp deleted file mode 100644 index b92234e7..00000000 --- a/kdejava/koala/kdejava/StatusBarExtension.cpp +++ /dev/null @@ -1,130 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class StatusBarExtensionJBridge : public KParts::StatusBarExtension -{ -public: - StatusBarExtensionJBridge(KParts::ReadOnlyPart* arg1,const char* arg2) : KParts::StatusBarExtension(arg1,arg2) {}; - StatusBarExtensionJBridge(KParts::ReadOnlyPart* arg1) : KParts::StatusBarExtension(arg1) {}; - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.StatusBarExtension",object,event)) { - return StatusBarExtension::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusBarExtension_addStatusBarItem(JNIEnv* env, jobject obj, jobject widget, jint stretch, jboolean permanent) -{ - ((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->addStatusBarItem((TQWidget*) QtSupport::getQt(env, widget), (int) stretch, (bool) permanent); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StatusBarExtension_childObject(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)StatusBarExtensionJBridge::childObject((TQObject*) QtSupport::getQt(env, arg1)), "org.kde.koala.StatusBarExtension"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StatusBarExtension_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_StatusBarExtension_eventFilter(JNIEnv* env, jobject obj, jobject watched, jobject ev) -{ - jboolean xret = (jboolean) ((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->eventFilter((TQObject*) QtSupport::getQt(env, watched), (TQEvent*) QtSupport::getQt(env, ev)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StatusBarExtension_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusBarExtension_newStatusBarExtension__Lorg_kde_koala_ReadOnlyPart_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StatusBarExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusBarExtension_newStatusBarExtension__Lorg_kde_koala_ReadOnlyPart_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 StatusBarExtensionJBridge((KParts::ReadOnlyPart*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusBarExtension_removeStatusBarItem(JNIEnv* env, jobject obj, jobject widget) -{ - ((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->removeStatusBarItem((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusBarExtension_setStatusBar(JNIEnv* env, jobject obj, jobject status) -{ - ((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->setStatusBar((KStatusBar*) QtSupport::getQt(env, status)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StatusBarExtension_statusBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KParts::StatusBarExtension*) QtSupport::getQt(env, obj))->statusBar(), "org.kde.koala.KStatusBar"); - return xret; -} - diff --git a/kdejava/koala/kdejava/StatusBarExtension.h b/kdejava/koala/kdejava/StatusBarExtension.h deleted file mode 100644 index 26841ef8..00000000 --- a/kdejava/koala/kdejava/StatusBarExtension.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_StatusBarExtension__ -#define __org_kde_koala_StatusBarExtension__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StatusBarExtension_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StatusBarExtension_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusBarExtension_newStatusBarExtension__Lorg_kde_koala_ReadOnlyPart_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusBarExtension_newStatusBarExtension__Lorg_kde_koala_ReadOnlyPart_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusBarExtension_addStatusBarItem (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusBarExtension_removeStatusBarItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StatusBarExtension_statusBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusBarExtension_setStatusBar (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_StatusBarExtension_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StatusBarExtension_childObject (JNIEnv *env, jclass, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_StatusBarExtension__ */ diff --git a/kdejava/koala/kdejava/StatusbarProgress.cpp b/kdejava/koala/kdejava/StatusbarProgress.cpp deleted file mode 100644 index 62065af3..00000000 --- a/kdejava/koala/kdejava/StatusbarProgress.cpp +++ /dev/null @@ -1,462 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class StatusbarProgressJBridge : public TDEIO::StatusbarProgress -{ -public: - StatusbarProgressJBridge(TQWidget* arg1,bool arg2) : TDEIO::StatusbarProgress(arg1,arg2) {}; - StatusbarProgressJBridge(TQWidget* arg1) : TDEIO::StatusbarProgress(arg1) {}; - void public_slotClean() { - TDEIO::StatusbarProgress::slotClean(); - return; - } - void protected_setMode() { - TDEIO::StatusbarProgress::setMode(); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TDEIO::StatusbarProgress::eventFilter(arg1,arg2); - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.StatusbarProgress","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - ProgressBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotClean() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","slotClean")) { - StatusbarProgress::slotClean(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.StatusbarProgress",object,event)) { - return StatusbarProgress::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StatusbarProgress","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StatusbarProgress_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_StatusbarProgress_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((StatusbarProgressJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StatusbarProgress_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_newStatusbarProgress__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StatusbarProgressJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_newStatusbarProgress__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject parent, jboolean button) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StatusbarProgressJBridge((TQWidget*) QtSupport::getQt(env, parent), (bool) button)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_setJob(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->setJob((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_setMode(JNIEnv* env, jobject obj) -{ - ((StatusbarProgressJBridge*) QtSupport::getQt(env, obj))->protected_setMode(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_slotClean(JNIEnv* env, jobject obj) -{ - ((StatusbarProgressJBridge*) QtSupport::getQt(env, obj))->public_slotClean(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_slotPercent(JNIEnv* env, jobject obj, jobject job, jlong percent) -{ - ((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->slotPercent((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) percent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_slotSpeed(JNIEnv* env, jobject obj, jobject job, jlong speed) -{ - ((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->slotSpeed((TDEIO::Job*) QtSupport::getQt(env, job), (unsigned long) speed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StatusbarProgress_slotTotalSize(JNIEnv* env, jobject obj, jobject job, jlong size) -{ - ((TDEIO::StatusbarProgress*) QtSupport::getQt(env, obj))->slotTotalSize((TDEIO::Job*) QtSupport::getQt(env, job), (TDEIO::filesize_t) size); - return; -} - diff --git a/kdejava/koala/kdejava/StatusbarProgress.h b/kdejava/koala/kdejava/StatusbarProgress.h deleted file mode 100644 index 6e97bf54..00000000 --- a/kdejava/koala/kdejava/StatusbarProgress.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_StatusbarProgress__ -#define __org_kde_koala_StatusbarProgress__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StatusbarProgress_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StatusbarProgress_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_newStatusbarProgress__Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_newStatusbarProgress__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_setJob (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_slotClean (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_slotTotalSize (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_slotPercent (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_slotSpeed (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StatusbarProgress_setMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_StatusbarProgress_eventFilter (JNIEnv *env, jobject, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_StatusbarProgress__ */ diff --git a/kdejava/koala/kdejava/StoredTransferJob.cpp b/kdejava/koala/kdejava/StoredTransferJob.cpp deleted file mode 100644 index cf1abfd5..00000000 --- a/kdejava/koala/kdejava/StoredTransferJob.cpp +++ /dev/null @@ -1,137 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class StoredTransferJobJBridge : public TDEIO::StoredTransferJob -{ -public: - StoredTransferJobJBridge(const KURL& arg1,int arg2,const TQByteArray& arg3,const TQByteArray& arg4,bool arg5) : TDEIO::StoredTransferJob(arg1,arg2,arg3,arg4,arg5) {}; - void slotRedirection(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotRedirection",(void*)&arg1,"org.kde.koala.KURL")) { - TransferJob::slotRedirection(arg1); - } - return; - } - void slotNeedSubURLData() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StoredTransferJob","slotNeedSubURLData")) { - TransferJob::slotNeedSubURLData(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StoredTransferJob","slotFinished")) { - TransferJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - TransferJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - TransferJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotDataReq() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StoredTransferJob","slotDataReq")) { - TransferJob::slotDataReq(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.StoredTransferJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.StoredTransferJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StoredTransferJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::StoredTransferJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_StoredTransferJob_data(JNIEnv* env, jobject obj) -{ - TQByteArray _qbyteArray; - _qbyteArray = ((TDEIO::StoredTransferJob*) QtSupport::getQt(env, obj))->data(); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StoredTransferJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::StoredTransferJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StoredTransferJob_newStoredTransferJob(JNIEnv* env, jobject obj, jobject url, jint command, jbyteArray packedArgs, jbyteArray _staticData, jboolean showProgressInfo) -{ -static TQByteArray* _qbyteArray_packedArgs = 0; -static TQByteArray* _qbyteArray__staticData = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StoredTransferJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, packedArgs, &_qbyteArray_packedArgs), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, _staticData, &_qbyteArray__staticData), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StoredTransferJob_setData(JNIEnv* env, jobject obj, jbyteArray arr) -{ -static TQByteArray* _qbyteArray_arr = 0; - ((TDEIO::StoredTransferJob*) QtSupport::getQt(env, obj))->setData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arr, &_qbyteArray_arr)); - return; -} - diff --git a/kdejava/koala/kdejava/StoredTransferJob.h b/kdejava/koala/kdejava/StoredTransferJob.h deleted file mode 100644 index 7829661c..00000000 --- a/kdejava/koala/kdejava/StoredTransferJob.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_StoredTransferJob__ -#define __org_kde_koala_StoredTransferJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StoredTransferJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StoredTransferJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StoredTransferJob_newStoredTransferJob (JNIEnv *env, jobject, jobject, jint, jbyteArray, jbyteArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StoredTransferJob_setData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_StoredTransferJob_data (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_StoredTransferJob__ */ diff --git a/kdejava/koala/kdejava/StyleSheet.cpp b/kdejava/koala/kdejava/StyleSheet.cpp deleted file mode 100644 index 3dc614d4..00000000 --- a/kdejava/koala/kdejava/StyleSheet.cpp +++ /dev/null @@ -1,110 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class StyleSheetJBridge : public DOM::StyleSheet -{ -public: - StyleSheetJBridge() : DOM::StyleSheet() {}; - StyleSheetJBridge(const DOM::StyleSheet& arg1) : DOM::StyleSheet(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_StyleSheet_disabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->disabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StyleSheet_href(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->href(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_StyleSheet_isCSSStyleSheet(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->isCSSStyleSheet(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_StyleSheet_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StyleSheet_media(JNIEnv* env, jobject obj) -{ - DOM::MediaList _qlist; - _qlist = ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->media(); - return (jobject) KDESupport::arrayWithMediaList(env, (DOM::MediaList *) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StyleSheet_newStyleSheet__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StyleSheetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StyleSheet_newStyleSheet__Lorg_kde_koala_StyleSheet_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new StyleSheetJBridge((const DOM::StyleSheet&)*(const DOM::StyleSheet*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StyleSheet_ownerNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::StyleSheet*) QtSupport::getQt(env, obj))->ownerNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_StyleSheet_parentStyleSheet(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::StyleSheet(((DOM::StyleSheet*) QtSupport::getQt(env, obj))->parentStyleSheet()), "org.kde.koala.StyleSheet", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_StyleSheet_setDisabled(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StyleSheet_title(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->title(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_StyleSheet_type(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::StyleSheet*) QtSupport::getQt(env, obj))->type(); - return KDESupport::fromDOMString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/StyleSheet.h b/kdejava/koala/kdejava/StyleSheet.h deleted file mode 100644 index ec45f165..00000000 --- a/kdejava/koala/kdejava/StyleSheet.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_StyleSheet__ -#define __org_kde_koala_StyleSheet__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_StyleSheet_newStyleSheet__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StyleSheet_newStyleSheet__Lorg_kde_koala_StyleSheet_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StyleSheet_type (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_StyleSheet_disabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_StyleSheet_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StyleSheet_ownerNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StyleSheet_parentStyleSheet (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StyleSheet_href (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_StyleSheet_title (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_StyleSheet_media (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_StyleSheet_isCSSStyleSheet (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_StyleSheet_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_StyleSheet__ */ diff --git a/kdejava/koala/kdejava/TDEAboutApplication.cpp b/kdejava/koala/kdejava/TDEAboutApplication.cpp deleted file mode 100644 index 804797c8..00000000 --- a/kdejava/koala/kdejava/TDEAboutApplication.cpp +++ /dev/null @@ -1,556 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class TDEAboutApplicationJBridge : public TDEAboutApplication -{ -public: - TDEAboutApplicationJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEAboutApplication(arg1,arg2,arg3) {}; - TDEAboutApplicationJBridge(TQWidget* arg1,const char* arg2) : TDEAboutApplication(arg1,arg2) {}; - TDEAboutApplicationJBridge(TQWidget* arg1) : TDEAboutApplication(arg1) {}; - TDEAboutApplicationJBridge() : TDEAboutApplication() {}; - TDEAboutApplicationJBridge(const TDEAboutData* arg1,TQWidget* arg2,const char* arg3,bool arg4) : TDEAboutApplication(arg1,arg2,arg3,arg4) {}; - TDEAboutApplicationJBridge(const TDEAboutData* arg1,TQWidget* arg2,const char* arg3) : TDEAboutApplication(arg1,arg2,arg3) {}; - TDEAboutApplicationJBridge(const TDEAboutData* arg1,TQWidget* arg2) : TDEAboutApplication(arg1,arg2) {}; - TDEAboutApplicationJBridge(const TDEAboutData* arg1) : TDEAboutApplication(arg1) {}; - void protected_buildDialog(const TDEAboutData* arg1) { - TDEAboutApplication::buildDialog(arg1); - return; - } - ~TDEAboutApplicationJBridge() {QtSupport::qtKeyDeleted(this);} - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","accept")) { - TQDialog::accept(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotCancel")) { - KDialogBase::slotCancel(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotNo")) { - KDialogBase::slotNo(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"show",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAboutDialog::show(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","reject")) { - TQDialog::reject(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotTry")) { - KDialogBase::slotTry(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQWidget::moveEvent(arg1); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","polish")) { - KDialog::polish(); - } - return; - } - void setBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setBackgroundPixmap(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutApplication","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_buildDialog(JNIEnv* env, jobject obj, jobject aboutData) -{ - ((TDEAboutApplicationJBridge*) QtSupport::getQt(env, obj))->protected_buildDialog((const TDEAboutData*) QtSupport::getQt(env, aboutData)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutApplication_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutApplication*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutApplication*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutApplication_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2(JNIEnv* env, jobject obj, jobject aboutData) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((const TDEAboutData*) QtSupport::getQt(env, aboutData))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject aboutData, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((const TDEAboutData*) QtSupport::getQt(env, aboutData), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject aboutData, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((const TDEAboutData*) QtSupport::getQt(env, aboutData), (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_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject aboutData, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((const TDEAboutData*) QtSupport::getQt(env, aboutData), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__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 TDEAboutApplicationJBridge((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_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutApplicationJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutApplication.h b/kdejava/koala/kdejava/TDEAboutApplication.h deleted file mode 100644 index 3d4cceba..00000000 --- a/kdejava/koala/kdejava/TDEAboutApplication.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutApplication__ -#define __org_kde_koala_TDEAboutApplication__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_newTDEAboutApplication__Lorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_buildDialog (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutApplication_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutApplication_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutApplication__ */ diff --git a/kdejava/koala/kdejava/TDEAboutContainer.cpp b/kdejava/koala/kdejava/TDEAboutContainer.cpp deleted file mode 100644 index 61f255b9..00000000 --- a/kdejava/koala/kdejava/TDEAboutContainer.cpp +++ /dev/null @@ -1,623 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEAboutContainerJBridge : public TDEAboutContainer -{ -public: - TDEAboutContainerJBridge(TQWidget* arg1,const char* arg2,int arg3,int arg4,int arg5,int arg6) : TDEAboutContainer(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEAboutContainerJBridge(TQWidget* arg1,const char* arg2,int arg3,int arg4,int arg5) : TDEAboutContainer(arg1,arg2,arg3,arg4,arg5) {}; - TDEAboutContainerJBridge(TQWidget* arg1,const char* arg2,int arg3,int arg4) : TDEAboutContainer(arg1,arg2,arg3,arg4) {}; - TDEAboutContainerJBridge(TQWidget* arg1,const char* arg2,int arg3) : TDEAboutContainer(arg1,arg2,arg3) {}; - TDEAboutContainerJBridge(TQWidget* arg1,const char* arg2) : TDEAboutContainer(arg1,arg2) {}; - TDEAboutContainerJBridge(TQWidget* arg1) : TDEAboutContainer(arg1) {}; - TDEAboutContainerJBridge() : TDEAboutContainer() {}; - void protected_childEvent(TQChildEvent* arg1) { - TDEAboutContainer::childEvent(arg1); - return; - } - ~TDEAboutContainerJBridge() {QtSupport::qtKeyDeleted(this);} - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - 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 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TDEAboutContainer::childEvent(arg1); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","show")) { - TQWidget::show(); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","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 fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEAboutContainer",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - 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.koala.TDEAboutContainer","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - 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 frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContainer","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addImage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addImage((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addImage__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jint alignment) -{ -static TQString* _qstring_fileName = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addImage((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (int) alignment); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring task) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_task = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addPerson((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, task, &_qstring_task)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring task, jboolean showHeader) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_task = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addPerson((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, task, &_qstring_task), (bool) showHeader); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring task, jboolean showHeader, jboolean showframe) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_task = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addPerson((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, task, &_qstring_task), (bool) showHeader, (bool) showframe); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring task, jboolean showHeader, jboolean showframe, jboolean showBold) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_task = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addPerson((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, task, &_qstring_task), (bool) showHeader, (bool) showframe, (bool) showBold); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring title, jint alignment) -{ -static TQString* _qstring_title = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) alignment); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring title, jint alignment, jboolean showframe) -{ -static TQString* _qstring_title = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) alignment, (bool) showframe); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2IZZ(JNIEnv* env, jobject obj, jstring title, jint alignment, jboolean showframe, jboolean showBold) -{ -static TQString* _qstring_title = 0; - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) alignment, (bool) showframe, (bool) showBold); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_addWidget(JNIEnv* env, jobject obj, jobject widget) -{ - ((TDEAboutContainer*) QtSupport::getQt(env, obj))->addWidget((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_childEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEAboutContainerJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContainer_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutContainer*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutContainer_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutContainer*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutContainer*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutContainer_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutContainer_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutContainer*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutContainer_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEAboutContainer*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__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 TDEAboutContainerJBridge((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_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint margin) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) margin)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject parent, jstring name, jint margin, jint spacing) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) margin, (int) spacing)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2III(JNIEnv* env, jobject obj, jobject parent, jstring name, jint margin, jint spacing, jint childAlignment) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) margin, (int) spacing, (int) childAlignment)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2IIII(JNIEnv* env, jobject obj, jobject parent, jstring name, jint margin, jint spacing, jint childAlignment, jint innerAlignment) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContainerJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (int) margin, (int) spacing, (int) childAlignment, (int) innerAlignment)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutContainer_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEAboutContainer*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEAboutContainer.h b/kdejava/koala/kdejava/TDEAboutContainer.h deleted file mode 100644 index 2f2a096d..00000000 --- a/kdejava/koala/kdejava/TDEAboutContainer.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutContainer__ -#define __org_kde_koala_TDEAboutContainer__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutContainer_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContainer_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2IIII (JNIEnv *env, jobject, jobject, jstring, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2III (JNIEnv *env, jobject, jobject, jstring, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_newTDEAboutContainer__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2IZZ (JNIEnv *env, jobject, jstring, jint, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addTitle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addImage__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_addImage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutContainer_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutContainer_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContainer_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutContainer_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutContainer__ */ diff --git a/kdejava/koala/kdejava/TDEAboutContributor.cpp b/kdejava/koala/kdejava/TDEAboutContributor.cpp deleted file mode 100644 index c2bca12b..00000000 --- a/kdejava/koala/kdejava/TDEAboutContributor.cpp +++ /dev/null @@ -1,736 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEAboutContributorJBridge : public TDEAboutContributor -{ -public: - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6,bool arg7,bool arg8,bool arg9) : TDEAboutContributor(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6,bool arg7,bool arg8) : TDEAboutContributor(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6,bool arg7) : TDEAboutContributor(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5,const TQString& arg6) : TDEAboutContributor(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4,const TQString& arg5) : TDEAboutContributor(arg1,arg2,arg3,arg4,arg5) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3,const TQString& arg4) : TDEAboutContributor(arg1,arg2,arg3,arg4) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2,const TQString& arg3) : TDEAboutContributor(arg1,arg2,arg3) {}; - TDEAboutContributorJBridge(TQWidget* arg1,const char* arg2) : TDEAboutContributor(arg1,arg2) {}; - TDEAboutContributorJBridge(TQWidget* arg1) : TDEAboutContributor(arg1) {}; - TDEAboutContributorJBridge() : TDEAboutContributor() {}; - void protected_fontChange(const TQFont& arg1) { - TDEAboutContributor::fontChange(arg1); - return; - } - void protected_urlClickedSlot(const TQString& arg1) { - TDEAboutContributor::urlClickedSlot(arg1); - return; - } - void protected_emailClickedSlot(const TQString& arg1) { - TDEAboutContributor::emailClickedSlot(arg1); - return; - } - ~TDEAboutContributorJBridge() {QtSupport::qtKeyDeleted(this);} - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - 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 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","show")) { - TQWidget::show(); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","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 fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TDEAboutContributor::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQFrame::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEAboutContributor",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - 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.koala.TDEAboutContributor","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - 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 frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutContributor","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContributor_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutContributor*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutContributor_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_emailClickedSlot(JNIEnv* env, jobject obj, jstring emailaddress) -{ -static TQString* _qstring_emailaddress = 0; - ((TDEAboutContributorJBridge*) QtSupport::getQt(env, obj))->protected_emailClickedSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, emailaddress, &_qstring_emailaddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutContributor*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutContributor*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_fontChange(JNIEnv* env, jobject obj, jobject oldFont) -{ - ((TDEAboutContributorJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, oldFont)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContributor_getEmail(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutContributor*) QtSupport::getQt(env, obj))->getEmail(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContributor_getName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutContributor*) QtSupport::getQt(env, obj))->getName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContributor_getURL(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutContributor*) QtSupport::getQt(env, obj))->getURL(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutContributor_getWork(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutContributor*) QtSupport::getQt(env, obj))->getWork(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutContributor_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutContributor_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutContributor*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__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 TDEAboutContributorJBridge((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_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email, jstring url) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email, jstring url, jstring work) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email, jstring url, jstring work, jboolean showHeader) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work), (bool) showHeader)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email, jstring url, jstring work, jboolean showHeader, jboolean showFrame) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work), (bool) showHeader, (bool) showFrame)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring username, jstring email, jstring url, jstring work, jboolean showHeader, jboolean showFrame, jboolean showBold) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_username = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutContributorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, username, &_qstring_username), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work), (bool) showHeader, (bool) showFrame, (bool) showBold)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setEmail((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring header) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setEmail((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jstring header, jboolean update) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setEmail((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring header) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jstring header, jboolean update) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setURL((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring header) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setURL((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jstring header, jboolean update) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setURL((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setWork((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring header) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setWork((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jstring header, jboolean update) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_header = 0; - ((TDEAboutContributor*) QtSupport::getQt(env, obj))->setWork((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, header, &_qstring_header), (bool) update); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutContributor_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEAboutContributor*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutContributor_urlClickedSlot(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDEAboutContributorJBridge*) QtSupport::getQt(env, obj))->protected_urlClickedSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutContributor.h b/kdejava/koala/kdejava/TDEAboutContributor.h deleted file mode 100644 index 4fb31884..00000000 --- a/kdejava/koala/kdejava/TDEAboutContributor.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutContributor__ -#define __org_kde_koala_TDEAboutContributor__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutContributor_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContributor_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_newTDEAboutContributor__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setName__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setEmail__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setURL__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_setWork__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContributor_getName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContributor_getEmail (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContributor_getURL (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutContributor_getWork (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutContributor_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_fontChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_urlClickedSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_emailClickedSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutContributor_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutContributor_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutContributor__ */ diff --git a/kdejava/koala/kdejava/TDEAboutData.cpp b/kdejava/koala/kdejava/TDEAboutData.cpp deleted file mode 100644 index 2d9788b5..00000000 --- a/kdejava/koala/kdejava/TDEAboutData.cpp +++ /dev/null @@ -1,474 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEAboutDataJBridge : public TDEAboutData -{ -public: - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7,const char* arg8,const char* arg9) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7,const char* arg8) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6,const char* arg7) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5,const char* arg6) : TDEAboutData(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4,int arg5) : TDEAboutData(arg1,arg2,arg3,arg4,arg5) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4) : TDEAboutData(arg1,arg2,arg3,arg4) {}; - TDEAboutDataJBridge(const char* arg1,const char* arg2,const char* arg3) : TDEAboutData(arg1,arg2,arg3) {}; - ~TDEAboutDataJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_aboutTranslationTeam(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEAboutDataJBridge::aboutTranslationTeam(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; -static TQCString* _qstring_emailAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress, jstring webAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; -static TQCString* _qstring_emailAddress = 0; -static TQCString* _qstring_webAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addAuthor((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress), (const char*) QtSupport::toCharString(env, webAddress, &_qstring_webAddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; -static TQCString* _qstring_emailAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress, jstring webAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; -static TQCString* _qstring_emailAddress = 0; -static TQCString* _qstring_webAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->addCredit((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress), (const char*) QtSupport::toCharString(env, webAddress, &_qstring_webAddress)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_appName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->appName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_bugAddress(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->bugAddress(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_copyrightStatement(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->copyrightStatement(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_customAuthorPlainText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->customAuthorPlainText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_customAuthorRichText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->customAuthorRichText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutData_customAuthorTextEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAboutData*) QtSupport::getQt(env, obj))->customAuthorTextEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutData_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEAboutData*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_homepage(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->homepage(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutData_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_license(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->license(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; -static TQCString* _qstring_copyrightStatement = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; -static TQCString* _qstring_copyrightStatement = 0; -static TQCString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text, jstring homePageAddress) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; -static TQCString* _qstring_copyrightStatement = 0; -static TQCString* _qstring_text = 0; -static TQCString* _qstring_homePageAddress = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, homePageAddress, &_qstring_homePageAddress))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appName, jstring programName, jstring version, jstring shortDescription, jint licenseType, jstring copyrightStatement, jstring text, jstring homePageAddress, jstring bugsEmailAddress) -{ -static TQCString* _qstring_appName = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring_version = 0; -static TQCString* _qstring_shortDescription = 0; -static TQCString* _qstring_copyrightStatement = 0; -static TQCString* _qstring_text = 0; -static TQCString* _qstring_homePageAddress = 0; -static TQCString* _qstring_bugsEmailAddress = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDataJBridge((const char*) QtSupport::toCharString(env, appName, &_qstring_appName), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, version, &_qstring_version), (const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription), (int) licenseType, (const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement), (const char*) QtSupport::toCharString(env, text, &_qstring_text), (const char*) QtSupport::toCharString(env, homePageAddress, &_qstring_homePageAddress), (const char*) QtSupport::toCharString(env, bugsEmailAddress, &_qstring_bugsEmailAddress))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_otherText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->otherText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_productName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->productName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutData_programLogo(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEAboutData*) QtSupport::getQt(env, obj))->programLogo()), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_programName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->programName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setAppName(JNIEnv* env, jobject obj, jstring appName) -{ -static TQCString* _qstring_appName = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setAppName((const char*) QtSupport::toCharString(env, appName, &_qstring_appName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setBugAddress(JNIEnv* env, jobject obj, jstring bugAddress) -{ -static TQCString* _qstring_bugAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setBugAddress((const char*) QtSupport::toCharString(env, bugAddress, &_qstring_bugAddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setCopyrightStatement(JNIEnv* env, jobject obj, jstring copyrightStatement) -{ -static TQCString* _qstring_copyrightStatement = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setCopyrightStatement((const char*) QtSupport::toCharString(env, copyrightStatement, &_qstring_copyrightStatement)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setCustomAuthorText(JNIEnv* env, jobject obj, jstring plainText, jstring richText) -{ -static TQString* _qstring_plainText = 0; -static TQString* _qstring_richText = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setCustomAuthorText((const TQString&)*(TQString*) QtSupport::toTQString(env, plainText, &_qstring_plainText), (const TQString&)*(TQString*) QtSupport::toTQString(env, richText, &_qstring_richText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setHomepage(JNIEnv* env, jobject obj, jstring homepage) -{ -static TQCString* _qstring_homepage = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setHomepage((const char*) QtSupport::toCharString(env, homepage, &_qstring_homepage)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setLicenseTextFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setLicenseTextFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setLicenseText(JNIEnv* env, jobject obj, jstring license) -{ -static TQCString* _qstring_license = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setLicenseText((const char*) QtSupport::toCharString(env, license, &_qstring_license)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setLicense(JNIEnv* env, jobject obj, jint licenseKey) -{ - ((TDEAboutData*) QtSupport::getQt(env, obj))->setLicense((TDEAboutData::LicenseKey) licenseKey); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setOtherText(JNIEnv* env, jobject obj, jstring otherText) -{ -static TQCString* _qstring_otherText = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setOtherText((const char*) QtSupport::toCharString(env, otherText, &_qstring_otherText)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setProductName(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setProductName((const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setProgramLogo(JNIEnv* env, jobject obj, jobject image) -{ - ((TDEAboutData*) QtSupport::getQt(env, obj))->setProgramLogo((const TQImage&)*(const TQImage*) QtSupport::getQt(env, image)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setProgramName(JNIEnv* env, jobject obj, jstring programName) -{ -static TQCString* _qstring_programName = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setProgramName((const char*) QtSupport::toCharString(env, programName, &_qstring_programName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setShortDescription(JNIEnv* env, jobject obj, jstring shortDescription) -{ -static TQCString* _qstring_shortDescription = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setShortDescription((const char*) QtSupport::toCharString(env, shortDescription, &_qstring_shortDescription)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setTranslator(JNIEnv* env, jobject obj, jstring name, jstring emailAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_emailAddress = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setTranslator((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_setVersion(JNIEnv* env, jobject obj, jstring version) -{ -static TQCString* _qstring_version = 0; - ((TDEAboutData*) QtSupport::getQt(env, obj))->setVersion((const char*) QtSupport::toCharString(env, version, &_qstring_version)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_shortDescription(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->shortDescription(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutData_unsetCustomAuthorText(JNIEnv* env, jobject obj) -{ - ((TDEAboutData*) QtSupport::getQt(env, obj))->unsetCustomAuthorText(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutData_version(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutData*) QtSupport::getQt(env, obj))->version(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEAboutData.h b/kdejava/koala/kdejava/TDEAboutData.h deleted file mode 100644 index e436e10e..00000000 --- a/kdejava/koala/kdejava/TDEAboutData.h +++ /dev/null @@ -1,67 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutData__ -#define __org_kde_koala_TDEAboutData__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_newTDEAboutData__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addAuthor__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_addCredit__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setTranslator (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setLicenseText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setLicenseTextFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setAppName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setProgramName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setProgramLogo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setVersion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setShortDescription (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setLicense (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setCopyrightStatement (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setOtherText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setHomepage (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setBugAddress (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setProductName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_appName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_productName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_programName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutData_programLogo (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_version (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_shortDescription (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_homepage (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_bugAddress (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_otherText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_license (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_copyrightStatement (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_customAuthorPlainText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_customAuthorRichText (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutData_customAuthorTextEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_setCustomAuthorText (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_unsetCustomAuthorText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutData_aboutTranslationTeam (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutData_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutData_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutData__ */ diff --git a/kdejava/koala/kdejava/TDEAboutDialog.cpp b/kdejava/koala/kdejava/TDEAboutDialog.cpp deleted file mode 100644 index f6f01300..00000000 --- a/kdejava/koala/kdejava/TDEAboutDialog.cpp +++ /dev/null @@ -1,910 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEAboutDialogJBridge : public TDEAboutDialog -{ -public: - TDEAboutDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEAboutDialog(arg1,arg2,arg3) {}; - TDEAboutDialogJBridge(TQWidget* arg1,const char* arg2) : TDEAboutDialog(arg1,arg2) {}; - TDEAboutDialogJBridge(TQWidget* arg1) : TDEAboutDialog(arg1) {}; - TDEAboutDialogJBridge() : TDEAboutDialog() {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const TQString& arg9,const TQString& arg10,const TQString& arg11) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const TQString& arg9,const TQString& arg10) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8,const TQString& arg9) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7,bool arg8) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6,bool arg7) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5,const char* arg6) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4,TQWidget* arg5) : TDEAboutDialog(arg1,arg2,arg3,arg4,arg5) {}; - TDEAboutDialogJBridge(int arg1,const TQString& arg2,int arg3,KDialogBase::ButtonCode arg4) : TDEAboutDialog(arg1,arg2,arg3,arg4) {}; - void public_show() { - TDEAboutDialog::show(); - return; - } - void protected_sendEmailSlot(const TQString& arg1,const TQString& arg2) { - TDEAboutDialog::sendEmailSlot(arg1,arg2); - return; - } - void protected_openURLSlot(const TQString& arg1) { - TDEAboutDialog::openURLSlot(arg1); - return; - } - void protected_mouseTrackSlot(int arg1,const TQMouseEvent* arg2) { - TDEAboutDialog::mouseTrackSlot(arg1,arg2); - return; - } - ~TDEAboutDialogJBridge() {QtSupport::qtKeyDeleted(this);} - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","accept")) { - TQDialog::accept(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotNo")) { - KDialogBase::slotNo(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"show",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAboutDialog::show(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","reject")) { - TQDialog::reject(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotTry")) { - KDialogBase::slotTry(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(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.koala.TDEAboutDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","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 slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring title, jint childAlignment) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) childAlignment), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring title, jint childAlignment, jint innerAlignment) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) childAlignment, (int) innerAlignment), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addContainer(JNIEnv* env, jobject obj, jint childAlignment, jint innerAlignment) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addContainer((int) childAlignment, (int) innerAlignment), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_addContributor(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->addContributor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addLicensePage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jstring text) -{ -static TQString* _qstring_title = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addLicensePage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addLicensePage__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring title, jstring text, jint numLines) -{ -static TQString* _qstring_title = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addLicensePage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) numLines), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addPage(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addScrolledContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring title, jint childAlignment) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addScrolledContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) childAlignment), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring title, jint childAlignment, jint innerAlignment) -{ -static TQString* _qstring_title = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addScrolledContainerPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (int) childAlignment, (int) innerAlignment), "org.kde.koala.TDEAboutContainer"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring title, jstring text) -{ -static TQString* _qstring_title = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addTextPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring title, jstring text, jboolean richText) -{ -static TQString* _qstring_title = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addTextPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) richText), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring title, jstring text, jboolean richText, jint numLines) -{ -static TQString* _qstring_title = 0; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->addTextPage((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (bool) richText, (int) numLines), "org.kde.qt.TQFrame"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_adjust(JNIEnv* env, jobject obj) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->adjust(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_imageURL(JNIEnv* env, jclass cls, jobject parent, jstring caption, jstring path, jobject imageColor, jstring url) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_path = 0; -static TQString* _qstring_url = 0; - TDEAboutDialogJBridge::imageURL((TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, imageColor), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_mouseTrackSlot(JNIEnv* env, jobject obj, jint mode, jobject e) -{ - ((TDEAboutDialogJBridge*) QtSupport::getQt(env, obj))->protected_mouseTrackSlot((int) mode, (const TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2II(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent) -{ -static TQString* _qstring_caption = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (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_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jstring user1) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_user1 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const TQString&)*(TQString*) QtSupport::toTQString(env, user1, &_qstring_user1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jstring user1, jstring user2) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_user1 = 0; -static TQString* _qstring_user2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const TQString&)*(TQString*) QtSupport::toTQString(env, user1, &_qstring_user1), (const TQString&)*(TQString*) QtSupport::toTQString(env, user2, &_qstring_user2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint dialogLayout, jstring caption, jint buttonMask, jint defaultButton, jobject parent, jstring name, jboolean modal, jboolean separator, jstring user1, jstring user2, jstring user3) -{ -static TQString* _qstring_caption = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_user1 = 0; -static TQString* _qstring_user2 = 0; -static TQString* _qstring_user3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((int) dialogLayout, (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (int) buttonMask, (KDialogBase::ButtonCode) defaultButton, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal, (bool) separator, (const TQString&)*(TQString*) QtSupport::toTQString(env, user1, &_qstring_user1), (const TQString&)*(TQString*) QtSupport::toTQString(env, user2, &_qstring_user2), (const TQString&)*(TQString*) QtSupport::toTQString(env, user3, &_qstring_user3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__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 TDEAboutDialogJBridge((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_koala_TDEAboutDialog_newTDEAboutDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_openURLSlot(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((TDEAboutDialogJBridge*) QtSupport::getQt(env, obj))->protected_openURLSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_sendEmailSlot(JNIEnv* env, jobject obj, jstring name, jstring email) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; - ((TDEAboutDialogJBridge*) QtSupport::getQt(env, obj))->protected_sendEmailSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setAuthor(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setAuthor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setImageBackgroundColor(JNIEnv* env, jobject obj, jobject color) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setImageBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, color)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setImageFrame(JNIEnv* env, jobject obj, jboolean state) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setImageFrame((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setImage(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setImage((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setLogo(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setLogo((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setMaintainer(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setMaintainer((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setProduct(JNIEnv* env, jobject obj, jstring appName, jstring version, jstring author, jstring year) -{ -static TQString* _qstring_appName = 0; -static TQString* _qstring_version = 0; -static TQString* _qstring_author = 0; -static TQString* _qstring_year = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setProduct((const TQString&)*(TQString*) QtSupport::toTQString(env, appName, &_qstring_appName), (const TQString&)*(TQString*) QtSupport::toTQString(env, version, &_qstring_version), (const TQString&)*(TQString*) QtSupport::toTQString(env, author, &_qstring_author), (const TQString&)*(TQString*) QtSupport::toTQString(env, year, &_qstring_year)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setProgramLogo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setProgramLogo((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setProgramLogo__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setProgramLogo((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setTitle(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_setVersion(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->setVersion((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_show__(JNIEnv* env, jobject obj) -{ - ((TDEAboutDialogJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutDialog_show__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject centerParent) -{ - ((TDEAboutDialog*) QtSupport::getQt(env, obj))->show((TQWidget*) QtSupport::getQt(env, centerParent)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutDialog.h b/kdejava/koala/kdejava/TDEAboutDialog.h deleted file mode 100644 index 8843d55f..00000000 --- a/kdejava/koala/kdejava/TDEAboutDialog.h +++ /dev/null @@ -1,67 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutDialog__ -#define __org_kde_koala_TDEAboutDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZLjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jstring, jint, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_newTDEAboutDialog__ILjava_lang_String_2II (JNIEnv *env, jobject, jint, jstring, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_adjust (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_show__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_show__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setImage (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setProgramLogo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setProgramLogo__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setImageBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setImageFrame (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setProduct (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jstring, jboolean, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addTextPage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addLicensePage__Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addLicensePage__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addContainerPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addScrolledContainerPage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addContainer (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutDialog_addPage (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setLogo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setAuthor (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setMaintainer (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_addContributor (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_setVersion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_imageURL (JNIEnv *env, jclass, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_sendEmailSlot (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_openURLSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_mouseTrackSlot (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutDialog__ */ diff --git a/kdejava/koala/kdejava/TDEAboutKDE.cpp b/kdejava/koala/kdejava/TDEAboutKDE.cpp deleted file mode 100644 index ba3d19d3..00000000 --- a/kdejava/koala/kdejava/TDEAboutKDE.cpp +++ /dev/null @@ -1,499 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class TDEAboutKDEJBridge : public TDEAboutKDE -{ -public: - TDEAboutKDEJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEAboutKDE(arg1,arg2,arg3) {}; - TDEAboutKDEJBridge(TQWidget* arg1,const char* arg2) : TDEAboutKDE(arg1,arg2) {}; - TDEAboutKDEJBridge(TQWidget* arg1) : TDEAboutKDE(arg1) {}; - TDEAboutKDEJBridge() : TDEAboutKDE() {}; - ~TDEAboutKDEJBridge() {QtSupport::qtKeyDeleted(this);} - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","accept")) { - TQDialog::accept(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotCancel")) { - KDialogBase::slotCancel(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotNo")) { - KDialogBase::slotNo(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"show",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAboutDialog::show(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","reject")) { - TQDialog::reject(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotTry")) { - KDialogBase::slotTry(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::hideEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(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.koala.TDEAboutKDE","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","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 slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void showEvent(TQShowEvent* arg1) { - if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.kde.qt.TQShowEvent")) { - TQWidget::showEvent(arg1); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutKDE","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutKDE_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutKDE_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutKDE_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutKDE*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutKDE*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutKDE_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutKDEJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutKDEJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__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 TDEAboutKDEJBridge((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_koala_TDEAboutKDE_newTDEAboutKDE__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutKDEJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutKDE.h b/kdejava/koala/kdejava/TDEAboutKDE.h deleted file mode 100644 index 1934a5e4..00000000 --- a/kdejava/koala/kdejava/TDEAboutKDE.h +++ /dev/null @@ -1,25 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutKDE__ -#define __org_kde_koala_TDEAboutKDE__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_newTDEAboutKDE__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutKDE_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutKDE_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutKDE__ */ diff --git a/kdejava/koala/kdejava/TDEAboutPerson.cpp b/kdejava/koala/kdejava/TDEAboutPerson.cpp deleted file mode 100644 index e4c79ce0..00000000 --- a/kdejava/koala/kdejava/TDEAboutPerson.cpp +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class TDEAboutPersonJBridge : public TDEAboutPerson -{ -public: - TDEAboutPersonJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4) : TDEAboutPerson(arg1,arg2,arg3,arg4) {}; - TDEAboutPersonJBridge() : TDEAboutPerson() {}; - ~TDEAboutPersonJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutPerson_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutPerson_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutPerson_emailAddress(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutPerson*) QtSupport::getQt(env, obj))->emailAddress(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutPerson_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEAboutPerson*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutPerson_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutPerson_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutPerson*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutPerson_newTDEAboutPerson__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutPersonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutPerson_newTDEAboutPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress, jstring webAddress) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_task = 0; -static TQCString* _qstring_emailAddress = 0; -static TQCString* _qstring_webAddress = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutPersonJBridge((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress), (const char*) QtSupport::toCharString(env, webAddress, &_qstring_webAddress))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutPerson_task(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutPerson*) QtSupport::getQt(env, obj))->task(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutPerson_webAddress(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutPerson*) QtSupport::getQt(env, obj))->webAddress(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEAboutPerson.h b/kdejava/koala/kdejava/TDEAboutPerson.h deleted file mode 100644 index 0e2fb3dd..00000000 --- a/kdejava/koala/kdejava/TDEAboutPerson.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutPerson__ -#define __org_kde_koala_TDEAboutPerson__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutPerson_newTDEAboutPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutPerson_newTDEAboutPerson__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutPerson_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutPerson_task (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutPerson_emailAddress (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutPerson_webAddress (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutPerson_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutPerson_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutPerson_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutPerson__ */ diff --git a/kdejava/koala/kdejava/TDEAboutTranslator.cpp b/kdejava/koala/kdejava/TDEAboutTranslator.cpp deleted file mode 100644 index 19f78f53..00000000 --- a/kdejava/koala/kdejava/TDEAboutTranslator.cpp +++ /dev/null @@ -1,89 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class TDEAboutTranslatorJBridge : public TDEAboutTranslator -{ -public: - TDEAboutTranslatorJBridge(const TQString& arg1,const TQString& arg2) : TDEAboutTranslator(arg1,arg2) {}; - TDEAboutTranslatorJBridge(const TQString& arg1) : TDEAboutTranslator(arg1) {}; - TDEAboutTranslatorJBridge() : TDEAboutTranslator() {}; - ~TDEAboutTranslatorJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutTranslator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutTranslator_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutTranslator_emailAddress(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutTranslator*) QtSupport::getQt(env, obj))->emailAddress(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutTranslator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEAboutTranslator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutTranslator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutTranslator_name(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAboutTranslator*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutTranslatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutTranslatorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring emailAddress) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_emailAddress = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutTranslatorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, emailAddress, &_qstring_emailAddress))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutTranslator.h b/kdejava/koala/kdejava/TDEAboutTranslator.h deleted file mode 100644 index 1b2abfcf..00000000 --- a/kdejava/koala/kdejava/TDEAboutTranslator.h +++ /dev/null @@ -1,26 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutTranslator__ -#define __org_kde_koala_TDEAboutTranslator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutTranslator_newTDEAboutTranslator__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutTranslator_name (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutTranslator_emailAddress (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutTranslator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutTranslator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutTranslator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutTranslator__ */ diff --git a/kdejava/koala/kdejava/TDEAboutWidget.cpp b/kdejava/koala/kdejava/TDEAboutWidget.cpp deleted file mode 100644 index c6e11bc5..00000000 --- a/kdejava/koala/kdejava/TDEAboutWidget.cpp +++ /dev/null @@ -1,524 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEAboutWidgetJBridge : public TDEAboutWidget -{ -public: - TDEAboutWidgetJBridge(TQWidget* arg1,const char* arg2) : TDEAboutWidget(arg1,arg2) {}; - TDEAboutWidgetJBridge(TQWidget* arg1) : TDEAboutWidget(arg1) {}; - TDEAboutWidgetJBridge() : TDEAboutWidget() {}; - void protected_resizeEvent(TQResizeEvent* arg1) { - TDEAboutWidget::resizeEvent(arg1); - return; - } - void protected_sendEmailSlot(const TQString& arg1,const TQString& arg2) { - TDEAboutWidget::sendEmailSlot(arg1,arg2); - return; - } - void protected_openURLSlot(const TQString& arg1) { - TDEAboutWidget::openURLSlot(arg1); - return; - } - ~TDEAboutWidgetJBridge() {QtSupport::qtKeyDeleted(this);} - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - 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 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEAboutWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQWidget::leaveEvent(arg1); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","show")) { - TQWidget::show(); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","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 fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imEndEvent(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void focusInEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusInEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEAboutWidget",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - 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.koala.TDEAboutWidget","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","showMaximized")) { - TQWidget::showMaximized(); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - 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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAboutWidget","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_addContributor(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->addContributor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_adjust(JNIEnv* env, jobject obj) -{ - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->adjust(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAboutWidget_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAboutWidget*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAboutWidget_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEAboutWidget*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEAboutWidget*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAboutWidget_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAboutWidget_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAboutWidget*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutWidgetJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAboutWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__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 TDEAboutWidgetJBridge((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_koala_TDEAboutWidget_openURLSlot(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((TDEAboutWidgetJBridge*) QtSupport::getQt(env, obj))->protected_openURLSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEAboutWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_sendEmailSlot(JNIEnv* env, jobject obj, jstring name, jstring email) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; - ((TDEAboutWidgetJBridge*) QtSupport::getQt(env, obj))->protected_sendEmailSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_setAuthor(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->setAuthor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_setLogo(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->setLogo((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_setMaintainer(JNIEnv* env, jobject obj, jstring name, jstring email, jstring url, jstring work) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_email = 0; -static TQString* _qstring_url = 0; -static TQString* _qstring_work = 0; - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->setMaintainer((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, email, &_qstring_email), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, work, &_qstring_work)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAboutWidget_setVersion(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEAboutWidget*) QtSupport::getQt(env, obj))->setVersion((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEAboutWidget.h b/kdejava/koala/kdejava/TDEAboutWidget.h deleted file mode 100644 index 6864c40e..00000000 --- a/kdejava/koala/kdejava/TDEAboutWidget.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAboutWidget__ -#define __org_kde_koala_TDEAboutWidget__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAboutWidget_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAboutWidget_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_newTDEAboutWidget__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_adjust (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_setLogo (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_setAuthor (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_setMaintainer (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_addContributor (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_setVersion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_sendEmailSlot (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_openURLSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAboutWidget_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAboutWidget_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAboutWidget__ */ diff --git a/kdejava/koala/kdejava/TDEAccel.cpp b/kdejava/koala/kdejava/TDEAccel.cpp deleted file mode 100644 index 67c66611..00000000 --- a/kdejava/koala/kdejava/TDEAccel.cpp +++ /dev/null @@ -1,361 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEAccelJBridge : public TDEAccel -{ -public: - TDEAccelJBridge(TQWidget* arg1,const char* arg2) : TDEAccel(arg1,arg2) {}; - TDEAccelJBridge(TQWidget* arg1) : TDEAccel(arg1) {}; - TDEAccelJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : TDEAccel(arg1,arg2,arg3) {}; - TDEAccelJBridge(TQWidget* arg1,TQObject* arg2) : TDEAccel(arg1,arg2) {}; - ~TDEAccelJBridge() {QtSupport::qtKeyDeleted(this);} - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_actions(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEAccelActions *) &((TDEAccel*) QtSupport::getQt(env, obj))->actions(), "org.kde.koala.TDEAccelActions"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAccel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAccel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAccel_configGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAccel*) QtSupport::getQt(env, obj))->configGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAccel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_emitKeycodeChanged(JNIEnv* env, jobject obj) -{ - ((TDEAccel*) QtSupport::getQt(env, obj))->emitKeycodeChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEAccel*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEAccel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((TDEStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((TDEStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jint id, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((TDEStdAccel::StdAccel) id, (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot) -{ -static TQCString* _qstring_psAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ -static TQCString* _qstring_psAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring psAction, jobject cutDef, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ -static TQCString* _qstring_psAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->insert((const char*) QtSupport::toCharString(env, psAction, &_qstring_psAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAccel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pParent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, pParent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pParent, jstring psName) -{ -static TQCString* _qstring_psName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, pParent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject watch, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring psName) -{ -static TQCString* _qstring_psName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_readSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->readSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->readSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_remove(JNIEnv* env, jobject obj, jstring sAction) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_setAutoUpdate(JNIEnv* env, jobject obj, jboolean bAuto) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) bAuto); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_setConfigGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEAccel*) QtSupport::getQt(env, obj))->setConfigGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_setEnabled__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jboolean bEnabled) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (bool) bEnabled); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccel_setEnabled__Z(JNIEnv* env, jobject obj, jboolean bEnabled) -{ - ((TDEAccel*) QtSupport::getQt(env, obj))->setEnabled((bool) bEnabled); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_setShortcut(JNIEnv* env, jobject obj, jstring sAction, jobject shortcut) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setShortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_setSlot(JNIEnv* env, jobject obj, jstring sAction, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->setSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccel_shortcut(JNIEnv* env, jobject obj, jstring sAction) -{ -static TQString* _qstring_sAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAccel*) QtSupport::getQt(env, obj))->shortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_updateConnections(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->updateConnections(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_writeSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->writeSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) -{ - jboolean xret = (jboolean) ((TDEAccel*) QtSupport::getQt(env, obj))->writeSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEAccel.h b/kdejava/koala/kdejava/TDEAccel.h deleted file mode 100644 index 5097810a..00000000 --- a/kdejava/koala/kdejava/TDEAccel.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAccel__ -#define __org_kde_koala_TDEAccel__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_newTDEAccel__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_actions (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_setEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setAutoUpdate (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jint, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jint, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_insert__ILorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_remove (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_updateConnections (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccel_shortcut (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setShortcut (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setSlot (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_setEnabled__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccel_configGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_setConfigGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_readSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_writeSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_emitKeycodeChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAccel__ */ diff --git a/kdejava/koala/kdejava/TDEAccelShortcutList.cpp b/kdejava/koala/kdejava/TDEAccelShortcutList.cpp deleted file mode 100644 index 82c80160..00000000 --- a/kdejava/koala/kdejava/TDEAccelShortcutList.cpp +++ /dev/null @@ -1,159 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEAccelShortcutListJBridge : public TDEAccelShortcutList -{ -public: - TDEAccelShortcutListJBridge(TDEAccel* arg1) : TDEAccelShortcutList(arg1) {}; - TDEAccelShortcutListJBridge(TDEGlobalAccel* arg1) : TDEAccelShortcutList(arg1) {}; - TDEAccelShortcutListJBridge(TDEAccelActions& arg1,bool arg2) : TDEAccelShortcutList(arg1,arg2) {}; - ~TDEAccelShortcutListJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAccelShortcutList_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccelShortcutList_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAccelShortcutList_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccelShortcutList_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEAccelShortcutList*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccelShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->getOther((TDEShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_isGlobal(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->isGlobal((uint) index); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAccelShortcutList_label(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->label((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAccelShortcutList_name(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->name((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccelActions_2Z(JNIEnv* env, jobject obj, jobject actions, jboolean bGlobal) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelShortcutListJBridge((TDEAccelActions&)*(TDEAccelActions*) QtSupport::getQt(env, actions), (bool) bGlobal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccel_2(JNIEnv* env, jobject obj, jobject accel) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelShortcutListJBridge((TDEAccel*) QtSupport::getQt(env, accel))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEGlobalAccel_2(JNIEnv* env, jobject obj, jobject accel) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEAccelShortcutListJBridge((TDEGlobalAccel*) QtSupport::getQt(env, accel))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) -{ - jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->setOther((TDEShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAccelShortcutList_setShortcut(JNIEnv* env, jobject obj, jint index, jobject shortcut) -{ - jboolean xret = (jboolean) ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) index, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccelShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) index), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAccelShortcutList_shortcut(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) index), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAccelShortcutList_whatsThis(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEAccelShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEAccelShortcutList.h b/kdejava/koala/kdejava/TDEAccelShortcutList.h deleted file mode 100644 index 3d856c17..00000000 --- a/kdejava/koala/kdejava/TDEAccelShortcutList.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAccelShortcutList__ -#define __org_kde_koala_TDEAccelShortcutList__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccel_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEGlobalAccel_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_newTDEAccelShortcutList__Lorg_kde_koala_TDEAccelActions_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAccelShortcutList_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccelShortcutList_name (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccelShortcutList_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAccelShortcutList_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccelShortcutList_shortcut (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccelShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_isConfigurable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_isGlobal (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAccelShortcutList_getOther (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAccelShortcutList_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAccelShortcutList_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAccelShortcutList__ */ diff --git a/kdejava/koala/kdejava/TDEAction.cpp b/kdejava/koala/kdejava/TDEAction.cpp deleted file mode 100644 index ef5b93e0..00000000 --- a/kdejava/koala/kdejava/TDEAction.cpp +++ /dev/null @@ -1,778 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEActionJBridge : public TDEAction -{ -public: - TDEActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TDEActionCollection* arg5,const char* arg6) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TDEActionCollection* arg6,const char* arg7) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TDEActionCollection* arg6,const char* arg7) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEActionJBridge(const KGuiItem& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TDEActionCollection* arg5,const char* arg6) : TDEAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - void public_activate() { - TDEAction::activate(); - return; - } - TDEToolBar* protected_toolBar(int arg1) { - return (TDEToolBar*) TDEAction::toolBar(arg1); - } - TQPopupMenu* protected_popupMenu(int arg1) { - return (TQPopupMenu*) TDEAction::popupMenu(arg1); - } - void protected_removeContainer(int arg1) { - TDEAction::removeContainer(arg1); - return; - } - int protected_findContainer(const TQWidget* arg1) { - return (int) TDEAction::findContainer(arg1); - } - int protected_findContainer(int arg1) { - return (int) TDEAction::findContainer(arg1); - } - void protected_plugMainWindowAccel(TQWidget* arg1) { - TDEAction::plugMainWindowAccel(arg1); - return; - } - void protected_addContainer(TQWidget* arg1,int arg2) { - TDEAction::addContainer(arg1,arg2); - return; - } - void protected_addContainer(TQWidget* arg1,TQWidget* arg2) { - TDEAction::addContainer(arg1,arg2); - return; - } - void protected_updateShortcut(int arg1) { - TDEAction::updateShortcut(arg1); - return; - } - void protected_updateShortcut(TQPopupMenu* arg1,int arg2) { - TDEAction::updateShortcut(arg1,arg2); - return; - } - void protected_updateGroup(int arg1) { - TDEAction::updateGroup(arg1); - return; - } - void protected_updateText(int arg1) { - TDEAction::updateText(arg1); - return; - } - void protected_updateEnabled(int arg1) { - TDEAction::updateEnabled(arg1); - return; - } - void protected_updateIconSet(int arg1) { - TDEAction::updateIconSet(arg1); - return; - } - void protected_updateIcon(int arg1) { - TDEAction::updateIcon(arg1); - return; - } - void protected_updateToolTip(int arg1) { - TDEAction::updateToolTip(arg1); - return; - } - void protected_updateWhatsThis(int arg1) { - TDEAction::updateWhatsThis(arg1); - return; - } - TQString protected_whatsThisWithIcon() { - return (TQString) TDEAction::whatsThisWithIcon(); - } - const KGuiItem& protected_guiItem() { - return (const KGuiItem&) TDEAction::guiItem(); - } - void protected_slotDestroyed() { - TDEAction::slotDestroyed(); - return; - } - void protected_slotKeycodeChanged() { - TDEAction::slotKeycodeChanged(); - return; - } - void protected_slotActivated() { - TDEAction::slotActivated(); - return; - } - void protected_slotPopupActivated() { - TDEAction::slotPopupActivated(); - return; - } - void protected_slotButtonClicked(int arg1,TQt::ButtonState arg2) { - TDEAction::slotButtonClicked(arg1,arg2); - return; - } - ~TDEActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","activate")) { - TDEAction::activate(); - } - return; - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","slotActivated")) { - TDEAction::slotActivated(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_activate(JNIEnv* env, jobject obj) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->public_activate(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint id) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_addContainer((TQWidget*) QtSupport::getQt(env, parent), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent, jobject representative) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_addContainer((TQWidget*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, representative)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_containerCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->containerCount(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_container(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->container((int) index), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_findContainer__I(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_findContainer((int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_findContainer__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_findContainer((const TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_getToolButtonID(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEActionJBridge::getToolButtonID(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_guiItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KGuiItem *) &((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_guiItem(), "org.kde.koala.KGuiItem"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_hasIconSet(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->hasIconSet(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_hasIcon(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->hasIcon(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_iconSet__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet()), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_iconSet__I(JNIEnv* env, jobject obj, jint group) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_iconSet__II(JNIEnv* env, jobject obj, jint group, jint size) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEAction*) QtSupport::getQt(env, obj))->iconSet((TDEIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isPlugged__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject container) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject container, jint id) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container), (int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject container, jobject _representative) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isPlugged((const TQWidget*) QtSupport::getQt(env, container), (const TQWidget*) QtSupport::getQt(env, _representative)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_isShortcutConfigurable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->isShortcutConfigurable(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_itemId(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->itemId((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_tdeaccelCount(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->tdeaccelCount(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_newTDEAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) 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_koala_TDEAction_parentCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->parentCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_plainText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->plainText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_plugMainWindowAccel(JNIEnv* env, jobject obj, jobject w) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_plugMainWindowAccel((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_popupMenu(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_popupMenu((int) index), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_removeContainer(JNIEnv* env, jobject obj, jint index) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_removeContainer((int) index); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_representative(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEAction*) QtSupport::getQt(env, obj))->representative((int) index), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setDisabled(JNIEnv* env, jobject obj, jboolean disable) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->setDisabled((bool) disable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->setEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setGroup(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setIconSet(JNIEnv* env, jobject obj, jobject iconSet) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconSet)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setIcon(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setShortcutConfigurable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->setShortcutConfigurable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setShortcutText(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setShortcutText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEAction_setShortcut(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TDEAction*) QtSupport::getQt(env, obj))->setShortcut((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setToolTip(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setToolTip((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_setWhatsThis(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEAction*) QtSupport::getQt(env, obj))->setWhatsThis((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_shortcutDefault(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAction*) QtSupport::getQt(env, obj))->shortcutDefault(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_shortcutText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->shortcutText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_shortcut(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEAction*) QtSupport::getQt(env, obj))->shortcut(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_slotButtonClicked(JNIEnv* env, jobject obj, jint arg1, jint state) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotButtonClicked((int) arg1, (TQt::ButtonState) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_slotDestroyed(JNIEnv* env, jobject obj) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotDestroyed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_slotKeycodeChanged(JNIEnv* env, jobject obj) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotKeycodeChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_slotPopupActivated(JNIEnv* env, jobject obj) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_slotPopupActivated(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_statusText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->statusText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEAction_toolBar(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_toolBar((int) index), "org.kde.koala.TDEToolBar"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_toolTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->toolTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_unplugAll(JNIEnv* env, jobject obj) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->unplugAll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_unplug(JNIEnv* env, jobject obj, jobject w) -{ - ((TDEAction*) QtSupport::getQt(env, obj))->unplug((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateEnabled(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateEnabled((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateGroup(JNIEnv* env, jobject obj, jint id) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateGroup((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateIconSet(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateIconSet((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateIcon(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateIcon((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateShortcut__I(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateShortcut((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateShortcut__Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject menu, jint id) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateShortcut((TQPopupMenu*) QtSupport::getQt(env, menu), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateText(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateText((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateToolTip(JNIEnv* env, jobject obj, jint id) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateToolTip((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEAction_updateWhatsThis(JNIEnv* env, jobject obj, jint i) -{ - ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_updateWhatsThis((int) i); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_whatsThisWithIcon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEActionJBridge*) QtSupport::getQt(env, obj))->protected_whatsThisWithIcon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEAction_whatsThis(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEAction*) QtSupport::getQt(env, obj))->whatsThis(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEAction.h b/kdejava/koala/kdejava/TDEAction.h deleted file mode 100644 index 0c77b831..00000000 --- a/kdejava/koala/kdejava/TDEAction.h +++ /dev/null @@ -1,95 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEAction__ -#define __org_kde_koala_TDEAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_newTDEAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_unplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isPlugged__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_container (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_itemId (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_representative (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_containerCount (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_tdeaccelCount (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_hasIcon (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_hasIconSet (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_plainText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_text (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_shortcut (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_shortcutDefault (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_shortcutText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setShortcutText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isShortcutConfigurable (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_group (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_whatsThis (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_toolTip (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_iconSet__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_iconSet__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_iconSet__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_icon (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_parentCollection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_unplugAll (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_statusText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_setShortcut (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setWhatsThis (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setToolTip (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setIcon (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setDisabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_setShortcutConfigurable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_activate (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_getToolButtonID (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_toolBar (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_popupMenu (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_removeContainer (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_findContainer__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEAction_findContainer__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_plugMainWindowAccel (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_addContainer__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateShortcut__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateShortcut__Lorg_kde_qt_QPopupMenu_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateGroup (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateEnabled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateIconSet (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateIcon (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateToolTip (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_updateWhatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEAction_whatsThisWithIcon (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEAction_guiItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotDestroyed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotKeycodeChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotPopupActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_slotButtonClicked (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEAction__ */ diff --git a/kdejava/koala/kdejava/TDEActionCollection.cpp b/kdejava/koala/kdejava/TDEActionCollection.cpp deleted file mode 100644 index 38055ffa..00000000 --- a/kdejava/koala/kdejava/TDEActionCollection.cpp +++ /dev/null @@ -1,437 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEActionCollectionJBridge : public TDEActionCollection -{ -public: - TDEActionCollectionJBridge(TQWidget* arg1,const char* arg2,TDEInstance* arg3) : TDEActionCollection(arg1,arg2,arg3) {}; - TDEActionCollectionJBridge(TQWidget* arg1,const char* arg2) : TDEActionCollection(arg1,arg2) {}; - TDEActionCollectionJBridge(TQWidget* arg1) : TDEActionCollection(arg1) {}; - TDEActionCollectionJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3,TDEInstance* arg4) : TDEActionCollection(arg1,arg2,arg3,arg4) {}; - TDEActionCollectionJBridge(TQWidget* arg1,TQObject* arg2,const char* arg3) : TDEActionCollection(arg1,arg2,arg3) {}; - TDEActionCollectionJBridge(TQWidget* arg1,TQObject* arg2) : TDEActionCollection(arg1,arg2) {}; - TDEActionCollectionJBridge(const TDEActionCollection& arg1) : TDEActionCollection(arg1) {}; - TDEActionCollectionJBridge(TQObject* arg1,const char* arg2,TDEInstance* arg3) : TDEActionCollection(arg1,arg2,arg3) {}; - TDEActionCollectionJBridge(TQObject* arg1,const char* arg2) : TDEActionCollection(arg1,arg2) {}; - TDEActionCollectionJBridge(TQObject* arg1) : TDEActionCollection(arg1) {}; - ~TDEActionCollectionJBridge() {QtSupport::qtKeyDeleted(this);} - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEActionCollection::setWidget(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEActionCollection",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_action__I(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->action((int) index), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring classname) -{ -static TQCString* _qstring_name = 0; -static TQCString* _qstring_classname = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_addDocCollection(JNIEnv* env, jobject obj, jobject pDoc) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->addDocCollection((TDEActionCollection*) QtSupport::getQt(env, pDoc)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_builderTDEAccel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->builderTDEAccel(), "org.kde.koala.TDEAccel"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionCollection_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEActionCollection*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_clear(JNIEnv* env, jobject obj) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_connectHighlight(JNIEnv* env, jobject obj, jobject container, jobject action) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->connectHighlight((TQWidget*) QtSupport::getQt(env, container), (TDEAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionCollection_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEActionCollection*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_disconnectHighlight(JNIEnv* env, jobject obj, jobject container, jobject action) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->disconnectHighlight((TQWidget*) QtSupport::getQt(env, container), (TDEAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEActionCollection_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEActionCollection*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEActionCollection*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_groups(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEActionCollection*) QtSupport::getQt(env, obj))->groups(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_highlightingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->highlightingEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_insert(JNIEnv* env, jobject obj, jobject action) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->insert((TDEAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_isAutoConnectShortcuts(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->isAutoConnectShortcuts(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_tdeaccel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->tdeaccel(), "org.kde.koala.TDEAccel"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_koala_TDEActionCollection_2(JNIEnv* env, jobject obj, jobject copy) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((const TDEActionCollection&)*(const TDEActionCollection*) QtSupport::getQt(env, copy))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_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 TDEActionCollectionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject instance) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__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 TDEActionCollectionJBridge((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_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobject instance) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject watch, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject watch, jobject parent, jstring name, jobject instance) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionCollectionJBridge((TQWidget*) QtSupport::getQt(env, watch), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEInstance*) QtSupport::getQt(env, instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_op_1plus_1assign(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEActionCollection *) &((TDEActionCollection*) QtSupport::getQt(env, obj))->operator+=((const TDEActionCollection&)*(const TDEActionCollection*) QtSupport::getQt(env, arg1)), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_op_1plus(JNIEnv* env, jobject obj, jobject arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEActionCollection(((TDEActionCollection*) QtSupport::getQt(env, obj))->operator+((const TDEActionCollection&)*(const TDEActionCollection*) QtSupport::getQt(env, arg1))), "org.kde.koala.TDEActionCollection", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_parentGUIClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->parentGUIClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_readShortcutSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->readShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_remove(JNIEnv* env, jobject obj, jobject action) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->remove((TDEAction*) QtSupport::getQt(env, action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_setAutoConnectShortcuts(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->setAutoConnectShortcuts((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_setHighlightingEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->setHighlightingEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionCollection_setWidget(JNIEnv* env, jobject obj, jobject widget) -{ - ((TDEActionCollection*) QtSupport::getQt(env, obj))->setWidget((TQWidget*) QtSupport::getQt(env, widget)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionCollection_take(JNIEnv* env, jobject obj, jobject action) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionCollection*) QtSupport::getQt(env, obj))->take((TDEAction*) QtSupport::getQt(env, action)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEActionCollection*) QtSupport::getQt(env, obj))->writeShortcutSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEActionCollection.h b/kdejava/koala/kdejava/TDEActionCollection.h deleted file mode 100644 index ffbcdf57..00000000 --- a/kdejava/koala/kdejava/TDEActionCollection.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEActionCollection__ -#define __org_kde_koala_TDEActionCollection__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionCollection_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_koala_TDEActionCollection_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setAutoConnectShortcuts (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_isAutoConnectShortcuts (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_addDocCollection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_tdeaccel (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_builderTDEAccel (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionCollection_count (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_action__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_groups (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_readShortcutSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_readShortcutSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_writeShortcutSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_instance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_setHighlightingEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_highlightingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_connectHighlight (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_disconnectHighlight (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_parentGUIClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_newTDEActionCollection__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_insert (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_take (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_op_1plus (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionCollection_op_1plus_1assign (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionCollection_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionCollection_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEActionCollection__ */ diff --git a/kdejava/koala/kdejava/TDEActionMenu.cpp b/kdejava/koala/kdejava/TDEActionMenu.cpp deleted file mode 100644 index 5ee4bd99..00000000 --- a/kdejava/koala/kdejava/TDEActionMenu.cpp +++ /dev/null @@ -1,367 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEActionMenuJBridge : public TDEActionMenu -{ -public: - TDEActionMenuJBridge(const TQString& arg1,TQObject* arg2,const char* arg3) : TDEActionMenu(arg1,arg2,arg3) {}; - TDEActionMenuJBridge(const TQString& arg1,TQObject* arg2) : TDEActionMenu(arg1,arg2) {}; - TDEActionMenuJBridge(const TQString& arg1) : TDEActionMenu(arg1) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2,TQObject* arg3,const char* arg4) : TDEActionMenu(arg1,arg2,arg3,arg4) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2,TQObject* arg3) : TDEActionMenu(arg1,arg2,arg3) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEActionMenu(arg1,arg2) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3,const char* arg4) : TDEActionMenu(arg1,arg2,arg3,arg4) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQString& arg2,TQObject* arg3) : TDEActionMenu(arg1,arg2,arg3) {}; - TDEActionMenuJBridge(const TQString& arg1,const TQString& arg2) : TDEActionMenu(arg1,arg2) {}; - TDEActionMenuJBridge(TQObject* arg1,const char* arg2) : TDEActionMenu(arg1,arg2) {}; - TDEActionMenuJBridge(TQObject* arg1) : TDEActionMenu(arg1) {}; - TDEActionMenuJBridge() : TDEActionMenu() {}; - ~TDEActionMenuJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","activate")) { - TDEAction::activate(); - } - return; - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void remove(TDEAction* arg1) { - if (!QtSupport::eventDelegate(this,"remove",(void*)arg1,"org.kde.koala.TDEAction")) { - TDEActionMenu::remove(arg1); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","slotActivated")) { - TDEAction::slotActivated(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionMenu","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEActionMenu",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEActionMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionMenu_delayed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionMenu*) QtSupport::getQt(env, obj))->delayed(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEActionMenu_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEActionMenu*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEActionMenu*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->insert((TDEAction*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->insert((TDEAction*) QtSupport::getQt(env, arg1), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionMenu_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__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 TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject icon, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionMenuJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_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 TDEActionMenuJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEActionMenu*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEActionMenu*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionMenu_popupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionMenu*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_popup(JNIEnv* env, jobject obj, jobject global) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, global)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_remove(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->remove((TDEAction*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_setDelayed(JNIEnv* env, jobject obj, jboolean _delayed) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->setDelayed((bool) _delayed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionMenu_setStickyMenu(JNIEnv* env, jobject obj, jboolean sticky) -{ - ((TDEActionMenu*) QtSupport::getQt(env, obj))->setStickyMenu((bool) sticky); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionMenu_stickyMenu(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionMenu*) QtSupport::getQt(env, obj))->stickyMenu(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEActionMenu.h b/kdejava/koala/kdejava/TDEActionMenu.h deleted file mode 100644 index 717eda01..00000000 --- a/kdejava/koala/kdejava/TDEActionMenu.h +++ /dev/null @@ -1,46 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEActionMenu__ -#define __org_kde_koala_TDEActionMenu__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_newTDEActionMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_insert__Lorg_kde_koala_TDEAction_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionMenu_popupMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_popup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionMenu_delayed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_setDelayed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionMenu_stickyMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_setStickyMenu (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionMenu_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionMenu_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionMenu_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEActionMenu__ */ diff --git a/kdejava/koala/kdejava/TDEActionSeparator.cpp b/kdejava/koala/kdejava/TDEActionSeparator.cpp deleted file mode 100644 index 0e65699a..00000000 --- a/kdejava/koala/kdejava/TDEActionSeparator.cpp +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class TDEActionSeparatorJBridge : public TDEActionSeparator -{ -public: - TDEActionSeparatorJBridge(TQObject* arg1,const char* arg2) : TDEActionSeparator(arg1,arg2) {}; - TDEActionSeparatorJBridge(TQObject* arg1) : TDEActionSeparator(arg1) {}; - TDEActionSeparatorJBridge() : TDEActionSeparator() {}; - ~TDEActionSeparatorJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","activate")) { - TDEAction::activate(); - } - return; - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","slotActivated")) { - TDEAction::slotActivated(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEActionSeparator","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEActionSeparator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionSeparator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEActionSeparator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionSeparator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEActionSeparator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionSeparator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEActionSeparator*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEActionSeparator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionSeparator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionSeparator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionSeparator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionSeparatorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionSeparatorJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_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 TDEActionSeparatorJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEActionSeparator*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEActionSeparator*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEActionSeparator.h b/kdejava/koala/kdejava/TDEActionSeparator.h deleted file mode 100644 index fdd2f483..00000000 --- a/kdejava/koala/kdejava/TDEActionSeparator.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEActionSeparator__ -#define __org_kde_koala_TDEActionSeparator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionSeparator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionSeparator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_newTDEActionSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionSeparator_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionSeparator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionSeparator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEActionSeparator__ */ diff --git a/kdejava/koala/kdejava/TDEActionShortcutList.cpp b/kdejava/koala/kdejava/TDEActionShortcutList.cpp deleted file mode 100644 index 586e5ab1..00000000 --- a/kdejava/koala/kdejava/TDEActionShortcutList.cpp +++ /dev/null @@ -1,145 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEActionShortcutListJBridge : public TDEActionShortcutList -{ -public: - TDEActionShortcutListJBridge(TDEActionCollection* arg1) : TDEActionShortcutList(arg1) {}; - ~TDEActionShortcutListJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionShortcutList_action(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionShortcutList*) QtSupport::getQt(env, obj))->action((uint) arg1), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEActionShortcutList_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionShortcutList_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEActionShortcutList_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionShortcutList_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEActionShortcutList*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEActionShortcutList*) QtSupport::getQt(env, obj))->getOther((TDEShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionShortcutList_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEActionShortcutList*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint arg1) -{ - jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) arg1); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionShortcutList_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionShortcutList_label(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->label((uint) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionShortcutList_name(JNIEnv* env, jobject obj, jint i) -{ - TQString _qstring; - _qstring = ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->name((uint) i); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEActionShortcutList_newTDEActionShortcutList(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEActionShortcutListJBridge((TDEActionCollection*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionShortcutList_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) -{ - jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->setOther((TDEShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEActionShortcutList_setShortcut(JNIEnv* env, jobject obj, jint arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) arg1, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEActionShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) arg1), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEActionShortcutList_shortcut(JNIEnv* env, jobject obj, jint arg1) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEActionShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) arg1), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEActionShortcutList_whatsThis(JNIEnv* env, jobject obj, jint arg1) -{ - TQString _qstring; - _qstring = ((TDEActionShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) arg1); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEActionShortcutList.h b/kdejava/koala/kdejava/TDEActionShortcutList.h deleted file mode 100644 index b2d3a82a..00000000 --- a/kdejava/koala/kdejava/TDEActionShortcutList.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEActionShortcutList__ -#define __org_kde_koala_TDEActionShortcutList__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionShortcutList_newTDEActionShortcutList (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEActionShortcutList_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionShortcutList_name (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionShortcutList_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEActionShortcutList_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_shortcut (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_isConfigurable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_getOther (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_save (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEActionShortcutList_action (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionShortcutList_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEActionShortcutList_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEActionShortcutList_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEActionShortcutList__ */ diff --git a/kdejava/koala/kdejava/TDEApplication.cpp b/kdejava/koala/kdejava/TDEApplication.cpp deleted file mode 100644 index 58fc80b6..00000000 --- a/kdejava/koala/kdejava/TDEApplication.cpp +++ /dev/null @@ -1,1636 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include - -class TDEApplicationJBridge : public TDEApplication -{ -public: - TDEApplicationJBridge(bool arg1,bool arg2) : TDEApplication(arg1,arg2) {}; - TDEApplicationJBridge(bool arg1) : TDEApplication(arg1) {}; - TDEApplicationJBridge() : TDEApplication() {}; - TDEApplicationJBridge(bool arg1,bool arg2,TDEInstance* arg3) : TDEApplication(arg1,arg2,arg3) {}; - void protected_invokeEditSlot(const char* arg1) { - TDEApplication::invokeEditSlot(arg1); - return; - } - ~TDEApplicationJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_setConfigName(const TQString& arg1) { - TDEInstance::setConfigName(arg1); - return; - } - void processOneEvent() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEApplication","processOneEvent")) { - TQApplication::processOneEvent(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void polish(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"polish",(void*)arg1,"org.kde.qt.TQWidget")) { - TQApplication::polish(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void setMainWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setMainWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQApplication::setMainWidget(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEApplication",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_aboutData(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->aboutData(), "org.kde.koala.TDEAboutData"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_addCmdLineOptions(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEApplicationJBridge::addCmdLineOptions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_addKipcEventMask(JNIEnv* env, jobject obj, jint id) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->addKipcEventMask((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_allowURLAction(JNIEnv* env, jobject obj, jstring action, jobject _baseURL, jobject _destURL) -{ -static TQString* _qstring_action = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->allowURLAction((const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action), (const KURL&)*(const KURL*) QtSupport::getQt(env, _baseURL), (const KURL&)*(const KURL*) QtSupport::getQt(env, _destURL)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_authorizeControlModule(JNIEnv* env, jobject obj, jstring menuId) -{ -static TQString* _qstring_menuId = 0; - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeControlModule((const TQString&)*(TQString*) QtSupport::toTQString(env, menuId, &_qstring_menuId)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_authorizeControlModules(JNIEnv* env, jobject obj, jobjectArray menuIds) -{ - TQStringList _qlist; -static TQStringList* _qlist_menuIds = 0; - _qlist = ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeControlModules((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, menuIds, &_qlist_menuIds)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_authorizeTDEAction(JNIEnv* env, jobject obj, jstring action) -{ -static TQCString* _qstring_action = 0; - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeTDEAction((const char*) QtSupport::toCharString(env, action, &_qstring_action)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_authorizeURLAction(JNIEnv* env, jobject obj, jstring action, jobject baseURL, jobject destURL) -{ -static TQString* _qstring_action = 0; - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorizeURLAction((const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action), (const KURL&)*(const KURL*) QtSupport::getQt(env, baseURL), (const KURL&)*(const KURL*) QtSupport::getQt(env, destURL)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_authorize(JNIEnv* env, jobject obj, jstring genericAction) -{ -static TQString* _qstring_genericAction = 0; - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->authorize((const TQString&)*(TQString*) QtSupport::toTQString(env, genericAction, &_qstring_genericAction)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_caption(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->caption(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_checkRecoverFile(JNIEnv* env, jobject obj, jstring pFilename, jboolean bRecover) -{ - TQString _qstring; -static TQString* _qstring_pFilename = 0; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->checkRecoverFile((const TQString&)*(TQString*) QtSupport::toTQString(env, pFilename, &_qstring_pFilename), (bool&) bRecover); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_clear(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_commitData(JNIEnv* env, jobject obj, jobject sm) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->commitData((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_copy(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->copy(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_createApplicationPalette__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TDEApplicationJBridge::createApplicationPalette()), "org.kde.qt.TQPalette", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_createApplicationPalette__Lorg_kde_koala_TDEConfig_2I(JNIEnv* env, jclass cls, jobject config, jint contrast) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPalette(TDEApplicationJBridge::createApplicationPalette((TDEConfig*) QtSupport::getQt(env, config), (int) contrast)), "org.kde.qt.TQPalette", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_cut(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->cut(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_dcopClient(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEApplicationJBridge::dcopClient(), "org.kde.koala.DCOPClient"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_deref(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->deref(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_dirs(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->dirs(), "org.kde.koala.TDEStandardDirs"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_disableAutoDcopRegistration(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEApplicationJBridge::disableAutoDcopRegistration(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_disableSessionManagement(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->disableSessionManagement(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_disableStyles(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->disableStyles(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEApplication_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_enableSessionManagement(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->enableSessionManagement(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_enableStyles(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->enableStyles(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEApplication*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEApplication*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_geometryArgument(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->geometryArgument(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_guiEnabled(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEApplicationJBridge::guiEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_iconLoader(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->iconLoader(), "org.kde.koala.TDEIconLoader"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->iconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_icon(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEApplication*) QtSupport::getQt(env, obj))->icon()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_installKDEPropertyMap(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->installKDEPropertyMap(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_installSigpipeHandler(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEApplicationJBridge::installSigpipeHandler(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_installX11EventFilter(JNIEnv* env, jobject obj, jobject filter) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->installX11EventFilter((TQWidget*) QtSupport::getQt(env, filter)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_instanceName(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->instanceName(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeBrowser((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jstring startup_id) -{ -static TQString* _qstring_url = 0; -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeBrowser((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeEditSlot(JNIEnv* env, jobject obj, jstring slot) -{ -static TQCString* _qstring_slot = 0; - ((TDEApplicationJBridge*) QtSupport::getQt(env, obj))->protected_invokeEditSlot((const char*) QtSupport::toCharString(env, slot, &_qstring_slot)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeHelp__(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor) -{ -static TQString* _qstring_anchor = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor, jstring appname) -{ -static TQString* _qstring_anchor = 0; -static TQString* _qstring_appname = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring anchor, jstring appname, jstring startup_id) -{ -static TQString* _qstring_anchor = 0; -static TQString* _qstring_appname = 0; -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, anchor, &_qstring_anchor), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address, jstring subject) -{ -static TQString* _qstring_address = 0; -static TQString* _qstring_subject = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, address, &_qstring_address), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring address, jstring subject, jstring startup_id) -{ -static TQString* _qstring_address = 0; -static TQString* _qstring_subject = 0; -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, address, &_qstring_address), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body) -{ -static TQString* _qstring_to = 0; -static TQString* _qstring_cc = 0; -static TQString* _qstring_bcc = 0; -static TQString* _qstring_subject = 0; -static TQString* _qstring_body = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body, jstring messageFile) -{ -static TQString* _qstring_to = 0; -static TQString* _qstring_cc = 0; -static TQString* _qstring_bcc = 0; -static TQString* _qstring_subject = 0; -static TQString* _qstring_body = 0; -static TQString* _qstring_messageFile = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toTQString(env, messageFile, &_qstring_messageFile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body, jstring messageFile, jobjectArray attachURLs) -{ -static TQString* _qstring_to = 0; -static TQString* _qstring_cc = 0; -static TQString* _qstring_bcc = 0; -static TQString* _qstring_subject = 0; -static TQString* _qstring_body = 0; -static TQString* _qstring_messageFile = 0; -static TQStringList* _qlist_attachURLs = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toTQString(env, messageFile, &_qstring_messageFile), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, attachURLs, &_qlist_attachURLs)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring to, jstring cc, jstring bcc, jstring subject, jstring body, jstring messageFile, jobjectArray attachURLs, jstring startup_id) -{ -static TQString* _qstring_to = 0; -static TQString* _qstring_cc = 0; -static TQString* _qstring_bcc = 0; -static TQString* _qstring_subject = 0; -static TQString* _qstring_body = 0; -static TQString* _qstring_messageFile = 0; -static TQStringList* _qlist_attachURLs = 0; -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const TQString&)*(TQString*) QtSupport::toTQString(env, to, &_qstring_to), (const TQString&)*(TQString*) QtSupport::toTQString(env, cc, &_qstring_cc), (const TQString&)*(TQString*) QtSupport::toTQString(env, bcc, &_qstring_bcc), (const TQString&)*(TQString*) QtSupport::toTQString(env, subject, &_qstring_subject), (const TQString&)*(TQString*) QtSupport::toTQString(env, body, &_qstring_body), (const TQString&)*(TQString*) QtSupport::toTQString(env, messageFile, &_qstring_messageFile), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, attachURLs, &_qlist_attachURLs), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject mailtoURL) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const KURL&)*(const KURL*) QtSupport::getQt(env, mailtoURL)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject mailtoURL, jstring startup_id) -{ -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const KURL&)*(const KURL*) QtSupport::getQt(env, mailtoURL), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject mailtoURL, jstring startup_id, jboolean allowAttachments) -{ -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->invokeMailer((const KURL&)*(const KURL*) QtSupport::getQt(env, mailtoURL), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) allowAttachments); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_isRestored(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->isRestored(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_kApplication(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEApplicationJBridge::kApplication(), "org.kde.koala.TDEApplication"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExecWait((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name) -{ - (void) cls; -static TQString* _qstring_name = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring name, jobjectArray args, jobject error, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; -static TQString* _qstring_error = 0; - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::tdeinitExec((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_keyboardMouseState(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEApplicationJBridge::keyboardMouseState(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_launcher(JNIEnv* env, jclass cls) -{ - TQCString _qstring; - (void) cls; - _qstring = TDEApplicationJBridge::launcher(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring userCaption) -{ - TQString _qstring; -static TQString* _qstring_userCaption = 0; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, userCaption, &_qstring_userCaption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring userCaption, jboolean withAppName) -{ - TQString _qstring; -static TQString* _qstring_userCaption = 0; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, userCaption, &_qstring_userCaption), (bool) withAppName); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring userCaption, jboolean withAppName, jboolean modified) -{ - TQString _qstring; -static TQString* _qstring_userCaption = 0; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->makeStdCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, userCaption, &_qstring_userCaption), (bool) withAppName, (bool) modified); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEApplication*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_mimeSourceFactory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.kde.koala.KMimeSourceFactory"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_miniIconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->miniIconName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_miniIcon(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEApplication*) QtSupport::getQt(env, obj))->miniIcon()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_newIconLoader(JNIEnv* env, jobject obj) -{ - ((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->newIconLoader(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_newTDEApplication__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEApplicationJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_newTDEApplication__Z(JNIEnv* env, jobject obj, jboolean allowStyles) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEApplicationJBridge((bool) allowStyles)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_newTDEApplication__ZZ(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEApplicationJBridge((bool) allowStyles, (bool) GUIenabled)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_newTDEApplication__ZZLorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jboolean allowStyles, jboolean GUIenabled, jobject _instance) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEApplicationJBridge((bool) allowStyles, (bool) GUIenabled, (TDEInstance*) QtSupport::getQt(env, _instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_notify(JNIEnv* env, jobject obj, jobject receiver, jobject event) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->notify((TQObject*) QtSupport::getQt(env, receiver), (TQEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_paste(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->paste(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_propagateSessionManager(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->propagateSessionManager(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_randomString(JNIEnv* env, jclass cls, jint length) -{ - TQString _qstring; - (void) cls; - _qstring = TDEApplicationJBridge::randomString((int) length); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_random(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEApplicationJBridge::random(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_ref(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->ref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_removeKipcEventMask(JNIEnv* env, jobject obj, jint id) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->removeKipcEventMask((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_removeX11EventFilter(JNIEnv* env, jobject obj, jobject filter) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->removeX11EventFilter((const TQWidget*) QtSupport::getQt(env, filter)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_requestShutDown__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_requestShutDown__I(JNIEnv* env, jobject obj, jint confirm) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown((TDEApplication::ShutdownConfirm) confirm); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_requestShutDown__II(JNIEnv* env, jobject obj, jint confirm, jint sdtype) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown((TDEApplication::ShutdownConfirm) confirm, (TDEApplication::ShutdownType) sdtype); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_requestShutDown__III(JNIEnv* env, jobject obj, jint confirm, jint sdtype, jint sdmode) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->requestShutDown((TDEApplication::ShutdownConfirm) confirm, (TDEApplication::ShutdownType) sdtype, (TDEApplication::ShutdownMode) sdmode); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_saveState(JNIEnv* env, jobject obj, jobject sm) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->saveState((TQSessionManager&)*(TQSessionManager*) QtSupport::getQt(env, sm)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_selectAll(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->selectAll(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_sessionConfig(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEApplication*) QtSupport::getQt(env, obj))->sessionConfig(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEApplication_sessionSaving(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEApplication*) QtSupport::getQt(env, obj))->sessionSaving(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_setConfigName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEApplicationJBridge*) QtSupport::getQt(env, obj))->protected_setConfigName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_setStartupId(JNIEnv* env, jobject obj, jstring startup_id) -{ -static TQCString* _qcstring_startup_id = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->setStartupId((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_setTopWidget(JNIEnv* env, jobject obj, jobject topWidget) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->setTopWidget((TQWidget*) QtSupport::getQt(env, topWidget)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEApplication_sharedConfig(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*)(TDEApplication*) QtSupport::getQt(env, obj))->sharedConfig(), "org.kde.koala.TDESharedConfig"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_startKdeinit(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEApplicationJBridge::startKdeinit(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name) -{ - (void) cls; -static TQString* _qstring__name = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name) -{ - (void) cls; -static TQString* _qstring__name = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByDesktopPath((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name) -{ - (void) cls; -static TQString* _qstring__name = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jstring URL, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQString* _qstring_URL = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, URL, &_qstring_URL), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z(JNIEnv* env, jclass cls, jstring _name, jobjectArray URLs, jobject error, jobject dcopService, jintArray pid, jstring startup_id, jboolean noWait) -{ - (void) cls; -static TQString* _qstring__name = 0; -static TQStringList* _qlist_URLs = 0; -static TQString* _qstring_error = 0; -static TQCString* _qcstring_dcopService = 0; - if (_qcstring_dcopService == 0) { - _qcstring_dcopService = new TQCString(); - } - int* _int_pid = QtSupport::toIntPtr(env, pid); -static TQCString* _qcstring_startup_id = 0; - jint xret = (jint) TDEApplicationJBridge::startServiceByName((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, URLs, &_qlist_URLs), (TQString*) QtSupport::toTQStringFromStringBuffer(env, error, &_qstring_error), (TQCString*) _qcstring_dcopService, (int*) _int_pid, (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, startup_id, &_qcstring_startup_id), (bool) noWait); - QtSupport::fromTQStringToStringBuffer(env, _qstring_error, error); - QtSupport::fromTQCStringToStringBuffer(env, _qcstring_dcopService, dcopService); - env->SetIntArrayRegion(pid, 0, 1, (jint *) _int_pid); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_startupId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->startupId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEApplication_tempSaveName(JNIEnv* env, jobject obj, jstring pFilename) -{ - TQString _qstring; -static TQString* _qstring_pFilename = 0; - _qstring = ((TDEApplication*) QtSupport::getQt(env, obj))->tempSaveName((const TQString&)*(TQString*) QtSupport::toTQString(env, pFilename, &_qstring_pFilename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring dcopId) -{ -static TQCString* _qcstring_dcopId = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->updateRemoteUserTimestamp((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, dcopId, &_qcstring_dcopId)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring dcopId, jlong time) -{ -static TQCString* _qcstring_dcopId = 0; - ((TDEApplication*) QtSupport::getQt(env, obj))->updateRemoteUserTimestamp((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, dcopId, &_qcstring_dcopId), (unsigned long) time); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_updateUserTimestamp__(JNIEnv* env, jobject obj) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->updateUserTimestamp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_updateUserTimestamp__J(JNIEnv* env, jobject obj, jlong time) -{ - ((TDEApplication*) QtSupport::getQt(env, obj))->updateUserTimestamp((unsigned long) time); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEApplication_userTimestamp(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((TDEApplication*) QtSupport::getQt(env, obj))->userTimestamp(); - return xret; -} - -#include - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEApplication_setJavaSlotFactory(JNIEnv* env, jclass cls) -{ - (void) env; - (void) cls; - JavaSlot::setJavaSlotFactory(new KDEJavaSlotFactory()); - return; -} - diff --git a/kdejava/koala/kdejava/TDEApplication.h b/kdejava/koala/kdejava/TDEApplication.h deleted file mode 100644 index 8d38bcf0..00000000 --- a/kdejava/koala/kdejava/TDEApplication.h +++ /dev/null @@ -1,167 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEApplication__ -#define __org_kde_koala_TDEApplication__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__ZZ (JNIEnv *env, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_sessionConfig (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_isRestored (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableSessionManagement (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_enableSessionManagement (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__III (JNIEnv *env, jobject, jint, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_requestShutDown__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_propagateSessionManager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_commitData (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_saveState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_sessionSaving (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_icon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_iconName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_miniIcon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_miniIconName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setTopWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeHelp__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeMailer__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_caption (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_makeStdCaption__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_tempSaveName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_checkRecoverFile (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_enableStyles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableStyles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installX11EventFilter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_removeX11EventFilter (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_addKipcEventMask (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_removeKipcEventMask (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_startupId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setStartupId (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateUserTimestamp__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateUserTimestamp__ (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEApplication_userTimestamp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_updateRemoteUserTimestamp__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_geometryArgument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installKDEPropertyMap (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorize (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeTDEAction (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeURLAction (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_allowURLAction (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_authorizeControlModule (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_authorizeControlModules (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_notify (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeBrowser__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_cut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_copy (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_paste (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_ref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_deref (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_addCmdLineOptions (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_kApplication (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_dcopClient (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_disableAutoDcopRegistration (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_launcher (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopPath__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jstring, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2Z (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_startServiceByDesktopName__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExec__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3ILjava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2_3I (JNIEnv *env, jclass, jstring, jobjectArray, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jobjectArray, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jobjectArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_tdeinitExecWait__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_random (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_randomString (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEApplication_keyboardMouseState (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_startKdeinit (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_createApplicationPalette__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_createApplicationPalette__Lorg_kde_koala_TDEConfig_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_installSigpipeHandler (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_guiEnabled (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newTDEApplication__ZZLorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jboolean, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_invokeEditSlot (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEApplication_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_dirs (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_config (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_sharedConfig (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_iconLoader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_newIconLoader (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_aboutData (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEApplication_instanceName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEApplication_mimeSourceFactory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setConfigName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEApplication_setJavaSlotFactory (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEApplication__ */ diff --git a/kdejava/koala/kdejava/TDEBufferedIO.cpp b/kdejava/koala/kdejava/TDEBufferedIO.cpp deleted file mode 100644 index acc25106..00000000 --- a/kdejava/koala/kdejava/TDEBufferedIO.cpp +++ /dev/null @@ -1,87 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEBufferedIO_bytesAvailable(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->bytesAvailable(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEBufferedIO_bytesToWrite(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->bytesToWrite(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEBufferedIO_canReadLine(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->canReadLine(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEBufferedIO_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEBufferedIO*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEBufferedIO_closeNow(JNIEnv* env, jobject obj) -{ - ((TDEBufferedIO*) QtSupport::getQt(env, obj))->closeNow(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEBufferedIO_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEBufferedIO*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEBufferedIO_peekBlock(JNIEnv* env, jobject obj, jstring data, jint maxlen) -{ -static TQCString* _qstring_data = 0; - jint xret = (jint) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->peekBlock((char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) maxlen); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEBufferedIO_setBufferSize__I(JNIEnv* env, jobject obj, jint rsize) -{ - jboolean xret = (jboolean) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->setBufferSize((int) rsize); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEBufferedIO_setBufferSize__II(JNIEnv* env, jobject obj, jint rsize, jint wsize) -{ - jboolean xret = (jboolean) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->setBufferSize((int) rsize, (int) wsize); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEBufferedIO_unreadBlock(JNIEnv* env, jobject obj, jstring data, jint len) -{ -static TQCString* _qstring_data = 0; - jint xret = (jint) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->unreadBlock((const char*) QtSupport::toCharString(env, data, &_qstring_data), (uint) len); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEBufferedIO_waitForMore(JNIEnv* env, jobject obj, jint msec) -{ - jint xret = (jint) ((TDEBufferedIO*) QtSupport::getQt(env, obj))->waitForMore((int) msec); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEBufferedIO.h b/kdejava/koala/kdejava/TDEBufferedIO.h deleted file mode 100644 index 768eafa7..00000000 --- a/kdejava/koala/kdejava/TDEBufferedIO.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEBufferedIO__ -#define __org_kde_koala_TDEBufferedIO__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEBufferedIO_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEBufferedIO_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEBufferedIO_closeNow (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEBufferedIO_setBufferSize__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEBufferedIO_setBufferSize__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEBufferedIO_bytesAvailable (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEBufferedIO_waitForMore (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEBufferedIO_bytesToWrite (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEBufferedIO_canReadLine (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEBufferedIO_peekBlock (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEBufferedIO_unreadBlock (JNIEnv *env, jobject, jstring, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEBufferedIO__ */ diff --git a/kdejava/koala/kdejava/TDECModule.cpp b/kdejava/koala/kdejava/TDECModule.cpp deleted file mode 100644 index 1aa8fb88..00000000 --- a/kdejava/koala/kdejava/TDECModule.cpp +++ /dev/null @@ -1,688 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDECModuleJBridge : public TDECModule -{ -public: - TDECModuleJBridge(TQWidget* arg1,const char* arg2,const TQStringList& arg3) : TDECModule(arg1,arg2,arg3) {}; - TDECModuleJBridge(TQWidget* arg1,const char* arg2) : TDECModule(arg1,arg2) {}; - TDECModuleJBridge(TQWidget* arg1) : TDECModule(arg1) {}; - TDECModuleJBridge() : TDECModule() {}; - TDECModuleJBridge(TDEInstance* arg1,TQWidget* arg2,const TQStringList& arg3) : TDECModule(arg1,arg2,arg3) {}; - TDECModuleJBridge(TDEInstance* arg1,TQWidget* arg2) : TDECModule(arg1,arg2) {}; - TDECModuleJBridge(TDEInstance* arg1) : TDECModule(arg1) {}; - void public_load() { - TDECModule::load(); - return; - } - void public_save() { - TDECModule::save(); - return; - } - void public_defaults() { - TDECModule::defaults(); - return; - } - void public_sysdefaults() { - TDECModule::sysdefaults(); - return; - } - void protected_setQuickHelp(const TQString& arg1) { - TDECModule::setQuickHelp(arg1); - return; - } - void protected_setButtons(int arg1) { - TDECModule::setButtons(arg1); - return; - } - void protected_setRootOnlyMsg(const TQString& arg1) { - TDECModule::setRootOnlyMsg(arg1); - return; - } - void protected_setUseRootOnlyMsg(bool arg1) { - TDECModule::setUseRootOnlyMsg(arg1); - return; - } - bool protected_managedWidgetChangeState() { - return (bool) TDECModule::managedWidgetChangeState(); - } - void protected_unmanagedWidgetChangeState(bool arg1) { - TDECModule::unmanagedWidgetChangeState(arg1); - return; - } - void protected_changed() { - TDECModule::changed(); - return; - } - void protected_widgetChanged() { - TDECModule::widgetChanged(); - return; - } - ~TDECModuleJBridge() {QtSupport::qtKeyDeleted(this);} - void load() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","load")) { - TDECModule::load(); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void sysdefaults() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","sysdefaults")) { - TDECModule::sysdefaults(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.TDECModule","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void save() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","save")) { - TDECModule::save(); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 defaults() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","defaults")) { - TDECModule::defaults(); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDECModule",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECModule","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModule_aboutData(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECModule*) QtSupport::getQt(env, obj))->aboutData(), "org.kde.koala.TDEAboutData"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECModule_buttons(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECModule*) QtSupport::getQt(env, obj))->buttons(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_changed(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_changed(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModule_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDECModule*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_defaults(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->public_defaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDECModule_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDECModule*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDECModule*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModule_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECModule*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModule_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_load(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->public_load(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModule_managedWidgetChangeState(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_managedWidgetChangeState(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModule_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECModule*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject instance) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge((TDEInstance*) QtSupport::getQt(env, instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject instance, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge((TDEInstance*) QtSupport::getQt(env, instance), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject instance, jobject parent, jobjectArray args) -{ -static TQStringList* _qlist_args = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge((TDEInstance*) QtSupport::getQt(env, instance), (TQWidget*) QtSupport::getQt(env, parent), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_newTDECModule__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 TDECModuleJBridge((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_koala_TDECModule_newTDECModule__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jobjectArray args) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModule_quickHelp(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModule*) QtSupport::getQt(env, obj))->quickHelp(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModule_rootOnlyMsg(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModule*) QtSupport::getQt(env, obj))->rootOnlyMsg(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_save(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->public_save(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_setAboutData(JNIEnv* env, jobject obj, jobject about) -{ - ((TDECModule*) QtSupport::getQt(env, obj))->setAboutData((TDEAboutData*) QtSupport::getQt(env, about)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_setButtons(JNIEnv* env, jobject obj, jint btn) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_setButtons((int) btn); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_setQuickHelp(JNIEnv* env, jobject obj, jstring help) -{ -static TQString* _qstring_help = 0; - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_setQuickHelp((const TQString&)*(TQString*) QtSupport::toTQString(env, help, &_qstring_help)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_setRootOnlyMsg(JNIEnv* env, jobject obj, jstring msg) -{ -static TQString* _qstring_msg = 0; - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_setRootOnlyMsg((const TQString&)*(TQString*) QtSupport::toTQString(env, msg, &_qstring_msg)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_setUseRootOnlyMsg(JNIEnv* env, jobject obj, jboolean on) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_setUseRootOnlyMsg((bool) on); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_sysdefaults(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->public_sysdefaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_unmanagedWidgetChangeState(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_unmanagedWidgetChangeState((bool) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModule_useRootOnlyMsg(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECModule*) QtSupport::getQt(env, obj))->useRootOnlyMsg(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModule_widgetChanged(JNIEnv* env, jobject obj) -{ - ((TDECModuleJBridge*) QtSupport::getQt(env, obj))->protected_widgetChanged(); - return; -} - diff --git a/kdejava/koala/kdejava/TDECModule.h b/kdejava/koala/kdejava/TDECModule.h deleted file mode 100644 index 3d3a5a2a..00000000 --- a/kdejava/koala/kdejava/TDECModule.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECModule__ -#define __org_kde_koala_TDECModule__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModule_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModule_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2Lorg_kde_qt_QWidget_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_newTDECModule__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_load (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_save (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_defaults (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_sysdefaults (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModule_quickHelp (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModule_aboutData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_setAboutData (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECModule_buttons (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModule_rootOnlyMsg (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModule_useRootOnlyMsg (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModule_instance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_setQuickHelp (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_setButtons (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_setRootOnlyMsg (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_setUseRootOnlyMsg (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModule_managedWidgetChangeState (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_unmanagedWidgetChangeState (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_changed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_widgetChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModule_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModule_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECModule__ */ diff --git a/kdejava/koala/kdejava/TDECModuleInfo.cpp b/kdejava/koala/kdejava/TDECModuleInfo.cpp deleted file mode 100644 index 7ebbe62f..00000000 --- a/kdejava/koala/kdejava/TDECModuleInfo.cpp +++ /dev/null @@ -1,308 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDECModuleInfoJBridge : public TDECModuleInfo -{ -public: - TDECModuleInfoJBridge(const TQString& arg1) : TDECModuleInfo(arg1) {}; - TDECModuleInfoJBridge(const TDECModuleInfo& arg1) : TDECModuleInfo(arg1) {}; - TDECModuleInfoJBridge() : TDECModuleInfo() {}; - void protected_setKeywords(const TQStringList& arg1) { - TDECModuleInfo::setKeywords(arg1); - return; - } - void protected_setName(const TQString& arg1) { - TDECModuleInfo::setName(arg1); - return; - } - void protected_setComment(const TQString& arg1) { - TDECModuleInfo::setComment(arg1); - return; - } - void protected_setIcon(const TQString& arg1) { - TDECModuleInfo::setIcon(arg1); - return; - } - void protected_setLibrary(const TQString& arg1) { - TDECModuleInfo::setLibrary(arg1); - return; - } - void protected_setHandle(const TQString& arg1) { - TDECModuleInfo::setHandle(arg1); - return; - } - void protected_setWeight(int arg1) { - TDECModuleInfo::setWeight(arg1); - return; - } - void protected_setNeedsTest(bool arg1) { - TDECModuleInfo::setNeedsTest(arg1); - return; - } - void protected_setNeedsRootPrivileges(bool arg1) { - TDECModuleInfo::setNeedsRootPrivileges(arg1); - return; - } - void protected_setDocPath(const TQString& arg1) { - TDECModuleInfo::setDocPath(arg1); - return; - } - void protected_loadAll() { - TDECModuleInfo::loadAll(); - return; - } - ~TDECModuleInfoJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_comment(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->comment(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDECModuleInfo_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_docPath(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->docPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_factoryName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->factoryName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDECModuleInfo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_handle(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->handle(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_icon(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleInfo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleInfo_keywords(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->keywords(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_library(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->library(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_loadAll(JNIEnv* env, jobject obj) -{ - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_loadAll(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECModuleInfo_moduleName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->moduleName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleInfo_needsRootPrivileges(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->needsRootPrivileges(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleInfo_needsTest(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->needsTest(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleInfoJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring desktopFile) -{ -static TQString* _qstring_desktopFile = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, desktopFile, &_qstring_desktopFile))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__Lorg_kde_koala_TDECModuleInfo_2(JNIEnv* env, jobject obj, jobject rhs) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleInfoJBridge((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, rhs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleInfo_op_1equals(JNIEnv* env, jobject obj, jobject rhs) -{ - jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->operator==((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, rhs)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleInfo_op_1not_1equals(JNIEnv* env, jobject obj, jobject rhs) -{ - jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->operator!=((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, rhs)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setComment(JNIEnv* env, jobject obj, jstring comment) -{ -static TQString* _qstring_comment = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setComment((const TQString&)*(TQString*) QtSupport::toTQString(env, comment, &_qstring_comment)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setDocPath(JNIEnv* env, jobject obj, jstring p) -{ -static TQString* _qstring_p = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setDocPath((const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setHandle(JNIEnv* env, jobject obj, jstring handle) -{ -static TQString* _qstring_handle = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setHandle((const TQString&)*(TQString*) QtSupport::toTQString(env, handle, &_qstring_handle)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setIcon(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setKeywords(JNIEnv* env, jobject obj, jobjectArray keyword) -{ -static TQStringList* _qlist_keyword = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setKeywords((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, keyword, &_qlist_keyword)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setLibrary(JNIEnv* env, jobject obj, jstring lib) -{ -static TQString* _qstring_lib = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setLibrary((const TQString&)*(TQString*) QtSupport::toTQString(env, lib, &_qstring_lib)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setNeedsRootPrivileges(JNIEnv* env, jobject obj, jboolean needsRootPrivileges) -{ - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setNeedsRootPrivileges((bool) needsRootPrivileges); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setNeedsTest(JNIEnv* env, jobject obj, jboolean val) -{ - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setNeedsTest((bool) val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleInfo_setWeight(JNIEnv* env, jobject obj, jint weight) -{ - ((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setWeight((int) weight); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECModuleInfo_weight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->weight(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDECModuleInfo.h b/kdejava/koala/kdejava/TDECModuleInfo.h deleted file mode 100644 index 5ea85bd2..00000000 --- a/kdejava/koala/kdejava/TDECModuleInfo.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECModuleInfo__ -#define __org_kde_koala_TDECModuleInfo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__Lorg_kde_koala_TDECModuleInfo_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_newTDECModuleInfo__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleInfo_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleInfo_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleInfo_keywords (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_factoryName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_moduleName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_comment (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_icon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_docPath (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_library (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECModuleInfo_handle (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECModuleInfo_weight (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleInfo_needsRootPrivileges (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleInfo_needsTest (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setKeywords (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setComment (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setIcon (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setLibrary (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setHandle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setWeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setNeedsTest (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setNeedsRootPrivileges (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_setDocPath (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_loadAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleInfo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleInfo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECModuleInfo__ */ diff --git a/kdejava/koala/kdejava/TDECModuleLoader.cpp b/kdejava/koala/kdejava/TDECModuleLoader.cpp deleted file mode 100644 index 56729287..00000000 --- a/kdejava/koala/kdejava/TDECModuleLoader.cpp +++ /dev/null @@ -1,167 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDECModuleLoaderJBridge : public TDECModuleLoader -{ -public: - TDECModuleLoaderJBridge() : TDECModuleLoader() {}; - ~TDECModuleLoaderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleLoader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDECModuleLoader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleLoader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDECModuleLoader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleLoader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring module, jint report) -{ - (void) cls; -static TQString* _qstring_module = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent) -{ - (void) cls; -static TQString* _qstring_module = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent, jstring name) -{ - (void) cls; -static TQString* _qstring_module = 0; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module, jint report, jobject parent, jstring name, jobjectArray args) -{ - (void) cls; -static TQString* _qstring_module = 0; -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module), (TDECModuleLoader::ErrorReporting) report, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2I(JNIEnv* env, jclass cls, jobject module, jint report) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZ(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject module, jint report, jboolean withFallback, jobject parent, jstring name, jobjectArray args) -{ - (void) cls; -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_args = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::loadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module), (TDECModuleLoader::ErrorReporting) report, (bool) withFallback, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleLoader_newTDECModuleLoader(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECModuleLoaderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECModuleLoader_reportError(JNIEnv* env, jclass cls, jint report, jstring text, jstring details, jobject parent) -{ - (void) cls; -static TQString* _qstring_text = 0; -static TQString* _qstring_details = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECModuleLoaderJBridge::reportError((TDECModuleLoader::ErrorReporting) report, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQString)*(TQString*) QtSupport::toTQString(env, details, &_qstring_details), (TQWidget*) QtSupport::getQt(env, parent)), "org.kde.koala.TDECModule"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleLoader_testModule__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring module) -{ - (void) cls; -static TQString* _qstring_module = 0; - jboolean xret = (jboolean) TDECModuleLoaderJBridge::testModule((const TQString&)*(TQString*) QtSupport::toTQString(env, module, &_qstring_module)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECModuleLoader_testModule__Lorg_kde_koala_TDECModuleInfo_2(JNIEnv* env, jclass cls, jobject module) -{ - (void) cls; - jboolean xret = (jboolean) TDECModuleLoaderJBridge::testModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, module)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECModuleLoader_unloadModule(JNIEnv* env, jclass cls, jobject mod) -{ - (void) cls; - TDECModuleLoaderJBridge::unloadModule((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, mod)); - return; -} - diff --git a/kdejava/koala/kdejava/TDECModuleLoader.h b/kdejava/koala/kdejava/TDECModuleLoader.h deleted file mode 100644 index 29d48315..00000000 --- a/kdejava/koala/kdejava/TDECModuleLoader.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECModuleLoader__ -#define __org_kde_koala_TDECModuleLoader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleLoader_newTDECModuleLoader (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jboolean, jobject, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jboolean, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jint, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2IZ (JNIEnv *env, jclass, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Lorg_kde_koala_TDECModuleInfo_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jint, jobject, jstring, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jint, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_loadModule__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleLoader_unloadModule (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleLoader_testModule__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleLoader_testModule__Lorg_kde_koala_TDECModuleInfo_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECModuleLoader_reportError (JNIEnv *env, jclass, jint, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleLoader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECModuleLoader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECModuleLoader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECModuleLoader__ */ diff --git a/kdejava/koala/kdejava/TDECmdLineArgs.cpp b/kdejava/koala/kdejava/TDECmdLineArgs.cpp deleted file mode 100644 index 70f507ed..00000000 --- a/kdejava/koala/kdejava/TDECmdLineArgs.cpp +++ /dev/null @@ -1,290 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDECmdLineArgsJBridge : public TDECmdLineArgs -{ -public: - TDECmdLineArgsJBridge(const TDECmdLineOptions* arg1,const char* arg2,const char* arg3) : TDECmdLineArgs(arg1,arg2,arg3) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray options) -{ - (void) cls; - TDECmdLineArgsJBridge::addCmdLineOptions((TDECmdLineOptions*) KDESupport::toTDECmdLineOptions(env, options)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray options, jstring name) -{ - (void) cls; -static TQCString* _qstring_name = 0; - TDECmdLineArgsJBridge::addCmdLineOptions((TDECmdLineOptions*) KDESupport::toTDECmdLineOptions(env, options), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray options, jstring name, jstring id) -{ - (void) cls; -static TQCString* _qstring_name = 0; -static TQCString* _qstring_id = 0; - TDECmdLineArgsJBridge::addCmdLineOptions((TDECmdLineOptions*) KDESupport::toTDECmdLineOptions(env, options), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, id, &_qstring_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray options, jstring name, jstring id, jstring afterId) -{ - (void) cls; -static TQCString* _qstring_name = 0; -static TQCString* _qstring_id = 0; -static TQCString* _qstring_afterId = 0; - TDECmdLineArgsJBridge::addCmdLineOptions((TDECmdLineOptions*) KDESupport::toTDECmdLineOptions(env, options), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, id, &_qstring_id), (const char*) QtSupport::toCharString(env, afterId, &_qstring_afterId)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_addTempFileOption(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDECmdLineArgsJBridge::addTempFileOption(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECmdLineArgs_appName(JNIEnv* env, jclass cls) -{ - const char* _qstring; - (void) cls; - _qstring = TDECmdLineArgsJBridge::appName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECmdLineArgs_arg(JNIEnv* env, jobject obj, jint n) -{ - const char* _qstring; - _qstring = ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->arg((int) n); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_clear(JNIEnv* env, jobject obj) -{ - ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECmdLineArgs_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECmdLineArgs_cwd(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDECmdLineArgsJBridge::cwd(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_enable_1i18n(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDECmdLineArgsJBridge::enable_i18n(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECmdLineArgs_getOptionList(JNIEnv* env, jobject obj, jstring option) -{ - QCStringList _qlist; -static TQCString* _qstring_option = 0; - _qlist = ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->getOptionList((const char*) QtSupport::toCharString(env, option, &_qstring_option)); - return (jobject) KDESupport::arrayWithQCStringList(env, (QCStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECmdLineArgs_getOption(JNIEnv* env, jobject obj, jstring option) -{ - TQCString _qstring; -static TQCString* _qstring_option = 0; - _qstring = ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->getOption((const char*) QtSupport::toCharString(env, option, &_qstring_option)); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_init__Lorg_kde_koala_TDEAboutData_2(JNIEnv* env, jclass cls, jobject about) -{ - (void) cls; - TDECmdLineArgsJBridge::init((const TDEAboutData*) QtSupport::getQt(env, about)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECmdLineArgs_isSet(JNIEnv* env, jobject obj, jstring option) -{ -static TQCString* _qstring_option = 0; - jboolean xret = (jboolean) ((TDECmdLineArgs*) QtSupport::getQt(env, obj))->isSet((const char*) QtSupport::toCharString(env, option, &_qstring_option)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECmdLineArgs_isTempFileSet(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDECmdLineArgsJBridge::isTempFileSet(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_loadAppArgs(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - TDECmdLineArgsJBridge::loadAppArgs((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECmdLineArgs_makeURL(JNIEnv* env, jclass cls, jstring urlArg) -{ - (void) cls; -static TQCString* _qstring_urlArg = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(TDECmdLineArgsJBridge::makeURL((const char*) QtSupport::toCharString(env, urlArg, &_qstring_urlArg))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_newTDECmdLineArgs(JNIEnv* env, jobject obj, jobjectArray _options, jstring _name, jstring _id) -{ -static TQCString* _qstring__name = 0; -static TQCString* _qstring__id = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECmdLineArgsJBridge((TDECmdLineOptions*) KDESupport::toTDECmdLineOptions(env, _options), (const char*) QtSupport::toCharString(env, _name, &_qstring__name), (const char*) QtSupport::toCharString(env, _id, &_qstring__id))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECmdLineArgs_parsedArgs__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECmdLineArgsJBridge::parsedArgs(), "org.kde.koala.TDECmdLineArgs"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECmdLineArgs_parsedArgs__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring id) -{ - (void) cls; -static TQCString* _qstring_id = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDECmdLineArgsJBridge::parsedArgs((const char*) QtSupport::toCharString(env, id, &_qstring_id)), "org.kde.koala.TDECmdLineArgs"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_reset(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDECmdLineArgsJBridge::reset(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_setCwd(JNIEnv* env, jclass cls, jstring cwd) -{ - (void) cls; -static TQCString* _qstring_cwd = 0; - TDECmdLineArgsJBridge::setCwd((char*) QtSupport::toCharString(env, cwd, &_qstring_cwd)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECmdLineArgs_url(JNIEnv* env, jobject obj, jint n) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDECmdLineArgs*) QtSupport::getQt(env, obj))->url((int) n)), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_usage__(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDECmdLineArgsJBridge::usage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_usage__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring id) -{ - (void) cls; -static TQCString* _qstring_id = 0; - TDECmdLineArgsJBridge::usage((const char*) QtSupport::toCharString(env, id, &_qstring_id)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray args, jstring _appname, jstring programName, jstring _description, jstring _version) -{ - (void) cls; -static TQCString* _qstring__appname = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring__description = 0; -static TQCString* _qstring__version = 0; - int argc = (int) env->GetArrayLength(args); - TDECmdLineArgsJBridge::init((int) argc+1, (char**) QtSupport::toArgv(env, args), (const char*) QtSupport::toCharString(env, _appname, &_qstring__appname), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, _description, &_qstring__description), (const char*) QtSupport::toCharString(env, _version, &_qstring__version)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobjectArray args, jstring _appname, jstring programName, jstring _description, jstring _version, jboolean noKApp) -{ - (void) cls; -static TQCString* _qstring__appname = 0; -static TQCString* _qstring_programName = 0; -static TQCString* _qstring__description = 0; -static TQCString* _qstring__version = 0; - int argc = (int) env->GetArrayLength(args); - TDECmdLineArgsJBridge::init(argc+1, (char**) QtSupport::toArgv(env, args), (const char*) QtSupport::toCharString(env, _appname, &_qstring__appname), (const char*) QtSupport::toCharString(env, programName, &_qstring_programName), (const char*) QtSupport::toCharString(env, _description, &_qstring__description), (const char*) QtSupport::toCharString(env, _version, &_qstring__version), (bool) noKApp); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Lorg_kde_koala_TDEAboutData_2(JNIEnv* env, jclass cls, jobjectArray args, jobject about) -{ - (void) cls; - int argc = (int) env->GetArrayLength(args); - TDECmdLineArgsJBridge::init(argc+1, (char**) QtSupport::toArgv(env, args), (const TDEAboutData*) QtSupport::getQt(env, about)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Lorg_kde_koala_TDEAboutData_2Z(JNIEnv* env, jclass cls, jobjectArray args, jobject about, jboolean noKApp) -{ - (void) cls; - int argc = (int) env->GetArrayLength(args); - TDECmdLineArgsJBridge::init(argc+1, (char**) QtSupport::toArgv(env, args), (const TDEAboutData*) QtSupport::getQt(env, about), (bool) noKApp); - return; -} - diff --git a/kdejava/koala/kdejava/TDECmdLineArgs.h b/kdejava/koala/kdejava/TDECmdLineArgs.h deleted file mode 100644 index d47496cf..00000000 --- a/kdejava/koala/kdejava/TDECmdLineArgs.h +++ /dev/null @@ -1,48 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECmdLineArgs__ -#define __org_kde_koala_TDECmdLineArgs__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECmdLineArgs_getOption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECmdLineArgs_getOptionList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECmdLineArgs_isSet (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECmdLineArgs_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECmdLineArgs_arg (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECmdLineArgs_url (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobjectArray, jstring, jstring, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Lorg_kde_koala_TDEAboutData_2Z (JNIEnv *env, jclass, jobjectArray, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_init___3Ljava_lang_String_2Lorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_init__Lorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_addCmdLineOptions___3_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECmdLineArgs_parsedArgs__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECmdLineArgs_parsedArgs__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECmdLineArgs_cwd (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECmdLineArgs_appName (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_usage__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_usage__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_enable_1i18n (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECmdLineArgs_makeURL (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_setCwd (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_reset (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_loadAppArgs (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_addTempFileOption (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECmdLineArgs_isTempFileSet (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECmdLineArgs_newTDECmdLineArgs (JNIEnv *env, jobject, jobjectArray, jstring, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECmdLineArgs__ */ diff --git a/kdejava/koala/kdejava/TDECompletion.cpp b/kdejava/koala/kdejava/TDECompletion.cpp deleted file mode 100644 index 86d8c78e..00000000 --- a/kdejava/koala/kdejava/TDECompletion.cpp +++ /dev/null @@ -1,343 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDECompletionJBridge : public TDECompletion -{ -public: - TDECompletionJBridge() : TDECompletion() {}; - void public_clear() { - TDECompletion::clear(); - return; - } - void protected_postProcessMatch(TQString* arg1) { - TDECompletion::postProcessMatch(arg1); - return; - } - void protected_postProcessMatches(TQStringList* arg1) { - TDECompletion::postProcessMatches(arg1); - return; - } - ~TDECompletionJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletion","clear")) { - TDECompletion::clear(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDECompletion",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_addItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->addItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_addItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring item, jint weight) -{ -static TQString* _qstring_item = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->addItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item), (uint) weight); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletion_allMatches__(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDECompletion*) QtSupport::getQt(env, obj))->allMatches(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletion_allMatches__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring string) -{ - TQStringList _qlist; -static TQString* _qstring_string = 0; - _qlist = ((TDECompletion*) QtSupport::getQt(env, obj))->allMatches((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletion_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDECompletion*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_clear(JNIEnv* env, jobject obj) -{ - ((TDECompletionJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECompletion_completionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECompletion*) QtSupport::getQt(env, obj))->completionMode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDECompletion_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDECompletion*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDECompletion*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletion_hasMultipleMatches(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletion*) QtSupport::getQt(env, obj))->hasMultipleMatches(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletion_ignoreCase(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletion*) QtSupport::getQt(env, obj))->ignoreCase(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_insertItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->insertItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletion_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletion_isEmpty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletion*) QtSupport::getQt(env, obj))->isEmpty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletion_isSoundsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletion*) QtSupport::getQt(env, obj))->isSoundsEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletion_items(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDECompletion*) QtSupport::getQt(env, obj))->items(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletion_lastMatch(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECompletion*) QtSupport::getQt(env, obj))->lastMatch(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletion_makeCompletion(JNIEnv* env, jobject obj, jstring string) -{ - TQString _qstring; -static TQString* _qstring_string = 0; - _qstring = ((TDECompletion*) QtSupport::getQt(env, obj))->makeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletion_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletion*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_newTDECompletion(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECompletionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletion_nextMatch(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECompletion*) QtSupport::getQt(env, obj))->nextMatch(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECompletion_order(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECompletion*) QtSupport::getQt(env, obj))->order(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_postProcessMatch(JNIEnv* env, jobject obj, jobject match) -{ -static TQString* _qstring_match = 0; - ((TDECompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatch((TQString*) QtSupport::toTQStringFromStringBuffer(env, match, &_qstring_match)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_match, match); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_postProcessMatches(JNIEnv* env, jobject obj, jobjectArray matches) -{ -static TQStringList* _qlist_matches = 0; - ((TDECompletionJBridge*) QtSupport::getQt(env, obj))->protected_postProcessMatches((TQStringList*) QtSupport::toTQStringList(env, matches, &_qlist_matches)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletion_previousMatch(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECompletion*) QtSupport::getQt(env, obj))->previousMatch(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_removeItem(JNIEnv* env, jobject obj, jstring item) -{ -static TQString* _qstring_item = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->removeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, item, &_qstring_item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_setCompletionMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_setEnableSounds(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->setEnableSounds((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_setIgnoreCase(JNIEnv* env, jobject obj, jboolean ignoreCase) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->setIgnoreCase((bool) ignoreCase); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_setItems(JNIEnv* env, jobject obj, jobjectArray list) -{ -static TQStringList* _qlist_list = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->setItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_setOrder(JNIEnv* env, jobject obj, jint order) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->setOrder((TDECompletion::CompOrder) order); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_slotMakeCompletion(JNIEnv* env, jobject obj, jstring string) -{ -static TQString* _qstring_string = 0; - ((TDECompletion*) QtSupport::getQt(env, obj))->slotMakeCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_slotNextMatch(JNIEnv* env, jobject obj) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->slotNextMatch(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletion_slotPreviousMatch(JNIEnv* env, jobject obj) -{ - ((TDECompletion*) QtSupport::getQt(env, obj))->slotPreviousMatch(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletion_substringCompletion(JNIEnv* env, jobject obj, jstring string) -{ - TQStringList _qlist; -static TQString* _qstring_string = 0; - _qlist = ((TDECompletion*) QtSupport::getQt(env, obj))->substringCompletion((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/TDECompletion.h b/kdejava/koala/kdejava/TDECompletion.h deleted file mode 100644 index 460a168e..00000000 --- a/kdejava/koala/kdejava/TDECompletion.h +++ /dev/null @@ -1,53 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECompletion__ -#define __org_kde_koala_TDECompletion__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletion_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletion_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_newTDECompletion (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletion_makeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletion_substringCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletion_previousMatch (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletion_nextMatch (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletion_lastMatch (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletion_items (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletion_isEmpty (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_setCompletionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECompletion_completionMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_setOrder (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECompletion_order (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_setIgnoreCase (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletion_ignoreCase (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletion_allMatches__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletion_allMatches__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_setEnableSounds (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletion_isSoundsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletion_hasMultipleMatches (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_slotMakeCompletion (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_slotPreviousMatch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_slotNextMatch (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_insertItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_setItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_addItem__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_addItem__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_removeItem (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_postProcessMatch (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_postProcessMatches (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletion_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletion_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECompletion__ */ diff --git a/kdejava/koala/kdejava/TDECompletionBase.cpp b/kdejava/koala/kdejava/TDECompletionBase.cpp deleted file mode 100644 index fab40c49..00000000 --- a/kdejava/koala/kdejava/TDECompletionBase.cpp +++ /dev/null @@ -1,139 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBase_compObj(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->compObj(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDECompletionBase_completionMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDECompletionBase*) QtSupport::getQt(env, obj))->completionMode(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBase_completionObject__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->completionObject(), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBase_completionObject__Z(JNIEnv* env, jobject obj, jboolean hsig) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBase*) QtSupport::getQt(env, obj))->completionObject((bool) hsig), "org.kde.koala.TDECompletion"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBase_emitSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->emitSignals(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBase_getKeyBinding(JNIEnv* env, jobject obj, jint item) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDECompletionBase*) QtSupport::getQt(env, obj))->getKeyBinding((TDECompletionBase::KeyBindingType) item), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBase_handleSignals(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->handleSignals(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBase_isCompletionObjectAutoDeleted(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->isCompletionObjectAutoDeleted(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setAutoDeleteCompletionObject(JNIEnv* env, jobject obj, jboolean autoDelete) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setAutoDeleteCompletionObject((bool) autoDelete); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setCompletedItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletedItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setCompletedText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletedText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setCompletionMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionMode((TDEGlobalSettings::Completion) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setCompletionObject__Lorg_kde_koala_TDECompletion_2(JNIEnv* env, jobject obj, jobject compObj) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z(JNIEnv* env, jobject obj, jobject compObj, jboolean hsig) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setCompletionObject((TDECompletion*) QtSupport::getQt(env, compObj), (bool) hsig); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setEnableSignals(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setEnableSignals((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_setHandleSignals(JNIEnv* env, jobject obj, jboolean handle) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->setHandleSignals((bool) handle); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBase_setKeyBinding(JNIEnv* env, jobject obj, jint item, jobject key) -{ - jboolean xret = (jboolean) ((TDECompletionBase*) QtSupport::getQt(env, obj))->setKeyBinding((TDECompletionBase::KeyBindingType) item, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBase_useGlobalKeyBindings(JNIEnv* env, jobject obj) -{ - ((TDECompletionBase*) QtSupport::getQt(env, obj))->useGlobalKeyBindings(); - return; -} - diff --git a/kdejava/koala/kdejava/TDECompletionBase.h b/kdejava/koala/kdejava/TDECompletionBase.h deleted file mode 100644 index 6f58807e..00000000 --- a/kdejava/koala/kdejava/TDECompletionBase.h +++ /dev/null @@ -1,36 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECompletionBase__ -#define __org_kde_koala_TDECompletionBase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBase_completionObject__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBase_completionObject__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setCompletionObject__Lorg_kde_koala_TDECompletion_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setCompletionObject__Lorg_kde_koala_TDECompletion_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setHandleSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBase_isCompletionObjectAutoDeleted (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setAutoDeleteCompletionObject (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setEnableSignals (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBase_handleSignals (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBase_emitSignals (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setCompletionMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDECompletionBase_completionMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBase_setKeyBinding (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBase_getKeyBinding (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_useGlobalKeyBindings (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setCompletedText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBase_setCompletedItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBase_compObj (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECompletionBase__ */ diff --git a/kdejava/koala/kdejava/TDECompletionBox.cpp b/kdejava/koala/kdejava/TDECompletionBox.cpp deleted file mode 100644 index 6d18bb3c..00000000 --- a/kdejava/koala/kdejava/TDECompletionBox.cpp +++ /dev/null @@ -1,798 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDECompletionBoxJBridge : public TDECompletionBox -{ -public: - TDECompletionBoxJBridge(TQWidget* arg1,const char* arg2) : TDECompletionBox(arg1,arg2) {}; - TDECompletionBoxJBridge(TQWidget* arg1) : TDECompletionBox(arg1) {}; - void public_popup() { - TDECompletionBox::popup(); - return; - } - void public_show() { - TDECompletionBox::show(); - return; - } - void public_hide() { - TDECompletionBox::hide(); - return; - } - TQRect protected_calculateGeometry() { - return (TQRect) TDECompletionBox::calculateGeometry(); - } - void protected_sizeAndPosition() { - TDECompletionBox::sizeAndPosition(); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TDECompletionBox::eventFilter(arg1,arg2); - } - void protected_slotActivated(TQListBoxItem* arg1) { - TDECompletionBox::slotActivated(arg1); - return; - } - ~TDECompletionBoxJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListBox::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")) { - TQListBox::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")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQListBox::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 contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","show")) { - TDECompletionBox::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void ensureCurrentVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","ensureCurrentVisible")) { - TQListBox::ensureCurrentVisible(); - } - 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.koala.TDECompletionBox","hide")) { - TDECompletionBox::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")) { - TQScrollView::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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::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.koala.TDECompletionBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","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")) { - TQListBox::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(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")) { - TDEListBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","clearSelection")) { - TQListBox::clearSelection(); - } - 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")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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 slotActivated(TQListBoxItem* arg1) { - if (!QtSupport::eventDelegate(this,"slotActivated",(void*)arg1,"org.kde.qt.TQListBoxItem")) { - TDECompletionBox::slotActivated(arg1); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListBox::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")) { - TQScrollView::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")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::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 invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","invertSelection")) { - TQListBox::invertSelection(); - } - 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")) { - TDEListBox::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListBox::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQListBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDECompletionBox","popup")) { - TDECompletionBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::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 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.koala.TDECompletionBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQListBoxItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListBoxItem")) { - TQListBox::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQListBox::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")) { - TDEListBox::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDECompletionBox",object,event)) { - return TDECompletionBox::eventFilter(object,event); - } else { - return TRUE; - } - } - 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")) { - TQListBox::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.koala.TDECompletionBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBox_activateOnSelect(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBox*) QtSupport::getQt(env, obj))->activateOnSelect(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBox_calculateGeometry(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->protected_calculateGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletionBox_cancelledText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDECompletionBox*) QtSupport::getQt(env, obj))->cancelledText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDECompletionBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDECompletionBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDECompletionBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_down(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->down(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_end(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->end(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBox_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDECompletionBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDECompletionBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_hide(JNIEnv* env, jobject obj) -{ - ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->public_hide(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_home(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->home(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_insertItems___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((TDECompletionBox*) QtSupport::getQt(env, obj))->insertItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_insertItems___3Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray items, jint index) -{ -static TQStringList* _qlist_items = 0; - ((TDECompletionBox*) QtSupport::getQt(env, obj))->insertItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items), (int) index); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDECompletionBox_isTabHandling(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDECompletionBox*) QtSupport::getQt(env, obj))->isTabHandling(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBox_items(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDECompletionBox*) QtSupport::getQt(env, obj))->items(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDECompletionBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_newTDECompletionBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDECompletionBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_newTDECompletionBox__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 TDECompletionBoxJBridge((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_koala_TDECompletionBox_pageDown(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->pageDown(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_pageUp(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->pageUp(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_popup(JNIEnv* env, jobject obj) -{ - ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->public_popup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_setActivateOnSelect(JNIEnv* env, jobject obj, jboolean state) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->setActivateOnSelect((bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_setCancelledText(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TDECompletionBox*) QtSupport::getQt(env, obj))->setCancelledText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_setItems(JNIEnv* env, jobject obj, jobjectArray items) -{ -static TQStringList* _qlist_items = 0; - ((TDECompletionBox*) QtSupport::getQt(env, obj))->setItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, items, &_qlist_items)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_setTabHandling(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->setTabHandling((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_show(JNIEnv* env, jobject obj) -{ - ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_sizeAndPosition(JNIEnv* env, jobject obj) -{ - ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->protected_sizeAndPosition(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDECompletionBox_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDECompletionBox*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_slotActivated(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDECompletionBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((TQListBoxItem*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDECompletionBox_up(JNIEnv* env, jobject obj) -{ - ((TDECompletionBox*) QtSupport::getQt(env, obj))->up(); - return; -} - diff --git a/kdejava/koala/kdejava/TDECompletionBox.h b/kdejava/koala/kdejava/TDECompletionBox.h deleted file mode 100644 index 64f82173..00000000 --- a/kdejava/koala/kdejava/TDECompletionBox.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDECompletionBox__ -#define __org_kde_koala_TDECompletionBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletionBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_newTDECompletionBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_newTDECompletionBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBox_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBox_activateOnSelect (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBox_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_insertItems___3Ljava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_insertItems___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_setItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_popup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_setTabHandling (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBox_isTabHandling (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_setCancelledText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDECompletionBox_cancelledText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_setActivateOnSelect (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_down (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_up (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_pageDown (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_pageUp (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_home (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_end (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_hide (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDECompletionBox_calculateGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_sizeAndPosition (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBox_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_slotActivated (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDECompletionBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDECompletionBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDECompletionBox__ */ diff --git a/kdejava/koala/kdejava/TDEConfig.cpp b/kdejava/koala/kdejava/TDEConfig.cpp deleted file mode 100644 index cdefbcfe..00000000 --- a/kdejava/koala/kdejava/TDEConfig.cpp +++ /dev/null @@ -1,318 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEConfigJBridge : public TDEConfig -{ -public: - TDEConfigJBridge(const TQString& arg1,bool arg2,bool arg3,const char* arg4) : TDEConfig(arg1,arg2,arg3,arg4) {}; - TDEConfigJBridge(const TQString& arg1,bool arg2,bool arg3) : TDEConfig(arg1,arg2,arg3) {}; - TDEConfigJBridge(const TQString& arg1,bool arg2) : TDEConfig(arg1,arg2) {}; - TDEConfigJBridge(const TQString& arg1) : TDEConfig(arg1) {}; - TDEConfigJBridge() : TDEConfig() {}; - TDEConfigJBridge(TDEConfigBackEnd* arg1,bool arg2) : TDEConfig(arg1,arg2) {}; - TDEConfigJBridge(TDEConfigBackEnd* arg1) : TDEConfig(arg1) {}; - void public_rollback() { - TDEConfig::rollback(); - return; - } - void public_reparseConfiguration() { - TDEConfig::reparseConfiguration(); - return; - } - bool protected_internalHasGroup(const TQCString& arg1) { - return (bool) TDEConfig::internalHasGroup(arg1); - } - void protected_putData(const KEntryKey& arg1,const KEntry& arg2,bool arg3) { - TDEConfig::putData(arg1,arg2,arg3); - return; - } - void protected_putData(const KEntryKey& arg1,const KEntry& arg2) { - TDEConfig::putData(arg1,arg2); - return; - } - KEntry protected_lookupData(const KEntryKey& arg1) { - return (KEntry) TDEConfig::lookupData(arg1); - } - ~TDEConfigJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void reparseConfiguration() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEConfig","reparseConfiguration")) { - TDEConfig::reparseConfiguration(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEConfig","sync")) { - TDEConfigBase::sync(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void parseConfigFiles() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEConfig","parseConfigFiles")) { - TDEConfigBase::parseConfigFiles(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEConfig",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_checkUpdate(JNIEnv* env, jobject obj, jstring id, jstring updateFile) -{ -static TQString* _qstring_id = 0; -static TQString* _qstring_updateFile = 0; - ((TDEConfig*) QtSupport::getQt(env, obj))->checkUpdate((const TQString&)*(TQString*) QtSupport::toTQString(env, id, &_qstring_id), (const TQString&)*(TQString*) QtSupport::toTQString(env, updateFile, &_qstring_updateFile)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfig_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEConfig*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfig_copyTo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEConfig*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfig_copyTo__Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jstring file, jobject config) -{ -static TQString* _qstring_file = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEConfig*) QtSupport::getQt(env, obj))->copyTo((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (TDEConfig*) QtSupport::getQt(env, config)), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEConfig_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEConfig*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEConfig*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfig_forceGlobal(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfig*) QtSupport::getQt(env, obj))->forceGlobal(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfig_groupList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEConfig*) QtSupport::getQt(env, obj))->groupList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfig_internalHasGroup(JNIEnv* env, jobject obj, jstring group) -{ -static TQCString* _qcstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigJBridge*) QtSupport::getQt(env, obj))->protected_internalHasGroup((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, group, &_qcstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfig_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfig_lookupData(JNIEnv* env, jobject obj, jobject _key) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KEntry(((TDEConfigJBridge*) QtSupport::getQt(env, obj))->protected_lookupData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key))), "org.kde.koala.KEntry", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfig_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEConfig*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring fileName, jboolean bReadOnly) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) bReadOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring fileName, jboolean bReadOnly, jboolean bUseKDEGlobals) -{ -static TQString* _qstring_fileName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) bReadOnly, (bool) bUseKDEGlobals)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2ZZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jboolean bReadOnly, jboolean bUseKDEGlobals, jstring resType) -{ -static TQString* _qstring_fileName = 0; -static TQCString* _qstring_resType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (bool) bReadOnly, (bool) bUseKDEGlobals, (const char*) QtSupport::toCharString(env, resType, &_qstring_resType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Lorg_kde_koala_TDEConfigBackEnd_2(JNIEnv* env, jobject obj, jobject backEnd) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((TDEConfigBackEnd*) QtSupport::getQt(env, backEnd))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_newTDEConfig__Lorg_kde_koala_TDEConfigBackEnd_2Z(JNIEnv* env, jobject obj, jobject backEnd, jboolean bReadOnly) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigJBridge((TDEConfigBackEnd*) QtSupport::getQt(env, backEnd), (bool) bReadOnly)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2(JNIEnv* env, jobject obj, jobject _key, jobject _data) -{ - ((TDEConfigJBridge*) QtSupport::getQt(env, obj))->protected_putData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key), (const KEntry&)*(const KEntry*) QtSupport::getQt(env, _data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2Z(JNIEnv* env, jobject obj, jobject _key, jobject _data, jboolean _checkGroup) -{ - ((TDEConfigJBridge*) QtSupport::getQt(env, obj))->protected_putData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key), (const KEntry&)*(const KEntry*) QtSupport::getQt(env, _data), (bool) _checkGroup); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_reparseConfiguration(JNIEnv* env, jobject obj) -{ - ((TDEConfigJBridge*) QtSupport::getQt(env, obj))->public_reparseConfiguration(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_rollback__(JNIEnv* env, jobject obj) -{ - ((TDEConfigJBridge*) QtSupport::getQt(env, obj))->public_rollback(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_rollback__Z(JNIEnv* env, jobject obj, jboolean bDeep) -{ - ((TDEConfig*) QtSupport::getQt(env, obj))->rollback((bool) bDeep); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_setFileWriteMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDEConfig*) QtSupport::getQt(env, obj))->setFileWriteMode((int) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfig_setForceGlobal(JNIEnv* env, jobject obj, jboolean force) -{ - ((TDEConfig*) QtSupport::getQt(env, obj))->setForceGlobal((bool) force); - return; -} - diff --git a/kdejava/koala/kdejava/TDEConfig.h b/kdejava/koala/kdejava/TDEConfig.h deleted file mode 100644 index b8420762..00000000 --- a/kdejava/koala/kdejava/TDEConfig.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfig__ -#define __org_kde_koala_TDEConfig__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfig_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfig_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2ZZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jboolean, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Lorg_kde_koala_TDEConfigBackEnd_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_newTDEConfig__Lorg_kde_koala_TDEConfigBackEnd_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_rollback__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_rollback__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfig_groupList (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_reparseConfiguration (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_setFileWriteMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_setForceGlobal (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfig_forceGlobal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_checkUpdate (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfig_copyTo__Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfig_copyTo__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfig_internalHasGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfig_lookupData (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfig_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfig_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfig__ */ diff --git a/kdejava/koala/kdejava/TDEConfigBackEnd.cpp b/kdejava/koala/kdejava/TDEConfigBackEnd.cpp deleted file mode 100644 index 521d96e4..00000000 --- a/kdejava/koala/kdejava/TDEConfigBackEnd.cpp +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBackEnd_changeFileName(JNIEnv* env, jobject obj, jstring _fileName, jstring _resType, jboolean _useKDEGlobals) -{ -static TQString* _qstring__fileName = 0; -static TQCString* _qstring__resType = 0; - ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->changeFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, _fileName, &_qstring__fileName), (const char*) QtSupport::toCharString(env, _resType, &_qstring__resType), (bool) _useKDEGlobals); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBackEnd_checkConfigFilesWritable(JNIEnv* env, jobject obj, jboolean warnUser) -{ - jboolean xret = (jboolean) ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->checkConfigFilesWritable((bool) warnUser); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBackEnd_fileName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->fileName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBackEnd_getConfigState(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->getConfigState(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBackEnd_parseConfigFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->parseConfigFiles(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBackEnd_resource(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->resource(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBackEnd_setFileWriteMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->setFileWriteMode((int) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBackEnd_setLocaleString(JNIEnv* env, jobject obj, jstring _localeString) -{ -static TQCString* _qcstring__localeString = 0; - ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->setLocaleString((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, _localeString, &_qcstring__localeString)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBackEnd_sync__(JNIEnv* env, jobject obj) -{ - ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->sync(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBackEnd_sync__Z(JNIEnv* env, jobject obj, jboolean bMerge) -{ - ((TDEConfigBackEnd*) QtSupport::getQt(env, obj))->sync((bool) bMerge); - return; -} - diff --git a/kdejava/koala/kdejava/TDEConfigBackEnd.h b/kdejava/koala/kdejava/TDEConfigBackEnd.h deleted file mode 100644 index a537a4b8..00000000 --- a/kdejava/koala/kdejava/TDEConfigBackEnd.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfigBackEnd__ -#define __org_kde_koala_TDEConfigBackEnd__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBackEnd_parseConfigFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBackEnd_sync__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBackEnd_sync__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBackEnd_changeFileName (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBackEnd_getConfigState (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBackEnd_fileName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBackEnd_resource (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBackEnd_setLocaleString (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBackEnd_setFileWriteMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBackEnd_checkConfigFilesWritable (JNIEnv *env, jobject, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfigBackEnd__ */ diff --git a/kdejava/koala/kdejava/TDEConfigBase.cpp b/kdejava/koala/kdejava/TDEConfigBase.cpp deleted file mode 100644 index 73fcf72c..00000000 --- a/kdejava/koala/kdejava/TDEConfigBase.cpp +++ /dev/null @@ -1,1201 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_checkConfigFilesWritable(JNIEnv* env, jobject obj, jboolean warnUser) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->checkConfigFilesWritable((bool) warnUser); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pKey, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jboolean bNLS, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bNLS, (bool) bGlobal); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring group, jboolean bDeep) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (bool) bDeep); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring group, jboolean bDeep, jboolean bGlobal) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->deleteGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group), (bool) bDeep, (bool) bGlobal); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_entryIsImmutable(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->entryIsImmutable((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBase_getConfigState(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEConfigBase*) QtSupport::getQt(env, obj))->getConfigState(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_groupIsImmutable(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->groupIsImmutable((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_groupList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->groupList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_group(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->group(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_hasDefault(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->hasDefault((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_hasGroup(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->hasGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_hasKey(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->hasKey((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_isDirty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->isDirty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_isDollarExpansion(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->isDollarExpansion(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_isImmutable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->isImmutable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_isReadOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->isReadOnly(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_locale(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->locale(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEConfigBase*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_readBoolEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_readBoolEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pKey, jboolean bDefault) -{ -static TQString* _qstring_pKey = 0; - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readBoolEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bDefault); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readColorEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEConfigBase*) QtSupport::getQt(env, obj))->readColorEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readColorEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEConfigBase*) QtSupport::getQt(env, obj))->readColorEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQColor*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readDateTimeEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQDateTime _qdate; -static TQString* _qstring_pKey = 0; - _qdate = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readDateTimeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readDateTimeEntry__Ljava_lang_String_2Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ - TQDateTime _qdate; -static TQString* _qstring_pKey = 0; -static TQDateTime* _qdate_pDefault = 0; - _qdate = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readDateTimeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQDateTime*) QtSupport::toTQDateTime(env, pDefault, &_qdate_pDefault)); - return (jobject) QtSupport::fromTQDateTime(env, (TQDateTime*) &_qdate); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigBase_readDefaults(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readDefaults(); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDEConfigBase_readDoubleNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jdouble xret = (jdouble) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readDoubleNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDEConfigBase_readDoubleNumEntry__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring pKey, jdouble nDefault) -{ -static TQString* _qstring_pKey = 0; - jdouble xret = (jdouble) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readDoubleNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nDefault); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readEntryUntranslated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readEntryUntranslated((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readEntryUntranslated__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jstring aDefault) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; -static TQString* _qstring_aDefault = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readEntryUntranslated((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, aDefault, &_qstring_aDefault)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jstring aDefault) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; -static TQString* _qstring_aDefault = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, aDefault, &_qstring_aDefault)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readFontEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEConfigBase*) QtSupport::getQt(env, obj))->readFontEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readFontEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEConfigBase*) QtSupport::getQt(env, obj))->readFontEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQFont*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jintArray JNICALL -Java_org_kde_koala_TDEConfigBase_readIntListEntry(JNIEnv* env, jobject obj, jstring pKey) -{ - TQValueList _qintArray; -static TQString* _qstring_pKey = 0; - _qintArray = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readIntListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return QtSupport::fromTQIntValueList(env, &_qintArray); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQStringList _qlist; -static TQString* _qstring_pKey = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring pKey, jchar sep) -{ - TQStringList _qlist; -static TQString* _qstring_pKey = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (char) sep); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jobjectArray aDefault) -{ - TQStringList _qlist; -static TQCString* _qstring_pKey = 0; -static TQStringList* _qlist_aDefault = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readListEntry((const char*) QtSupport::toCharString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, aDefault, &_qlist_aDefault)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2_3Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring pKey, jobjectArray aDefault, jchar sep) -{ - TQStringList _qlist; -static TQCString* _qstring_pKey = 0; -static TQStringList* _qlist_aDefault = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readListEntry((const char*) QtSupport::toCharString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, aDefault, &_qlist_aDefault), (char) sep); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readLongNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readLongNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readLongNumEntry__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pKey, jlong nDefault) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readLongNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (long) nDefault); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readNum64Entry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readNum64Entry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readNum64Entry__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pKey, jlong nDefault) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readNum64Entry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (TQ_INT64) nDefault); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBase_readNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jint xret = (jint) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBase_readNumEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring pKey, jint nDefault) -{ -static TQString* _qstring_pKey = 0; - jint xret = (jint) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (int) nDefault); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readPathEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readPathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEConfigBase_readPathEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jstring aDefault) -{ - TQString _qstring; -static TQString* _qstring_pKey = 0; -static TQString* _qstring_aDefault = 0; - _qstring = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readPathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, aDefault, &_qstring_aDefault)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readPathListEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ - TQStringList _qlist; -static TQString* _qstring_pKey = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readPathListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readPathListEntry__Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring pKey, jchar sep) -{ - TQStringList _qlist; -static TQString* _qstring_pKey = 0; - _qlist = ((TDEConfigBase*) QtSupport::getQt(env, obj))->readPathListEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (char) sep); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readPointEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TDEConfigBase*) QtSupport::getQt(env, obj))->readPointEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readPointEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TDEConfigBase*) QtSupport::getQt(env, obj))->readPointEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQPoint*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQPoint", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readPropertyEntry(JNIEnv* env, jobject obj, jstring pKey, jobject aDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEConfigBase*) QtSupport::getQt(env, obj))->readPropertyEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, aDefault))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readRectEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDEConfigBase*) QtSupport::getQt(env, obj))->readRectEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readRectEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDEConfigBase*) QtSupport::getQt(env, obj))->readRectEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQRect*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readSizeEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEConfigBase*) QtSupport::getQt(env, obj))->readSizeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigBase_readSizeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jstring pKey, jobject pDefault) -{ -static TQString* _qstring_pKey = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEConfigBase*) QtSupport::getQt(env, obj))->readSizeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQSize*) QtSupport::getQt(env, pDefault))), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedLongNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedLongNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedLongNumEntry__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pKey, jlong nDefault) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedLongNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (unsigned long) nDefault); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedNum64Entry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedNum64Entry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedNum64Entry__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pKey, jlong nDefault) -{ -static TQString* _qstring_pKey = 0; - jlong xret = (jlong) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedNum64Entry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (TQ_UINT64) nDefault); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedNumEntry__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey) -{ -static TQString* _qstring_pKey = 0; - jint xret = (jint) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEConfigBase_readUnsignedNumEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring pKey, jint nDefault) -{ -static TQString* _qstring_pKey = 0; - jint xret = (jint) ((TDEConfigBase*) QtSupport::getQt(env, obj))->readUnsignedNumEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (unsigned int) nDefault); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_reparseConfiguration(JNIEnv* env, jobject obj) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->reparseConfiguration(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_revertToDefault(JNIEnv* env, jobject obj, jstring key) -{ -static TQString* _qstring_key = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->revertToDefault((const TQString&)*(TQString*) QtSupport::toTQString(env, key, &_qstring_key)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_rollback__(JNIEnv* env, jobject obj) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->rollback(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_rollback__Z(JNIEnv* env, jobject obj, jboolean bDeep) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->rollback((bool) bDeep); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setDesktopGroup(JNIEnv* env, jobject obj) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setDesktopGroup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setDollarExpansion__(JNIEnv* env, jobject obj) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setDollarExpansion(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setDollarExpansion__Z(JNIEnv* env, jobject obj, jboolean _bExpand) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setDollarExpansion((bool) _bExpand); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setGroup(JNIEnv* env, jobject obj, jstring group) -{ -static TQString* _qstring_group = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setReadDefaults(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setReadDefaults((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_setReadOnly(JNIEnv* env, jobject obj, jboolean _ro) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->setReadOnly((bool) _ro); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_sync(JNIEnv* env, jobject obj) -{ - ((TDEConfigBase*) QtSupport::getQt(env, obj))->sync(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2D(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZ(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZ(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZC(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue, jboolean bPersistent, jboolean bGlobal, jchar format) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue, (bool) bPersistent, (bool) bGlobal, (char) format); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZCI(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue, jboolean bPersistent, jboolean bGlobal, jchar format, jint precision) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue, (bool) bPersistent, (bool) bGlobal, (char) format, (int) precision); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZCIZ(JNIEnv* env, jobject obj, jstring pKey, jdouble nValue, jboolean bPersistent, jboolean bGlobal, jchar format, jint precision, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (double) nValue, (bool) bPersistent, (bool) bGlobal, (char) format, (int) precision, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring pKey, jint nValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (int) nValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring pKey, jint nValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (int) nValue, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZZ(JNIEnv* env, jobject obj, jstring pKey, jint nValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (int) nValue, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZZZ(JNIEnv* env, jobject obj, jstring pKey, jint nValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (int) nValue, (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring pKey, jlong nValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (long) nValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZ(JNIEnv* env, jobject obj, jstring pKey, jlong nValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (long) nValue, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZZ(JNIEnv* env, jobject obj, jstring pKey, jlong nValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (long) nValue, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZZZ(JNIEnv* env, jobject obj, jstring pKey, jlong nValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (long) nValue, (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jstring pValue) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_pValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, pValue, &_qstring_pValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pKey, jstring pValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_pValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, pValue, &_qstring_pValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jstring pValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_pValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, pValue, &_qstring_pValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jstring pValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_pValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, pValue, &_qstring_pValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jstring pKey, jobject rDateTime) -{ -static TQString* _qstring_pKey = 0; -static TQDateTime* _qdate_rDateTime = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, rDateTime, &_qdate_rDateTime)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rDateTime, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQDateTime* _qdate_rDateTime = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, rDateTime, &_qdate_rDateTime), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rDateTime, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQDateTime* _qdate_rDateTime = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, rDateTime, &_qdate_rDateTime), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rDateTime, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQDateTime* _qdate_rDateTime = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, rDateTime, &_qdate_rDateTime), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2(JNIEnv* env, jobject obj, jstring pKey, jobject rColor) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, rColor)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rColor, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, rColor), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rColor, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, rColor), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rColor, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, rColor), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jstring pKey, jobject rFont) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, rFont)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rFont, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, rFont), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rFont, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, rFont), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rFont, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQFont&)*(const TQFont*) QtSupport::getQt(env, rFont), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jstring pKey, jobject rValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, rValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jstring pKey, jobject rValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jstring pKey, jobject rValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, rValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQSize&)*(const TQSize*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2(JNIEnv* env, jobject obj, jstring pKey, jobject rValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2Z(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, rValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jobject rValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, rValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pKey, jboolean bValue) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jboolean bValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bValue, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jboolean bValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bValue, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZZZ(JNIEnv* env, jobject obj, jstring pKey, jboolean bValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (bool) bValue, (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3I(JNIEnv* env, jobject obj, jstring pKey, jintArray rValue) -{ -static TQString* _qstring_pKey = 0; -static TQValueList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQValueList&) QtSupport::toTQIntValueList(env, rValue, &_qlist_rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZ(JNIEnv* env, jobject obj, jstring pKey, jintArray rValue, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQValueList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQValueList&) QtSupport::toTQIntValueList(env, rValue, &_qlist_rValue), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZZ(JNIEnv* env, jobject obj, jstring pKey, jintArray rValue, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQValueList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQValueList&) QtSupport::toTQIntValueList(env, rValue, &_qlist_rValue), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZZZ(JNIEnv* env, jobject obj, jstring pKey, jintArray rValue, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQValueList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQValueList&) QtSupport::toTQIntValueList(env, rValue, &_qlist_rValue), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue) -{ -static TQString* _qstring_pKey = 0; -static TQStrList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, rValue, &_qlist_rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep) -{ -static TQString* _qstring_pKey = 0; -static TQStrList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, rValue, &_qlist_rValue), (char) sep); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQStrList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQStrList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQStrList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writeEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jstring path) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_path = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring pKey, jstring path, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_path = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring pKey, jstring path, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_path = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2ZZZ(JNIEnv* env, jobject obj, jstring pKey, jstring path, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQString* _qstring_path = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQString&)*(TQString*) QtSupport::toTQString(env, path, &_qstring_path), (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue) -{ -static TQString* _qstring_pKey = 0; -static TQStringList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, rValue, &_qlist_rValue)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2C(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep) -{ -static TQString* _qstring_pKey = 0; -static TQStringList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, rValue, &_qlist_rValue), (char) sep); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent) -{ -static TQString* _qstring_pKey = 0; -static TQStringList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent, jboolean bGlobal) -{ -static TQString* _qstring_pKey = 0; -static TQStringList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent, (bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZZ(JNIEnv* env, jobject obj, jstring pKey, jobjectArray rValue, jchar sep, jboolean bPersistent, jboolean bGlobal, jboolean bNLS) -{ -static TQString* _qstring_pKey = 0; -static TQStringList* _qlist_rValue = 0; - ((TDEConfigBase*) QtSupport::getQt(env, obj))->writePathEntry((const TQString&)*(TQString*) QtSupport::toTQString(env, pKey, &_qstring_pKey), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, rValue, &_qlist_rValue), (char) sep, (bool) bPersistent, (bool) bGlobal, (bool) bNLS); - return; -} - diff --git a/kdejava/koala/kdejava/TDEConfigBase.h b/kdejava/koala/kdejava/TDEConfigBase.h deleted file mode 100644 index abfb85d2..00000000 --- a/kdejava/koala/kdejava/TDEConfigBase.h +++ /dev/null @@ -1,162 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfigBase__ -#define __org_kde_koala_TDEConfigBase__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setDesktopGroup (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_group (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_hasGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_groupList (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_locale (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readPropertyEntry (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2_3Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jobjectArray, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readListEntry__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT jintArray JNICALL Java_org_kde_koala_TDEConfigBase_readIntListEntry (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readPathEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readPathEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readPathListEntry__Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jchar); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readPathListEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBase_readNumEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBase_readNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedNumEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readLongNumEntry__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readLongNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedLongNumEntry__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedLongNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readNum64Entry__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readNum64Entry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedNum64Entry__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TDEConfigBase_readUnsignedNum64Entry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDEConfigBase_readDoubleNumEntry__Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jdouble); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDEConfigBase_readDoubleNumEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readFontEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readFontEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_readBoolEntry__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_readBoolEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readRectEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readRectEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readPointEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readPointEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readSizeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readSizeEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readColorEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readColorEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readDateTimeEntry__Ljava_lang_String_2Ljava_util_Calendar_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigBase_readDateTimeEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readEntryUntranslated__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEConfigBase_readEntryUntranslated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QVariant_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jobjectArray, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZZZ (JNIEnv *env, jobject, jstring, jintArray, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZZ (JNIEnv *env, jobject, jstring, jintArray, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3IZ (JNIEnv *env, jobject, jstring, jintArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2_3I (JNIEnv *env, jobject, jstring, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZZZ (JNIEnv *env, jobject, jstring, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZZ (JNIEnv *env, jobject, jstring, jint, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZZZ (JNIEnv *env, jobject, jstring, jlong, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZZ (JNIEnv *env, jobject, jstring, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2JZ (JNIEnv *env, jobject, jstring, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZCIZ (JNIEnv *env, jobject, jstring, jdouble, jboolean, jboolean, jchar, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZCI (JNIEnv *env, jobject, jstring, jdouble, jboolean, jboolean, jchar, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZC (JNIEnv *env, jobject, jstring, jdouble, jboolean, jboolean, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZZ (JNIEnv *env, jobject, jstring, jdouble, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2DZ (JNIEnv *env, jobject, jstring, jdouble, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2D (JNIEnv *env, jobject, jstring, jdouble); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QColor_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Ljava_util_Calendar_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2ZZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writeEntry__Ljava_lang_String_2Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2ZZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2CZ (JNIEnv *env, jobject, jstring, jobjectArray, jchar, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2C (JNIEnv *env, jobject, jstring, jobjectArray, jchar); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_writePathEntry__Ljava_lang_String_2_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_deleteEntry__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_deleteGroup__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setDollarExpansion__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setDollarExpansion__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_isDollarExpansion (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_rollback__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_rollback__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_sync (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_isDirty (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setReadOnly (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_isReadOnly (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_hasKey (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_reparseConfiguration (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_isImmutable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_groupIsImmutable (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_entryIsImmutable (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEConfigBase_getConfigState (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_checkConfigFilesWritable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_setReadDefaults (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_readDefaults (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigBase_revertToDefault (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigBase_hasDefault (JNIEnv *env, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfigBase__ */ diff --git a/kdejava/koala/kdejava/TDEConfigGroup.cpp b/kdejava/koala/kdejava/TDEConfigGroup.cpp deleted file mode 100644 index 3ab3d917..00000000 --- a/kdejava/koala/kdejava/TDEConfigGroup.cpp +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEConfigGroupJBridge : public TDEConfigGroup -{ -public: - TDEConfigGroupJBridge(TDEConfigBase* arg1,const TQCString& arg2) : TDEConfigGroup(arg1,arg2) {}; - void public_sync() { - TDEConfigGroup::sync(); - return; - } - ~TDEConfigGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void sync() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEConfigGroup","sync")) { - TDEConfigGroup::sync(); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void parseConfigFiles() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEConfigGroup","parseConfigFiles")) { - TDEConfigBase::parseConfigFiles(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEConfigGroup",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_deleteGroup__(JNIEnv* env, jobject obj) -{ - ((TDEConfigGroup*) QtSupport::getQt(env, obj))->deleteGroup(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_deleteGroup__Z(JNIEnv* env, jobject obj, jboolean bGlobal) -{ - ((TDEConfigGroup*) QtSupport::getQt(env, obj))->deleteGroup((bool) bGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEConfigGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEConfigGroup*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEConfigGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigGroup_groupIsImmutable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigGroup*) QtSupport::getQt(env, obj))->groupIsImmutable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigGroup_lookupData(JNIEnv* env, jobject obj, jobject _key) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KEntry(((TDEConfigGroup*) QtSupport::getQt(env, obj))->lookupData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key))), "org.kde.koala.KEntry", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_newTDEConfigGroup(JNIEnv* env, jobject obj, jobject master, jstring group) -{ -static TQCString* _qcstring_group = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigGroupJBridge((TDEConfigBase*) QtSupport::getQt(env, master), (const TQCString&)*(TQCString*) QtSupport::toTQCString(env, group, &_qcstring_group))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2(JNIEnv* env, jobject obj, jobject _key, jobject _data) -{ - ((TDEConfigGroup*) QtSupport::getQt(env, obj))->putData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key), (const KEntry&)*(const KEntry*) QtSupport::getQt(env, _data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2Z(JNIEnv* env, jobject obj, jobject _key, jobject _data, jboolean _checkGroup) -{ - ((TDEConfigGroup*) QtSupport::getQt(env, obj))->putData((const KEntryKey&)*(const KEntryKey*) QtSupport::getQt(env, _key), (const KEntry&)*(const KEntry*) QtSupport::getQt(env, _data), (bool) _checkGroup); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_setDirty(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEConfigGroup*) QtSupport::getQt(env, obj))->setDirty((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroup_sync(JNIEnv* env, jobject obj) -{ - ((TDEConfigGroupJBridge*) QtSupport::getQt(env, obj))->public_sync(); - return; -} - diff --git a/kdejava/koala/kdejava/TDEConfigGroup.h b/kdejava/koala/kdejava/TDEConfigGroup.h deleted file mode 100644 index 7c795fa2..00000000 --- a/kdejava/koala/kdejava/TDEConfigGroup.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfigGroup__ -#define __org_kde_koala_TDEConfigGroup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_newTDEConfigGroup (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_deleteGroup__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_deleteGroup__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigGroup_groupIsImmutable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_setDirty (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_putData__Lorg_kde_koala_KEntryKey_2Lorg_kde_koala_KEntry_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigGroup_lookupData (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_sync (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfigGroup__ */ diff --git a/kdejava/koala/kdejava/TDEConfigGroupSaver.cpp b/kdejava/koala/kdejava/TDEConfigGroupSaver.cpp deleted file mode 100644 index 42f01c8c..00000000 --- a/kdejava/koala/kdejava/TDEConfigGroupSaver.cpp +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEConfigGroupSaverJBridge : public TDEConfigGroupSaver -{ -public: - TDEConfigGroupSaverJBridge(TDEConfigBase* arg1,TQString arg2) : TDEConfigGroupSaver(arg1,arg2) {}; - ~TDEConfigGroupSaverJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEConfigGroupSaver_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEConfigGroupSaver*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfigBase"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroupSaver_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEConfigGroupSaver_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroupSaver_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEConfigGroupSaver*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigGroupSaver_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigGroupSaver_newTDEConfigGroupSaver(JNIEnv* env, jobject obj, jobject config, jstring group) -{ -static TQString* _qstring_group = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigGroupSaverJBridge((TDEConfigBase*) QtSupport::getQt(env, config), (TQString)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/TDEConfigGroupSaver.h b/kdejava/koala/kdejava/TDEConfigGroupSaver.h deleted file mode 100644 index 14a06868..00000000 --- a/kdejava/koala/kdejava/TDEConfigGroupSaver.h +++ /dev/null @@ -1,23 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfigGroupSaver__ -#define __org_kde_koala_TDEConfigGroupSaver__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroupSaver_newTDEConfigGroupSaver (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEConfigGroupSaver_config (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroupSaver_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigGroupSaver_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigGroupSaver_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfigGroupSaver__ */ diff --git a/kdejava/koala/kdejava/TDEConfigINIBackEnd.cpp b/kdejava/koala/kdejava/TDEConfigINIBackEnd.cpp deleted file mode 100644 index 2a6136a1..00000000 --- a/kdejava/koala/kdejava/TDEConfigINIBackEnd.cpp +++ /dev/null @@ -1,134 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEConfigINIBackEndJBridge : public TDEConfigINIBackEnd -{ -public: - TDEConfigINIBackEndJBridge(TDEConfigBase* arg1,const TQString& arg2,const char* arg3,bool arg4) : TDEConfigINIBackEnd(arg1,arg2,arg3,arg4) {}; - TDEConfigINIBackEndJBridge(TDEConfigBase* arg1,const TQString& arg2,const char* arg3) : TDEConfigINIBackEnd(arg1,arg2,arg3) {}; - void public_sync() { - TDEConfigINIBackEnd::sync(); - return; - } - void protected_parseSingleConfigFile(TQFile& arg1) { - TDEConfigINIBackEnd::parseSingleConfigFile(arg1); - return; - } - bool protected_writeConfigFile(TQString arg1,bool arg2,bool arg3) { - return (bool) TDEConfigINIBackEnd::writeConfigFile(arg1,arg2,arg3); - } - bool protected_writeConfigFile(TQString arg1,bool arg2) { - return (bool) TDEConfigINIBackEnd::writeConfigFile(arg1,arg2); - } - bool protected_writeConfigFile(TQString arg1) { - return (bool) TDEConfigINIBackEnd::writeConfigFile(arg1); - } - ~TDEConfigINIBackEndJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEConfigINIBackEnd_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEConfigINIBackEnd*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_newTDEConfigINIBackEnd__Lorg_kde_koala_TDEConfigBase_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject _config, jstring _fileName, jstring _resType) -{ -static TQString* _qstring__fileName = 0; -static TQCString* _qstring__resType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigINIBackEndJBridge((TDEConfigBase*) QtSupport::getQt(env, _config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _fileName, &_qstring__fileName), (const char*) QtSupport::toCharString(env, _resType, &_qstring__resType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_newTDEConfigINIBackEnd__Lorg_kde_koala_TDEConfigBase_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject _config, jstring _fileName, jstring _resType, jboolean _useKDEGlobals) -{ -static TQString* _qstring__fileName = 0; -static TQCString* _qstring__resType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEConfigINIBackEndJBridge((TDEConfigBase*) QtSupport::getQt(env, _config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _fileName, &_qstring__fileName), (const char*) QtSupport::toCharString(env, _resType, &_qstring__resType), (bool) _useKDEGlobals)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_parseConfigFiles(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEConfigINIBackEnd*) QtSupport::getQt(env, obj))->parseConfigFiles(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_parseSingleConfigFile(JNIEnv* env, jobject obj, jobject rFile) -{ - ((TDEConfigINIBackEndJBridge*) QtSupport::getQt(env, obj))->protected_parseSingleConfigFile((TQFile&)*(TQFile*) QtSupport::getQt(env, rFile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_sync__(JNIEnv* env, jobject obj) -{ - ((TDEConfigINIBackEndJBridge*) QtSupport::getQt(env, obj))->public_sync(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_sync__Z(JNIEnv* env, jobject obj, jboolean bMerge) -{ - ((TDEConfigINIBackEnd*) QtSupport::getQt(env, obj))->sync((bool) bMerge); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring filename) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((TDEConfigINIBackEndJBridge*) QtSupport::getQt(env, obj))->protected_writeConfigFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring filename, jboolean bGlobal) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((TDEConfigINIBackEndJBridge*) QtSupport::getQt(env, obj))->protected_writeConfigFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) bGlobal); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring filename, jboolean bGlobal, jboolean bMerge) -{ -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) ((TDEConfigINIBackEndJBridge*) QtSupport::getQt(env, obj))->protected_writeConfigFile((TQString)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) bGlobal, (bool) bMerge); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEConfigINIBackEnd.h b/kdejava/koala/kdejava/TDEConfigINIBackEnd.h deleted file mode 100644 index 2e5127dc..00000000 --- a/kdejava/koala/kdejava/TDEConfigINIBackEnd.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEConfigINIBackEnd__ -#define __org_kde_koala_TDEConfigINIBackEnd__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_newTDEConfigINIBackEnd__Lorg_kde_koala_TDEConfigBase_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_newTDEConfigINIBackEnd__Lorg_kde_koala_TDEConfigBase_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_parseConfigFiles (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_sync__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_sync__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_parseSingleConfigFile (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_writeConfigFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEConfigINIBackEnd_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEConfigINIBackEnd__ */ diff --git a/kdejava/koala/kdejava/TDEFontAction.cpp b/kdejava/koala/kdejava/TDEFontAction.cpp deleted file mode 100644 index 93a1eca0..00000000 --- a/kdejava/koala/kdejava/TDEFontAction.cpp +++ /dev/null @@ -1,539 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEFontActionJBridge : public TDEFontAction -{ -public: - TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; - TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEFontAction(arg1,arg2,arg3) {}; - TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEFontAction(arg1,arg2) {}; - TDEFontActionJBridge(const TQString& arg1) : TDEFontAction(arg1) {}; - TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEFontAction(arg1,arg2,arg3) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEFontAction(arg1,arg2) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEFontAction(arg1,arg2,arg3) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2) : TDEFontAction(arg1,arg2) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEFontAction(arg1,arg2,arg3) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2) : TDEFontAction(arg1,arg2) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const TDEShortcut& arg4,TQObject* arg5,const char* arg6) : TDEFontAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const TDEShortcut& arg4,TQObject* arg5) : TDEFontAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3,const TDEShortcut& arg4) : TDEFontAction(arg1,arg2,arg3,arg4) {}; - TDEFontActionJBridge(uint arg1,const TQString& arg2,const TQString& arg3) : TDEFontAction(arg1,arg2,arg3) {}; - TDEFontActionJBridge(TQObject* arg1,const char* arg2) : TDEFontAction(arg1,arg2) {}; - TDEFontActionJBridge(TQObject* arg1) : TDEFontAction(arg1) {}; - TDEFontActionJBridge() : TDEFontAction() {}; - ~TDEFontActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","clear")) { - TDESelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontAction","slotActivated")) { - TDESelectAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEFontAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEFontAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontAction_font(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEFontAction*) QtSupport::getQt(env, obj))->font(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint fontListCriteria, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((uint) fontListCriteria, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__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 TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_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 TDEFontActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject arg1) -{ - jint xret = (jint) ((TDEFontAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject arg1, jint index) -{ - jint xret = (jint) ((TDEFontAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, arg1), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontAction_setFont(JNIEnv* env, jobject obj, jstring family) -{ -static TQString* _qstring_family = 0; - ((TDEFontAction*) QtSupport::getQt(env, obj))->setFont((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEFontAction.h b/kdejava/koala/kdejava/TDEFontAction.h deleted file mode 100644 index 6dedc5b8..00000000 --- a/kdejava/koala/kdejava/TDEFontAction.h +++ /dev/null @@ -1,56 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontAction__ -#define __org_kde_koala_TDEFontAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jint, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ILjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_newTDEFontAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontAction_font (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_setFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontAction__ */ diff --git a/kdejava/koala/kdejava/TDEFontChooser.cpp b/kdejava/koala/kdejava/TDEFontChooser.cpp deleted file mode 100644 index c710c368..00000000 --- a/kdejava/koala/kdejava/TDEFontChooser.cpp +++ /dev/null @@ -1,633 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEFontChooserJBridge : public TDEFontChooser -{ -public: - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6,bool arg7,TQButton::ToggleState* arg8) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6,bool arg7) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5,int arg6) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4,bool arg5) : TDEFontChooser(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3,const TQStringList& arg4) : TDEFontChooser(arg1,arg2,arg3,arg4) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEFontChooser(arg1,arg2,arg3) {}; - TDEFontChooserJBridge(TQWidget* arg1,const char* arg2) : TDEFontChooser(arg1,arg2) {}; - TDEFontChooserJBridge(TQWidget* arg1) : TDEFontChooser(arg1) {}; - TDEFontChooserJBridge() : TDEFontChooser() {}; - ~TDEFontChooserJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.TDEFontChooser","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontChooser",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontChooser","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontChooser_backgroundColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEFontChooser*) QtSupport::getQt(env, obj))->backgroundColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontChooser_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontChooser*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontChooser_color(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEFontChooser*) QtSupport::getQt(env, obj))->color()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontChooser_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_enableColumn(JNIEnv* env, jobject obj, jint column, jboolean state) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->enableColumn((int) column, (bool) state); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontChooser*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEFontChooser*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontChooser_fontDiffFlags(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEFontChooser*) QtSupport::getQt(env, obj))->fontDiffFlags(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontChooser_font(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEFontChooser*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_getFontList(JNIEnv* env, jclass cls, jobjectArray list, jint fontListCriteria) -{ - (void) cls; -static TQStringList* _qlist_list = 0; - TDEFontChooserJBridge::getFontList((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (uint) fontListCriteria); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontChooser_getXLFD(JNIEnv* env, jclass cls, jobject theFont) -{ - TQString _qstring; - (void) cls; - _qstring = TDEFontChooserJBridge::getXLFD((const TQFont&)*(const TQFont*) QtSupport::getQt(env, theFont)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontChooser_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontChooser_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontChooser*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__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 TDEFontChooserJBridge((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_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontList = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontList = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontList = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize, jboolean diff) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontList = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize, (bool) diff)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jobjectArray fontList, jboolean makeFrame, jint visibleListSize, jboolean diff, jint sizeIsRelativeState) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontList = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontChooserJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontList, &_qlist_fontList), (bool) makeFrame, (int) visibleListSize, (bool) diff, (TQButton::ToggleState*) sizeIsRelativeState)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontChooser_sampleText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEFontChooser*) QtSupport::getQt(env, obj))->sampleText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setBackgroundColor(JNIEnv* env, jobject obj, jobject col) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setColor(JNIEnv* env, jobject obj, jobject col) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, col)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setSampleBoxVisible(JNIEnv* env, jobject obj, jboolean visible) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setSampleBoxVisible((bool) visible); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setSampleText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setSampleText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontChooser_setSizeIsRelative(JNIEnv* env, jobject obj, jint relative) -{ - ((TDEFontChooser*) QtSupport::getQt(env, obj))->setSizeIsRelative((TQButton::ToggleState) relative); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontChooser_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEFontChooser*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontChooser_sizeIsRelative(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEFontChooser*) QtSupport::getQt(env, obj))->sizeIsRelative(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEFontChooser.h b/kdejava/koala/kdejava/TDEFontChooser.h deleted file mode 100644 index b7bd13d9..00000000 --- a/kdejava/koala/kdejava/TDEFontChooser.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontChooser__ -#define __org_kde_koala_TDEFontChooser__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontChooser_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZIZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2ZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_newTDEFontChooser__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_enableColumn (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontChooser_fontDiffFlags (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_font (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_color (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setBackgroundColor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_backgroundColor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setSizeIsRelative (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontChooser_sizeIsRelative (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontChooser_sampleText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setSampleText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_setSampleBoxVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontChooser_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontChooser_getXLFD (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_getFontList (JNIEnv *env, jclass, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontChooser_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontChooser_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontChooser__ */ diff --git a/kdejava/koala/kdejava/TDEFontCombo.cpp b/kdejava/koala/kdejava/TDEFontCombo.cpp deleted file mode 100644 index 0b5e46dd..00000000 --- a/kdejava/koala/kdejava/TDEFontCombo.cpp +++ /dev/null @@ -1,585 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEFontComboJBridge : public TDEFontCombo -{ -public: - TDEFontComboJBridge(TQWidget* arg1,const char* arg2) : TDEFontCombo(arg1,arg2) {}; - TDEFontComboJBridge(TQWidget* arg1) : TDEFontCombo(arg1) {}; - TDEFontComboJBridge(const TQStringList& arg1,TQWidget* arg2,const char* arg3) : TDEFontCombo(arg1,arg2,arg3) {}; - TDEFontComboJBridge(const TQStringList& arg1,TQWidget* arg2) : TDEFontCombo(arg1,arg2) {}; - void protected_updateFonts() { - TDEFontCombo::updateFonts(); - return; - } - void protected_slotModified(int arg1) { - TDEFontCombo::slotModified(arg1); - return; - } - ~TDEFontComboJBridge() {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 setValidator(const TQValidator* arg1) { - if (!QtSupport::eventDelegate(this,"setValidator",(void*)arg1,"org.kde.qt.TQValidator")) { - TQComboBox::setValidator(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQComboBox::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setListBox(TQListBox* arg1) { - if (!QtSupport::eventDelegate(this,"setListBox",(void*)arg1,"org.kde.qt.TQListBox")) { - TQComboBox::setListBox(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQComboBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQComboBox::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.TDEFontCombo","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQComboBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mousePressEvent(arg1); - } - return; - } - void popup() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","popup")) { - TQComboBox::popup(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQComboBox::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - KComboBox::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQComboBox::focusInEvent(arg1); - } - return; - } - void tabletEvent(TQTabletEvent* arg1) { - if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.kde.qt.TQTabletEvent")) { - TQWidget::tabletEvent(arg1); - } - return; - } - void setLineEdit(TQLineEdit* arg1) { - if (!QtSupport::eventDelegate(this,"setLineEdit",(void*)arg1,"org.kde.qt.TQLineEdit")) { - KComboBox::setLineEdit(arg1); - } - return; - } - void keyReleaseEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontCombo",object,event)) { - return KComboBox::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontCombo","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_bold(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->bold(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontCombo_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontCombo*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontCombo_currentFont(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEFontCombo*) QtSupport::getQt(env, obj))->currentFont(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_displayFonts(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEFontComboJBridge::displayFonts(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontCombo_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontCombo*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEFontCombo*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_italic(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->italic(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontCombo_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontCombo*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontComboJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__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 TDEFontComboJBridge((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_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobjectArray fonts, jobject parent) -{ -static TQStringList* _qlist_fonts = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontComboJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray fonts, jobject parent, jstring name) -{ -static TQStringList* _qlist_fonts = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontComboJBridge((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts), (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontCombo_pointSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEFontCombo*) QtSupport::getQt(env, obj))->size(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setBold(JNIEnv* env, jobject obj, jboolean bold) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setBold((bool) bold); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setCurrentFont(JNIEnv* env, jobject obj, jstring family) -{ -static TQString* _qstring_family = 0; - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setCurrentFont((const TQString&)*(TQString*) QtSupport::toTQString(env, family, &_qstring_family)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setCurrentItem(JNIEnv* env, jobject obj, jint i) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setCurrentItem((int) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setFonts(JNIEnv* env, jobject obj, jobjectArray fonts) -{ -static TQStringList* _qlist_fonts = 0; - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setFonts((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fonts, &_qlist_fonts)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setItalic(JNIEnv* env, jobject obj, jboolean italic) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setItalic((bool) italic); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setSize(JNIEnv* env, jobject obj, jint size) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setStrikeOut(JNIEnv* env, jobject obj, jboolean strikeOut) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setStrikeOut((bool) strikeOut); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_setUnderline(JNIEnv* env, jobject obj, jboolean underline) -{ - ((TDEFontCombo*) QtSupport::getQt(env, obj))->setUnderline((bool) underline); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_slotModified(JNIEnv* env, jobject obj, jint i) -{ - ((TDEFontComboJBridge*) QtSupport::getQt(env, obj))->protected_slotModified((int) i); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_strikeOut(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->strikeOut(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontCombo_underline(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEFontCombo*) QtSupport::getQt(env, obj))->underline(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontCombo_updateFonts(JNIEnv* env, jobject obj) -{ - ((TDEFontComboJBridge*) QtSupport::getQt(env, obj))->protected_updateFonts(); - return; -} - diff --git a/kdejava/koala/kdejava/TDEFontCombo.h b/kdejava/koala/kdejava/TDEFontCombo.h deleted file mode 100644 index 28b850de..00000000 --- a/kdejava/koala/kdejava/TDEFontCombo.h +++ /dev/null @@ -1,44 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontCombo__ -#define __org_kde_koala_TDEFontCombo__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontCombo_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontCombo_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_newTDEFontCombo___3Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setFonts (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setCurrentFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontCombo_currentFont (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setBold (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_bold (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setItalic (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_italic (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setUnderline (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_underline (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setStrikeOut (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_strikeOut (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontCombo_pointSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_setCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_displayFonts (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_updateFonts (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_slotModified (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontCombo_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontCombo_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontCombo__ */ diff --git a/kdejava/koala/kdejava/TDEFontDialog.cpp b/kdejava/koala/kdejava/TDEFontDialog.cpp deleted file mode 100644 index 823cacec..00000000 --- a/kdejava/koala/kdejava/TDEFontDialog.cpp +++ /dev/null @@ -1,751 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEFontDialogJBridge : public TDEFontDialog -{ -public: - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6,bool arg7,TQButton::ToggleState* arg8) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6,bool arg7) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5,bool arg6) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4,const TQStringList& arg5) : TDEFontDialog(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4) : TDEFontDialog(arg1,arg2,arg3,arg4) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEFontDialog(arg1,arg2,arg3) {}; - TDEFontDialogJBridge(TQWidget* arg1,const char* arg2) : TDEFontDialog(arg1,arg2) {}; - TDEFontDialogJBridge(TQWidget* arg1) : TDEFontDialog(arg1) {}; - TDEFontDialogJBridge() : TDEFontDialog() {}; - ~TDEFontDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.TDEFontDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotOk() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotOk")) { - KDialogBase::slotOk(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEFontDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontDialog_font(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEFontDialog*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject theFont, jobject theString) -{ - (void) cls; -static TQString* _qstring_theString = 0; - jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2Z(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed) -{ - (void) cls; -static TQString* _qstring_theString = 0; - jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed); - QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent) -{ - (void) cls; -static TQString* _qstring_theString = 0; - jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent, jboolean makeFrame) -{ - (void) cls; -static TQString* _qstring_theString = 0; - jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); - QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jobject theString, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) -{ - (void) cls; -static TQString* _qstring_theString = 0; - jint xret = (jint) TDEFontDialogJBridge::getFontAndText((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, theString, &_qstring_theString), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); - QtSupport::fromTQStringToStringBuffer(env, _qstring_theString, theString); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3I(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags) -{ - (void) cls; - int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags); - env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZ(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed) -{ - (void) cls; - int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed); - env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent) -{ - (void) cls; - int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); - env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent, jboolean makeFrame) -{ - (void) cls; - int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); - env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jintArray diffFlags, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) -{ - (void) cls; - int* _int_diffFlags = QtSupport::toIntPtr(env, diffFlags); - jint xret = (jint) TDEFontDialogJBridge::getFontDiff((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (int&) *_int_diffFlags, (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); - env->SetIntArrayRegion(diffFlags, 0, 1, (jint *) _int_diffFlags); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jclass cls, jobject theFont) -{ - (void) cls; - jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed) -{ - (void) cls; - jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent) -{ - (void) cls; - jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent, jboolean makeFrame) -{ - (void) cls; - jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2ZI(JNIEnv* env, jclass cls, jobject theFont, jboolean onlyFixed, jobject parent, jboolean makeFrame, jint sizeIsRelativeState) -{ - (void) cls; - jint xret = (jint) TDEFontDialogJBridge::getFont((TQFont&)*(TQFont*) QtSupport::getQt(env, theFont), (bool) onlyFixed, (TQWidget*) QtSupport::getQt(env, parent), (bool) makeFrame, (TQButton::ToggleState*) sizeIsRelativeState); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__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 TDEFontDialogJBridge((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_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontlist = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontlist = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame, jboolean diff) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontlist = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame, (bool) diff)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZI(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed, jboolean modal, jobjectArray fontlist, jboolean makeFrame, jboolean diff, jint sizeIsRelativeState) -{ -static TQCString* _qstring_name = 0; -static TQStringList* _qlist_fontlist = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed, (bool) modal, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, fontlist, &_qlist_fontlist), (bool) makeFrame, (bool) diff, (TQButton::ToggleState*) sizeIsRelativeState)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) -{ - ((TDEFontDialog*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) -{ - ((TDEFontDialog*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontDialog_setSizeIsRelative(JNIEnv* env, jobject obj, jint relative) -{ - ((TDEFontDialog*) QtSupport::getQt(env, obj))->setSizeIsRelative((TQButton::ToggleState) relative); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontDialog_sizeIsRelative(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEFontDialog*) QtSupport::getQt(env, obj))->sizeIsRelative(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEFontDialog.h b/kdejava/koala/kdejava/TDEFontDialog.h deleted file mode 100644 index c74783c1..00000000 --- a/kdejava/koala/kdejava/TDEFontDialog.h +++ /dev/null @@ -1,52 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontDialog__ -#define __org_kde_koala_TDEFontDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZI (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_newTDEFontDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontDialog_font (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_setSizeIsRelative (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_sizeIsRelative (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jintArray, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3IZ (JNIEnv *env, jclass, jobject, jintArray, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontDiff__Lorg_kde_qt_QFont_2_3I (JNIEnv *env, jclass, jobject, jintArray); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2ZI (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject, jboolean, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2ZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jboolean, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontDialog_getFontAndText__Lorg_kde_qt_QFont_2Ljava_lang_StringBuffer_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontDialog__ */ diff --git a/kdejava/koala/kdejava/TDEFontRequester.cpp b/kdejava/koala/kdejava/TDEFontRequester.cpp deleted file mode 100644 index 1b2d6214..00000000 --- a/kdejava/koala/kdejava/TDEFontRequester.cpp +++ /dev/null @@ -1,558 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEFontRequesterJBridge : public TDEFontRequester -{ -public: - TDEFontRequesterJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEFontRequester(arg1,arg2,arg3) {}; - TDEFontRequesterJBridge(TQWidget* arg1,const char* arg2) : TDEFontRequester(arg1,arg2) {}; - TDEFontRequesterJBridge(TQWidget* arg1) : TDEFontRequester(arg1) {}; - TDEFontRequesterJBridge() : TDEFontRequester() {}; - void protected_displaySampleText() { - TDEFontRequester::displaySampleText(); - return; - } - void protected_setToolTip() { - TDEFontRequester::setToolTip(); - return; - } - void protected_buttonClicked() { - TDEFontRequester::buttonClicked(); - return; - } - ~TDEFontRequesterJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","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 buttonClicked() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","buttonClicked")) { - TDEFontRequester::buttonClicked(); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.TDEFontRequester","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontRequester",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontRequester","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_buttonClicked(JNIEnv* env, jobject obj) -{ - ((TDEFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_buttonClicked(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontRequester_button(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontRequester*) QtSupport::getQt(env, obj))->button(), "org.kde.qt.TQPushButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontRequester_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontRequester*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_displaySampleText(JNIEnv* env, jobject obj) -{ - ((TDEFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_displaySampleText(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontRequester_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEFontRequester*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEFontRequester*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontRequester_font(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TDEFontRequester*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontRequester_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontRequester_isFixedOnly(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEFontRequester*) QtSupport::getQt(env, obj))->isFixedOnly(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontRequester_label(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontRequester*) QtSupport::getQt(env, obj))->label(), "org.kde.qt.TQLabel"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontRequester_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontRequester*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontRequesterJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__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 TDEFontRequesterJBridge((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_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean onlyFixed) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontRequesterJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) onlyFixed)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontRequester_sampleText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEFontRequester*) QtSupport::getQt(env, obj))->sampleText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2(JNIEnv* env, jobject obj, jobject font) -{ - ((TDEFontRequester*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject font, jboolean onlyFixed) -{ - ((TDEFontRequester*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, font), (bool) onlyFixed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_setSampleText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEFontRequester*) QtSupport::getQt(env, obj))->setSampleText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_setTitle(JNIEnv* env, jobject obj, jstring title) -{ -static TQString* _qstring_title = 0; - ((TDEFontRequester*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, title, &_qstring_title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontRequester_setToolTip(JNIEnv* env, jobject obj) -{ - ((TDEFontRequesterJBridge*) QtSupport::getQt(env, obj))->protected_setToolTip(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontRequester_title(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEFontRequester*) QtSupport::getQt(env, obj))->title(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEFontRequester.h b/kdejava/koala/kdejava/TDEFontRequester.h deleted file mode 100644 index 91ad40b8..00000000 --- a/kdejava/koala/kdejava/TDEFontRequester.h +++ /dev/null @@ -1,40 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontRequester__ -#define __org_kde_koala_TDEFontRequester__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontRequester_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_newTDEFontRequester__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_font (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontRequester_isFixedOnly (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontRequester_sampleText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontRequester_title (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_label (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontRequester_button (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setFont__Lorg_kde_qt_QFont_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setSampleText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_displaySampleText (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_setToolTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_buttonClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontRequester_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontRequester_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontRequester__ */ diff --git a/kdejava/koala/kdejava/TDEFontSizeAction.cpp b/kdejava/koala/kdejava/TDEFontSizeAction.cpp deleted file mode 100644 index 13f978de..00000000 --- a/kdejava/koala/kdejava/TDEFontSizeAction.cpp +++ /dev/null @@ -1,455 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEFontSizeActionJBridge : public TDEFontSizeAction -{ -public: - TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEFontSizeAction(arg1,arg2,arg3,arg4) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEFontSizeAction(arg1,arg2,arg3) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEFontSizeAction(arg1,arg2) {}; - TDEFontSizeActionJBridge(const TQString& arg1) : TDEFontSizeAction(arg1) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontSizeAction(arg1,arg2,arg3,arg4) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEFontSizeAction(arg1,arg2,arg3) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEFontSizeAction(arg1,arg2) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEFontSizeAction(arg1,arg2,arg3,arg4) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEFontSizeAction(arg1,arg2,arg3) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2) : TDEFontSizeAction(arg1,arg2) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEFontSizeActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEFontSizeAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEFontSizeActionJBridge(TQObject* arg1,const char* arg2) : TDEFontSizeAction(arg1,arg2) {}; - TDEFontSizeActionJBridge(TQObject* arg1) : TDEFontSizeAction(arg1) {}; - TDEFontSizeActionJBridge() : TDEFontSizeAction() {}; - void protected_slotActivated(int arg1) { - TDEFontSizeAction::slotActivated(arg1); - return; - } - void protected_slotActivated(const TQString& arg1) { - TDEFontSizeAction::slotActivated(arg1); - return; - } - void protected_slotActivated() { - TDEFontSizeAction::slotActivated(); - return; - } - ~TDEFontSizeActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","clear")) { - TDESelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEFontSizeAction","slotActivated")) { - TDEFontSizeAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEFontSizeAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEFontSizeAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEFontSizeAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEFontSizeAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEFontSizeAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEFontSizeAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEFontSizeAction_fontSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEFontSizeAction*) QtSupport::getQt(env, obj))->fontSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEFontSizeAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEFontSizeAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEFontSizeAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__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 TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEFontSizeActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_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 TDEFontSizeActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_setFontSize(JNIEnv* env, jobject obj, jint size) -{ - ((TDEFontSizeAction*) QtSupport::getQt(env, obj))->setFontSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_slotActivated__(JNIEnv* env, jobject obj) -{ - ((TDEFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_slotActivated__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEFontSizeAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDEFontSizeActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEFontSizeAction.h b/kdejava/koala/kdejava/TDEFontSizeAction.h deleted file mode 100644 index 4ee30794..00000000 --- a/kdejava/koala/kdejava/TDEFontSizeAction.h +++ /dev/null @@ -1,49 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEFontSizeAction__ -#define __org_kde_koala_TDEFontSizeAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEFontSizeAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEFontSizeAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_newTDEFontSizeAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEFontSizeAction_fontSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_setFontSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_slotActivated__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_slotActivated__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEFontSizeAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEFontSizeAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEFontSizeAction__ */ diff --git a/kdejava/koala/kdejava/TDEGlobal.cpp b/kdejava/koala/kdejava/TDEGlobal.cpp deleted file mode 100644 index 52f536a1..00000000 --- a/kdejava/koala/kdejava/TDEGlobal.cpp +++ /dev/null @@ -1,155 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class TDEGlobalJBridge : public TDEGlobal -{ -public: - TDEGlobalJBridge() : TDEGlobal() {}; - ~TDEGlobalJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_activeInstance(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::activeInstance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_charsets(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::charsets(), "org.kde.koala.KCharsets"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_config(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_deleteStaticDeleters(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEGlobalJBridge::deleteStaticDeleters(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_dirs(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::dirs(), "org.kde.koala.TDEStandardDirs"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEGlobal_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEGlobal*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_iconLoader(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::iconLoader(), "org.kde.koala.TDEIconLoader"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_instance(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobal_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_locale(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::locale(), "org.kde.koala.TDELocale"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_newTDEGlobal(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEGlobalJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_registerStaticDeleter(JNIEnv* env, jclass cls, jobject d) -{ - (void) cls; - TDEGlobalJBridge::registerStaticDeleter((KStaticDeleterBase*) QtSupport::getQt(env, d)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_setActiveInstance(JNIEnv* env, jclass cls, jobject d) -{ - (void) cls; - TDEGlobalJBridge::setActiveInstance((TDEInstance*) QtSupport::getQt(env, d)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobal_sharedConfig(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEGlobalJBridge::sharedConfig(), "org.kde.koala.TDESharedConfig"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobal_staticQString(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_str = 0; - _qstring = TDEGlobalJBridge::staticQString((const char*) QtSupport::toCharString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobal_unregisterStaticDeleter(JNIEnv* env, jclass cls, jobject d) -{ - (void) cls; - TDEGlobalJBridge::unregisterStaticDeleter((KStaticDeleterBase*) QtSupport::getQt(env, d)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEGlobal.h b/kdejava/koala/kdejava/TDEGlobal.h deleted file mode 100644 index 299715d1..00000000 --- a/kdejava/koala/kdejava/TDEGlobal.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEGlobal__ -#define __org_kde_koala_TDEGlobal__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_newTDEGlobal (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_instance (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_dirs (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_config (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_sharedConfig (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_iconLoader (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_locale (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_charsets (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobal_staticQString (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_registerStaticDeleter (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_unregisterStaticDeleter (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_deleteStaticDeleters (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_setActiveInstance (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobal_activeInstance (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobal_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobal_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEGlobal__ */ diff --git a/kdejava/koala/kdejava/TDEGlobalAccel.cpp b/kdejava/koala/kdejava/TDEGlobalAccel.cpp deleted file mode 100644 index 38d55158..00000000 --- a/kdejava/koala/kdejava/TDEGlobalAccel.cpp +++ /dev/null @@ -1,291 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEGlobalAccelJBridge : public TDEGlobalAccel -{ -public: - TDEGlobalAccelJBridge(TQObject* arg1,const char* arg2) : TDEGlobalAccel(arg1,arg2) {}; - TDEGlobalAccelJBridge(TQObject* arg1) : TDEGlobalAccel(arg1) {}; - ~TDEGlobalAccelJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEGlobalAccel",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_blockShortcuts(JNIEnv* env, jclass cls, jboolean block) -{ - (void) cls; - (void) env; - TDEGlobalAccelJBridge::blockShortcuts((bool) block); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalAccel_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalAccel_configGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->configGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_disableBlocking(JNIEnv* env, jobject obj, jboolean disable) -{ - ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->disableBlocking((bool) disable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEGlobalAccel_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEGlobalAccel*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEGlobalAccel*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sName, jstring sLabel) -{ -static TQString* _qstring_sName = 0; -static TQString* _qstring_sLabel = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel)), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring sAction, jstring sLabel, jstring sWhatsThis, jobject cutDef3, jobject cutDef4, jobject pObjSlot, jstring psMethodSlot, jboolean bConfigurable, jboolean bEnabled) -{ -static TQString* _qstring_sAction = 0; -static TQString* _qstring_sLabel = 0; -static TQString* _qstring_sWhatsThis = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->insert((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQString&)*(TQString*) QtSupport::toTQString(env, sLabel, &_qstring_sLabel), (const TQString&)*(TQString*) QtSupport::toTQString(env, sWhatsThis, &_qstring_sWhatsThis), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef3), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cutDef4), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()", (bool) bConfigurable, (bool) bEnabled), "org.kde.koala.TDEAccelAction"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_isEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->isEnabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalAccel_label(JNIEnv* env, jobject obj, jstring sAction) -{ - TQString _qstring; -static TQString* _qstring_sAction = 0; - _qstring = ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->label((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEGlobalAccel*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject pParent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEGlobalAccelJBridge((TQObject*) QtSupport::getQt(env, pParent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pParent, jstring psName) -{ -static TQCString* _qstring_psName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEGlobalAccelJBridge((TQObject*) QtSupport::getQt(env, pParent), (const char*) QtSupport::toCharString(env, psName, &_qstring_psName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_readSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->readSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->readSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_remove(JNIEnv* env, jobject obj, jstring sAction) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->remove((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_setActionEnabled(JNIEnv* env, jobject obj, jstring sAction, jboolean bEnable) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setActionEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (bool) bEnable); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalAccel_setConfigGroup(JNIEnv* env, jobject obj, jstring cg) -{ -static TQString* _qstring_cg = 0; - ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setConfigGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, cg, &_qstring_cg)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_setShortcut(JNIEnv* env, jobject obj, jstring sAction, jobject shortcut) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setShortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_setSlot(JNIEnv* env, jobject obj, jstring sAction, jobject pObjSlot, jstring psMethodSlot) -{ -static TQString* _qstring_sAction = 0; - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->setSlot((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction), (const TQObject*) QtSupport::slotForReceiver(env, pObjSlot, psMethodSlot), "1invoke()"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalAccel_shortcut(JNIEnv* env, jobject obj, jstring sAction) -{ -static TQString* _qstring_sAction = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEGlobalAccel*) QtSupport::getQt(env, obj))->shortcut((const TQString&)*(TQString*) QtSupport::toTQString(env, sAction, &_qstring_sAction)), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_updateConnections(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->updateConnections(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_useFourModifierKeys(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalAccelJBridge::useFourModifierKeys(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_writeSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jobject pConfig) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2Z(JNIEnv* env, jobject obj, jobject pConfig, jboolean bGlobal) -{ - jboolean xret = (jboolean) ((TDEGlobalAccel*) QtSupport::getQt(env, obj))->writeSettings((TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bGlobal); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEGlobalAccel.h b/kdejava/koala/kdejava/TDEGlobalAccel.h deleted file mode 100644 index 5ec63286..00000000 --- a/kdejava/koala/kdejava/TDEGlobalAccel.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEGlobalAccel__ -#define __org_kde_koala_TDEGlobalAccel__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalAccel_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_newTDEGlobalAccel__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_isEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_remove (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_insert__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_updateConnections (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalAccel_shortcut (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_setShortcut (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_setSlot (JNIEnv *env, jobject, jstring, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_setActionEnabled (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalAccel_label (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalAccel_configGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_setConfigGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_readSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_readSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_writeSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_writeSettings__Lorg_kde_koala_TDEConfigBase_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_disableBlocking (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_useFourModifierKeys (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_blockShortcuts (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalAccel_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalAccel_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEGlobalAccel__ */ diff --git a/kdejava/koala/kdejava/TDEGlobalSettings.cpp b/kdejava/koala/kdejava/TDEGlobalSettings.cpp deleted file mode 100644 index 35f2864f..00000000 --- a/kdejava/koala/kdejava/TDEGlobalSettings.cpp +++ /dev/null @@ -1,459 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEGlobalSettingsJBridge : public TDEGlobalSettings -{ -public: - TDEGlobalSettingsJBridge() : TDEGlobalSettings() {}; - ~TDEGlobalSettingsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_activeTextColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::activeTextColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_activeTitleColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::activeTitleColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_alternateBackgroundColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::alternateBackgroundColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_autoSelectDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::autoSelectDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalSettings_autostartPath(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEGlobalSettingsJBridge::autostartPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_baseColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::baseColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_buttonBackground(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::buttonBackground()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_buttonLayout(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::buttonLayout(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_buttonTextColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::buttonTextColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_calculateAlternateBackgroundColor(JNIEnv* env, jclass cls, jobject base) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::calculateAlternateBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, base))), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_changeCursorOverIcon(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::changeCursorOverIcon(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_completionMode(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::completionMode(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_contextMenuKey(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::contextMenuKey(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_contrast(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::contrast(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QPoint_2(JNIEnv* env, jclass cls, jobject point) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TDEGlobalSettingsJBridge::desktopGeometry((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject w) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TDEGlobalSettingsJBridge::desktopGeometry((TQWidget*) QtSupport::getQt(env, w))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalSettings_desktopPath(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEGlobalSettingsJBridge::desktopPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalSettings_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEGlobalSettings_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_dndEventDelay(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::dndEventDelay(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalSettings_documentPath(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEGlobalSettingsJBridge::documentPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalSettings_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEGlobalSettings*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_fixedFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::fixedFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_generalFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::generalFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_highlightColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::highlightColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_highlightedTextColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::highlightedTextColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_inactiveTextColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::inactiveTextColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_inactiveTitleColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::inactiveTitleColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_insertTearOffHandle(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::insertTearOffHandle(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_isMultiHead(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::isMultiHead(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_largeFont__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::largeFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_largeFont__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring text) -{ - (void) cls; -static TQString* _qstring_text = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::largeFont((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_linkColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::linkColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_menuFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::menuFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEGlobalSettings_newTDEGlobalSettings(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEGlobalSettingsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_opaqueResize(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::opaqueResize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_shadeSortColumn(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::shadeSortColumn(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_showContextMenusOnPress(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::showContextMenusOnPress(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_showFilePreview(JNIEnv* env, jclass cls, jobject arg1) -{ - (void) cls; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::showFilePreview((const KURL&)*(const KURL*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_showIconsOnPushButtons(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::showIconsOnPushButtons(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_singleClick(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::singleClick(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_splashScreenDesktopGeometry(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(TDEGlobalSettingsJBridge::splashScreenDesktopGeometry()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_taskbarFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::taskbarFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_textColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::textColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_toolBarFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::toolBarFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_toolBarHighlightColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::toolBarHighlightColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEGlobalSettings_trashPath(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEGlobalSettingsJBridge::trashPath(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_visitedLinkColor(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(TDEGlobalSettingsJBridge::visitedLinkColor()), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEGlobalSettings_visualActivateSpeed(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEGlobalSettingsJBridge::visualActivateSpeed(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_visualActivate(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::visualActivate(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEGlobalSettings_wheelMouseZooms(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEGlobalSettingsJBridge::wheelMouseZooms(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEGlobalSettings_windowTitleFont(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(TDEGlobalSettingsJBridge::windowTitleFont()), "org.kde.qt.TQFont", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEGlobalSettings.h b/kdejava/koala/kdejava/TDEGlobalSettings.h deleted file mode 100644 index 2c2dc2cd..00000000 --- a/kdejava/koala/kdejava/TDEGlobalSettings.h +++ /dev/null @@ -1,70 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEGlobalSettings__ -#define __org_kde_koala_TDEGlobalSettings__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalSettings_newTDEGlobalSettings (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_dndEventDelay (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_singleClick (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_insertTearOffHandle (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_changeCursorOverIcon (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_visualActivate (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_visualActivateSpeed (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_autoSelectDelay (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_contextMenuKey (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_showContextMenusOnPress (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_completionMode (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_desktopPath (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_autostartPath (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_trashPath (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEGlobalSettings_documentPath (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_toolBarHighlightColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_inactiveTitleColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_inactiveTextColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_activeTitleColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_activeTextColor (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_contrast (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_buttonBackground (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_buttonTextColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_baseColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_textColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_linkColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_visitedLinkColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_highlightedTextColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_highlightColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_alternateBackgroundColor (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_calculateAlternateBackgroundColor (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_shadeSortColumn (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_generalFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_fixedFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_toolBarFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_menuFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_windowTitleFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_taskbarFont (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_largeFont__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_largeFont__ (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_isMultiHead (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_wheelMouseZooms (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_splashScreenDesktopGeometry (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEGlobalSettings_desktopGeometry__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_showIconsOnPushButtons (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_showFilePreview (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_opaqueResize (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEGlobalSettings_buttonLayout (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalSettings_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEGlobalSettings_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEGlobalSettings_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEGlobalSettings__ */ diff --git a/kdejava/koala/kdejava/TDEHTMLPart.cpp b/kdejava/koala/kdejava/TDEHTMLPart.cpp deleted file mode 100644 index 7184f044..00000000 --- a/kdejava/koala/kdejava/TDEHTMLPart.cpp +++ /dev/null @@ -1,1364 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEHTMLPartJBridge : public TDEHTMLPart -{ -public: - TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4,TDEHTMLPart::GUIProfile arg5) : TDEHTMLPart(arg1,arg2,arg3,arg4,arg5) {}; - TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4) : TDEHTMLPart(arg1,arg2,arg3,arg4) {}; - TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2,TQObject* arg3) : TDEHTMLPart(arg1,arg2,arg3) {}; - TDEHTMLPartJBridge(TQWidget* arg1,const char* arg2) : TDEHTMLPart(arg1,arg2) {}; - TDEHTMLPartJBridge(TQWidget* arg1) : TDEHTMLPart(arg1) {}; - TDEHTMLPartJBridge() : TDEHTMLPart() {}; - TDEHTMLPartJBridge(TDEHTMLView* arg1,TQObject* arg2,const char* arg3,TDEHTMLPart::GUIProfile arg4) : TDEHTMLPart(arg1,arg2,arg3,arg4) {}; - TDEHTMLPartJBridge(TDEHTMLView* arg1,TQObject* arg2,const char* arg3) : TDEHTMLPart(arg1,arg2,arg3) {}; - TDEHTMLPartJBridge(TDEHTMLView* arg1,TQObject* arg2) : TDEHTMLPart(arg1,arg2) {}; - TDEHTMLPartJBridge(TDEHTMLView* arg1) : TDEHTMLPart(arg1) {}; - void public_begin() { - TDEHTMLPart::begin(); - return; - } - void public_end() { - TDEHTMLPart::end(); - return; - } - KURL protected_completeURL(const TQString& arg1) { - return (KURL) TDEHTMLPart::completeURL(arg1); - } - void protected_htmlError(int arg1,const TQString& arg2,const KURL& arg3) { - TDEHTMLPart::htmlError(arg1,arg2,arg3); - return; - } - void protected_customEvent(TQCustomEvent* arg1) { - TDEHTMLPart::customEvent(arg1); - return; - } - void protected_guiActivateEvent(KParts::GUIActivateEvent* arg1) { - TDEHTMLPart::guiActivateEvent(arg1); - return; - } - bool protected_openFile() { - return (bool) TDEHTMLPart::openFile(); - } - void protected_urlSelected(const TQString& arg1,int arg2,int arg3,const TQString& arg4,KParts::URLArgs arg5) { - TDEHTMLPart::urlSelected(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_urlSelected(const TQString& arg1,int arg2,int arg3,const TQString& arg4) { - TDEHTMLPart::urlSelected(arg1,arg2,arg3,arg4); - return; - } - KParts::ReadOnlyPart* protected_createPart(TQWidget* arg1,const char* arg2,TQObject* arg3,const char* arg4,const TQString& arg5,TQString& arg6,TQStringList& arg7,const TQStringList& arg8) { - return (KParts::ReadOnlyPart*) TDEHTMLPart::createPart(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); - } - bool protected_pluginPageQuestionAsked(const TQString& arg1) { - return (bool) TDEHTMLPart::pluginPageQuestionAsked(arg1); - } - void protected_setPluginPageQuestionAsked(const TQString& arg1) { - TDEHTMLPart::setPluginPageQuestionAsked(arg1); - return; - } - bool protected_doOpenStream(const TQString& arg1) { - return (bool) TDEHTMLPart::doOpenStream(arg1); - } - bool protected_doWriteStream(const TQByteArray& arg1) { - return (bool) TDEHTMLPart::doWriteStream(arg1); - } - bool protected_doCloseStream() { - return (bool) TDEHTMLPart::doCloseStream(); - } - ~TDEHTMLPartJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - bool doCloseStream() { - return QtSupport::booleanDelegate(this,"doCloseStream"); - } - void restoreState(TQDataStream& arg1) { - if (!QtSupport::eventDelegate(this,"restoreState",(void*)&arg1,"org.kde.qt.TQDataStream")) { - TDEHTMLPart::restoreState(arg1); - } - return; - } - void partSelectEvent(KParts::PartSelectEvent* arg1) { - if (!QtSupport::eventDelegate(this,"partSelectEvent",(void*)arg1,"org.kde.koala.PartSelectEvent")) { - Part::partSelectEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLPart","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - void end() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLPart","end")) { - TDEHTMLPart::end(); - } - return; - } - void setManager(KParts::PartManager* arg1) { - if (!QtSupport::eventDelegate(this,"setManager",(void*)arg1,"org.kde.koala.PartManager")) { - Part::setManager(arg1); - } - return; - } - void setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - Part::setWidget(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TDEHTMLPart::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void showError(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"showError",(void*)arg1,"org.kde.koala.Job")) { - TDEHTMLPart::showError(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void embed(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"embed",(void*)arg1,"org.kde.qt.TQWidget")) { - Part::embed(arg1); - } - return; - } - bool closeURL() { - return QtSupport::booleanDelegate(this,"closeURL"); - } - void partActivateEvent(KParts::PartActivateEvent* arg1) { - if (!QtSupport::eventDelegate(this,"partActivateEvent",(void*)arg1,"org.kde.koala.PartActivateEvent")) { - Part::partActivateEvent(arg1); - } - return; - } - void guiActivateEvent(KParts::GUIActivateEvent* arg1) { - if (!QtSupport::eventDelegate(this,"guiActivateEvent",(void*)arg1,"org.kde.koala.GUIActivateEvent")) { - TDEHTMLPart::guiActivateEvent(arg1); - } - return; - } - void saveState(TQDataStream& arg1) { - if (!QtSupport::eventDelegate(this,"saveState",(void*)&arg1,"org.kde.qt.TQDataStream")) { - TDEHTMLPart::saveState(arg1); - } - return; - } - bool openFile() { - return QtSupport::booleanDelegate(this,"openFile"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEHTMLPart",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_activeNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((TDEHTMLPart*) QtSupport::getQt(env, obj))->activeNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_autoloadImages__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->autoloadImages(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_autoloadImages__Z(JNIEnv* env, jobject obj, jboolean e) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->autoloadImages((bool) e); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_backgroundURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPart*) QtSupport::getQt(env, obj))->backgroundURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_baseTarget(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->baseTarget(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_baseURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPart*) QtSupport::getQt(env, obj))->baseURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_begin__(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->public_begin(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2I(JNIEnv* env, jobject obj, jobject url, jint xOffset) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) xOffset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2II(JNIEnv* env, jobject obj, jobject url, jint xOffset, jint yOffset) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->begin((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) xOffset, (int) yOffset); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_browserExtension(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->browserExtension(), "org.kde.koala.BrowserExtension"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_browserHostExtension(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->browserHostExtension(), "org.kde.koala.BrowserHostExtension"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLPart_caretDisplayPolicyNonFocused(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->caretDisplayPolicyNonFocused(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_closeURL(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->closeURL(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_completeURL(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_completeURL((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url))), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_createPart(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetName, jobject parent, jstring name, jstring mimetype, jobject serviceName, jobjectArray serviceTypes, jobjectArray params) -{ -static TQCString* _qstring_widgetName = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_mimetype = 0; -static TQString* _qstring_serviceName = 0; -static TQStringList* _qlist_serviceTypes = 0; -static TQStringList* _qlist_params = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_createPart((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetName, &_qstring_widgetName), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, serviceName, &_qstring_serviceName), (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, serviceTypes, &_qlist_serviceTypes), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, params, &_qlist_params)), "org.kde.koala.ReadOnlyPart"); - QtSupport::fromTQStringToStringBuffer(env, _qstring_serviceName, serviceName); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_currentFrame(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->currentFrame(), "org.kde.koala.ReadOnlyPart"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_customEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_customEvent((TQCustomEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_dcopObjectId(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->dcopObjectId(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEHTMLPart_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_dndEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->dndEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_doCloseStream(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doCloseStream(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_doOpenStream(JNIEnv* env, jobject obj, jstring mimeType) -{ -static TQString* _qstring_mimeType = 0; - jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doOpenStream((const TQString&)*(TQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_doWriteStream(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_doWriteStream((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_documentSource(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->documentSource(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_document(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Document(((TDEHTMLPart*) QtSupport::getQt(env, obj))->document()), "org.kde.koala.Document", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_enableJScript(JNIEnv* env, jobject obj, jboolean e) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enableJScript((bool) e); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_enableJava(JNIEnv* env, jobject obj, jboolean e) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enableJava((bool) e); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_enableMetaRefresh(JNIEnv* env, jobject obj, jboolean e) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enableMetaRefresh((bool) e); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_enablePlugins(JNIEnv* env, jobject obj, jboolean e) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->enablePlugins((bool) e); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_encoding(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->encoding(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_end(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->public_end(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_executeScript(JNIEnv* env, jobject obj, jobject n, jstring script) -{ -static TQString* _qstring_script = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEHTMLPart*) QtSupport::getQt(env, obj))->executeScript((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, n), (const TQString&)*(TQString*) QtSupport::toTQString(env, script, &_qstring_script))), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEHTMLPart*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEHTMLPart*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_findFrameParent(JNIEnv* env, jobject obj, jobject callingPart, jstring f) -{ -static TQString* _qstring_f = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->findFrameParent((KParts::ReadOnlyPart*) QtSupport::getQt(env, callingPart), (const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.kde.koala.TDEHTMLPart"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_findFramePart(JNIEnv* env, jobject obj, jstring f) -{ -static TQString* _qstring_f = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->findFramePart((const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.kde.koala.ReadOnlyPart"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_findFrame(JNIEnv* env, jobject obj, jstring f) -{ -static TQString* _qstring_f = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->findFrame((const TQString&)*(TQString*) QtSupport::toTQString(env, f, &_qstring_f)), "org.kde.koala.TDEHTMLPart"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_findTextBegin(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findTextBegin(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_findTextNext__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findTextNext(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_findTextNext__Z(JNIEnv* env, jobject obj, jboolean reverse) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findTextNext((bool) reverse); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_findText__(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring str, jlong options) -{ -static TQString* _qstring_str = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2JLorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring str, jlong options, jobject parent) -{ -static TQString* _qstring_str = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options, (TQWidget*) QtSupport::getQt(env, parent)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2JLorg_kde_qt_QWidget_2Lorg_kde_koala_KFindDialog_2(JNIEnv* env, jobject obj, jstring str, jlong options, jobject parent, jobject findDialog) -{ -static TQString* _qstring_str = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->findText((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (long) options, (TQWidget*) QtSupport::getQt(env, parent), (KFindDialog*) QtSupport::getQt(env, findDialog)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLPart_formNotification(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->formNotification(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_frameExists(JNIEnv* env, jobject obj, jstring frameName) -{ -static TQString* _qstring_frameName = 0; - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->frameExists((const TQString&)*(TQString*) QtSupport::toTQString(env, frameName, &_qstring_frameName)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_frameNames(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->frameNames(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_gotoAnchor(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->gotoAnchor((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_guiActivateEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_guiActivateEvent((KParts::GUIActivateEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_hasSelection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->hasSelection(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_hide(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_htmlDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::HTMLDocument(((TDEHTMLPart*) QtSupport::getQt(env, obj))->htmlDocument()), "org.kde.koala.HTMLDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_htmlError(JNIEnv* env, jobject obj, jint errorCode, jstring text, jobject reqUrl) -{ -static TQString* _qstring_text = 0; - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_htmlError((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const KURL&)*(const KURL*) QtSupport::getQt(env, reqUrl)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_inProgress(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->inProgress(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_isCaretMode(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->isCaretMode(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_isEditable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->isEditable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_isModified(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->isModified(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_jScriptEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->jScriptEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_javaEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->javaEnabled(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_jsDefaultStatusBarText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->jsDefaultStatusBarText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_jsStatusBarText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->jsStatusBarText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_lastModified(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->lastModified(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_metaRefreshEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->metaRefreshEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2(JNIEnv* env, jobject obj, jobject view) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject view, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject view, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject view, jobject parent, jstring name, jint prof) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TDEHTMLView*) QtSupport::getQt(env, view), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEHTMLPart::GUIProfile) prof)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWidget) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname) -{ -static TQCString* _qstring_widgetname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent) -{ -static TQCString* _qstring_widgetname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent, jstring name) -{ -static TQCString* _qstring_widgetname = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parentWidget, jstring widgetname, jobject parent, jstring name, jint prof) -{ -static TQCString* _qstring_widgetname = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLPartJBridge((TQWidget*) QtSupport::getQt(env, parentWidget), (const char*) QtSupport::toCharString(env, widgetname, &_qstring_widgetname), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TDEHTMLPart::GUIProfile) prof)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_nextAnchor(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->nextAnchor(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_nodeUnderMouse(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((TDEHTMLPart*) QtSupport::getQt(env, obj))->nodeUnderMouse()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_nonSharedNodeUnderMouse(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((TDEHTMLPart*) QtSupport::getQt(env, obj))->nonSharedNodeUnderMouse()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_onlyLocalReferences(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->onlyLocalReferences(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_openFile(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_openFile(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_openURL(JNIEnv* env, jobject obj, jobject url) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->openURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_pageReferrer(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->pageReferrer(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (int) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2I_3Z(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3, jbooleanArray arg4) -{ - bool* _bool_arg4 = QtSupport::toBooleanPtr(env, arg4); - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->paint((TQPainter*) QtSupport::getQt(env, arg1), (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg2), (int) arg3, (bool*) _bool_arg4); - env->SetBooleanArrayRegion(arg4, 0, 1, (jboolean*) _bool_arg4); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_parentPart(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->parentPart(), "org.kde.koala.TDEHTMLPart"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_partManager(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->partManager(), "org.kde.koala.PartManager"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_pluginPageQuestionAsked(JNIEnv* env, jobject obj, jstring mimetype) -{ -static TQString* _qstring_mimetype = 0; - jboolean xret = (jboolean) ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_pluginPageQuestionAsked((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_pluginsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->pluginsEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_preloadScript(JNIEnv* env, jobject obj, jstring url, jstring script) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_script = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->preloadScript((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, script, &_qstring_script)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_preloadStyleSheet(JNIEnv* env, jobject obj, jstring url, jstring stylesheet) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring_stylesheet = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->preloadStyleSheet((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQString&)*(TQString*) QtSupport::toTQString(env, stylesheet, &_qstring_stylesheet)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_prevAnchor(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->prevAnchor(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_referrer(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->referrer(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_restoreState(JNIEnv* env, jobject obj, jobject stream) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->restoreState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_restored(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->restored(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_saveState(JNIEnv* env, jobject obj, jobject stream) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->saveState((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, stream)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_scheduleRedirection__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint delay, jstring url) -{ -static TQString* _qstring_url = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->scheduleRedirection((int) delay, (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_scheduleRedirection__ILjava_lang_String_2Z(JNIEnv* env, jobject obj, jint delay, jstring url, jboolean lockHistory) -{ -static TQString* _qstring_url = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->scheduleRedirection((int) delay, (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (bool) lockHistory); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_selectAll(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selectAll(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_selectedTextAsHTML(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selectedTextAsHTML(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLPart_selectedText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selectedText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_selection__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Range(((TDEHTMLPart*) QtSupport::getQt(env, obj))->selection()), "org.kde.koala.Range", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_selection__Lorg_kde_koala_Node_2JLorg_kde_koala_Node_2J(JNIEnv* env, jobject obj, jobject startNode, jlong startOffset, jobject endNode, jlong endOffset) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->selection((DOM::Node&)*(DOM::Node*) QtSupport::getQt(env, startNode), (long&) startOffset, (DOM::Node&)*(DOM::Node*) QtSupport::getQt(env, endNode), (long&) endOffset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setActiveNode(JNIEnv* env, jobject obj, jobject node) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setActiveNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, node)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setAutoloadImages(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setAutoloadImages((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setCaretDisplayPolicyNonFocused(JNIEnv* env, jobject obj, jint policy) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretDisplayPolicyNonFocused((TDEHTMLPart::CaretDisplayPolicy) policy); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setCaretMode(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretMode((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setCaretPosition__Lorg_kde_koala_Node_2J(JNIEnv* env, jobject obj, jobject node, jlong offset) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretPosition((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, node), (long) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setCaretPosition__Lorg_kde_koala_Node_2JZ(JNIEnv* env, jobject obj, jobject node, jlong offset, jboolean extendSelection) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretPosition((DOM::Node)*(DOM::Node*) QtSupport::getQt(env, node), (long) offset, (bool) extendSelection); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setCaretVisible(JNIEnv* env, jobject obj, jboolean show) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCaretVisible((bool) show); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_setCharset(JNIEnv* env, jobject obj, jstring arg1, jboolean arg2) -{ -static TQString* _qstring_arg1 = 0; - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setCharset((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) arg2); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setDNDEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setDNDEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setEditable(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setEditable((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_setEncoding__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_setEncoding__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring name, jboolean override) -{ -static TQString* _qstring_name = 0; - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setEncoding((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (bool) override); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setFixedFont(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setFixedFont((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setFormNotification(JNIEnv* env, jobject obj, jint fn) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setFormNotification((TDEHTMLPart::FormNotification) fn); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setJSDefaultStatusBarText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJSDefaultStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setJSStatusBarText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJSStatusBarText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setJScriptEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJScriptEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setJavaEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setJavaEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setMetaRefreshEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setMetaRefreshEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setOnlyLocalReferences(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setOnlyLocalReferences((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setPluginPageQuestionAsked(JNIEnv* env, jobject obj, jstring mimetype) -{ -static TQString* _qstring_mimetype = 0; - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_setPluginPageQuestionAsked((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setPluginsEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setPluginsEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setSelection(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setSelection((const DOM::Range&)*(const DOM::Range*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setStandardFont(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setStandardFont((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setStatusMessagesEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setStatusMessagesEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setSuppressedPopupIndicator(JNIEnv* env, jobject obj, jboolean enable, jobject originPart) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setSuppressedPopupIndicator((bool) enable, (TDEHTMLPart*) QtSupport::getQt(env, originPart)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setURLCursor(JNIEnv* env, jobject obj, jobject c) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setURLCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setUserStyleSheet__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring styleSheet) -{ -static TQString* _qstring_styleSheet = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setUserStyleSheet((const TQString&)*(TQString*) QtSupport::toTQString(env, styleSheet, &_qstring_styleSheet)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setUserStyleSheet__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setUserStyleSheet((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_setZoomFactor(JNIEnv* env, jobject obj, jint percent) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->setZoomFactor((int) percent); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_settings(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->settings(), "org.kde.koala.TDEHTMLSettings"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_showError(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->showError((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_show(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLPart_statusMessagesEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->statusMessagesEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_stopAnimations(JNIEnv* env, jobject obj) -{ - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->stopAnimations(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target) -{ -static TQCString* _qstring_action = 0; -static TQString* _qstring_url = 0; -static TQByteArray* _qbyteArray_formData = 0; -static TQString* _qstring_target = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target, jstring contentType) -{ -static TQCString* _qstring_action = 0; -static TQString* _qstring_url = 0; -static TQByteArray* _qbyteArray_formData = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_contentType = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, contentType, &_qstring_contentType)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring action, jstring url, jbyteArray formData, jstring target, jstring contentType, jstring boundary) -{ -static TQCString* _qstring_action = 0; -static TQString* _qstring_url = 0; -static TQByteArray* _qbyteArray_formData = 0; -static TQString* _qstring_target = 0; -static TQString* _qstring_contentType = 0; -static TQString* _qstring_boundary = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->submitFormProxy((const char*) QtSupport::toCharString(env, action, &_qstring_action), (const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, formData, &_qbyteArray_formData), (const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const TQString&)*(TQString*) QtSupport::toTQString(env, contentType, &_qstring_contentType), (const TQString&)*(TQString*) QtSupport::toTQString(env, boundary, &_qstring_boundary)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_toplevelURL(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((TDEHTMLPart*) QtSupport::getQt(env, obj))->toplevelURL()), "org.kde.koala.KURL", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_urlCursor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(((TDEHTMLPart*) QtSupport::getQt(env, obj))->urlCursor()), "org.kde.qt.TQCursor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2(JNIEnv* env, jobject obj, jstring url, jint button, jint state, jstring _target) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring__target = 0; - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_urlSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) button, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, _target, &_qstring__target)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2Lorg_kde_koala_URLArgs_2(JNIEnv* env, jobject obj, jstring url, jint button, jint state, jstring _target, jobject args) -{ -static TQString* _qstring_url = 0; -static TQString* _qstring__target = 0; - ((TDEHTMLPartJBridge*) QtSupport::getQt(env, obj))->protected_urlSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url), (int) button, (int) state, (const TQString&)*(TQString*) QtSupport::toTQString(env, _target, &_qstring__target), (KParts::URLArgs)*(KParts::URLArgs*) QtSupport::getQt(env, args)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLPart_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLPart*) QtSupport::getQt(env, obj))->view(), "org.kde.koala.TDEHTMLView"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ -static TQCString* _qstring_str = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->write((const char*) QtSupport::toCharString(env, str, &_qstring_str)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLPart_write__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint len) -{ -static TQCString* _qstring_str = 0; - ((TDEHTMLPart*) QtSupport::getQt(env, obj))->write((const char*) QtSupport::toCharString(env, str, &_qstring_str), (int) len); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLPart_zoomFactor(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLPart*) QtSupport::getQt(env, obj))->zoomFactor(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEHTMLPart.h b/kdejava/koala/kdejava/TDEHTMLPart.h deleted file mode 100644 index ee8431ed..00000000 --- a/kdejava/koala/kdejava/TDEHTMLPart.h +++ /dev/null @@ -1,168 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEHTMLPart__ -#define __org_kde_koala_TDEHTMLPart__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_newTDEHTMLPart__Lorg_kde_koala_TDEHTMLView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_openURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_closeURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_showError (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_htmlDocument (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_document (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_documentSource (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_activeNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_browserExtension (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_browserHostExtension (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_view (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setJScriptEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_jScriptEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setStatusMessagesEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_statusMessagesEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setMetaRefreshEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_metaRefreshEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_executeScript (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setDNDEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_dndEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setJavaEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_javaEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setPluginsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_pluginsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setAutoloadImages (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_autoloadImages__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setOnlyLocalReferences (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_onlyLocalReferences (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_isCaretMode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_isEditable (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setCaretPosition__Lorg_kde_koala_Node_2JZ (JNIEnv *env, jobject, jobject, jlong, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setCaretPosition__Lorg_kde_koala_Node_2J (JNIEnv *env, jobject, jobject, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLPart_caretDisplayPolicyNonFocused (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setCaretDisplayPolicyNonFocused (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_enableJScript (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_enableJava (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_enablePlugins (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_autoloadImages__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_enableMetaRefresh (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_setCharset (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_baseURL (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_baseTarget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_backgroundURL (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_scheduleRedirection__ILjava_lang_String_2Z (JNIEnv *env, jobject, jint, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_scheduleRedirection__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_begin__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_begin__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_write__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_write__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_end (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2I_3Z (JNIEnv *env, jobject, jobject, jobject, jint, jbooleanArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_paint__Lorg_kde_qt_QPainter_2Lorg_kde_qt_QRect_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_setEncoding__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_setEncoding__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_encoding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setUserStyleSheet__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setUserStyleSheet__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setStandardFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setFixedFont (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_gotoAnchor (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_nextAnchor (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_prevAnchor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setURLCursor (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_urlCursor (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_findText__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2JLorg_kde_qt_QWidget_2Lorg_kde_koala_KFindDialog_2 (JNIEnv *env, jobject, jstring, jlong, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2JLorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jlong, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_findText__Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_findTextBegin (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_findTextNext__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_findTextNext__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setZoomFactor (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLPart_zoomFactor (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_selectedText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_selectedTextAsHTML (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_selection__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_selection__Lorg_kde_koala_Node_2JLorg_kde_koala_Node_2J (JNIEnv *env, jobject, jobject, jlong, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setSelection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_hasSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_selectAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_hide (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_partManager (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_saveState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_restoreState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_nodeUnderMouse (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_nonSharedNodeUnderMouse (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_settings (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_parentPart (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_frameNames (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_findFrame (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_findFrameParent (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_currentFrame (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_frameExists (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_findFramePart (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setJSStatusBarText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setJSDefaultStatusBarText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_jsStatusBarText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_jsDefaultStatusBarText (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_referrer (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_pageReferrer (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_lastModified (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_preloadStyleSheet (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_preloadScript (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_restored (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setFormNotification (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLPart_formNotification (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_toplevelURL (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_isModified (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setSuppressedPopupIndicator (JNIEnv *env, jobject, jboolean, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_inProgress (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setActiveNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_stopAnimations (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLPart_dcopObjectId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setCaretMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setEditable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setCaretVisible (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_submitFormProxy__Ljava_lang_String_2Ljava_lang_String_2_3BLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jbyteArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_completeURL (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_htmlError (JNIEnv *env, jobject, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_customEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_guiActivateEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_openFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2Lorg_kde_koala_URLArgs_2 (JNIEnv *env, jobject, jstring, jint, jint, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_urlSelected__Ljava_lang_String_2IILjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLPart_createPart (JNIEnv *env, jobject, jobject, jstring, jobject, jstring, jstring, jobject, jobjectArray, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_pluginPageQuestionAsked (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_setPluginPageQuestionAsked (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_doOpenStream (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_doWriteStream (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_doCloseStream (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLPart_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLPart_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEHTMLPart__ */ diff --git a/kdejava/koala/kdejava/TDEHTMLSettings.cpp b/kdejava/koala/kdejava/TDEHTMLSettings.cpp deleted file mode 100644 index 1c696513..00000000 --- a/kdejava/koala/kdejava/TDEHTMLSettings.cpp +++ /dev/null @@ -1,562 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEHTMLSettingsJBridge : public TDEHTMLSettings -{ -public: - TDEHTMLSettingsJBridge() : TDEHTMLSettings() {}; - TDEHTMLSettingsJBridge(const TDEHTMLSettings& arg1) : TDEHTMLSettings(arg1) {}; - ~TDEHTMLSettingsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_accessKeysEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->accessKeysEnabled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_addAdFilter(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->addAdFilter((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_adviceToStr(JNIEnv* env, jclass cls, jint _advice) -{ - const char* _qstring; - (void) cls; - _qstring = TDEHTMLSettingsJBridge::adviceToStr((TDEHTMLSettings::KJavaScriptAdvice) _advice); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_allowTabulation(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->allowTabulation(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_autoLoadImages(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->autoLoadImages(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_autoSpellCheck(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->autoSpellCheck(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_availableFamilies(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEHTMLSettingsJBridge::availableFamilies(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLSettings_baseColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TDEHTMLSettings*) QtSupport::getQt(env, obj))->baseColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_changeCursor(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->changeCursor(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_cursiveFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->cursiveFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEHTMLSettings_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_encoding(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->encoding(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_fantasyFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->fantasyFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEHTMLSettings*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_fixedFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->fixedFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_followSystemColors(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->followSystemColors(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_hoverLink(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->hoverLink(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_init__(JNIEnv* env, jobject obj) -{ - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->init(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_init__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->init((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_init__Lorg_kde_koala_TDEConfig_2Z(JNIEnv* env, jobject obj, jobject config, jboolean reset) -{ - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->init((TDEConfig*) QtSupport::getQt(env, config), (bool) reset); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isAdFilterEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isAdFilterEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isAdFiltered(JNIEnv* env, jobject obj, jstring url) -{ -static TQString* _qstring_url = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isAdFiltered((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isAutoDelayedActionsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isAutoDelayedActionsEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isBackRightClickEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isBackRightClickEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isFormCompletionEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isFormCompletionEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isHideAdsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isHideAdsEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptDebugEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptDebugEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptDebugEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptDebugEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptErrorReportingEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptErrorReportingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isJavaScriptErrorReportingEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isJavaScriptErrorReportingEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isOpenMiddleClickEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isOpenMiddleClickEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isPluginsEnabled__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isPluginsEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_isPluginsEnabled__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->isPluginsEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_jsErrorsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->jsErrorsEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_jsPopupBlockerPassivePopup(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->jsPopupBlockerPassivePopup(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLSettings_linkColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TDEHTMLSettings*) QtSupport::getQt(env, obj))->linkColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_maxFormCompletionItems(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->maxFormCompletionItems(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_mediumFontSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->mediumFontSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_minFontSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->minFontSize(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_newTDEHTMLSettings__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLSettingsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_newTDEHTMLSettings__Lorg_kde_koala_TDEHTMLSettings_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLSettingsJBridge((const TDEHTMLSettings&)*(const TDEHTMLSettings*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_sansSerifFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->sansSerifFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_serifFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->serifFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_setFixedFontName(JNIEnv* env, jobject obj, jstring n) -{ -static TQString* _qstring_n = 0; - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->setFixedFontName((const TQString&)*(TQString*) QtSupport::toTQString(env, n, &_qstring_n)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_setJSErrorsEnabled(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->setJSErrorsEnabled((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_setJSPopupBlockerPassivePopup(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->setJSPopupBlockerPassivePopup((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_setStdFontName(JNIEnv* env, jobject obj, jstring n) -{ -static TQString* _qstring_n = 0; - ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->setStdFontName((const TQString&)*(TQString*) QtSupport::toTQString(env, n, &_qstring_n)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_settingsToCSS(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->settingsToCSS(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_showAnimations(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->showAnimations(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLSettings_splitDomainAdvice(JNIEnv* env, jclass cls, jstring configStr, jobject domain, jint javaAdvice, jint javaScriptAdvice) -{ - (void) cls; -static TQString* _qstring_configStr = 0; -static TQString* _qstring_domain = 0; - TDEHTMLSettingsJBridge::splitDomainAdvice((const TQString&)*(TQString*) QtSupport::toTQString(env, configStr, &_qstring_configStr), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, domain, &_qstring_domain), (TDEHTMLSettings::KJavaScriptAdvice&) javaAdvice, (TDEHTMLSettings::KJavaScriptAdvice&) javaScriptAdvice); - QtSupport::fromTQStringToStringBuffer(env, _qstring_domain, domain); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_stdFontName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->stdFontName(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_strToAdvice(JNIEnv* env, jclass cls, jstring _str) -{ - (void) cls; -static TQString* _qstring__str = 0; - jint xret = (jint) TDEHTMLSettingsJBridge::strToAdvice((const TQString&)*(TQString*) QtSupport::toTQString(env, _str, &_qstring__str)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLSettings_textColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TDEHTMLSettings*) QtSupport::getQt(env, obj))->textColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_underlineLink(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->underlineLink(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLSettings_unfinishedImageFrame(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->unfinishedImageFrame(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLSettings_userStyleSheet(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->userStyleSheet(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLSettings_vLinkColor(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TDEHTMLSettings*) QtSupport::getQt(env, obj))->vLinkColor(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowFocusPolicy__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowFocusPolicy(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowFocusPolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowFocusPolicy((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowMovePolicy__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowMovePolicy(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowMovePolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowMovePolicy((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowOpenPolicy__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowOpenPolicy(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowOpenPolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowOpenPolicy((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowResizePolicy__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowResizePolicy(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowResizePolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowResizePolicy((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowStatusPolicy__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowStatusPolicy(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLSettings_windowStatusPolicy__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring hostname) -{ -static TQString* _qstring_hostname = 0; - jint xret = (jint) ((TDEHTMLSettings*) QtSupport::getQt(env, obj))->windowStatusPolicy((const TQString&)*(TQString*) QtSupport::toTQString(env, hostname, &_qstring_hostname)); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEHTMLSettings.h b/kdejava/koala/kdejava/TDEHTMLSettings.h deleted file mode 100644 index a8e05461..00000000 --- a/kdejava/koala/kdejava/TDEHTMLSettings.h +++ /dev/null @@ -1,91 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEHTMLSettings__ -#define __org_kde_koala_TDEHTMLSettings__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_newTDEHTMLSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_newTDEHTMLSettings__Lorg_kde_koala_TDEHTMLSettings_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_init__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_init__Lorg_kde_koala_TDEConfig_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_init__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_changeCursor (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_underlineLink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_hoverLink (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_allowTabulation (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_autoSpellCheck (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_showAnimations (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_stdFontName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_fixedFontName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_serifFontName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_sansSerifFontName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_cursiveFontName (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_fantasyFontName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_setStdFontName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_setFixedFontName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_minFontSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_mediumFontSize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_jsErrorsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_setJSErrorsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_encoding (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_followSystemColors (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLSettings_textColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLSettings_baseColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLSettings_linkColor (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLSettings_vLinkColor (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_autoLoadImages (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_unfinishedImageFrame (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isOpenMiddleClickEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isBackRightClickEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptDebugEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptDebugEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptErrorReportingEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isJavaScriptErrorReportingEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isPluginsEnabled__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isPluginsEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isAdFiltered (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isAdFilterEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isHideAdsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_addAdFilter (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_accessKeysEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowOpenPolicy__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowOpenPolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowMovePolicy__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowMovePolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowResizePolicy__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowResizePolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowStatusPolicy__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowStatusPolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowFocusPolicy__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_windowFocusPolicy__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_settingsToCSS (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_userStyleSheet (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isFormCompletionEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_maxFormCompletionItems (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isAutoDelayedActionsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_fallbackAccessKeysAssignments (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_setJSPopupBlockerPassivePopup (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_jsPopupBlockerPassivePopup (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLSettings_strToAdvice (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_splitDomainAdvice (JNIEnv *env, jclass, jstring, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_adviceToStr (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLSettings_availableFamilies (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLSettings_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLSettings_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEHTMLSettings__ */ diff --git a/kdejava/koala/kdejava/TDEHTMLView.cpp b/kdejava/koala/kdejava/TDEHTMLView.cpp deleted file mode 100644 index 1a7caba3..00000000 --- a/kdejava/koala/kdejava/TDEHTMLView.cpp +++ /dev/null @@ -1,921 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class TDEHTMLViewJBridge : public TDEHTMLView -{ -public: - TDEHTMLViewJBridge(TDEHTMLPart* arg1,TQWidget* arg2,const char* arg3) : TDEHTMLView(arg1,arg2,arg3) {}; - TDEHTMLViewJBridge(TDEHTMLPart* arg1,TQWidget* arg2) : TDEHTMLView(arg1,arg2) {}; - void protected_clear() { - TDEHTMLView::clear(); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TDEHTMLView::resizeEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TDEHTMLView::showEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - TDEHTMLView::hideEvent(arg1); - return; - } - bool protected_focusNextPrevChild(bool arg1) { - return (bool) TDEHTMLView::focusNextPrevChild(arg1); - } - void protected_drawContents(TQPainter* arg1,int arg2,int arg3,int arg4,int arg5) { - TDEHTMLView::drawContents(arg1,arg2,arg3,arg4,arg5); - return; - } - void protected_drawContents(TQPainter* arg1) { - TDEHTMLView::drawContents(arg1); - return; - } - void protected_viewportMousePressEvent(TQMouseEvent* arg1) { - TDEHTMLView::viewportMousePressEvent(arg1); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TDEHTMLView::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TDEHTMLView::focusOutEvent(arg1); - return; - } - void protected_viewportMouseDoubleClickEvent(TQMouseEvent* arg1) { - TDEHTMLView::viewportMouseDoubleClickEvent(arg1); - return; - } - void protected_viewportMouseMoveEvent(TQMouseEvent* arg1) { - TDEHTMLView::viewportMouseMoveEvent(arg1); - return; - } - void protected_viewportMouseReleaseEvent(TQMouseEvent* arg1) { - TDEHTMLView::viewportMouseReleaseEvent(arg1); - return; - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TDEHTMLView::viewportResizeEvent(arg1); - return; - } - void protected_viewportWheelEvent(TQWheelEvent* arg1) { - TDEHTMLView::viewportWheelEvent(arg1); - return; - } - void protected_dragEnterEvent(TQDragEnterEvent* arg1) { - TDEHTMLView::dragEnterEvent(arg1); - return; - } - void protected_dropEvent(TQDropEvent* arg1) { - TDEHTMLView::dropEvent(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - TDEHTMLView::closeEvent(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TDEHTMLView::eventFilter(arg1,arg2); - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TDEHTMLView::keyPressEvent(arg1); - return; - } - void protected_keyReleaseEvent(TQKeyEvent* arg1) { - TDEHTMLView::keyReleaseEvent(arg1); - return; - } - void protected_contentsContextMenuEvent(TQContextMenuEvent* arg1) { - TDEHTMLView::contentsContextMenuEvent(arg1); - return; - } - void protected_doAutoScroll() { - TDEHTMLView::doAutoScroll(); - return; - } - void protected_timerEvent(TQTimerEvent* arg1) { - TDEHTMLView::timerEvent(arg1); - return; - } - void protected_slotPaletteChanged() { - TDEHTMLView::slotPaletteChanged(); - return; - } - void protected_slotScrollBarMoved() { - TDEHTMLView::slotScrollBarMoved(); - return; - } - ~TDEHTMLViewJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TDEHTMLView::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEHTMLView::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")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - 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")) { - TDEHTMLView::viewportMouseDoubleClickEvent(arg1); - } - return; - } - void viewportMouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportMouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEHTMLView::viewportMouseReleaseEvent(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TDEHTMLView::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEHTMLView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.TDEHTMLView","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")) { - TDEHTMLView::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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::contentsDropEvent(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TDEHTMLView::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.koala.TDEHTMLView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","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")) { - TDEHTMLView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(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")) { - TDEHTMLView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - 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")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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")) { - TDEHTMLView::closeEvent(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")) { - TQScrollView::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")) { - TDEHTMLView::timerEvent(arg1); - } - return; - } - void contentsMouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::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")) { - TDEHTMLView::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 contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void viewportWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDEHTMLView::viewportWheelEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::mousePressEvent(arg1); - } - 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")) { - TDEHTMLView::viewportMouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - 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.koala.TDEHTMLView","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")) { - TQWidget::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")) { - TDEHTMLView::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")) { - TDEHTMLView::keyReleaseEvent(arg1); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQScrollView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEHTMLView",object,event)) { - return TDEHTMLView::eventFilter(object,event); - } else { - return TRUE; - } - } - 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")) { - TDEHTMLView::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")) { - TDEHTMLView::viewportMousePressEvent(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEHTMLView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEHTMLView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEHTMLView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_clear(JNIEnv* env, jobject obj) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_contentsContextMenuEvent(JNIEnv* env, jobject obj, jobject _ce) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsContextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, _ce)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_displayAccessKeys(JNIEnv* env, jobject obj) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->displayAccessKeys(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEHTMLView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_doAutoScroll(JNIEnv* env, jobject obj) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_doAutoScroll(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_drawContents__Lorg_kde_qt_QPainter_2(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_drawContents__Lorg_kde_qt_QPainter_2IIII(JNIEnv* env, jobject obj, jobject p, jint clipx, jint clipy, jint clipw, jint cliph) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, p), (int) clipx, (int) clipy, (int) clipw, (int) cliph); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_dropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLView_eventFilter(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - jboolean xret = (jboolean) ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEHTMLView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEHTMLView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_focusInEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLView_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) -{ - jboolean xret = (jboolean) ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLView_frameWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLView*) QtSupport::getQt(env, obj))->frameWidth(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEHTMLView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_keyPressEvent(JNIEnv* env, jobject obj, jobject _ke) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, _ke)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_keyReleaseEvent(JNIEnv* env, jobject obj, jobject _ke) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, _ke)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLView_marginHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLView*) QtSupport::getQt(env, obj))->marginHeight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEHTMLView_marginWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEHTMLView*) QtSupport::getQt(env, obj))->marginWidth(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEHTMLView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_newTDEHTMLView__Lorg_kde_koala_TDEHTMLPart_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject part, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLViewJBridge((TDEHTMLPart*) QtSupport::getQt(env, part), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_newTDEHTMLView__Lorg_kde_koala_TDEHTMLPart_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject part, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEHTMLViewJBridge((TDEHTMLPart*) QtSupport::getQt(env, part), (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_koala_TDEHTMLView_part(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEHTMLView*) QtSupport::getQt(env, obj))->part(), "org.kde.koala.TDEHTMLPart"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_print__(JNIEnv* env, jobject obj) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->print(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_print__Z(JNIEnv* env, jobject obj, jboolean quick) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->print((bool) quick); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_resizeEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_setHScrollBarMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->setHScrollBarMode((TQScrollView::ScrollBarMode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_setMarginHeight(JNIEnv* env, jobject obj, jint y) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->setMarginHeight((int) y); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_setMarginWidth(JNIEnv* env, jobject obj, jint x) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->setMarginWidth((int) x); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_setVScrollBarMode(JNIEnv* env, jobject obj, jint mode) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->setVScrollBarMode((TQScrollView::ScrollBarMode) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_showEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_slotPaletteChanged(JNIEnv* env, jobject obj) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_slotPaletteChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_slotScrollBarMoved(JNIEnv* env, jobject obj) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_slotScrollBarMoved(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_timerEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_timerEvent((TQTimerEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_updateLayout(JNIEnv* env, jobject obj) -{ - ((TDEHTMLView*) QtSupport::getQt(env, obj))->layout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportMouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportMousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEHTMLView_viewportWheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEHTMLViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportWheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEHTMLView.h b/kdejava/koala/kdejava/TDEHTMLView.h deleted file mode 100644 index 98a2d3de..00000000 --- a/kdejava/koala/kdejava/TDEHTMLView.h +++ /dev/null @@ -1,63 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEHTMLView__ -#define __org_kde_koala_TDEHTMLView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEHTMLView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_newTDEHTMLView__Lorg_kde_koala_TDEHTMLPart_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_newTDEHTMLView__Lorg_kde_koala_TDEHTMLPart_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEHTMLView_part (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLView_frameWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_setMarginWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLView_marginWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_setMarginHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEHTMLView_marginHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_setVScrollBarMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_setHScrollBarMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_print__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_print__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_updateLayout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_displayAccessKeys (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLView_focusNextPrevChild (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_drawContents__Lorg_kde_qt_QPainter_2IIII (JNIEnv *env, jobject, jobject, jint, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_drawContents__Lorg_kde_qt_QPainter_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportResizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_viewportWheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_dragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_dropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLView_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_keyReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_contentsContextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_doAutoScroll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_timerEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_slotPaletteChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_slotScrollBarMoved (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEHTMLView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEHTMLView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEHTMLView__ */ diff --git a/kdejava/koala/kdejava/TDEIO.cpp b/kdejava/koala/kdejava/TDEIO.cpp deleted file mode 100644 index cd13baec..00000000 --- a/kdejava/koala/kdejava/TDEIO.cpp +++ /dev/null @@ -1,1196 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_buildErrorString(JNIEnv* env, jclass cls, jint errorCode, jstring errorText) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_errorText = 0; - _qstring = TDEIO::buildErrorString((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_chmod(JNIEnv* env, jclass cls, jobject url, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::chmod((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSeconds(JNIEnv* env, jclass cls, jint seconds) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSeconds((unsigned int) seconds); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSizeFromKB(JNIEnv* env, jclass cls, jlong kbSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSizeFromKB((TDEIO::filesize_t) kbSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSizeWithBytes(JNIEnv* env, jclass cls, jlong size) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSizeWithBytes((TDEIO::filesize_t) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_convertSize(JNIEnv* env, jclass cls, jlong size) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::convertSize((TDEIO::filesize_t) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copyAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copyAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject dest) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobjectArray src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davPropFind__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject url, jobject properties, jstring depth) -{ - (void) cls; -static TQString* _qstring_depth = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropFind((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties), (TQString)*(TQString*) QtSupport::toTQString(env, depth, &_qstring_depth)), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davPropFind__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject url, jobject properties, jstring depth, jboolean showProgressInfo) -{ - (void) cls; -static TQString* _qstring_depth = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropFind((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties), (TQString)*(TQString*) QtSupport::toTQString(env, depth, &_qstring_depth), (bool) showProgressInfo), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jclass cls, jobject url, jobject properties) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropPatch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties)), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jclass cls, jobject url, jobject properties, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davPropPatch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, properties), (bool) showProgressInfo), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davSearch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject url, jstring nsURI, jstring qName, jstring query) -{ - (void) cls; -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; -static TQString* _qstring_query = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davSearch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query)), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_davSearch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobject url, jstring nsURI, jstring qName, jstring query, jboolean showProgressInfo) -{ - (void) cls; -static TQString* _qstring_nsURI = 0; -static TQString* _qstring_qName = 0; -static TQString* _qstring_query = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::davSearch((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, nsURI, &_qstring_nsURI), (const TQString&)*(TQString*) QtSupport::toTQString(env, qName, &_qstring_qName), (const TQString&)*(TQString*) QtSupport::toTQString(env, query, &_qstring_query), (bool) showProgressInfo), "org.kde.koala.DavJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_decodeFileName(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = TDEIO::decodeFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobjectArray src) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src)), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobjectArray src, jboolean shred) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) shred), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2ZZ(JNIEnv* env, jclass cls, jobjectArray src, jboolean shred, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) shred, (bool) showProgressInfo), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL&)*(const KURL*) QtSupport::getQt(env, src)), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jboolean shred) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) shred), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject src, jboolean shred, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::del((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) shred, (bool) showProgressInfo), "org.kde.koala.DeleteJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_encodeFileName(JNIEnv* env, jclass cls, jstring str) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_str = 0; - _qstring = TDEIO::encodeFileName((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_fileMetaInfo(JNIEnv* env, jclass cls, jobjectArray items) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::fileMetaInfo((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items)), "org.kde.koala.MetaInfoJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2I(JNIEnv* env, jclass cls, jobjectArray items, jint width) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2II(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2III(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIII(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZ(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZZ(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale, jboolean save) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray items, jint width, jint height, jint iconSize, jint iconAlpha, jboolean scale, jboolean save, jobjectArray enabledPlugins) -{ - (void) cls; -static KFileItemList* _qlist_items = 0; -static TQStringList* _qlist_enabledPlugins = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::filePreview((const KFileItemList&)*(TQStrList*) KDESupport::toKFileItemList(env, items, &_qlist_items), (int) width, (int) height, (int) iconSize, (int) iconAlpha, (bool) scale, (bool) save, (const TQStringList*) QtSupport::toTQStringList(env, enabledPlugins, &_qlist_enabledPlugins)), "org.kde.koala.PreviewJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_copy((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1delete__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_delete((const KURL&)*(const KURL*) QtSupport::getQt(env, src)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1delete__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_delete((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZZ(JNIEnv* env, jclass cls, jobject src, jobject dest, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::file_move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.FileCopyJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_findDeviceMountPoint(JNIEnv* env, jclass cls, jstring device) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_device = 0; - _qstring = TDEIO::findDeviceMountPoint((const TQString&)*(TQString*) QtSupport::toTQString(env, device, &_qstring_device)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_findPathMountPoint(JNIEnv* env, jclass cls, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = TDEIO::findPathMountPoint((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_getCacheControlString(JNIEnv* env, jclass cls, jint cacheControl) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::getCacheControlString((TDEIO::CacheControl) cacheControl); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::get((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean reload) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::get((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean reload, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::get((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload, (bool) showProgressInfo), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_http_1post__Lorg_kde_koala_KURL_2_3B(JNIEnv* env, jclass cls, jobject url, jbyteArray postData) -{ - (void) cls; -static TQByteArray* _qbyteArray_postData = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::http_post((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, postData, &_qbyteArray_postData)), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_http_1post__Lorg_kde_koala_KURL_2_3BZ(JNIEnv* env, jclass cls, jobject url, jbyteArray postData, jboolean showProgressInfo) -{ - (void) cls; -static TQByteArray* _qbyteArray_postData = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::http_post((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, postData, &_qbyteArray_postData), (bool) showProgressInfo), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_http_1update_1cache(JNIEnv* env, jclass cls, jobject url, jboolean no_cache, jint expireDate) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::http_update_cache((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) no_cache, (time_t) expireDate), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_isClipboardEmpty(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEIO::isClipboardEmpty(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_itemsSummaryString(JNIEnv* env, jclass cls, jint items, jint files, jint dirs, jlong size, jboolean showSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::itemsSummaryString((uint) items, (uint) files, (uint) dirs, (TDEIO::filesize_t) size, (bool) showSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::linkAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::linkAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject destDir) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobjectArray src, jobject destDir, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject destDir) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject destDir, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::link((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, destDir), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo, jboolean includeHidden) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listDir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) includeHidden), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listRecursive((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listRecursive((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo, jboolean includeHidden) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::listRecursive((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo, (bool) includeHidden), "org.kde.koala.ListJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_manually_1mounted(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) TDEIO::manually_mounted((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mimetype__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.MimetypeJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mimetype__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mimetype((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.MimetypeJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mkdir__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mkdir__Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jobject url, jint permissions) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mkdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mount__ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jboolean ro, jstring fstype, jstring dev, jstring point) -{ - (void) cls; -static TQCString* _qstring_fstype = 0; -static TQString* _qstring_dev = 0; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mount((bool) ro, (const char*) QtSupport::toCharString(env, fstype, &_qstring_fstype), (const TQString&)*(TQString*) QtSupport::toTQString(env, dev, &_qstring_dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_mount__ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jboolean ro, jstring fstype, jstring dev, jstring point, jboolean showProgressInfo) -{ - (void) cls; -static TQCString* _qstring_fstype = 0; -static TQString* _qstring_dev = 0; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::mount((bool) ro, (const char*) QtSupport::toCharString(env, fstype, &_qstring_fstype), (const TQString&)*(TQString*) QtSupport::toTQString(env, dev, &_qstring_dev), (const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::moveAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::moveAs((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobjectArray src, jobject dest) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobjectArray src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src, jobject dest) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::move((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_number(JNIEnv* env, jclass cls, jlong size) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::number((TDEIO::filesize_t) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_op_1read(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &TDEIO::operator>>((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (TDEIO::AuthInfo&)*(TDEIO::AuthInfo*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_op_1write(JNIEnv* env, jclass cls, jobject s, jobject a) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQDataStream *) &TDEIO::operator<<((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (const TDEIO::AuthInfo&)*(const TDEIO::AuthInfo*) QtSupport::getQt(env, a)), "org.kde.qt.TQDataStream"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2J(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJ(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJI(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJII(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIII(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIIII(JNIEnv* env, jclass cls, jstring caption, jstring src, jstring dest, jint mode, jobject newDestPath, jlong sizeSrc, jlong sizeDest, jint ctimeSrc, jint ctimeDest, jint mtimeSrc, jint mtimeDest) -{ - (void) cls; -static TQString* _qstring_caption = 0; -static TQString* _qstring_src = 0; -static TQString* _qstring_dest = 0; -static TQString* _qstring_newDestPath = 0; - jint xret = (jint) TDEIO::open_RenameDlg((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (const TQString&)*(TQString*) QtSupport::toTQString(env, src, &_qstring_src), (const TQString&)*(TQString*) QtSupport::toTQString(env, dest, &_qstring_dest), (TDEIO::RenameDlg_Mode) mode, (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, newDestPath, &_qstring_newDestPath), (TDEIO::filesize_t) sizeSrc, (TDEIO::filesize_t) sizeDest, (time_t) ctimeSrc, (time_t) ctimeDest, (time_t) mtimeSrc, (time_t) mtimeDest); - QtSupport::fromTQStringToStringBuffer(env, _qstring_newDestPath, newDestPath); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1SkipDlg__Z(JNIEnv* env, jclass cls, jboolean _multi) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEIO::open_SkipDlg((bool) _multi); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_open_1SkipDlg__ZLjava_lang_String_2(JNIEnv* env, jclass cls, jboolean _multi, jstring _error_text) -{ - (void) cls; -static TQString* _qstring__error_text = 0; - jint xret = (jint) TDEIO::open_SkipDlg((bool) _multi, (const TQString&)*(TQString*) QtSupport::toTQString(env, _error_text, &_qstring__error_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIO_parseCacheControl(JNIEnv* env, jclass cls, jstring cacheControl) -{ - (void) cls; -static TQString* _qstring_cacheControl = 0; - jint xret = (jint) TDEIO::parseCacheControl((const TQString&)*(TQString*) QtSupport::toTQString(env, cacheControl, &_qstring_cacheControl)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_pasteActionText(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIO::pasteActionText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteClipboard__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject destURL) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteClipboard((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL)), "org.kde.koala.Job"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteClipboard__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject destURL, jboolean move) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteClipboard((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (bool) move), "org.kde.koala.Job"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteDataAsync__Lorg_kde_koala_KURL_2_3B(JNIEnv* env, jclass cls, jobject destURL, jbyteArray data) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteDataAsync((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteDataAsync__Lorg_kde_koala_KURL_2_3BLjava_lang_String_2(JNIEnv* env, jclass cls, jobject destURL, jbyteArray data, jstring dialogText) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; -static TQString* _qstring_dialogText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteDataAsync((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (const TQString&)*(TQString*) QtSupport::toTQString(env, dialogText, &_qstring_dialogText)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIO_pasteData(JNIEnv* env, jclass cls, jobject destURL, jbyteArray data) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - TDEIO::pasteData((const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteMimeSource__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jobject data, jobject destURL, jstring dialogText, jobject widget) -{ - (void) cls; -static TQString* _qstring_dialogText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteMimeSource((TQMimeSource*) QtSupport::mimeSource(env, data), (const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQString&)*(TQString*) QtSupport::toTQString(env, dialogText, &_qstring_dialogText), (TQWidget*) QtSupport::getQt(env, widget)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_pasteMimeSource__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject data, jobject destURL, jstring dialogText, jobject widget, jboolean clipboard) -{ - (void) cls; -static TQString* _qstring_dialogText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::pasteMimeSource((TQMimeSource*) QtSupport::mimeSource(env, data), (const KURL&)*(const KURL*) QtSupport::getQt(env, destURL), (const TQString&)*(TQString*) QtSupport::toTQString(env, dialogText, &_qstring_dialogText), (TQWidget*) QtSupport::getQt(env, widget), (bool) clipboard), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_probably_1slow_1mounted(JNIEnv* env, jclass cls, jstring filename) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) TDEIO::probably_slow_mounted((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_put__Lorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jobject url, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::put((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_put__Lorg_kde_koala_KURL_2IZZZ(JNIEnv* env, jclass cls, jobject url, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::put((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.TransferJob"); - return xret; -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2(JNIEnv* env, jclass cls, jint errorCode, jstring errorText) -{ - TQByteArray _qbyteArray; - (void) cls; -static TQString* _qstring_errorText = 0; - _qbyteArray = TDEIO::rawErrorDetail((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jint errorCode, jstring errorText, jobject reqUrl) -{ - TQByteArray _qbyteArray; - (void) cls; -static TQString* _qstring_errorText = 0; - _qbyteArray = TDEIO::rawErrorDetail((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText), (const KURL*) QtSupport::getQt(env, reqUrl)); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jbyteArray JNICALL -Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2Lorg_kde_koala_KURL_2I(JNIEnv* env, jclass cls, jint errorCode, jstring errorText, jobject reqUrl, jint method) -{ - TQByteArray _qbyteArray; - (void) cls; -static TQString* _qstring_errorText = 0; - _qbyteArray = TDEIO::rawErrorDetail((int) errorCode, (const TQString&)*(TQString*) QtSupport::toTQString(env, errorText, &_qstring_errorText), (const KURL*) QtSupport::getQt(env, reqUrl), (int) method); - return QtSupport::fromTQByteArray(env, &_qbyteArray); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_rename(JNIEnv* env, jclass cls, jobject src, jobject dest, jboolean overwrite) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::rename((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_rmdir(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::rmdir((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_special__Lorg_kde_koala_KURL_2_3B(JNIEnv* env, jclass cls, jobject url, jbyteArray data) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::special((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_special__Lorg_kde_koala_KURL_2_3BZ(JNIEnv* env, jclass cls, jobject url, jbyteArray data, jboolean showProgressInfo) -{ - (void) cls; -static TQByteArray* _qbyteArray_data = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::special((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) showProgressInfo), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2ZS(JNIEnv* env, jclass cls, jobject url, jboolean sideIsSource, jshort details) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) sideIsSource, (short int) details), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2ZSZ(JNIEnv* env, jclass cls, jobject url, jboolean sideIsSource, jshort details, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::stat((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) sideIsSource, (short int) details, (bool) showProgressInfo), "org.kde.koala.StatJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedGet((const KURL&)*(const KURL*) QtSupport::getQt(env, url)), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject url, jboolean reload) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedGet((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jobject url, jboolean reload, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedGet((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (bool) reload, (bool) showProgressInfo), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedPut___3BLorg_kde_koala_KURL_2IZZ(JNIEnv* env, jclass cls, jbyteArray arr, jobject url, jint permissions, jboolean overwrite, jboolean resume) -{ - (void) cls; -static TQByteArray* _qbyteArray_arr = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedPut((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arr, &_qbyteArray_arr), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_storedPut___3BLorg_kde_koala_KURL_2IZZZ(JNIEnv* env, jclass cls, jbyteArray arr, jobject url, jint permissions, jboolean overwrite, jboolean resume, jboolean showProgressInfo) -{ - (void) cls; -static TQByteArray* _qbyteArray_arr = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::storedPut((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arr, &_qbyteArray_arr), (const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) permissions, (bool) overwrite, (bool) resume, (bool) showProgressInfo), "org.kde.koala.StoredTransferJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jstring target, jobject dest, jboolean overwrite) -{ - (void) cls; -static TQString* _qstring_target = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::symlink((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2ZZ(JNIEnv* env, jclass cls, jstring target, jobject dest, jboolean overwrite, jboolean showProgressInfo) -{ - (void) cls; -static TQString* _qstring_target = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::symlink((const TQString&)*(TQString*) QtSupport::toTQString(env, target, &_qstring_target), (const KURL&)*(const KURL*) QtSupport::getQt(env, dest), (bool) overwrite, (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIO_testFileSystemFlag(JNIEnv* env, jclass cls, jstring filename, jint flag) -{ - (void) cls; -static TQString* _qstring_filename = 0; - jboolean xret = (jboolean) TDEIO::testFileSystemFlag((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (TDEIO::FileSystemFlag) flag); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Ljava_util_ArrayList_2(JNIEnv* env, jclass cls, jobjectArray src) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Ljava_util_ArrayList_2Z(JNIEnv* env, jclass cls, jobjectArray src, jboolean showProgressInfo) -{ - (void) cls; -static KURL::List* _qlist_src = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL::List&)*(KURL::List*) KDESupport::toKURLList(env, src, &_qlist_src), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject src) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL&)*(const KURL*) QtSupport::getQt(env, src)), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_trash__Lorg_kde_koala_KURL_2Z(JNIEnv* env, jclass cls, jobject src, jboolean showProgressInfo) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::trash((const KURL&)*(const KURL*) QtSupport::getQt(env, src), (bool) showProgressInfo), "org.kde.koala.CopyJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_unmount__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring point) -{ - (void) cls; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::unmount((const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point)), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIO_unmount__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring point, jboolean showProgressInfo) -{ - (void) cls; -static TQString* _qstring_point = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEIO::unmount((const TQString&)*(TQString*) QtSupport::toTQString(env, point, &_qstring_point), (bool) showProgressInfo), "org.kde.koala.SimpleJob"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIO_unsupportedActionErrorString(JNIEnv* env, jclass cls, jstring protocol, jint cmd) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_protocol = 0; - _qstring = TDEIO::unsupportedActionErrorString((const TQString&)*(TQString*) QtSupport::toTQString(env, protocol, &_qstring_protocol), (int) cmd); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEIO.h b/kdejava/koala/kdejava/TDEIO.h deleted file mode 100644 index c164b6da..00000000 --- a/kdejava/koala/kdejava/TDEIO.h +++ /dev/null @@ -1,150 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIO__ -#define __org_kde_koala_TDEIO__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1SkipDlg__ZLjava_lang_String_2 (JNIEnv *env, jclass, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1SkipDlg__Z (JNIEnv *env, jclass, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIIII (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJIII (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJII (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJI (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong, jlong, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2JJ (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2J (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject, jlong); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_open_1RenameDlg__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2ILjava_lang_StringBuffer_2 (JNIEnv *env, jclass, jstring, jstring, jstring, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_op_1write (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_op_1read (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_convertSize (JNIEnv *env, jclass, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_convertSizeWithBytes (JNIEnv *env, jclass, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_number (JNIEnv *env, jclass, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_convertSizeFromKB (JNIEnv *env, jclass, jlong); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_convertSeconds (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_itemsSummaryString (JNIEnv *env, jclass, jint, jint, jint, jlong, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_encodeFileName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_decodeFileName (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_buildErrorString (JNIEnv *env, jclass, jint, jstring); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jint, jstring, jobject, jint); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jint, jstring, jobject); -extern JNIEXPORT jbyteArray JNICALL Java_org_kde_koala_TDEIO_rawErrorDetail__ILjava_lang_String_2 (JNIEnv *env, jclass, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_unsupportedActionErrorString (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIO_parseCacheControl (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_getCacheControlString (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_findDeviceMountPoint (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_findPathMountPoint (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIO_probably_1slow_1mounted (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIO_manually_1mounted (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIO_testFileSystemFlag (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZZ_3Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jboolean, jboolean, jobjectArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZZ (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIIIZ (JNIEnv *env, jclass, jobject, jint, jint, jint, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2IIII (JNIEnv *env, jclass, jobject, jint, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2III (JNIEnv *env, jclass, jobject, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2II (JNIEnv *env, jclass, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_filePreview__Ljava_util_ArrayList_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davPropFind__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davPropFind__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davPropPatch__Lorg_kde_koala_KURL_2Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davSearch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobject, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_davSearch__Lorg_kde_koala_KURL_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_fileMetaInfo (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mkdir__Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mkdir__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_rmdir (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_chmod (JNIEnv *env, jclass, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_rename (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_symlink__Ljava_lang_String_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jstring, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_special__Lorg_kde_koala_KURL_2_3BZ (JNIEnv *env, jclass, jobject, jbyteArray, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_special__Lorg_kde_koala_KURL_2_3B (JNIEnv *env, jclass, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mount__ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jboolean, jstring, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mount__ZLjava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jboolean, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_unmount__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_unmount__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_http_1update_1cache (JNIEnv *env, jclass, jobject, jboolean, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2ZSZ (JNIEnv *env, jclass, jobject, jboolean, jshort, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_stat__Lorg_kde_koala_KURL_2ZS (JNIEnv *env, jclass, jobject, jboolean, jshort); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_get__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_put__Lorg_kde_koala_KURL_2IZZZ (JNIEnv *env, jclass, jobject, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_put__Lorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_http_1post__Lorg_kde_koala_KURL_2_3BZ (JNIEnv *env, jclass, jobject, jbyteArray, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_http_1post__Lorg_kde_koala_KURL_2_3B (JNIEnv *env, jclass, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_storedGet__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_storedPut___3BLorg_kde_koala_KURL_2IZZZ (JNIEnv *env, jclass, jbyteArray, jobject, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_storedPut___3BLorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jbyteArray, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mimetype__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_mimetype__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2IZ (JNIEnv *env, jclass, jobject, jobject, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2I (JNIEnv *env, jclass, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1delete__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_file_1delete__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listDir__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_listRecursive__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copy__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copyAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_copy__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_move__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_moveAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_move__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_link__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_link__Ljava_util_ArrayList_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_linkAs__Lorg_kde_koala_KURL_2Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_trash__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_trash__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_trash__Ljava_util_ArrayList_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_trash__Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2ZZ (JNIEnv *env, jclass, jobject, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_del__Ljava_util_ArrayList_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteClipboard__Lorg_kde_koala_KURL_2Z (JNIEnv *env, jclass, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteClipboard__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIO_pasteData (JNIEnv *env, jclass, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteDataAsync__Lorg_kde_koala_KURL_2_3B (JNIEnv *env, jclass, jobject, jbyteArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteDataAsync__Lorg_kde_koala_KURL_2_3BLjava_lang_String_2 (JNIEnv *env, jclass, jobject, jbyteArray, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteMimeSource__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jclass, jobject, jobject, jstring, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIO_pasteMimeSource__Lorg_kde_qt_QMimeSourceInterface_2Lorg_kde_koala_KURL_2Ljava_lang_String_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jobject, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIO_isClipboardEmpty (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIO_pasteActionText (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIO__ */ diff --git a/kdejava/koala/kdejava/TDEIconButton.cpp b/kdejava/koala/kdejava/TDEIconButton.cpp deleted file mode 100644 index a462babd..00000000 --- a/kdejava/koala/kdejava/TDEIconButton.cpp +++ /dev/null @@ -1,515 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEIconButtonJBridge : public TDEIconButton -{ -public: - TDEIconButtonJBridge(TQWidget* arg1,const char* arg2) : TDEIconButton(arg1,arg2) {}; - TDEIconButtonJBridge(TQWidget* arg1) : TDEIconButton(arg1) {}; - TDEIconButtonJBridge() : TDEIconButton() {}; - TDEIconButtonJBridge(TDEIconLoader* arg1,TQWidget* arg2,const char* arg3) : TDEIconButton(arg1,arg2,arg3) {}; - TDEIconButtonJBridge(TDEIconLoader* arg1,TQWidget* arg2) : TDEIconButton(arg1,arg2) {}; - ~TDEIconButtonJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQPushButton::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPushButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.TDEIconButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::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 showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQPushButton::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")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEIconButton",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEIconButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconButton_iconName(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIconButton*) QtSupport::getQt(env, obj))->icon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconButton_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconButton*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject loader, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject loader, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (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_koala_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_newTDEIconButton__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 TDEIconButtonJBridge((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_koala_TDEIconButton_resetIcon(JNIEnv* env, jobject obj) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->resetIcon(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIconSize(JNIEnv* env, jobject obj, jint size) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIconType__II(JNIEnv* env, jobject obj, jint group, jint context) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconType((TDEIcon::Group) group, (TDEIcon::Context) context); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIconType__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean user) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIconType((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) user); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setIcon(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((TDEIconButton*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconButton_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIconButton*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconButton_strictIconSize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconButton*) QtSupport::getQt(env, obj))->strictIconSize(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEIconButton.h b/kdejava/koala/kdejava/TDEIconButton.h deleted file mode 100644 index d745067f..00000000 --- a/kdejava/koala/kdejava/TDEIconButton.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconButton__ -#define __org_kde_koala_TDEIconButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_newTDEIconButton__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setStrictIconSize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconButton_strictIconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconType__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconType__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIcon (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_resetIcon (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconButton_iconName (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_setIconSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconButton_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconButton__ */ diff --git a/kdejava/koala/kdejava/TDEIconCanvas.cpp b/kdejava/koala/kdejava/TDEIconCanvas.cpp deleted file mode 100644 index f8a1d13d..00000000 --- a/kdejava/koala/kdejava/TDEIconCanvas.cpp +++ /dev/null @@ -1,671 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEIconCanvasJBridge : public TDEIconCanvas -{ -public: - TDEIconCanvasJBridge(TQWidget* arg1,const char* arg2) : TDEIconCanvas(arg1,arg2) {}; - TDEIconCanvasJBridge(TQWidget* arg1) : TDEIconCanvas(arg1) {}; - TDEIconCanvasJBridge() : TDEIconCanvas() {}; - ~TDEIconCanvasJBridge() {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 doAutoScroll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","doAutoScroll")) { - TQIconView::doAutoScroll(); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQIconView::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")) { - TDEIconView::contentsMouseReleaseEvent(arg1); - } - 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 setItemTextBackground(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQIconView::setItemTextBackground(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TDEIconView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEIconView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void slotUpdate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","slotUpdate")) { - TQIconView::slotUpdate(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void updateContents() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","updateContents")) { - TQIconView::updateContents(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","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")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQIconView::setPalette(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","clear")) { - TQIconView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TDEIconView::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.koala.TDEIconCanvas","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","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")) { - TQIconView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TDEIconView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQIconView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void repaintItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::repaintItem(arg1); - } - return; - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","clearSelection")) { - TQIconView::clearSelection(); - } - 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")) { - TDEIconView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void insertInGrid(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::insertInGrid(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 startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","startDrag")) { - TQIconView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TDEIconView::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")) { - TDEIconView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQIconView::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")) { - TQIconView::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 invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","invertSelection")) { - TQIconView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void drawRubber(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { - TQIconView::drawRubber(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEIconView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 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 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.koala.TDEIconCanvas","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDEIconView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQIconView::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 adjustItems() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconCanvas","adjustItems")) { - TQIconView::adjustItems(); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - 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")) { - TQIconView::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.koala.TDEIconCanvas","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconCanvas_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconCanvas*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconCanvas_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconCanvas*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEIconCanvas*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconCanvas_getCurrent(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIconCanvas*) QtSupport::getQt(env, obj))->getCurrent(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconCanvas_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_loadFiles(JNIEnv* env, jobject obj, jobjectArray files) -{ -static TQStringList* _qlist_files = 0; - ((TDEIconCanvas*) QtSupport::getQt(env, obj))->loadFiles((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconCanvas_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconCanvas*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconCanvasJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconCanvasJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__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 TDEIconCanvasJBridge((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_koala_TDEIconCanvas_stopLoading(JNIEnv* env, jobject obj) -{ - ((TDEIconCanvas*) QtSupport::getQt(env, obj))->stopLoading(); - return; -} - diff --git a/kdejava/koala/kdejava/TDEIconCanvas.h b/kdejava/koala/kdejava/TDEIconCanvas.h deleted file mode 100644 index bdb5349e..00000000 --- a/kdejava/koala/kdejava/TDEIconCanvas.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconCanvas__ -#define __org_kde_koala_TDEIconCanvas__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconCanvas_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconCanvas_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_newTDEIconCanvas__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_loadFiles (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconCanvas_getCurrent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_stopLoading (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconCanvas_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconCanvas_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconCanvas__ */ diff --git a/kdejava/koala/kdejava/TDEIconDialog.cpp b/kdejava/koala/kdejava/TDEIconDialog.cpp deleted file mode 100644 index 5fc14ec4..00000000 --- a/kdejava/koala/kdejava/TDEIconDialog.cpp +++ /dev/null @@ -1,703 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEIconDialogJBridge : public TDEIconDialog -{ -public: - TDEIconDialogJBridge(TQWidget* arg1,const char* arg2) : TDEIconDialog(arg1,arg2) {}; - TDEIconDialogJBridge(TQWidget* arg1) : TDEIconDialog(arg1) {}; - TDEIconDialogJBridge() : TDEIconDialog() {}; - TDEIconDialogJBridge(TDEIconLoader* arg1,TQWidget* arg2,const char* arg3) : TDEIconDialog(arg1,arg2,arg3) {}; - TDEIconDialogJBridge(TDEIconLoader* arg1,TQWidget* arg2) : TDEIconDialog(arg1,arg2) {}; - TDEIconDialogJBridge(TDEIconLoader* arg1) : TDEIconDialog(arg1) {}; - void protected_slotOk() { - TDEIconDialog::slotOk(); - return; - } - ~TDEIconDialogJBridge() {QtSupport::qtKeyDeleted(this);} - void dragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQWidget::dragLeaveEvent(arg1); - } - return; - } - void slotDetails() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotDetails")) { - KDialogBase::slotDetails(); - } - return; - } - void setMask(const TQRegion& arg1) { - if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.kde.qt.TQRegion")) { - TQWidget::setMask(arg1); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQDialog::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void accept() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","accept")) { - TQDialog::accept(); - } - return; - } - void slotHelp() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotHelp")) { - KDialogBase::slotHelp(); - } - return; - } - void slotNo() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotNo")) { - KDialogBase::slotNo(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void slotDefault() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotDefault")) { - KDialogBase::slotDefault(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void slotUser3() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser3")) { - KDialogBase::slotUser3(); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQWidget::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - KDialogBase::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.koala.TDEIconDialog","polish")) { - KDialog::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - KDialogBase::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - KDialogBase::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void slotApply() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotApply")) { - KDialogBase::slotApply(); - } - return; - } - void slotClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotClose")) { - KDialogBase::slotClose(); - } - return; - } - void slotCancel() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotCancel")) { - KDialogBase::slotCancel(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","adjustSize")) { - KDialogBase::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void slotUser1() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser1")) { - KDialogBase::slotUser1(); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 reject() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","reject")) { - TQDialog::reject(); - } - return; - } - void slotTry() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotTry")) { - KDialogBase::slotTry(); - } - 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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDialog::contextMenuEvent(arg1); - } - return; - } - void slotYes() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotYes")) { - KDialogBase::slotYes(); - } - return; - } - void slotUser2() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","slotUser2")) { - KDialogBase::slotUser2(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconDialog","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconDialog*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconDialog_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconDialog*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEIconDialog*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__I(JNIEnv* env, jclass cls, jint group) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__II(JNIEnv* env, jclass cls, jint group, jint context) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZI(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZ(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jobject parent) -{ - TQString _qstring; - (void) cls; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (TQWidget*) QtSupport::getQt(env, parent)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jobject parent, jstring caption) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_caption = 0; - _qstring = TDEIconDialogJBridge::getIcon((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (TQWidget*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconDialog_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconDialog*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconDialog_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconDialog_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconDialog*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2(JNIEnv* env, jobject obj, jobject loader) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject loader, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject loader, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TDEIconLoader*) QtSupport::getQt(env, loader), (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_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconDialogJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__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 TDEIconDialogJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconDialog_openDialog(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEIconDialog*) QtSupport::getQt(env, obj))->openDialog(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setCustomLocation(JNIEnv* env, jobject obj, jstring location) -{ -static TQString* _qstring_location = 0; - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setCustomLocation((const TQString&)*(TQString*) QtSupport::toTQString(env, location, &_qstring_location)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setIconSize(JNIEnv* env, jobject obj, jint size) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setStrictIconSize(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setStrictIconSize((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__I(JNIEnv* env, jobject obj, jint group) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__II(JNIEnv* env, jobject obj, jint group, jint context) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZI(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZIZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_setup__IIZIZZZ(JNIEnv* env, jobject obj, jint group, jint context, jboolean strictIconSize, jint iconSize, jboolean user, jboolean lockUser, jboolean lockCustomDir) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->setup((TDEIcon::Group) group, (TDEIcon::Context) context, (bool) strictIconSize, (int) iconSize, (bool) user, (bool) lockUser, (bool) lockCustomDir); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_showDialog(JNIEnv* env, jobject obj) -{ - ((TDEIconDialog*) QtSupport::getQt(env, obj))->showDialog(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconDialog_slotOk(JNIEnv* env, jobject obj) -{ - ((TDEIconDialogJBridge*) QtSupport::getQt(env, obj))->protected_slotOk(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconDialog_strictIconSize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconDialog*) QtSupport::getQt(env, obj))->strictIconSize(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEIconDialog.h b/kdejava/koala/kdejava/TDEIconDialog.h deleted file mode 100644 index e9afbd72..00000000 --- a/kdejava/koala/kdejava/TDEIconDialog.h +++ /dev/null @@ -1,51 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconDialog__ -#define __org_kde_koala_TDEIconDialog__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconDialog_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_newTDEIconDialog__Lorg_kde_koala_TDEIconLoader_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setStrictIconSize (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconDialog_strictIconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setCustomLocation (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setIconSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconDialog_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZIZ (JNIEnv *env, jobject, jint, jint, jboolean, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZI (JNIEnv *env, jobject, jint, jint, jboolean, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZ (JNIEnv *env, jobject, jint, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_setup__IIZIZZZ (JNIEnv *env, jobject, jint, jint, jboolean, jint, jboolean, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_openDialog (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_showDialog (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZLorg_kde_qt_QWidget_2 (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZIZ (JNIEnv *env, jclass, jint, jint, jboolean, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZI (JNIEnv *env, jclass, jint, jint, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__IIZ (JNIEnv *env, jclass, jint, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__II (JNIEnv *env, jclass, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconDialog_getIcon__ (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_slotOk (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconDialog_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconDialog_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconDialog__ */ diff --git a/kdejava/koala/kdejava/TDEIconEffect.cpp b/kdejava/koala/kdejava/TDEIconEffect.cpp deleted file mode 100644 index 7b8c8ac5..00000000 --- a/kdejava/koala/kdejava/TDEIconEffect.cpp +++ /dev/null @@ -1,195 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEIconEffectJBridge : public TDEIconEffect -{ -public: - TDEIconEffectJBridge() : TDEIconEffect() {}; - ~TDEIconEffectJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jobject rgb2, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb2), (bool) trans)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (bool) trans)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2II(JNIEnv* env, jobject obj, jobject src, jint group, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQImage)*(TQImage*) QtSupport::getQt(env, src), (int) group, (int) state)), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jobject rgb2, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb2), (bool) trans)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Z(JNIEnv* env, jobject obj, jobject src, jint effect, jfloat value, jobject rgb, jboolean trans) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) effect, (float) value, (const TQColor)*(const TQColor*) QtSupport::getQt(env, rgb), (bool) trans)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject src, jint group, jint state) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconEffect*) QtSupport::getQt(env, obj))->apply((TQPixmap)*(TQPixmap*) QtSupport::getQt(env, src), (int) group, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_colorize(JNIEnv* env, jclass cls, jobject image, jobject col, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::colorize((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, col), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_deSaturate(JNIEnv* env, jclass cls, jobject image, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::deSaturate((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconEffect_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconEffect_doublePixels(JNIEnv* env, jobject obj, jobject src) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TDEIconEffect*) QtSupport::getQt(env, obj))->doublePixels((TQImage)*(TQImage*) QtSupport::getQt(env, src))), "org.kde.qt.TQImage", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEIconEffect*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconEffect_fingerprint(JNIEnv* env, jobject obj, jint group, jint state) -{ - TQString _qstring; - _qstring = ((TDEIconEffect*) QtSupport::getQt(env, obj))->fingerprint((int) group, (int) state); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconEffect_hasEffect(JNIEnv* env, jobject obj, jint group, jint state) -{ - jboolean xret = (jboolean) ((TDEIconEffect*) QtSupport::getQt(env, obj))->hasEffect((int) group, (int) state); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_init(JNIEnv* env, jobject obj) -{ - ((TDEIconEffect*) QtSupport::getQt(env, obj))->init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconEffect_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_newTDEIconEffect(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconEffectJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_overlay(JNIEnv* env, jclass cls, jobject src, jobject overlay) -{ - (void) cls; - TDEIconEffectJBridge::overlay((TQImage&)*(TQImage*) QtSupport::getQt(env, src), (TQImage&)*(TQImage*) QtSupport::getQt(env, overlay)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image) -{ - (void) cls; - TDEIconEffectJBridge::semiTransparent((TQImage&)*(TQImage*) QtSupport::getQt(env, image)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jclass cls, jobject pixmap) -{ - (void) cls; - TDEIconEffectJBridge::semiTransparent((TQPixmap&)*(TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_toGamma(JNIEnv* env, jclass cls, jobject image, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::toGamma((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_toGray(JNIEnv* env, jclass cls, jobject image, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::toGray((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_toMonochrome(JNIEnv* env, jclass cls, jobject image, jobject black, jobject white, jfloat value) -{ - (void) cls; - TDEIconEffectJBridge::toMonochrome((TQImage&)*(TQImage*) QtSupport::getQt(env, image), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, black), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, white), (float) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconEffect_visualActivate(JNIEnv* env, jclass cls, jobject widget, jobject rect) -{ - (void) cls; - TDEIconEffectJBridge::visualActivate((TQWidget*) QtSupport::getQt(env, widget), (TQRect)*(TQRect*) QtSupport::getQt(env, rect)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEIconEffect.h b/kdejava/koala/kdejava/TDEIconEffect.h deleted file mode 100644 index 08f329e0..00000000 --- a/kdejava/koala/kdejava/TDEIconEffect.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconEffect__ -#define __org_kde_koala_TDEIconEffect__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_newTDEIconEffect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_init (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconEffect_hasEffect (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconEffect_fingerprint (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QImage_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2II (JNIEnv *env, jobject, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_apply__Lorg_kde_qt_QPixmap_2IFLorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Z (JNIEnv *env, jobject, jobject, jint, jfloat, jobject, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconEffect_doublePixels (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_visualActivate (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toGray (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_colorize (JNIEnv *env, jclass, jobject, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toMonochrome (JNIEnv *env, jclass, jobject, jobject, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_deSaturate (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_toGamma (JNIEnv *env, jclass, jobject, jfloat); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QImage_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_semiTransparent__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_overlay (JNIEnv *env, jclass, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconEffect_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconEffect_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconEffect__ */ diff --git a/kdejava/koala/kdejava/TDEIconLoader.cpp b/kdejava/koala/kdejava/TDEIconLoader.cpp deleted file mode 100644 index 4e2c4a73..00000000 --- a/kdejava/koala/kdejava/TDEIconLoader.cpp +++ /dev/null @@ -1,330 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEIconLoaderJBridge : public TDEIconLoader -{ -public: - TDEIconLoaderJBridge(const TQString& arg1,TDEStandardDirs* arg2) : TDEIconLoader(arg1,arg2) {}; - TDEIconLoaderJBridge(const TQString& arg1) : TDEIconLoader(arg1) {}; - TDEIconLoaderJBridge() : TDEIconLoader() {}; - ~TDEIconLoaderJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_addAppDir(JNIEnv* env, jobject obj, jstring appname) -{ -static TQString* _qstring_appname = 0; - ((TDEIconLoader*) QtSupport::getQt(env, obj))->addAppDir((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_addExtraDesktopThemes(JNIEnv* env, jobject obj) -{ - ((TDEIconLoader*) QtSupport::getQt(env, obj))->addExtraDesktopThemes(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconLoader_currentSize(JNIEnv* env, jobject obj, jint group) -{ - jint xret = (jint) ((TDEIconLoader*) QtSupport::getQt(env, obj))->currentSize((TDEIcon::Group) group); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconLoader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_enableDelayedIconSetLoading(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEIconLoader*) QtSupport::getQt(env, obj))->enableDelayedIconSetLoading((bool) enable); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconLoader_extraDesktopThemesAdded(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->extraDesktopThemesAdded(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEIconLoader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_iconEffect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconLoader*) QtSupport::getQt(env, obj))->iconEffect(), "org.kde.koala.TDEIconEffect"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group_or_size) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring name, jint group_or_size, jboolean canReturnNull) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->iconPath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (int) group_or_size, (bool) canReturnNull); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconLoader_isDelayedIconSetLoadingEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIconLoader*) QtSupport::getQt(env, obj))->isDelayedIconSetLoadingEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconLoader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ - TQStringList _qlist; -static TQString* _qstring_name = 0; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ - TQStringList _qlist; -static TQString* _qstring_name = 0; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->loadAnimated((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (bool) canReturnNull)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZZ(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jboolean canReturnNull, jboolean immediateExistenceCheck) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQIconSet(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIconSet((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (bool) canReturnNull, (bool) immediateExistenceCheck)), "org.kde.qt.TQIconSet", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2III(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_path_store = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store))), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2Z(JNIEnv* env, jobject obj, jstring name, jint group, jint size, jint state, jobject path_store, jboolean canReturnNull) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_path_store = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size, (int) state, (TQString*) QtSupport::toTQStringFromStringBuffer(env, path_store, &_qstring_path_store), (bool) canReturnNull)), "org.kde.qt.TQPixmap", TRUE); - QtSupport::fromTQStringToStringBuffer(env, _qstring_path_store, path_store); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group)), "org.kde.qt.TQMovie", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ -static TQString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQMovie(((TDEIconLoader*) QtSupport::getQt(env, obj))->loadMovie((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size)), "org.kde.qt.TQMovie", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring name, jint group) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring name, jint group, jint size) -{ - TQString _qstring; -static TQString* _qstring_name = 0; - _qstring = ((TDEIconLoader*) QtSupport::getQt(env, obj))->moviePath((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (TDEIcon::Group) group, (int) size); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconLoaderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring appname) -{ -static TQString* _qstring_appname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2(JNIEnv* env, jobject obj, jstring appname, jobject dirs) -{ -static TQString* _qstring_appname = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconLoaderJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (TDEStandardDirs*) QtSupport::getQt(env, dirs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIconsByContext__I(JNIEnv* env, jobject obj, jint group_or_size) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIconsByContext__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByContext((int) group_or_size, (TDEIcon::Context) context); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIconsByDir(JNIEnv* env, jobject obj, jstring iconsDir) -{ - TQStringList _qlist; -static TQString* _qstring_iconsDir = 0; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIconsByDir((const TQString&)*(TQString*) QtSupport::toTQString(env, iconsDir, &_qstring_iconsDir)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIcons__I(JNIEnv* env, jobject obj, jint group_or_size) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_queryIcons__II(JNIEnv* env, jobject obj, jint group_or_size, jint context) -{ - TQStringList _qlist; - _qlist = ((TDEIconLoader*) QtSupport::getQt(env, obj))->queryIcons((int) group_or_size, (TDEIcon::Context) context); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconLoader_reconfigure(JNIEnv* env, jobject obj, jstring _appname, jobject _dirs) -{ -static TQString* _qstring__appname = 0; - ((TDEIconLoader*) QtSupport::getQt(env, obj))->reconfigure((const TQString&)*(TQString*) QtSupport::toTQString(env, _appname, &_qstring__appname), (TDEStandardDirs*) QtSupport::getQt(env, _dirs)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconLoader_unknown(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(TDEIconLoaderJBridge::unknown()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEIconLoader.h b/kdejava/koala/kdejava/TDEIconLoader.h deleted file mode 100644 index d6154a2c..00000000 --- a/kdejava/koala/kdejava/TDEIconLoader.h +++ /dev/null @@ -1,55 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconLoader__ -#define __org_kde_koala_TDEIconLoader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2Lorg_kde_koala_TDEStandardDirs_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_newTDEIconLoader__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_addAppDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2Z (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2IIILjava_lang_StringBuffer_2 (JNIEnv *env, jobject, jstring, jint, jint, jint, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIcon__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2IIZ (JNIEnv *env, jobject, jstring, jint, jint, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadIconSet__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_iconPath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadMovie__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconLoader_moviePath__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_loadAnimated__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIcons__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIcons__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByContext__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByContext__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_queryIconsByDir (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconLoader_currentSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_iconEffect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_reconfigure (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_addExtraDesktopThemes (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_extraDesktopThemesAdded (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_enableDelayedIconSetLoading (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_isDelayedIconSetLoadingEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconLoader_unknown (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconLoader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconLoader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconLoader__ */ diff --git a/kdejava/koala/kdejava/TDEIconView.cpp b/kdejava/koala/kdejava/TDEIconView.cpp deleted file mode 100644 index 78b547ab..00000000 --- a/kdejava/koala/kdejava/TDEIconView.cpp +++ /dev/null @@ -1,890 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEIconViewJBridge : public TDEIconView -{ -public: - TDEIconViewJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TDEIconView(arg1,arg2,arg3) {}; - TDEIconViewJBridge(TQWidget* arg1,const char* arg2) : TDEIconView(arg1,arg2) {}; - TDEIconViewJBridge(TQWidget* arg1) : TDEIconView(arg1) {}; - TDEIconViewJBridge() : TDEIconView() {}; - void protected_emitExecute(TQIconViewItem* arg1,const TQPoint& arg2) { - TDEIconView::emitExecute(arg1,arg2); - return; - } - void protected_updateDragHoldItem(TQDropEvent* arg1) { - TDEIconView::updateDragHoldItem(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TDEIconView::focusOutEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TDEIconView::leaveEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TDEIconView::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TDEIconView::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TDEIconView::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TDEIconView::contentsDragEnterEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TDEIconView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TDEIconView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TDEIconView::contentsDropEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TDEIconView::wheelEvent(arg1); - return; - } - void protected_cancelPendingHeldSignal() { - TDEIconView::cancelPendingHeldSignal(); - return; - } - void protected_slotOnItem(TQIconViewItem* arg1) { - TDEIconView::slotOnItem(arg1); - return; - } - void protected_slotOnViewport() { - TDEIconView::slotOnViewport(); - return; - } - void protected_slotSettingsChanged(int arg1) { - TDEIconView::slotSettingsChanged(arg1); - return; - } - void protected_slotAutoSelect() { - TDEIconView::slotAutoSelect(); - return; - } - ~TDEIconViewJBridge() {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 doAutoScroll() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","doAutoScroll")) { - TQIconView::doAutoScroll(); - } - return; - } - void resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQIconView::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")) { - TDEIconView::contentsMouseReleaseEvent(arg1); - } - 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 setItemTextBackground(const TQBrush& arg1) { - if (!QtSupport::eventDelegate(this,"setItemTextBackground",(void*)&arg1,"org.kde.qt.TQBrush")) { - TQIconView::setItemTextBackground(arg1); - } - return; - } - void contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TDEIconView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEIconView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void slotUpdate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","slotUpdate")) { - TQIconView::slotUpdate(); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void updateContents() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","updateContents")) { - TQIconView::updateContents(); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","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")) { - TQScrollView::viewportResizeEvent(arg1); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQIconView::setPalette(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","clear")) { - TQIconView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TDEIconView::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.koala.TDEIconView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","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")) { - TQIconView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TDEIconView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQIconView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void repaintItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"repaintItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::repaintItem(arg1); - } - return; - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","clearSelection")) { - TQIconView::clearSelection(); - } - 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")) { - TDEIconView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::contentsWheelEvent(arg1); - } - return; - } - void insertInGrid(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertInGrid",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::insertInGrid(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 startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","startDrag")) { - TQIconView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TDEIconView::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")) { - TDEIconView::contentsDragMoveEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TQIconView::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")) { - TQIconView::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 invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","invertSelection")) { - TQIconView::invertSelection(); - } - return; - } - void dropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQWidget::dropEvent(arg1); - } - return; - } - void drawRubber(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawRubber",(void*)arg1,"org.kde.qt.TQPainter")) { - TQIconView::drawRubber(arg1); - } - return; - } - void leaveEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEIconView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 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 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.koala.TDEIconView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDEIconView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQIconViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQIconViewItem")) { - TQIconView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQIconView::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 adjustItems() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEIconView","adjustItems")) { - TQIconView::adjustItems(); - } - return; - } - void contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEIconView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - 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")) { - TQIconView::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.koala.TDEIconView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_cancelPendingHeldSignal(JNIEnv* env, jobject obj) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_cancelPendingHeldSignal(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEIconView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIconView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsDropEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQIconViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEIconView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEIconView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconView_iconTextHeight(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconView*) QtSupport::getQt(env, obj))->iconTextHeight(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEIconView_mode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEIconView*) QtSupport::getQt(env, obj))->mode(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_newTDEIconView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_newTDEIconView__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 TDEIconViewJBridge((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_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_setFont(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_setIconTextHeight(JNIEnv* env, jobject obj, jint n) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->setIconTextHeight((int) n); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_setMode(JNIEnv* env, jobject obj, jint m) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->setMode((TDEIconView::Mode) m); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotAutoSelect(JNIEnv* env, jobject obj) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotOnItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotOnViewport(JNIEnv* env, jobject obj) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_takeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEIconView*) QtSupport::getQt(env, obj))->takeItem((TQIconViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_updateDragHoldItem(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_updateDragHoldItem((TQDropEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconView_wheelEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEIconViewJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEIconView.h b/kdejava/koala/kdejava/TDEIconView.h deleted file mode 100644 index b1f8fdfe..00000000 --- a/kdejava/koala/kdejava/TDEIconView.h +++ /dev/null @@ -1,50 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconView__ -#define __org_kde_koala_TDEIconView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEIconView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_newTDEIconView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setMode (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconView_mode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setFont (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_setIconTextHeight (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEIconView_iconTextHeight (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_emitExecute (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_updateDragHoldItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_cancelPendingHeldSignal (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotOnItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotOnViewport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotSettingsChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_slotAutoSelect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconView__ */ diff --git a/kdejava/koala/kdejava/TDEIconViewItem.cpp b/kdejava/koala/kdejava/TDEIconViewItem.cpp deleted file mode 100644 index 84133e1a..00000000 --- a/kdejava/koala/kdejava/TDEIconViewItem.cpp +++ /dev/null @@ -1,226 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEIconViewItemJBridge : public TDEIconViewItem -{ -public: - TDEIconViewItemJBridge(TQIconView* arg1) : TDEIconViewItem(arg1) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2) : TDEIconViewItem(arg1,arg2) {}; - TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2) : TDEIconViewItem(arg1,arg2) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; - TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPixmap& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPixmap& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {}; - TDEIconViewItemJBridge(TQIconView* arg1,const TQString& arg2,const TQPicture& arg3) : TDEIconViewItem(arg1,arg2,arg3) {}; - TDEIconViewItemJBridge(TQIconView* arg1,TQIconViewItem* arg2,const TQString& arg3,const TQPicture& arg4) : TDEIconViewItem(arg1,arg2,arg3,arg4) {}; - void protected_init() { - TDEIconViewItem::init(); - return; - } - void protected_calcRect(const TQString& arg1) { - TDEIconViewItem::calcRect(arg1); - return; - } - void protected_calcRect() { - TDEIconViewItem::calcRect(); - return; - } - void protected_paintItem(TQPainter* arg1,const TQColorGroup& arg2) { - TDEIconViewItem::paintItem(arg1,arg2); - return; - } - KWordWrap* protected_wordWrap() { - return (KWordWrap*) TDEIconViewItem::wordWrap(); - } - void protected_paintPixmap(TQPainter* arg1,const TQColorGroup& arg2) { - TDEIconViewItem::paintPixmap(arg1,arg2); - return; - } - void protected_paintText(TQPainter* arg1,const TQColorGroup& arg2) { - TDEIconViewItem::paintText(arg1,arg2); - return; - } - ~TDEIconViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_calcRect__(JNIEnv* env, jobject obj) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_calcRect__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text_) -{ -static TQString* _qstring_text_ = 0; - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_calcRect((const TQString&)*(TQString*) QtSupport::toTQString(env, text_, &_qstring_text_)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEIconViewItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQIconViewItem*)(TDEIconViewItem*)QtSupport::getQt(env, obj))->iconView() == 0) { - delete (TDEIconViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_init(JNIEnv* env, jobject obj) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_init(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEIconViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject picture) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jobject picture) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPicture&)*(const TQPicture*) QtSupport::getQt(env, picture))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEIconViewItemJBridge((TQIconView*) QtSupport::getQt(env, parent), (TQIconViewItem*) QtSupport::getQt(env, after), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_paintItem(JNIEnv* env, jobject obj, jobject p, jobject c) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintItem((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_paintPixmap(JNIEnv* env, jobject obj, jobject p, jobject c) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintPixmap((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_paintText(JNIEnv* env, jobject obj, jobject p, jobject c) -{ - ((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_paintText((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconViewItem_pixmapSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEIconViewItem*) QtSupport::getQt(env, obj))->pixmapSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEIconViewItem_setPixmapSize(JNIEnv* env, jobject obj, jobject size) -{ - ((TDEIconViewItem*) QtSupport::getQt(env, obj))->setPixmapSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, size)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEIconViewItem_wordWrap(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIconViewItemJBridge*) QtSupport::getQt(env, obj))->protected_wordWrap(), "org.kde.koala.KWordWrap"); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEIconViewItem.h b/kdejava/koala/kdejava/TDEIconViewItem.h deleted file mode 100644 index 851b57e9..00000000 --- a/kdejava/koala/kdejava/TDEIconViewItem.h +++ /dev/null @@ -1,38 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEIconViewItem__ -#define __org_kde_koala_TDEIconViewItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_newTDEIconViewItem__Lorg_kde_qt_QIconView_2Lorg_kde_qt_QIconViewItem_2Ljava_lang_String_2Lorg_kde_qt_QPicture_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_setPixmapSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconViewItem_pixmapSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_init (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_calcRect__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_calcRect__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintItem (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEIconViewItem_wordWrap (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintPixmap (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_paintText (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEIconViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEIconViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEIconViewItem__ */ diff --git a/kdejava/koala/kdejava/TDEInstance.cpp b/kdejava/koala/kdejava/TDEInstance.cpp deleted file mode 100644 index b3bc3655..00000000 --- a/kdejava/koala/kdejava/TDEInstance.cpp +++ /dev/null @@ -1,141 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEInstanceJBridge : public TDEInstance -{ -public: - TDEInstanceJBridge(const TQCString& arg1) : TDEInstance(arg1) {}; - TDEInstanceJBridge(const TDEAboutData* arg1) : TDEInstance(arg1) {}; - TDEInstanceJBridge(TDEInstance* arg1) : TDEInstance(arg1) {}; - void protected_setConfigName(const TQString& arg1) { - TDEInstance::setConfigName(arg1); - return; - } - ~TDEInstanceJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_aboutData(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->aboutData(), "org.kde.koala.TDEAboutData"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_config(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->config(), "org.kde.koala.TDEConfig"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_dirs(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->dirs(), "org.kde.koala.TDEStandardDirs"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEInstance_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEInstance*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_iconLoader(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->iconLoader(), "org.kde.koala.TDEIconLoader"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEInstance_instanceName(JNIEnv* env, jobject obj) -{ - TQCString _qstring; - _qstring = ((TDEInstance*) QtSupport::getQt(env, obj))->instanceName(); - return QtSupport::fromTQCString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEInstance_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_mimeSourceFactory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->mimeSourceFactory(), "org.kde.koala.KMimeSourceFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_newIconLoader(JNIEnv* env, jobject obj) -{ - ((TDEInstance*) QtSupport::getQt(env, obj))->newIconLoader(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_newTDEInstance__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring instanceName) -{ -static TQCString* _qcstring_instanceName = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEInstanceJBridge((const TQCString&)*(TQCString*) QtSupport::toTQCString(env, instanceName, &_qcstring_instanceName))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_newTDEInstance__Lorg_kde_koala_TDEAboutData_2(JNIEnv* env, jobject obj, jobject aboutData) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEInstanceJBridge((const TDEAboutData*) QtSupport::getQt(env, aboutData))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_newTDEInstance__Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jobject src) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEInstanceJBridge((TDEInstance*) QtSupport::getQt(env, src))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEInstance_setConfigName(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEInstanceJBridge*) QtSupport::getQt(env, obj))->protected_setConfigName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEInstance_sharedConfig(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEInstance*) QtSupport::getQt(env, obj))->sharedConfig(), "org.kde.koala.TDESharedConfig"); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEInstance.h b/kdejava/koala/kdejava/TDEInstance.h deleted file mode 100644 index a75ee4c8..00000000 --- a/kdejava/koala/kdejava/TDEInstance.h +++ /dev/null @@ -1,33 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEInstance__ -#define __org_kde_koala_TDEInstance__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_newTDEInstance__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_newTDEInstance__Lorg_kde_koala_TDEAboutData_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_newTDEInstance__Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_dirs (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_config (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_sharedConfig (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_iconLoader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_newIconLoader (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_aboutData (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEInstance_instanceName (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEInstance_mimeSourceFactory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_setConfigName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEInstance_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEInstance_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEInstance__ */ diff --git a/kdejava/koala/kdejava/TDEListAction.cpp b/kdejava/koala/kdejava/TDEListAction.cpp deleted file mode 100644 index fbce565d..00000000 --- a/kdejava/koala/kdejava/TDEListAction.cpp +++ /dev/null @@ -1,429 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEListActionJBridge : public TDEListAction -{ -public: - TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEListAction(arg1,arg2,arg3,arg4) {}; - TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEListAction(arg1,arg2,arg3) {}; - TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEListAction(arg1,arg2) {}; - TDEListActionJBridge(const TQString& arg1) : TDEListAction(arg1) {}; - TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEListAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEListAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEListAction(arg1,arg2,arg3,arg4) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEListAction(arg1,arg2,arg3) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEListAction(arg1,arg2) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEListAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEListAction(arg1,arg2,arg3,arg4) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEListAction(arg1,arg2,arg3) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2) : TDEListAction(arg1,arg2) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEListAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListActionJBridge(TQObject* arg1,const char* arg2) : TDEListAction(arg1,arg2) {}; - TDEListActionJBridge(TQObject* arg1) : TDEListAction(arg1) {}; - TDEListActionJBridge() : TDEListAction() {}; - ~TDEListActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","clear")) { - TDESelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListAction","slotActivated")) { - TDESelectAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEListAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEListAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEListAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListAction_currentItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEListAction*) QtSupport::getQt(env, obj))->currentItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEListAction_currentText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEListAction*) QtSupport::getQt(env, obj))->currentText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEListAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEListAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEListAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__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 TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_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 TDEListActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListAction_setCurrentItem(JNIEnv* env, jobject obj, jint index) -{ - ((TDEListAction*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); - return; -} - diff --git a/kdejava/koala/kdejava/TDEListAction.h b/kdejava/koala/kdejava/TDEListAction.h deleted file mode 100644 index 88a2a799..00000000 --- a/kdejava/koala/kdejava/TDEListAction.h +++ /dev/null @@ -1,47 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEListAction__ -#define __org_kde_koala_TDEListAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_newTDEListAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListAction_currentText (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListAction_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_setCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEListAction__ */ diff --git a/kdejava/koala/kdejava/TDEListBox.cpp b/kdejava/koala/kdejava/TDEListBox.cpp deleted file mode 100644 index bacb2636..00000000 --- a/kdejava/koala/kdejava/TDEListBox.cpp +++ /dev/null @@ -1,704 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEListBoxJBridge : public TDEListBox -{ -public: - TDEListBoxJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TDEListBox(arg1,arg2,arg3) {}; - TDEListBoxJBridge(TQWidget* arg1,const char* arg2) : TDEListBox(arg1,arg2) {}; - TDEListBoxJBridge(TQWidget* arg1) : TDEListBox(arg1) {}; - TDEListBoxJBridge() : TDEListBox() {}; - void protected_emitExecute(TQListBoxItem* arg1,const TQPoint& arg2) { - TDEListBox::emitExecute(arg1,arg2); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TDEListBox::keyPressEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TDEListBox::focusOutEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TDEListBox::leaveEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TDEListBox::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TDEListBox::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_slotOnItem(TQListBoxItem* arg1) { - TDEListBox::slotOnItem(arg1); - return; - } - void protected_slotOnViewport() { - TDEListBox::slotOnViewport(); - return; - } - void protected_slotSettingsChanged(int arg1) { - TDEListBox::slotSettingsChanged(arg1); - return; - } - void protected_slotAutoSelect() { - TDEListBox::slotAutoSelect(); - return; - } - ~TDEListBoxJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListBox::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")) { - TQListBox::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")) { - TQScrollView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQListBox::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 contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TQScrollView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListBox::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void ensureCurrentVisible() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","ensureCurrentVisible")) { - TQListBox::ensureCurrentVisible(); - } - 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.koala.TDEListBox","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")) { - TQScrollView::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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TQScrollView::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.koala.TDEListBox","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","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")) { - TQListBox::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(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")) { - TDEListBox::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","clearSelection")) { - TQListBox::clearSelection(); - } - 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")) { - TQScrollView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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 setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListBox::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")) { - TQScrollView::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")) { - TQScrollView::contentsMouseMoveEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::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 invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","invertSelection")) { - TQListBox::invertSelection(); - } - 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")) { - TDEListBox::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListBox::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListBox","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQListBox::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQListBox::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 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.koala.TDEListBox","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQListBoxItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListBoxItem")) { - TQListBox::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQListBox::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")) { - TDEListBox::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - 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")) { - TQListBox::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.koala.TDEListBox","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEListBox_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEListBox*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEListBox_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQListBoxItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEListBox*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEListBox*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListBox_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListBox_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListBox*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_newTDEListBox__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListBoxJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_newTDEListBox__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 TDEListBoxJBridge((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_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListBoxJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_slotAutoSelect(JNIEnv* env, jobject obj) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_slotOnItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQListBoxItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_slotOnViewport(JNIEnv* env, jobject obj) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListBox_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEListBoxJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/TDEListBox.h b/kdejava/koala/kdejava/TDEListBox.h deleted file mode 100644 index b88375c0..00000000 --- a/kdejava/koala/kdejava/TDEListBox.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEListBox__ -#define __org_kde_koala_TDEListBox__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListBox_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListBox_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_newTDEListBox__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_emitExecute (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotOnItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotOnViewport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotSettingsChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_slotAutoSelect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListBox_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListBox_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEListBox__ */ diff --git a/kdejava/koala/kdejava/TDEListView.cpp b/kdejava/koala/kdejava/TDEListView.cpp deleted file mode 100644 index 54faf678..00000000 --- a/kdejava/koala/kdejava/TDEListView.cpp +++ /dev/null @@ -1,1486 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEListViewJBridge : public TDEListView -{ -public: - TDEListViewJBridge(TQWidget* arg1,const char* arg2) : TDEListView(arg1,arg2) {}; - TDEListViewJBridge(TQWidget* arg1) : TDEListView(arg1) {}; - TDEListViewJBridge() : TDEListView() {}; - bool protected_below(const TQRect& arg1,const TQPoint& arg2) { - return (bool) TDEListView::below(arg1,arg2); - } - bool protected_below(TQListViewItem* arg1,const TQPoint& arg2) { - return (bool) TDEListView::below(arg1,arg2); - } - bool protected_event(TQEvent* arg1) { - return (bool) TDEListView::event(arg1); - } - void protected_emitExecute(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { - TDEListView::emitExecute(arg1,arg2,arg3); - return; - } - void protected_focusInEvent(TQFocusEvent* arg1) { - TDEListView::focusInEvent(arg1); - return; - } - void protected_focusOutEvent(TQFocusEvent* arg1) { - TDEListView::focusOutEvent(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TDEListView::leaveEvent(arg1); - return; - } - TQString protected_tooltip(TQListViewItem* arg1,int arg2) { - return (TQString) TDEListView::tooltip(arg1,arg2); - } - bool protected_showTooltip(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { - return (bool) TDEListView::showTooltip(arg1,arg2,arg3); - } - void protected_contentsDragMoveEvent(TQDragMoveEvent* arg1) { - TDEListView::contentsDragMoveEvent(arg1); - return; - } - void protected_contentsMousePressEvent(TQMouseEvent* arg1) { - TDEListView::contentsMousePressEvent(arg1); - return; - } - void protected_contentsMouseMoveEvent(TQMouseEvent* arg1) { - TDEListView::contentsMouseMoveEvent(arg1); - return; - } - void protected_contentsMouseDoubleClickEvent(TQMouseEvent* arg1) { - TDEListView::contentsMouseDoubleClickEvent(arg1); - return; - } - void protected_contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - TDEListView::contentsDragLeaveEvent(arg1); - return; - } - void protected_contentsMouseReleaseEvent(TQMouseEvent* arg1) { - TDEListView::contentsMouseReleaseEvent(arg1); - return; - } - void protected_contentsDropEvent(TQDropEvent* arg1) { - TDEListView::contentsDropEvent(arg1); - return; - } - void protected_contentsDragEnterEvent(TQDragEnterEvent* arg1) { - TDEListView::contentsDragEnterEvent(arg1); - return; - } - TQDragObject* protected_dragObject() { - return (TQDragObject*) TDEListView::dragObject(); - } - bool protected_acceptDrag(TQDropEvent* arg1) { - return (bool) TDEListView::acceptDrag(arg1); - } - TQRect protected_drawDropVisualizer(TQPainter* arg1,TQListViewItem* arg2,TQListViewItem* arg3) { - return (TQRect) TDEListView::drawDropVisualizer(arg1,arg2,arg3); - } - TQRect protected_drawItemHighlighter(TQPainter* arg1,TQListViewItem* arg2) { - return (TQRect) TDEListView::drawItemHighlighter(arg1,arg2); - } - void protected_startDrag() { - TDEListView::startDrag(); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TDEListView::keyPressEvent(arg1); - return; - } - void protected_viewportPaintEvent(TQPaintEvent* arg1) { - TDEListView::viewportPaintEvent(arg1); - return; - } - void protected_activateAutomaticSelection() { - TDEListView::activateAutomaticSelection(); - return; - } - void protected_deactivateAutomaticSelection() { - TDEListView::deactivateAutomaticSelection(); - return; - } - bool protected_automaticSelection() { - return (bool) TDEListView::automaticSelection(); - } - void protected_viewportResizeEvent(TQResizeEvent* arg1) { - TDEListView::viewportResizeEvent(arg1); - return; - } - void protected_disableAutoSelection() { - TDEListView::disableAutoSelection(); - return; - } - void protected_resetAutoSelection() { - TDEListView::resetAutoSelection(); - return; - } - void protected_movableDropEvent(TQListViewItem* arg1,TQListViewItem* arg2) { - TDEListView::movableDropEvent(arg1,arg2); - return; - } - void protected_findDrop(const TQPoint& arg1,TQListViewItem*& arg2,TQListViewItem*& arg3) { - TDEListView::findDrop(arg1,arg2,arg3); - return; - } - void protected_fileManagerKeyPressEvent(TQKeyEvent* arg1) { - TDEListView::fileManagerKeyPressEvent(arg1); - return; - } - int protected_depthToPixels(int arg1) { - return (int) TDEListView::depthToPixels(arg1); - } - void protected_slotSettingsChanged(int arg1) { - TDEListView::slotSettingsChanged(arg1); - return; - } - void protected_slotMouseButtonClicked(int arg1,TQListViewItem* arg2,const TQPoint& arg3,int arg4) { - TDEListView::slotMouseButtonClicked(arg1,arg2,arg3,arg4); - return; - } - void protected_doneEditing(TQListViewItem* arg1,int arg2) { - TDEListView::doneEditing(arg1,arg2); - return; - } - void protected_cleanDropVisualizer() { - TDEListView::cleanDropVisualizer(); - return; - } - void protected_cleanItemHighlighter() { - TDEListView::cleanItemHighlighter(); - return; - } - void protected_emitContextMenu(TQListViewItem* arg1,const TQPoint& arg2,int arg3) { - TDEListView::emitContextMenu(arg1,arg2,arg3); - return; - } - void protected_emitContextMenu(TDEListView* arg1,TQListViewItem* arg2) { - TDEListView::emitContextMenu(arg1,arg2); - return; - } - void protected_slotOnItem(TQListViewItem* arg1) { - TDEListView::slotOnItem(arg1); - return; - } - void protected_slotOnViewport() { - TDEListView::slotOnViewport(); - return; - } - void protected_slotAutoSelect() { - TDEListView::slotAutoSelect(); - return; - } - void protected_slotDragExpand() { - TDEListView::slotDragExpand(); - return; - } - void protected_slotHeaderChanged() { - TDEListView::slotHeaderChanged(); - return; - } - ~TDEListViewJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQListView::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 removeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"removeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::removeItem(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")) { - TDEListView::contentsMouseReleaseEvent(arg1); - } - return; - } - void viewportPaintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportPaintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEListView::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 contentsDragLeaveEvent(TQDragLeaveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragLeaveEvent",(void*)arg1,"org.kde.qt.TQDragLeaveEvent")) { - TDEListView::contentsDragLeaveEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TDEListView::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void insertItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"insertItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::insertItem(arg1); - } - 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.koala.TDEListView","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")) { - TDEListView::viewportResizeEvent(arg1); - } - return; - } - void sort() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","sort")) { - TQListView::sort(); - } - return; - } - void setPalette(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"setPalette",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQListView::setPalette(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","clear")) { - TQListView::clear(); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void contentsDropEvent(TQDropEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDropEvent",(void*)arg1,"org.kde.qt.TQDropEvent")) { - TDEListView::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.koala.TDEListView","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","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")) { - TQListView::showEvent(arg1); - } - return; - } - void viewportContextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportContextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::viewportContextMenuEvent(arg1); - } - return; - } - void viewportDragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"viewportDragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQScrollView::viewportDragEnterEvent(arg1); - } - return; - } - void takeItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"takeItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TDEListView::takeItem(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListView::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void clearSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","clearSelection")) { - TQListView::clearSelection(); - } - 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")) { - TDEListView::contentsDragEnterEvent(arg1); - } - return; - } - void contentsWheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsWheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::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 startDrag() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","startDrag")) { - TDEListView::startDrag(); - } - return; - } - void setFont(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"setFont",(void*)&arg1,"org.kde.qt.TQFont")) { - TQListView::setFont(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void fileManagerKeyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"fileManagerKeyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEListView::fileManagerKeyPressEvent(arg1); - } - return; - } - void contentsDragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsDragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TDEListView::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")) { - TDEListView::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 invertSelection() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","invertSelection")) { - TQListView::invertSelection(); - } - 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")) { - TDEListView::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void contentsMousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contentsMousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEListView::contentsMousePressEvent(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEListView","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 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 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.koala.TDEListView","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQScrollView::wheelEvent(arg1); - } - return; - } - void setCurrentItem(TQListViewItem* arg1) { - if (!QtSupport::eventDelegate(this,"setCurrentItem",(void*)arg1,"org.kde.qt.TQListViewItem")) { - TQListView::setCurrentItem(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TDEListView::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")) { - TDEListView::contentsMouseDoubleClickEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQScrollView::contextMenuEvent(arg1); - } - 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")) { - TQListView::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.koala.TDEListView","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_acceptDrag(JNIEnv* env, jobject obj, jobject event) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_acceptDrag((TQDropEvent*) QtSupport::getQt(env, event)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_activateAutomaticSelection(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_activateAutomaticSelection(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring label) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring label, jint width) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject iconset, jstring label) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject iconset, jstring label, jint width) -{ -static TQString* _qstring_label = 0; - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->addColumn((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset), (const TQString&)*(TQString*) QtSupport::toTQString(env, label, &_qstring_label), (int) width); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_alternateBackground(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TDEListView*) QtSupport::getQt(env, obj))->alternateBackground(), "org.kde.qt.TQColor"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_ascendingSort(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->ascendingSort(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_autoOpen(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->autoOpen(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_automaticSelection(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_automaticSelection(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject i, jobject p) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_below((TQListViewItem*) QtSupport::getQt(env, i), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject rect, jobject p) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_below((const TQRect&)*(const TQRect*) QtSupport::getQt(env, rect), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEListView_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEListView*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_cleanDropVisualizer(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_cleanDropVisualizer(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_cleanItemHighlighter(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_cleanItemHighlighter(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_columnSorted(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->columnSorted(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsDragEnterEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsDragLeaveEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsDragMoveEvent(JNIEnv* env, jobject obj, jobject event) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, event)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsDropEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsDropEvent((TQDropEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsMouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsMouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsMousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_contentsMouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_contentsMouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_deactivateAutomaticSelection(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_deactivateAutomaticSelection(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_depthToPixels(JNIEnv* env, jobject obj, jint depth) -{ - jint xret = (jint) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_depthToPixels((int) depth); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_disableAutoSelection(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_disableAutoSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEListView_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_doneEditing(JNIEnv* env, jobject obj, jobject item, jint row) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_doneEditing((TQListViewItem*) QtSupport::getQt(env, item), (int) row); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_dragEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->dragEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_dragObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_dragObject(), "org.kde.qt.TQDragObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_drawDropVisualizer(JNIEnv* env, jobject obj, jobject p, jobject parent, jobject after) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawDropVisualizer((TQPainter*) QtSupport::getQt(env, p), (TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_drawItemHighlighter(JNIEnv* env, jobject obj, jobject painter, jobject item) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_drawItemHighlighter((TQPainter*) QtSupport::getQt(env, painter), (TQListViewItem*) QtSupport::getQt(env, item))), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_dropHighlighter(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->dropHighlighter(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_dropVisualizerWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->dropVisualizerWidth(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_dropVisualizer(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->dropVisualizer(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_koala_TDEListView_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject arg1, jobject arg2) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitContextMenu((TDEListView*) QtSupport::getQt(env, arg1), (TQListViewItem*) QtSupport::getQt(env, arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject arg1, jobject arg2, jint arg3) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitContextMenu((TQListViewItem*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2), (int) arg3); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_emitExecute(JNIEnv* env, jobject obj, jobject item, jobject pos, jint c) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_emitExecute((TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) c); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_event(JNIEnv* env, jobject obj, jobject arg1) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_fileManagerKeyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_fileManagerKeyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEListView*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEListView*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_findDrop(JNIEnv* env, jobject obj, jobject pos, jobject parent, jobject after) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_findDrop((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQListViewItem*&)*(TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*&)*(TQListViewItem*) QtSupport::getQt(env, after)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_focusInEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_focusOutEvent(JNIEnv* env, jobject obj, jobject fe) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, fe)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_fullWidth(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->fullWidth(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_isExecuteArea__I(JNIEnv* env, jobject obj, jint x) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->isExecuteArea((int) x); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_isExecuteArea__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject point) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->isExecuteArea((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, point)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_isRenameable(JNIEnv* env, jobject obj, jint column) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->isRenameable((int) column); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_itemAtIndex(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->itemAtIndex((int) index), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_itemIndex(JNIEnv* env, jobject obj, jobject item) -{ - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->itemIndex((const TQListViewItem*) QtSupport::getQt(env, item)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_itemsMovable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->itemsMovable(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_itemsRenameable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->itemsRenameable(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_lastChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->lastChild(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_lastItem(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->lastItem(), "org.kde.qt.TQListViewItem"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_movableDropEvent(JNIEnv* env, jobject obj, jobject parent, jobject afterme) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_movableDropEvent((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, afterme)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_moveItem(JNIEnv* env, jobject obj, jobject item, jobject parent, jobject after) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->moveItem((TQListViewItem*) QtSupport::getQt(env, item), (TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_newTDEListView__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_newTDEListView__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_newTDEListView__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 TDEListViewJBridge((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_koala_TDEListView_removeColumn(JNIEnv* env, jobject obj, jint index) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->removeColumn((int) index); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListView_renameLineEdit(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEListView*) QtSupport::getQt(env, obj))->renameLineEdit(), "org.kde.koala.KLineEdit"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_rename(JNIEnv* env, jobject obj, jobject item, jint c) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->rename((TQListViewItem*) QtSupport::getQt(env, item), (int) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_resetAutoSelection(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_resetAutoSelection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_restoreLayout(JNIEnv* env, jobject obj, jobject config, jstring group) -{ -static TQString* _qstring_group = 0; - ((TDEListView*) QtSupport::getQt(env, obj))->restoreLayout((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_saveLayout(JNIEnv* env, jobject obj, jobject config, jstring group) -{ -static TQString* _qstring_group = 0; - ((TDEListView*) QtSupport::getQt(env, obj))->saveLayout((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, group, &_qstring_group)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_selectionModeExt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->selectionModeExt(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setAcceptDrops(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setAlternateBackground(JNIEnv* env, jobject obj, jobject c) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setAlternateBackground((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setAutoOpen(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setAutoOpen((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setDragEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setDropHighlighter(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setDropHighlighter((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setDropVisualizerWidth(JNIEnv* env, jobject obj, jint w) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setDropVisualizerWidth((int) w); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setDropVisualizer(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setDropVisualizer((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setFullWidth(JNIEnv* env, jobject obj, jboolean fullWidth) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setFullWidth((bool) fullWidth); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setItemsMovable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setItemsMovable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setItemsRenameable(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setItemsRenameable((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setRenameable__I(JNIEnv* env, jobject obj, jint column) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setRenameable((int) column); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setRenameable__IZ(JNIEnv* env, jobject obj, jint column, jboolean yesno) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setRenameable((int) column, (bool) yesno); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setSelectionModeExt(JNIEnv* env, jobject obj, jint mode) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setSelectionModeExt((TDEListView::SelectionModeExt) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setShadeSortColumn(JNIEnv* env, jobject obj, jboolean shadeSortColumn) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setShadeSortColumn((bool) shadeSortColumn); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setSorting__I(JNIEnv* env, jobject obj, jint column) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setSorting((int) column); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setSorting__IZ(JNIEnv* env, jobject obj, jint column, jboolean ascending) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setSorting((int) column, (bool) ascending); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setTabOrderedRenaming(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setTabOrderedRenaming((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_setTooltipColumn(JNIEnv* env, jobject obj, jint column) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->setTooltipColumn((int) column); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_shadeSortColumn(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->shadeSortColumn(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_showTooltip(JNIEnv* env, jobject obj, jobject item, jobject pos, jint column) -{ - jboolean xret = (jboolean) ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_showTooltip((TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) column); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotAutoSelect(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotAutoSelect(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotDragExpand(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotDragExpand(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotHeaderChanged(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotHeaderChanged(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotMouseButtonClicked(JNIEnv* env, jobject obj, jint btn, jobject item, jobject pos, jint c) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotMouseButtonClicked((int) btn, (TQListViewItem*) QtSupport::getQt(env, item), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (int) c); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotOnItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnItem((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotOnViewport(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotOnViewport(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_slotSettingsChanged(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_slotSettingsChanged((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_startDrag(JNIEnv* env, jobject obj) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_startDrag(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListView_tabOrderedRenaming(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListView*) QtSupport::getQt(env, obj))->tabOrderedRenaming(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_takeItem(JNIEnv* env, jobject obj, jobject i) -{ - ((TDEListView*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, i)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEListView_tooltipColumn(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEListView*) QtSupport::getQt(env, obj))->tooltipColumn(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEListView_tooltip(JNIEnv* env, jobject obj, jobject item, jint column) -{ - TQString _qstring; - _qstring = ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_tooltip((TQListViewItem*) QtSupport::getQt(env, item), (int) column); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_viewportPaintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportPaintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListView_viewportResizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEListViewJBridge*) QtSupport::getQt(env, obj))->protected_viewportResizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEListView.h b/kdejava/koala/kdejava/TDEListView.h deleted file mode 100644 index 430f8aae..00000000 --- a/kdejava/koala/kdejava/TDEListView.h +++ /dev/null @@ -1,123 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEListView__ -#define __org_kde_koala_TDEListView__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListView_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_newTDEListView__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_newTDEListView__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_newTDEListView__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setAcceptDrops (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isExecuteArea__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isExecuteArea__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_moveItem (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_lastItem (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_lastChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_renameLineEdit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_itemsMovable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_itemsRenameable (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_dragEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_autoOpen (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isRenameable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_dropVisualizer (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_tooltipColumn (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_dropHighlighter (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_dropVisualizerWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_selectionModeExt (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_itemIndex (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_itemAtIndex (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setFullWidth (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_fullWidth (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_addColumn__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_removeColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setAlternateBackground (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_alternateBackground (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_saveLayout (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_restoreLayout (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setSorting__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setSorting__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_columnSorted (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_ascendingSort (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setShadeSortColumn (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_shadeSortColumn (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_rename (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setRenameable__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setRenameable__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setItemsMovable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setItemsRenameable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDragEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setAutoOpen (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDropVisualizer (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDropVisualizerWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setTooltipColumn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setDropHighlighter (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setSelectionModeExt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_setTabOrderedRenaming (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_tabOrderedRenaming (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QRect_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_below__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_emitExecute (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_focusInEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_focusOutEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEListView_tooltip (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_showTooltip (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDragMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMouseDoubleClickEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDragLeaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsMouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDropEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_contentsDragEnterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_dragObject (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_acceptDrag (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_drawDropVisualizer (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListView_drawItemHighlighter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_startDrag (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_viewportPaintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_activateAutomaticSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_deactivateAutomaticSelection (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_automaticSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_viewportResizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_disableAutoSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_resetAutoSelection (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_movableDropEvent (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_findDrop (JNIEnv *env, jobject, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_fileManagerKeyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEListView_depthToPixels (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotSettingsChanged (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotMouseButtonClicked (JNIEnv *env, jobject, jint, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_doneEditing (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_cleanDropVisualizer (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_cleanItemHighlighter (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QPoint_2I (JNIEnv *env, jobject, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_emitContextMenu__Lorg_kde_koala_TDEListView_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotOnItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotOnViewport (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotAutoSelect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotDragExpand (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_slotHeaderChanged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListView_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListView_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEListView__ */ diff --git a/kdejava/koala/kdejava/TDEListViewItem.cpp b/kdejava/koala/kdejava/TDEListViewItem.cpp deleted file mode 100644 index ec497c5c..00000000 --- a/kdejava/koala/kdejava/TDEListViewItem.cpp +++ /dev/null @@ -1,614 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEListViewItemJBridge : public TDEListViewItem -{ -public: - TDEListViewItemJBridge(TQListView* arg1) : TDEListViewItem(arg1) {}; - TDEListViewItemJBridge(TQListViewItem* arg1) : TDEListViewItem(arg1) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2) : TDEListViewItem(arg1,arg2) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2) : TDEListViewItem(arg1,arg2) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; - TDEListViewItemJBridge(TQListView* arg1,TQString arg2) : TDEListViewItem(arg1,arg2) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQString arg2) : TDEListViewItem(arg1,arg2) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; - TDEListViewItemJBridge(TQListView* arg1,TQListViewItem* arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9,TQString arg10) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8,TQString arg9) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7,TQString arg8) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6,TQString arg7) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5,TQString arg6) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4,TQString arg5) : TDEListViewItem(arg1,arg2,arg3,arg4,arg5) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3,TQString arg4) : TDEListViewItem(arg1,arg2,arg3,arg4) {}; - TDEListViewItemJBridge(TQListViewItem* arg1,TQListViewItem* arg2,TQString arg3) : TDEListViewItem(arg1,arg2,arg3) {}; - ~TDEListViewItemJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEListViewItem_backgroundColor(JNIEnv* env, jobject obj, jint column) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQColor(((TDEListViewItem*) QtSupport::getQt(env, obj))->backgroundColor((int) column)), "org.kde.qt.TQColor", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEListViewItem_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQListViewItem*)(TDEListViewItem*)QtSupport::getQt(env, obj))->parent() == 0 && ((TQListViewItem*)(TDEListViewItem*)QtSupport::getQt(env, obj))->listView() == 0) { - delete (TDEListViewItem*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_insertItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEListViewItem*) QtSupport::getQt(env, obj))->insertItem((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListViewItem_isAlternate(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEListViewItem*) QtSupport::getQt(env, obj))->isAlternate(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEListViewItem_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9, jstring arg10) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; -static TQString* _qstring_arg10 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListViewItem*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9), (TQString)*(TQString*) QtSupport::toTQString(env, arg10, &_qstring_arg10))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2) -{ -static TQString* _qstring_arg2 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring arg2, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg2 = 0; -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQString)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2(JNIEnv* env, jobject obj, jobject parent, jobject after) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3) -{ -static TQString* _qstring_arg3 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jobject after, jstring arg3, jstring arg4, jstring arg5, jstring arg6, jstring arg7, jstring arg8, jstring arg9, jstring arg10) -{ -static TQString* _qstring_arg3 = 0; -static TQString* _qstring_arg4 = 0; -static TQString* _qstring_arg5 = 0; -static TQString* _qstring_arg6 = 0; -static TQString* _qstring_arg7 = 0; -static TQString* _qstring_arg8 = 0; -static TQString* _qstring_arg9 = 0; -static TQString* _qstring_arg10 = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEListViewItemJBridge((TQListView*) QtSupport::getQt(env, parent), (TQListViewItem*) QtSupport::getQt(env, after), (TQString)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3), (TQString)*(TQString*) QtSupport::toTQString(env, arg4, &_qstring_arg4), (TQString)*(TQString*) QtSupport::toTQString(env, arg5, &_qstring_arg5), (TQString)*(TQString*) QtSupport::toTQString(env, arg6, &_qstring_arg6), (TQString)*(TQString*) QtSupport::toTQString(env, arg7, &_qstring_arg7), (TQString)*(TQString*) QtSupport::toTQString(env, arg8, &_qstring_arg8), (TQString)*(TQString*) QtSupport::toTQString(env, arg9, &_qstring_arg9), (TQString)*(TQString*) QtSupport::toTQString(env, arg10, &_qstring_arg10))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_paintCell(JNIEnv* env, jobject obj, jobject p, jobject cg, jint column, jint width, jint alignment) -{ - ((TDEListViewItem*) QtSupport::getQt(env, obj))->paintCell((TQPainter*) QtSupport::getQt(env, p), (const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg), (int) column, (int) width, (int) alignment); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEListViewItem_takeItem(JNIEnv* env, jobject obj, jobject item) -{ - ((TDEListViewItem*) QtSupport::getQt(env, obj))->takeItem((TQListViewItem*) QtSupport::getQt(env, item)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEListViewItem.h b/kdejava/koala/kdejava/TDEListViewItem.h deleted file mode 100644 index 87cab4e7..00000000 --- a/kdejava/koala/kdejava/TDEListViewItem.h +++ /dev/null @@ -1,62 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEListViewItem__ -#define __org_kde_koala_TDEListViewItem__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListView_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_newTDEListViewItem__Lorg_kde_qt_QListViewItem_2Lorg_kde_qt_QListViewItem_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_insertItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_takeItem (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListViewItem_isAlternate (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEListViewItem_backgroundColor (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_paintCell (JNIEnv *env, jobject, jobject, jobject, jint, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEListViewItem_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEListViewItem_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEListViewItem__ */ diff --git a/kdejava/koala/kdejava/TDELocale.cpp b/kdejava/koala/kdejava/TDELocale.cpp deleted file mode 100644 index f747a285..00000000 --- a/kdejava/koala/kdejava/TDELocale.cpp +++ /dev/null @@ -1,941 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDELocaleJBridge : public TDELocale -{ -public: - TDELocaleJBridge(const TQString& arg1,TDEConfig* arg2) : TDELocale(arg1,arg2) {}; - TDELocaleJBridge(const TQString& arg1) : TDELocale(arg1) {}; - TDELocaleJBridge(const TDELocale& arg1) : TDELocale(arg1) {}; - static void protected_initInstance() { - TDELocale::initInstance(); - return; - } - ~TDELocaleJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale__1initLanguage(JNIEnv* env, jclass cls, jobject config) -{ - TQString _qstring; - (void) cls; - _qstring = TDELocaleJBridge::_initLanguage((TDEConfigBase*) QtSupport::getQt(env, config)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_allCountriesTwoAlpha(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDELocale*) QtSupport::getQt(env, obj))->allCountriesTwoAlpha(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_allLanguagesTwoAlpha(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDELocale*) QtSupport::getQt(env, obj))->allLanguagesTwoAlpha(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_calendarType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->calendarType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_calendar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDELocale*) QtSupport::getQt(env, obj))->calendar(), "org.kde.koala.KCalendarSystem"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_codecForEncoding(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDELocale*) QtSupport::getQt(env, obj))->codecForEncoding(), "org.kde.qt.TQTextCodec"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_country(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->country(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_currencySymbol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->currencySymbol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_dateFormatShort(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->dateFormatShort(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_dateFormat(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->dateFormat(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_dateMonthNamePossessive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->dateMonthNamePossessive(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_decimalSymbol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->decimalSymbol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_defaultCountry(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDELocaleJBridge::defaultCountry(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_defaultLanguage(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDELocaleJBridge::defaultLanguage(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDELocale_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_encodingMib(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->encodingMib(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_encoding(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->encoding(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_fileEncodingMib(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->fileEncodingMib(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDELocale*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject pDateTime) -{ - TQString _qstring; -static TQDateTime* _qdate_pDateTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatDateTime((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, pDateTime, &_qdate_pDateTime)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jobject pDateTime, jboolean shortFormat) -{ - TQString _qstring; -static TQDateTime* _qdate_pDateTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatDateTime((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, pDateTime, &_qdate_pDateTime), (bool) shortFormat); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2ZZ(JNIEnv* env, jobject obj, jobject pDateTime, jboolean shortFormat, jboolean includeSecs) -{ - TQString _qstring; -static TQDateTime* _qdate_pDateTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatDateTime((const TQDateTime&)*(TQDateTime*) QtSupport::toTQDateTime(env, pDateTime, &_qdate_pDateTime), (bool) shortFormat, (bool) includeSecs); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatDate__Ljava_util_Calendar_2(JNIEnv* env, jobject obj, jobject pDate) -{ - TQString _qstring; -static TQDate* _qdate_pDate = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, pDate, &_qdate_pDate)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatDate__Ljava_util_Calendar_2Z(JNIEnv* env, jobject obj, jobject pDate, jboolean shortFormat) -{ - TQString _qstring; -static TQDate* _qdate_pDate = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatDate((const TQDate&)*(TQDate*) QtSupport::toTQDate(env, pDate, &_qdate_pDate), (bool) shortFormat); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatLong(JNIEnv* env, jobject obj, jlong num) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatLong((long) num); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatMoney__D(JNIEnv* env, jobject obj, jdouble num) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatMoney((double) num); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatMoney__DLjava_lang_String_2(JNIEnv* env, jobject obj, jdouble num, jstring currency) -{ - TQString _qstring; -static TQString* _qstring_currency = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatMoney((double) num, (const TQString&)*(TQString*) QtSupport::toTQString(env, currency, &_qstring_currency)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatMoney__DLjava_lang_String_2I(JNIEnv* env, jobject obj, jdouble num, jstring currency, jint digits) -{ - TQString _qstring; -static TQString* _qstring_currency = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatMoney((double) num, (const TQString&)*(TQString*) QtSupport::toTQString(env, currency, &_qstring_currency), (int) digits); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatNumber__D(JNIEnv* env, jobject obj, jdouble num) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatNumber((double) num); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatNumber__DI(JNIEnv* env, jobject obj, jdouble num, jint precision) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatNumber((double) num, (int) precision); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatNumber__Ljava_lang_String_2ZI(JNIEnv* env, jobject obj, jstring numStr, jboolean round, jint precision) -{ - TQString _qstring; -static TQString* _qstring_numStr = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatNumber((const TQString&)*(TQString*) QtSupport::toTQString(env, numStr, &_qstring_numStr), (bool) round, (int) precision); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2(JNIEnv* env, jobject obj, jobject pTime) -{ - TQString _qstring; -static TQTime* _qtime_pTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatTime((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, pTime, &_qtime_pTime)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2Z(JNIEnv* env, jobject obj, jobject pTime, jboolean includeSecs) -{ - TQString _qstring; -static TQTime* _qtime_pTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatTime((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, pTime, &_qtime_pTime), (bool) includeSecs); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2ZZ(JNIEnv* env, jobject obj, jobject pTime, jboolean includeSecs, jboolean isDuration) -{ - TQString _qstring; -static TQTime* _qtime_pTime = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->formatTime((const TQTime&)*(TQTime*) QtSupport::toTQTime(env, pTime, &_qtime_pTime), (bool) includeSecs, (bool) isDuration); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_fracDigits(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->fracDigits(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_initInstance(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDELocaleJBridge::protected_initInstance(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_insertCatalogue(JNIEnv* env, jobject obj, jstring catalog) -{ -static TQString* _qstring_catalog = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->insertCatalogue((const TQString&)*(TQString*) QtSupport::toTQString(env, catalog, &_qstring_catalog)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_langLookup__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fname) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_fname = 0; - _qstring = TDELocaleJBridge::langLookup((const TQString&)*(TQString*) QtSupport::toTQString(env, fname, &_qstring_fname)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_langLookup__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring fname, jstring rtype) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_fname = 0; -static TQCString* _qstring_rtype = 0; - _qstring = TDELocaleJBridge::langLookup((const TQString&)*(TQString*) QtSupport::toTQString(env, fname, &_qstring_fname), (const char*) QtSupport::toCharString(env, rtype, &_qstring_rtype)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_languageList(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDELocale*) QtSupport::getQt(env, obj))->languageList(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_language(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->language(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_languagesTwoAlpha(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDELocale*) QtSupport::getQt(env, obj))->languagesTwoAlpha(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_measureSystem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->measureSystem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_monetaryDecimalSymbol(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->monetaryDecimalSymbol(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_monetaryThousandsSeparator(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->monetaryThousandsSeparator(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_negativeMonetarySignPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->negativeMonetarySignPosition(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_negativePrefixCurrencySymbol(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->negativePrefixCurrencySymbol(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_negativeSign(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->negativeSign(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_newTDELocale__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring catalog) -{ -static TQString* _qstring_catalog = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDELocaleJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, catalog, &_qstring_catalog))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_newTDELocale__Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jstring catalog, jobject config) -{ -static TQString* _qstring_catalog = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDELocaleJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, catalog, &_qstring_catalog), (TDEConfig*) QtSupport::getQt(env, config))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_newTDELocale__Lorg_kde_koala_TDELocale_2(JNIEnv* env, jobject obj, jobject rhs) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDELocaleJBridge((const TDELocale&)*(const TDELocale*) QtSupport::getQt(env, rhs))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_nounDeclension(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->nounDeclension(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_pageSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->pageSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_positiveMonetarySignPosition(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->positiveMonetarySignPosition(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_positivePrefixCurrencySymbol(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->positivePrefixCurrencySymbol(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_positiveSign(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->positiveSign(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ - TQDate _qdate; -static TQString* _qstring_str = 0; - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint flags) -{ - TQDate _qdate; -static TQString* _qstring_str = 0; - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (TDELocale::ReadDateFlags) flags); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2I_3Z(JNIEnv* env, jobject obj, jstring str, jint flags, jbooleanArray ok) -{ - TQDate _qdate; -static TQString* _qstring_str = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (TDELocale::ReadDateFlags) flags, (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring intstr, jstring fmt) -{ - TQDate _qdate; -static TQString* _qstring_intstr = 0; -static TQString* _qstring_fmt = 0; - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, intstr, &_qstring_intstr), (const TQString&)*(TQString*) QtSupport::toTQString(env, fmt, &_qstring_fmt)); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring intstr, jstring fmt, jbooleanArray ok) -{ - TQDate _qdate; -static TQString* _qstring_intstr = 0; -static TQString* _qstring_fmt = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, intstr, &_qstring_intstr), (const TQString&)*(TQString*) QtSupport::toTQString(env, fmt, &_qstring_fmt), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring str, jbooleanArray ok) -{ - TQDate _qdate; -static TQString* _qstring_str = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qdate = ((TDELocale*) QtSupport::getQt(env, obj))->readDate((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::fromTQDate(env, (TQDate*) &_qdate); -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDELocale_readMoney__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring numStr) -{ -static TQString* _qstring_numStr = 0; - jdouble xret = (jdouble) ((TDELocale*) QtSupport::getQt(env, obj))->readMoney((const TQString&)*(TQString*) QtSupport::toTQString(env, numStr, &_qstring_numStr)); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDELocale_readMoney__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring numStr, jbooleanArray ok) -{ -static TQString* _qstring_numStr = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jdouble xret = (jdouble) ((TDELocale*) QtSupport::getQt(env, obj))->readMoney((const TQString&)*(TQString*) QtSupport::toTQString(env, numStr, &_qstring_numStr), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDELocale_readNumber__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring numStr) -{ -static TQString* _qstring_numStr = 0; - jdouble xret = (jdouble) ((TDELocale*) QtSupport::getQt(env, obj))->readNumber((const TQString&)*(TQString*) QtSupport::toTQString(env, numStr, &_qstring_numStr)); - return xret; -} - -JNIEXPORT jdouble JNICALL -Java_org_kde_koala_TDELocale_readNumber__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring numStr, jbooleanArray ok) -{ -static TQString* _qstring_numStr = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - jdouble xret = (jdouble) ((TDELocale*) QtSupport::getQt(env, obj))->readNumber((const TQString&)*(TQString*) QtSupport::toTQString(env, numStr, &_qstring_numStr), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring str) -{ - TQTime _qtime; -static TQString* _qstring_str = 0; - _qtime = ((TDELocale*) QtSupport::getQt(env, obj))->readTime((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str)); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring str, jint flags) -{ - TQTime _qtime; -static TQString* _qstring_str = 0; - _qtime = ((TDELocale*) QtSupport::getQt(env, obj))->readTime((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (TDELocale::ReadTimeFlags) flags); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2I_3Z(JNIEnv* env, jobject obj, jstring str, jint flags, jbooleanArray ok) -{ - TQTime _qtime; -static TQString* _qstring_str = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qtime = ((TDELocale*) QtSupport::getQt(env, obj))->readTime((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (TDELocale::ReadTimeFlags) flags, (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2_3Z(JNIEnv* env, jobject obj, jstring str, jbooleanArray ok) -{ - TQTime _qtime; -static TQString* _qstring_str = 0; - bool* _bool_ok = QtSupport::toBooleanPtr(env, ok); - _qtime = ((TDELocale*) QtSupport::getQt(env, obj))->readTime((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (bool*) _bool_ok); - env->SetBooleanArrayRegion(ok, 0, 1, (jboolean*) _bool_ok); - return (jobject) QtSupport::fromTQTime(env, (TQTime*) &_qtime); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_removeCatalogue(JNIEnv* env, jobject obj, jstring catalog) -{ -static TQString* _qstring_catalog = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->removeCatalogue((const TQString&)*(TQString*) QtSupport::toTQString(env, catalog, &_qstring_catalog)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setActiveCatalogue(JNIEnv* env, jobject obj, jstring catalog) -{ -static TQString* _qstring_catalog = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setActiveCatalogue((const TQString&)*(TQString*) QtSupport::toTQString(env, catalog, &_qstring_catalog)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setCalendar(JNIEnv* env, jobject obj, jstring calendarType) -{ -static TQString* _qstring_calendarType = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setCalendar((const TQString&)*(TQString*) QtSupport::toTQString(env, calendarType, &_qstring_calendarType)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_setCountry(JNIEnv* env, jobject obj, jstring country) -{ -static TQString* _qstring_country = 0; - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->setCountry((const TQString&)*(TQString*) QtSupport::toTQString(env, country, &_qstring_country)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setCurrencySymbol(JNIEnv* env, jobject obj, jstring symbol) -{ -static TQString* _qstring_symbol = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setCurrencySymbol((const TQString&)*(TQString*) QtSupport::toTQString(env, symbol, &_qstring_symbol)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setDateFormatShort(JNIEnv* env, jobject obj, jstring format) -{ -static TQString* _qstring_format = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setDateFormatShort((const TQString&)*(TQString*) QtSupport::toTQString(env, format, &_qstring_format)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setDateFormat(JNIEnv* env, jobject obj, jstring format) -{ -static TQString* _qstring_format = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setDateFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, format, &_qstring_format)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setDateMonthNamePossessive(JNIEnv* env, jobject obj, jboolean possessive) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setDateMonthNamePossessive((bool) possessive); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setDecimalSymbol(JNIEnv* env, jobject obj, jstring symbol) -{ -static TQString* _qstring_symbol = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setDecimalSymbol((const TQString&)*(TQString*) QtSupport::toTQString(env, symbol, &_qstring_symbol)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_setEncoding(JNIEnv* env, jobject obj, jint mibEnum) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->setEncoding((int) mibEnum); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setFracDigits(JNIEnv* env, jobject obj, jint digits) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setFracDigits((int) digits); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_setLanguage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring language) -{ -static TQString* _qstring_language = 0; - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->setLanguage((const TQString&)*(TQString*) QtSupport::toTQString(env, language, &_qstring_language)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_setLanguage___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray languages) -{ -static TQStringList* _qlist_languages = 0; - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->setLanguage((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, languages, &_qlist_languages)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setMainCatalogue(JNIEnv* env, jclass cls, jstring catalog) -{ - (void) cls; -static TQCString* _qstring_catalog = 0; - TDELocaleJBridge::setMainCatalogue((const char*) QtSupport::toCharString(env, catalog, &_qstring_catalog)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setMeasureSystem(JNIEnv* env, jobject obj, jint value) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setMeasureSystem((TDELocale::MeasureSystem) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setMonetaryDecimalSymbol(JNIEnv* env, jobject obj, jstring symbol) -{ -static TQString* _qstring_symbol = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setMonetaryDecimalSymbol((const TQString&)*(TQString*) QtSupport::toTQString(env, symbol, &_qstring_symbol)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setMonetaryThousandsSeparator(JNIEnv* env, jobject obj, jstring separator) -{ -static TQString* _qstring_separator = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setMonetaryThousandsSeparator((const TQString&)*(TQString*) QtSupport::toTQString(env, separator, &_qstring_separator)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setNegativeMonetarySignPosition(JNIEnv* env, jobject obj, jint signpos) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setNegativeMonetarySignPosition((TDELocale::SignPosition) signpos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setNegativePrefixCurrencySymbol(JNIEnv* env, jobject obj, jboolean prefix) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setNegativePrefixCurrencySymbol((bool) prefix); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setNegativeSign(JNIEnv* env, jobject obj, jstring sign) -{ -static TQString* _qstring_sign = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setNegativeSign((const TQString&)*(TQString*) QtSupport::toTQString(env, sign, &_qstring_sign)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setPageSize(JNIEnv* env, jobject obj, jint paperFormat) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setPageSize((int) paperFormat); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setPositiveMonetarySignPosition(JNIEnv* env, jobject obj, jint signpos) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setPositiveMonetarySignPosition((TDELocale::SignPosition) signpos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setPositivePrefixCurrencySymbol(JNIEnv* env, jobject obj, jboolean prefix) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setPositivePrefixCurrencySymbol((bool) prefix); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setPositiveSign(JNIEnv* env, jobject obj, jstring sign) -{ -static TQString* _qstring_sign = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setPositiveSign((const TQString&)*(TQString*) QtSupport::toTQString(env, sign, &_qstring_sign)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setThousandsSeparator(JNIEnv* env, jobject obj, jstring separator) -{ -static TQString* _qstring_separator = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setThousandsSeparator((const TQString&)*(TQString*) QtSupport::toTQString(env, separator, &_qstring_separator)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setTimeFormat(JNIEnv* env, jobject obj, jstring format) -{ -static TQString* _qstring_format = 0; - ((TDELocale*) QtSupport::getQt(env, obj))->setTimeFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, format, &_qstring_format)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_setWeekStartDay(JNIEnv* env, jobject obj, jint day) -{ - ((TDELocale*) QtSupport::getQt(env, obj))->setWeekStartDay((int) day); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDELocale_splitLocale(JNIEnv* env, jclass cls, jstring str, jobject language, jobject country, jobject charset) -{ - (void) cls; -static TQString* _qstring_str = 0; -static TQString* _qstring_language = 0; -static TQString* _qstring_country = 0; -static TQString* _qstring_charset = 0; - TDELocaleJBridge::splitLocale((const TQString&)*(TQString*) QtSupport::toTQString(env, str, &_qstring_str), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, language, &_qstring_language), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, country, &_qstring_country), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, charset, &_qstring_charset)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_language, language); - QtSupport::fromTQStringToStringBuffer(env, _qstring_country, country); - QtSupport::fromTQStringToStringBuffer(env, _qstring_charset, charset); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_thousandsSeparator(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->thousandsSeparator(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_timeFormat(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->timeFormat(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_translateQt(JNIEnv* env, jobject obj, jstring context, jstring sourceText, jstring message) -{ - TQString _qstring; -static TQCString* _qstring_context = 0; -static TQCString* _qstring_sourceText = 0; -static TQCString* _qstring_message = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->translateQt((const char*) QtSupport::toCharString(env, context, &_qstring_context), (const char*) QtSupport::toCharString(env, sourceText, &_qstring_sourceText), (const char*) QtSupport::toCharString(env, message, &_qstring_message)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring index) -{ - TQString _qstring; -static TQCString* _qstring_index = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, index, &_qstring_index)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring comment, jstring fallback) -{ - TQString _qstring; -static TQCString* _qstring_comment = 0; -static TQCString* _qstring_fallback = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, comment, &_qstring_comment), (const char*) QtSupport::toCharString(env, fallback, &_qstring_fallback)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2Ljava_lang_String_2J(JNIEnv* env, jobject obj, jstring singular, jstring plural, jlong n) -{ - TQString _qstring; -static TQCString* _qstring_singular = 0; -static TQCString* _qstring_plural = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->translate((const char*) QtSupport::toCharString(env, singular, &_qstring_singular), (const char*) QtSupport::toCharString(env, plural, &_qstring_plural), (unsigned long) n); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_twoAlphaToCountryName(JNIEnv* env, jobject obj, jstring code) -{ - TQString _qstring; -static TQString* _qstring_code = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->twoAlphaToCountryName((const TQString&)*(TQString*) QtSupport::toTQString(env, code, &_qstring_code)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDELocale_twoAlphaToLanguageName(JNIEnv* env, jobject obj, jstring code) -{ - TQString _qstring; -static TQString* _qstring_code = 0; - _qstring = ((TDELocale*) QtSupport::getQt(env, obj))->twoAlphaToLanguageName((const TQString&)*(TQString*) QtSupport::toTQString(env, code, &_qstring_code)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDELocale_use12Clock(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDELocale*) QtSupport::getQt(env, obj))->use12Clock(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDELocale_weekStartDay(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDELocale*) QtSupport::getQt(env, obj))->weekStartDay(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDELocale.h b/kdejava/koala/kdejava/TDELocale.h deleted file mode 100644 index 500997e5..00000000 --- a/kdejava/koala/kdejava/TDELocale.h +++ /dev/null @@ -1,127 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDELocale__ -#define __org_kde_koala_TDELocale__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_newTDELocale__Ljava_lang_String_2Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_newTDELocale__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_newTDELocale__Lorg_kde_koala_TDELocale_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_translate__Ljava_lang_String_2Ljava_lang_String_2J (JNIEnv *env, jobject, jstring, jstring, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_setEncoding (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_setLanguage__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_setLanguage___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_setCountry (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_decimalSymbol (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_thousandsSeparator (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_currencySymbol (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_monetaryDecimalSymbol (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_monetaryThousandsSeparator (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_positiveSign (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_negativeSign (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_fracDigits (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_positivePrefixCurrencySymbol (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_negativePrefixCurrencySymbol (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_positiveMonetarySignPosition (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_negativeMonetarySignPosition (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatMoney__DLjava_lang_String_2I (JNIEnv *env, jobject, jdouble, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatMoney__DLjava_lang_String_2 (JNIEnv *env, jobject, jdouble, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatMoney__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatNumber__DI (JNIEnv *env, jobject, jdouble, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatNumber__D (JNIEnv *env, jobject, jdouble); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatNumber__Ljava_lang_String_2ZI (JNIEnv *env, jobject, jstring, jboolean, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatLong (JNIEnv *env, jobject, jlong); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_nounDeclension (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatDate__Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatDate__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_dateMonthNamePossessive (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatTime__Ljava_util_Date_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_use12Clock (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_weekStartDay (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_calendar (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_calendarType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setCalendar (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2ZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_formatDateTime__Ljava_util_Calendar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDELocale_readMoney__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDELocale_readMoney__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDELocale_readNumber__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jdouble JNICALL Java_org_kde_koala_TDELocale_readNumber__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2I_3Z (JNIEnv *env, jobject, jstring, jint, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readDate__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2_3Z (JNIEnv *env, jobject, jstring, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2I_3Z (JNIEnv *env, jobject, jstring, jint, jbooleanArray); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_readTime__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_language (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_country (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_languagesTwoAlpha (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_languageList (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_encoding (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_encodingMib (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_codecForEncoding (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_fileEncodingMib (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setDateFormat (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setDateFormatShort (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setDateMonthNamePossessive (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setTimeFormat (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setWeekStartDay (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_dateFormat (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_dateFormatShort (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_timeFormat (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setDecimalSymbol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setThousandsSeparator (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setPositiveSign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setNegativeSign (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setPositiveMonetarySignPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setNegativeMonetarySignPosition (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setPositivePrefixCurrencySymbol (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setNegativePrefixCurrencySymbol (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setFracDigits (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setMonetaryThousandsSeparator (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setMonetaryDecimalSymbol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setCurrencySymbol (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_pageSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setPageSize (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDELocale_measureSystem (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setMeasureSystem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_insertCatalogue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_removeCatalogue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setActiveCatalogue (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_translateQt (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_allLanguagesTwoAlpha (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_twoAlphaToLanguageName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDELocale_allCountriesTwoAlpha (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_twoAlphaToCountryName (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_splitLocale (JNIEnv *env, jclass, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_setMainCatalogue (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_langLookup__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_langLookup__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_defaultLanguage (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale_defaultCountry (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDELocale__1initLanguage (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_initInstance (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDELocale_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDELocale_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDELocale__ */ diff --git a/kdejava/koala/kdejava/TDEMainWindow.cpp b/kdejava/koala/kdejava/TDEMainWindow.cpp deleted file mode 100644 index fef51460..00000000 --- a/kdejava/koala/kdejava/TDEMainWindow.cpp +++ /dev/null @@ -1,1639 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEMainWindowJBridge : public TDEMainWindow -{ -public: - TDEMainWindowJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TDEMainWindow(arg1,arg2,arg3) {}; - TDEMainWindowJBridge(TQWidget* arg1,const char* arg2) : TDEMainWindow(arg1,arg2) {}; - TDEMainWindowJBridge(TQWidget* arg1) : TDEMainWindow(arg1) {}; - TDEMainWindowJBridge() : TDEMainWindow() {}; - TDEMainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3,TQt::WFlags arg4) : TDEMainWindow(arg1,arg2,arg3,arg4) {}; - TDEMainWindowJBridge(int arg1,TQWidget* arg2,const char* arg3) : TDEMainWindow(arg1,arg2,arg3) {}; - TDEMainWindowJBridge(int arg1,TQWidget* arg2) : TDEMainWindow(arg1,arg2) {}; - TDEMainWindowJBridge(int arg1) : TDEMainWindow(arg1) {}; - void public_show() { - TDEMainWindow::show(); - return; - } - void public_hide() { - TDEMainWindow::hide(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TDEMainWindow::paintEvent(arg1); - return; - } - void protected_childEvent(TQChildEvent* arg1) { - TDEMainWindow::childEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TDEMainWindow::resizeEvent(arg1); - return; - } - void protected_closeEvent(TQCloseEvent* arg1) { - TDEMainWindow::closeEvent(arg1); - return; - } - bool protected_queryExit() { - return (bool) TDEMainWindow::queryExit(); - } - bool protected_queryClose() { - return (bool) TDEMainWindow::queryClose(); - } - void protected_saveProperties(TDEConfig* arg1) { - TDEMainWindow::saveProperties(arg1); - return; - } - void protected_readProperties(TDEConfig* arg1) { - TDEMainWindow::readProperties(arg1); - return; - } - void protected_saveGlobalProperties(TDEConfig* arg1) { - TDEMainWindow::saveGlobalProperties(arg1); - return; - } - void protected_readGlobalProperties(TDEConfig* arg1) { - TDEMainWindow::readGlobalProperties(arg1); - return; - } - void protected_savePropertiesInternal(TDEConfig* arg1,int arg2) { - TDEMainWindow::savePropertiesInternal(arg1,arg2); - return; - } - bool protected_readPropertiesInternal(TDEConfig* arg1,int arg2) { - return (bool) TDEMainWindow::readPropertiesInternal(arg1,arg2); - } - bool protected_settingsDirty() { - return (bool) TDEMainWindow::settingsDirty(); - } - TQString protected_settingsGroup() { - return (TQString) TDEMainWindow::settingsGroup(); - } - void protected_saveWindowSize(TDEConfig* arg1) { - TDEMainWindow::saveWindowSize(arg1); - return; - } - void protected_restoreWindowSize(TDEConfig* arg1) { - TDEMainWindow::restoreWindowSize(arg1); - return; - } - void protected_parseGeometry(bool arg1) { - TDEMainWindow::parseGeometry(arg1); - return; - } - void protected_saveNewToolbarConfig() { - TDEMainWindow::saveNewToolbarConfig(); - return; - } - void protected_showAboutApplication() { - TDEMainWindow::showAboutApplication(); - return; - } - void protected_saveAutoSaveSettings() { - TDEMainWindow::saveAutoSaveSettings(); - return; - } - ~TDEMainWindowJBridge() {QtSupport::qtKeyDeleted(this);} - void protected_setInstance(TDEInstance* arg1) { - KXMLGUIClient::setInstance(arg1); - return; - } - void protected_setXMLFile(const TQString& arg1,bool arg2,bool arg3) { - KXMLGUIClient::setXMLFile(arg1,arg2,arg3); - return; - } - void protected_setXMLFile(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXMLFile(arg1,arg2); - return; - } - void protected_setXMLFile(const TQString& arg1) { - KXMLGUIClient::setXMLFile(arg1); - return; - } - void protected_setLocalXMLFile(const TQString& arg1) { - KXMLGUIClient::setLocalXMLFile(arg1); - return; - } - void protected_setXML(const TQString& arg1,bool arg2) { - KXMLGUIClient::setXML(arg1,arg2); - return; - } - void protected_setXML(const TQString& arg1) { - KXMLGUIClient::setXML(arg1); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1,bool arg2) { - KXMLGUIClient::setDOMDocument(arg1,arg2); - return; - } - void protected_setDOMDocument(const TQDomDocument& arg1) { - KXMLGUIClient::setDOMDocument(arg1); - return; - } - void protected_conserveMemory() { - KXMLGUIClient::conserveMemory(); - return; - } - void protected_stateChanged(const TQString& arg1,KXMLGUIClient::ReverseStateChange arg2) { - KXMLGUIClient::stateChanged(arg1,arg2); - return; - } - void protected_stateChanged(const TQString& arg1) { - KXMLGUIClient::stateChanged(arg1); - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEMainWindow::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - bool queryClose() { - return QtSupport::booleanDelegate(this,"queryClose"); - } - void setCentralWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setCentralWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQMainWindow::setCentralWidget(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","show")) { - TDEMainWindow::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","hide")) { - TDEMainWindow::hide(); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEMainWindow::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void removeDockWindow(TQDockWindow* arg1) { - if (!QtSupport::eventDelegate(this,"removeDockWindow",(void*)arg1,"org.kde.qt.TQDockWindow")) { - TQMainWindow::removeDockWindow(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void showAboutApplication() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","showAboutApplication")) { - TDEMainWindow::showAboutApplication(); - } - return; - } - void readGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readGlobalProperties(arg1); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void conserveMemory() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","conserveMemory")) { - KXMLGUIClient::conserveMemory(); - } - return; - } - bool queryExit() { - return QtSupport::booleanDelegate(this,"queryExit"); - } - void saveProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveProperties(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.koala.TDEMainWindow","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TDEMainWindow::closeEvent(arg1); - } - return; - } - void readProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"readProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::readProperties(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void setUpLayout() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","setUpLayout")) { - TQMainWindow::setUpLayout(); - } - 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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TDEMainWindow::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")) { - TDEMainWindow::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void whatsThis() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","whatsThis")) { - TQMainWindow::whatsThis(); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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; - } - bool isCustomizable() { - return QtSupport::booleanDelegate(this,"isCustomizable"); - } - void customize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","customize")) { - TQMainWindow::customize(); - } - return; - } - void saveGlobalProperties(TDEConfig* arg1) { - if (!QtSupport::eventDelegate(this,"saveGlobalProperties",(void*)arg1,"org.kde.koala.TDEConfig")) { - TDEMainWindow::saveGlobalProperties(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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void setInstance(TDEInstance* arg1) { - if (!QtSupport::eventDelegate(this,"setInstance",(void*)arg1,"org.kde.koala.TDEInstanceInterface")) { - KXMLGUIClient::setInstance(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEMainWindow","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_accel(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->accel(), "org.kde.koala.TDEAccel"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_actionCollection(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->actionCollection(), "org.kde.koala.TDEActionCollection"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_action__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->action((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_action__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject element) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->action((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_addStateActionDisabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->addStateActionDisabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_addStateActionEnabled(JNIEnv* env, jobject obj, jstring state, jstring action) -{ -static TQString* _qstring_state = 0; -static TQString* _qstring_action = 0; - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->addStateActionEnabled((const TQString&)*(TQString*) QtSupport::toTQString(env, state, &_qstring_state), (const TQString&)*(TQString*) QtSupport::toTQString(env, action, &_qstring_action)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_appHelpActivated(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->appHelpActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring groupName, jboolean force) -{ -static TQString* _qstring_groupName = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->applyMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) force); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_autoSaveGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEMainWindow*) QtSupport::getQt(env, obj))->autoSaveGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_autoSaveSettings(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->autoSaveSettings(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_beginXMLPlug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->beginXMLPlug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_builderClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->builderClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_builderInstance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->builderInstance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_canBeRestored(JNIEnv* env, jclass cls, jint number) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEMainWindowJBridge::canBeRestored((int) number); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_childEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_classNameOfToplevel(JNIEnv* env, jclass cls, jint number) -{ - TQString _qstring; - (void) cls; - _qstring = TDEMainWindowJBridge::classNameOfToplevel((int) number); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEMainWindow*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_clientBuilder(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->clientBuilder(), "org.kde.koala.KXMLGUIBuilderInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEMainWindow_configureToolbars(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEMainWindow*) QtSupport::getQt(env, obj))->configureToolbars(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_conserveMemory(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_conserveMemory(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_containerTags(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->containerTags(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_createContainer(JNIEnv* env, jobject obj, jobject parent, jint index, jobject element, jintArray id) -{ - int* _int_id = QtSupport::toIntPtr(env, id); - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->createContainer((TQWidget*) QtSupport::getQt(env, parent), (int) index, (const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element), (int&) *_int_id), "org.kde.qt.TQWidget"); - env->SetIntArrayRegion(id, 0, 1, (jint *) _int_id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEMainWindow_createCustomElement(JNIEnv* env, jobject obj, jobject parent, jint index, jobject element) -{ - jint xret = (jint) ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->createCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) index, (const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, element)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_createGUI__(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->createGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->createGUI((const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring xmlfile, jboolean _conserveMemory) -{ -static TQString* _qstring_xmlfile = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->createGUI((const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile), (bool) _conserveMemory); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_createStandardStatusBarAction(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->createStandardStatusBarAction(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_customHelpMenu__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->customHelpMenu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_customHelpMenu__Z(JNIEnv* env, jobject obj, jboolean showWhatsThis) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->customHelpMenu((bool) showWhatsThis), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_customTags(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->customTags(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEMainWindow_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_domDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->domDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_endXMLPlug(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->endXMLPlug(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_factory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->factory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEMainWindow*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEMainWindow*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_finalizeGUI__Lorg_kde_koala_KXMLGUIClientInterface_2(JNIEnv* env, jobject obj, jobject client) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->finalizeGUI((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_finalizeGUI__Z(JNIEnv* env, jobject obj, jboolean force) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->finalizeGUI((bool) force); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_findMostRecentXMLFile(JNIEnv* env, jclass cls, jobjectArray files, jobject doc) -{ - TQString _qstring; - (void) cls; -static TQStringList* _qlist_files = 0; -static TQString* _qstring_doc = 0; - _qstring = TDEMainWindowJBridge::findMostRecentXMLFile((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, files, &_qlist_files), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, doc, &_qstring_doc)); - QtSupport::fromTQStringToStringBuffer(env, _qstring_doc, doc); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_guiFactory(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->guiFactory(), "org.kde.koala.KXMLGUIFactory"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_hasMenuBar(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->hasMenuBar(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_helpMenu__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->helpMenu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring aboutAppText) -{ -static TQString* _qstring_aboutAppText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->helpMenu((const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText)), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring aboutAppText, jboolean showWhatsThis) -{ -static TQString* _qstring_aboutAppText = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->helpMenu((const TQString&)*(TQString*) QtSupport::toTQString(env, aboutAppText, &_qstring_aboutAppText), (bool) showWhatsThis), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_hide(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->public_hide(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_ignoreInitialGeometry(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->ignoreInitialGeometry(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_initialGeometrySet(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->initialGeometrySet(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_insertChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->insertChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_isHelpMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->isHelpMenuEnabled(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_isStandardToolBarMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->isStandardToolBarMenuEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_kmenuBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->menuBar(), "org.kde.koala.KMenuBar"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_kstatusBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->statusBar(), "org.kde.koala.KStatusBar"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_localXMLFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->localXMLFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__I(JNIEnv* env, jobject obj, jint cflags) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint cflags, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint cflags, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags, (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_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint cflags, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((int) cflags, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__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 TDEMainWindowJBridge((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_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEMainWindowJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_paintEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_parentClient(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->parentClient(), "org.kde.koala.KXMLGUIClientInterface"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_parseGeometry(JNIEnv* env, jobject obj, jboolean parsewidth) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_parseGeometry((bool) parsewidth); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_prepareXMLUnplug(JNIEnv* env, jobject obj, jobject arg1) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->prepareXMLUnplug((TQWidget*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_queryClose(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_queryClose(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_queryExit(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_queryExit(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_readGlobalProperties(JNIEnv* env, jobject obj, jobject sessionConfig) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readGlobalProperties((TDEConfig*) QtSupport::getQt(env, sessionConfig)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_readPropertiesInternal(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readPropertiesInternal((TDEConfig*) QtSupport::getQt(env, arg1), (int) arg2); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_readProperties(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_readProperties((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_reloadXML(JNIEnv* env, jobject obj) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->reloadXML(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_removeChildClient(JNIEnv* env, jobject obj, jobject child) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->removeChildClient((KXMLGUIClient*) QtSupport::getQt(env, child)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_removeContainer(JNIEnv* env, jobject obj, jobject container, jobject parent, jobject element, jint id) -{ - ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->removeContainer((TQWidget*) QtSupport::getQt(env, container), (TQWidget*) QtSupport::getQt(env, parent), (TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, element), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_removeCustomElement(JNIEnv* env, jobject obj, jobject parent, jint id) -{ - ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->removeCustomElement((TQWidget*) QtSupport::getQt(env, parent), (int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_resetAutoSaveSettings(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->resetAutoSaveSettings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_restoreWindowSize(JNIEnv* env, jobject obj, jobject config) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_restoreWindowSize((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_restore__I(JNIEnv* env, jobject obj, jint number) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->restore((int) number); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_restore__IZ(JNIEnv* env, jobject obj, jint number, jboolean show) -{ - jboolean xret = (jboolean) ((TDEMainWindow*) QtSupport::getQt(env, obj))->restore((int) number, (bool) show); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveAutoSaveSettings(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveAutoSaveSettings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveGlobalProperties(JNIEnv* env, jobject obj, jobject sessionConfig) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveGlobalProperties((TDEConfig*) QtSupport::getQt(env, sessionConfig)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->saveMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->saveMainWindowSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveNewToolbarConfig(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveNewToolbarConfig(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_savePropertiesInternal(JNIEnv* env, jobject obj, jobject arg1, jint arg2) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_savePropertiesInternal((TDEConfig*) QtSupport::getQt(env, arg1), (int) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveProperties(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveProperties((TDEConfig*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_saveWindowSize(JNIEnv* env, jobject obj, jobject config) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_saveWindowSize((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring groupName) -{ -static TQString* _qstring_groupName = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring groupName, jboolean saveWindowSize) -{ -static TQString* _qstring_groupName = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setAutoSaveSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, groupName, &_qstring_groupName), (bool) saveWindowSize); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setBuilderClient(JNIEnv* env, jobject obj, jobject client) -{ - ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setBuilderClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setBuilderInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setBuilderInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring caption, jboolean modified) -{ -static TQString* _qstring_caption = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption), (bool) modified); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setClientBuilder(JNIEnv* env, jobject obj, jobject builder) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setClientBuilder((KXMLGUIBuilder*) QtSupport::getQt(env, builder)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2(JNIEnv* env, jobject obj, jobject document) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z(JNIEnv* env, jobject obj, jobject document, jboolean merge) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setDOMDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, document), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setFactory(JNIEnv* env, jobject obj, jobject factory) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setFactory((KXMLGUIFactory*) QtSupport::getQt(env, factory)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setFrameBorderWidth(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setFrameBorderWidth((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setHelpMenuEnabled(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__Z(JNIEnv* env, jobject obj, jboolean showHelpMenu) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setHelpMenuEnabled((bool) showHelpMenu); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setIcon(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setInstance(JNIEnv* env, jobject obj, jobject instance) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setInstance((TDEInstance*) QtSupport::getQt(env, instance)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setLocalXMLFile(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setLocalXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setPlainCaption(JNIEnv* env, jobject obj, jstring caption) -{ -static TQString* _qstring_caption = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setPlainCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, caption, &_qstring_caption)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setSettingsDirty(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setSettingsDirty(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setStandardToolBarMenuEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setStandardToolBarMenuEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring file) -{ -static TQString* _qstring_file = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring file, jboolean merge) -{ -static TQString* _qstring_file = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring file, jboolean merge, jboolean setXMLDoc) -{ -static TQString* _qstring_file = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXMLFile((const TQString&)*(TQString*) QtSupport::toTQString(env, file, &_qstring_file), (bool) merge, (bool) setXMLDoc); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXMLGUIBuildDocument(JNIEnv* env, jobject obj, jobject doc) -{ - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->setXMLGUIBuildDocument((const TQDomDocument&)*(const TQDomDocument*) QtSupport::getQt(env, doc)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring document) -{ -static TQString* _qstring_document = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring document, jboolean merge) -{ -static TQString* _qstring_document = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_setXML((const TQString&)*(TQString*) QtSupport::toTQString(env, document, &_qstring_document), (bool) merge); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEMainWindow_settingsDirty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_settingsDirty(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_settingsGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_settingsGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__I(JNIEnv* env, jobject obj, jint options) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint options, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject defaultSize) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject defaultSize, jint options) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize), (int) options); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject defaultSize, jint options, jstring xmlfile) -{ -static TQString* _qstring_xmlfile = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupGUI((TQSize)*(TQSize*) QtSupport::getQt(env, defaultSize), (int) options, (const TQString&)*(TQString*) QtSupport::toTQString(env, xmlfile, &_qstring_xmlfile)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_setupToolbarMenuActions(JNIEnv* env, jobject obj) -{ - ((TDEMainWindow*) QtSupport::getQt(env, obj))->setupToolbarMenuActions(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_showAboutApplication(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_showAboutApplication(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_show(JNIEnv* env, jobject obj) -{ - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->public_show(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->slotStateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint arg2) -{ -static TQString* _qstring_newstate = 0; - ((TDEMainWindow*) QtSupport::getQt(env, obj))->slotStateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) arg2); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring newstate) -{ -static TQString* _qstring_newstate = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring newstate, jint reverse) -{ -static TQString* _qstring_newstate = 0; - ((TDEMainWindowJBridge*) QtSupport::getQt(env, obj))->protected_stateChanged((const TQString&)*(TQString*) QtSupport::toTQString(env, newstate, &_qstring_newstate), (KXMLGUIClient::ReverseStateChange) reverse); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_toolBarMenuAction(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->toolBarMenuAction(), "org.kde.koala.TDEAction"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_toolBar__(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.TDEToolBar"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_toolBar__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name) -{ -static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEMainWindow*) QtSupport::getQt(env, obj))->toolBar((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.koala.TDEToolBar"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEMainWindow_unplugActionList(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->unplugActionList((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_widget(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((KXMLGUIBuilder*)(TDEMainWindow*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEMainWindow_xmlFile(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->xmlFile(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_xmlguiBuildDocument(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQDomDocument(((KXMLGUIClient*)(TDEMainWindow*) QtSupport::getQt(env, obj))->xmlguiBuildDocument()), "org.kde.qt.TQDomDocument", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEMainWindow_memberList(JNIEnv* env, jobject obj) -{ - return (jobject) KDESupport::arrayWithTDEMainWindowList(env, TDEMainWindow::memberList); -} - diff --git a/kdejava/koala/kdejava/TDEMainWindow.h b/kdejava/koala/kdejava/TDEMainWindow.h deleted file mode 100644 index 2bc6bdc0..00000000 --- a/kdejava/koala/kdejava/TDEMainWindow.h +++ /dev/null @@ -1,159 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEMainWindow__ -#define __org_kde_koala_TDEMainWindow__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_newTDEMainWindow__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_helpMenu__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_helpMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_customHelpMenu__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_customHelpMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_hide (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_restore__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_restore__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_guiFactory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createGUI__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createGUI__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setHelpMenuEnabled__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_isHelpMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_hasMenuBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_kmenuBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_kstatusBar (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_toolBar__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_toolBar__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_accel (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setFrameBorderWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setAutoSaveSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_resetAutoSaveSettings (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_autoSaveSettings (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_autoSaveGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_applyMainWindowSettings__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveMainWindowSettings__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setStandardToolBarMenuEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_isStandardToolBarMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_createStandardStatusBarAction (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2ILjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupGUI__Lorg_kde_qt_QSize_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_toolBarMenuAction (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setupToolbarMenuActions (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_finalizeGUI__Lorg_kde_koala_KXMLGUIClientInterface_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_finalizeGUI__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_initialGeometrySet (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_ignoreInitialGeometry (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEMainWindow_configureToolbars (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setCaption__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setPlainCaption (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_appHelpActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_slotStateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setSettingsDirty (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_canBeRestored (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_classNameOfToplevel (JNIEnv *env, jclass, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_queryExit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_queryClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_readProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveGlobalProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_readGlobalProperties (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_savePropertiesInternal (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_readPropertiesInternal (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_settingsDirty (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_settingsGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveWindowSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_restoreWindowSize (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_parseGeometry (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveNewToolbarConfig (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_showAboutApplication (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_saveAutoSaveSettings (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEMainWindow_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_builderClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setBuilderClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_builderInstance (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setBuilderInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_widget (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_containerTags (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_createContainer (JNIEnv *env, jobject, jobject, jint, jobject, jintArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_removeContainer (JNIEnv *env, jobject, jobject, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_customTags (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEMainWindow_createCustomElement (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_removeCustomElement (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_action__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_action__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_actionCollection (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_domDocument (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_xmlFile (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_localXMLFile (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLGUIBuildDocument (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_xmlguiBuildDocument (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setFactory (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_factory (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_parentClient (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_insertChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_removeChildClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setClientBuilder (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_clientBuilder (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_reloadXML (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_unplugActionList (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_addStateActionEnabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_addStateActionDisabled (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_beginXMLPlug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_endXMLPlug (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_prepareXMLUnplug (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEMainWindow_findMostRecentXMLFile (JNIEnv *env, jclass, jobjectArray, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setInstance (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXMLFile__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setLocalXMLFile (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setXML__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_setDOMDocument__Lorg_kde_qt_QDomDocument_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_conserveMemory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEMainWindow_stateChanged__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEMainWindow_memberList (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEMainWindow__ */ diff --git a/kdejava/koala/kdejava/TDEPasteTextAction.cpp b/kdejava/koala/kdejava/TDEPasteTextAction.cpp deleted file mode 100644 index bfe1bfe6..00000000 --- a/kdejava/koala/kdejava/TDEPasteTextAction.cpp +++ /dev/null @@ -1,229 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEPasteTextActionJBridge : public TDEPasteTextAction -{ -public: - TDEPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEPasteTextAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEPasteTextAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEPasteTextActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5) : TDEPasteTextAction(arg1,arg2,arg3,arg4,arg5) {}; - void protected_menuAboutToShow() { - TDEPasteTextAction::menuAboutToShow(); - return; - } - void protected_menuItemActivated(int arg1) { - TDEPasteTextAction::menuItemActivated(arg1); - return; - } - void protected_slotActivated() { - TDEPasteTextAction::slotActivated(); - return; - } - ~TDEPasteTextActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPasteTextAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPasteTextAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPasteTextAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPasteTextAction","slotActivated")) { - TDEPasteTextAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEPasteTextAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPasteTextAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEPasteTextAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEPasteTextAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEPasteTextAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEPasteTextAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_menuAboutToShow(JNIEnv* env, jobject obj) -{ - ((TDEPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_menuAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_menuItemActivated(JNIEnv* env, jobject obj, jint id) -{ - ((TDEPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_menuItemActivated((int) id); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPasteTextAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPasteTextAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()")); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPasteTextActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_setMixedMode(JNIEnv* env, jobject obj, jboolean mode) -{ - ((TDEPasteTextAction*) QtSupport::getQt(env, obj))->setMixedMode((bool) mode); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPasteTextAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((TDEPasteTextActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - diff --git a/kdejava/koala/kdejava/TDEPasteTextAction.h b/kdejava/koala/kdejava/TDEPasteTextAction.h deleted file mode 100644 index 469229d9..00000000 --- a/kdejava/koala/kdejava/TDEPasteTextAction.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEPasteTextAction__ -#define __org_kde_koala_TDEPasteTextAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPasteTextAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPasteTextAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_newTDEPasteTextAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_setMixedMode (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPasteTextAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_menuAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_menuItemActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPasteTextAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPasteTextAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEPasteTextAction__ */ diff --git a/kdejava/koala/kdejava/TDEPopupFrame.cpp b/kdejava/koala/kdejava/TDEPopupFrame.cpp deleted file mode 100644 index 59fa52f8..00000000 --- a/kdejava/koala/kdejava/TDEPopupFrame.cpp +++ /dev/null @@ -1,504 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class TDEPopupFrameJBridge : public TDEPopupFrame -{ -public: - TDEPopupFrameJBridge(TQWidget* arg1,const char* arg2) : TDEPopupFrame(arg1,arg2) {}; - TDEPopupFrameJBridge(TQWidget* arg1) : TDEPopupFrame(arg1) {}; - TDEPopupFrameJBridge() : TDEPopupFrame() {}; - void protected_keyPressEvent(TQKeyEvent* arg1) { - TDEPopupFrame::keyPressEvent(arg1); - return; - } - ~TDEPopupFrameJBridge() {QtSupport::qtKeyDeleted(this);} - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEPopupFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.TDEPopupFrame","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEPopupFrame::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEPopupFrame",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupFrame","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupFrame_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEPopupFrame*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_close(JNIEnv* env, jobject obj, jint r) -{ - ((TDEPopupFrame*) QtSupport::getQt(env, obj))->close((int) r); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEPopupFrame_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupFrame_exec__II(JNIEnv* env, jobject obj, jint x, jint y) -{ - jint xret = (jint) ((TDEPopupFrame*) QtSupport::getQt(env, obj))->exec((int) x, (int) y); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupFrame_exec__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject p) -{ - jint xret = (jint) ((TDEPopupFrame*) QtSupport::getQt(env, obj))->exec((TQPoint)*(TQPoint*) QtSupport::getQt(env, p)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEPopupFrame*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEPopupFrame*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_hide(JNIEnv* env, jobject obj) -{ - ((TDEPopupFrame*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEPopupFrame_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEPopupFrameJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupFrame_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupFrame*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupFrameJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupFrameJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__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 TDEPopupFrameJBridge((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_koala_TDEPopupFrame_popup(JNIEnv* env, jobject obj, jobject pos) -{ - ((TDEPopupFrame*) QtSupport::getQt(env, obj))->popup((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_resizeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEPopupFrame*) QtSupport::getQt(env, obj))->resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupFrame_setMainWidget(JNIEnv* env, jobject obj, jobject m) -{ - ((TDEPopupFrame*) QtSupport::getQt(env, obj))->setMainWidget((TQWidget*) QtSupport::getQt(env, m)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEPopupFrame.h b/kdejava/koala/kdejava/TDEPopupFrame.h deleted file mode 100644 index 56e34080..00000000 --- a/kdejava/koala/kdejava/TDEPopupFrame.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEPopupFrame__ -#define __org_kde_koala_TDEPopupFrame__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupFrame_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupFrame_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_newTDEPopupFrame__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_setMainWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_popup (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupFrame_exec__Lorg_kde_qt_QPoint_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupFrame_exec__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_close (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupFrame_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupFrame_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEPopupFrame__ */ diff --git a/kdejava/koala/kdejava/TDEPopupMenu.cpp b/kdejava/koala/kdejava/TDEPopupMenu.cpp deleted file mode 100644 index a1e14731..00000000 --- a/kdejava/koala/kdejava/TDEPopupMenu.cpp +++ /dev/null @@ -1,726 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEPopupMenuJBridge : public TDEPopupMenu -{ -public: - TDEPopupMenuJBridge(TQWidget* arg1,const char* arg2) : TDEPopupMenu(arg1,arg2) {}; - TDEPopupMenuJBridge(TQWidget* arg1) : TDEPopupMenu(arg1) {}; - TDEPopupMenuJBridge() : TDEPopupMenu() {}; - void protected_closeEvent(TQCloseEvent* arg1) { - TDEPopupMenu::closeEvent(arg1); - return; - } - void protected_keyPressEvent(TQKeyEvent* arg1) { - TDEPopupMenu::keyPressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TDEPopupMenu::mouseReleaseEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TDEPopupMenu::mousePressEvent(arg1); - return; - } - bool protected_focusNextPrevChild(bool arg1) { - return (bool) TDEPopupMenu::focusNextPrevChild(arg1); - } - void protected_contextMenuEvent(TQContextMenuEvent* arg1) { - TDEPopupMenu::contextMenuEvent(arg1); - return; - } - void protected_hideEvent(TQHideEvent* arg1) { - TDEPopupMenu::hideEvent(arg1); - return; - } - TQString protected_underlineText(const TQString& arg1,uint arg2) { - return (TQString) TDEPopupMenu::underlineText(arg1,arg2); - } - void protected_resetKeyboardVars(bool arg1) { - TDEPopupMenu::resetKeyboardVars(arg1); - return; - } - void protected_resetKeyboardVars() { - TDEPopupMenu::resetKeyboardVars(); - return; - } - void protected_itemHighlighted(int arg1) { - TDEPopupMenu::itemHighlighted(arg1); - return; - } - void protected_showCtxMenu(TQPoint arg1) { - TDEPopupMenu::showCtxMenu(arg1); - return; - } - void protected_ctxMenuHiding() { - TDEPopupMenu::ctxMenuHiding(); - return; - } - void protected_ctxMenuHideShowingMenu() { - TDEPopupMenu::ctxMenuHideShowingMenu(); - return; - } - ~TDEPopupMenuJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQPopupMenu::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void drawFrame(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawFrame",(void*)arg1,"org.kde.qt.TQPainter")) { - TQFrame::drawFrame(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQPopupMenu::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TDEPopupMenu::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.koala.TDEPopupMenu","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TDEPopupMenu::keyPressEvent(arg1); - } - return; - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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")) { - TDEPopupMenu::closeEvent(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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")) { - TQPopupMenu::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEPopupMenu::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")) { - TQPopupMenu::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEPopupMenu::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQPopupMenu::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQPopupMenu::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TDEPopupMenu::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEPopupMenu",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupMenu","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_activateItemAt(JNIEnv* env, jobject obj, jint index) -{ - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->activateItemAt((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_changeTitle__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->changeTitle((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_changeTitle__ILorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->changeTitle((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupMenu_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEPopupMenu*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_closeEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_contextMenuEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_contextMenuFocusItem(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEPopupMenuJBridge::contextMenuFocusItem(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupMenu_contextMenuFocus(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDEPopupMenuJBridge::contextMenuFocus(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupMenu_contextMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupMenu*) QtSupport::getQt(env, obj))->contextMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_ctxMenuHideShowingMenu(JNIEnv* env, jobject obj) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_ctxMenuHideShowingMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_ctxMenuHiding(JNIEnv* env, jobject obj) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_ctxMenuHiding(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEPopupMenu_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQPopupMenu*)(TDEPopupMenu*)QtSupport::getQt(env, obj))->parentWidget(FALSE) == 0) { - delete (TDEPopupMenu*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEPopupMenu_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next) -{ - jboolean xret = (jboolean) ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_hideContextMenu(JNIEnv* env, jobject obj) -{ - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->hideContextMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_hideEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->insertTitle((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEPopupMenu_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_itemHighlighted(JNIEnv* env, jobject obj, jint whichItem) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_itemHighlighted((int) whichItem); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_keyPressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupMenu_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupMenu*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupMenuJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupMenuJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__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 TDEPopupMenuJBridge((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_koala_TDEPopupMenu_resetKeyboardVars__(JNIEnv* env, jobject obj) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_resetKeyboardVars(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_resetKeyboardVars__Z(JNIEnv* env, jobject obj, jboolean noMatches) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_resetKeyboardVars((bool) noMatches); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsEnabled(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->setKeyboardShortcutsEnabled((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsExecute(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEPopupMenu*) QtSupport::getQt(env, obj))->setKeyboardShortcutsExecute((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupMenu_showCtxMenu(JNIEnv* env, jobject obj, jobject pos) -{ - ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_showCtxMenu((TQPoint)*(TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEPopupMenu_state(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEPopupMenu*) QtSupport::getQt(env, obj))->state(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupMenu_titlePixmap(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEPopupMenu*) QtSupport::getQt(env, obj))->titlePixmap((int) id)), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupMenu_title__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEPopupMenu*) QtSupport::getQt(env, obj))->title(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupMenu_title__I(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TDEPopupMenu*) QtSupport::getQt(env, obj))->title((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupMenu_underlineText(JNIEnv* env, jobject obj, jstring text, jint length) -{ - TQString _qstring; -static TQString* _qstring_text = 0; - _qstring = ((TDEPopupMenuJBridge*) QtSupport::getQt(env, obj))->protected_underlineText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (uint) length); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEPopupMenu.h b/kdejava/koala/kdejava/TDEPopupMenu.h deleted file mode 100644 index 71d986c4..00000000 --- a/kdejava/koala/kdejava/TDEPopupMenu.h +++ /dev/null @@ -1,59 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEPopupMenu__ -#define __org_kde_koala_TDEPopupMenu__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_newTDEPopupMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2II (JNIEnv *env, jobject, jobject, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_insertTitle__Lorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_changeTitle__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_changeTitle__ILorg_kde_qt_QPixmap_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_title__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_title__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_titlePixmap (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_setKeyboardShortcutsExecute (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_hideContextMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_activateItemAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_state (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenuFocus (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenuFocusItem (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_closeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_keyPressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupMenu_focusNextPrevChild (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_contextMenuEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_hideEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupMenu_underlineText (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_resetKeyboardVars__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_resetKeyboardVars__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_itemHighlighted (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_showCtxMenu (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_ctxMenuHiding (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_ctxMenuHideShowingMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupMenu_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupMenu_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEPopupMenu__ */ diff --git a/kdejava/koala/kdejava/TDEPopupTitle.cpp b/kdejava/koala/kdejava/TDEPopupTitle.cpp deleted file mode 100644 index 9a902317..00000000 --- a/kdejava/koala/kdejava/TDEPopupTitle.cpp +++ /dev/null @@ -1,503 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEPopupTitleJBridge : public TDEPopupTitle -{ -public: - TDEPopupTitleJBridge(TQWidget* arg1,const char* arg2) : TDEPopupTitle(arg1,arg2) {}; - TDEPopupTitleJBridge(TQWidget* arg1) : TDEPopupTitle(arg1) {}; - TDEPopupTitleJBridge() : TDEPopupTitle() {}; - void protected_calcSize() { - TDEPopupTitle::calcSize(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TDEPopupTitle::paintEvent(arg1); - return; - } - ~TDEPopupTitleJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDEPopupTitle::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.TDEPopupTitle","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEPopupTitle",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEPopupTitle","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_calcSize(JNIEnv* env, jobject obj) -{ - ((TDEPopupTitleJBridge*) QtSupport::getQt(env, obj))->protected_calcSize(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupTitle_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEPopupTitle*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEPopupTitle_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEPopupTitle*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEPopupTitle*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupTitle_icon(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPixmap(((TDEPopupTitle*) QtSupport::getQt(env, obj))->icon()), "org.kde.qt.TQPixmap", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEPopupTitle_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupTitle_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEPopupTitle*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupTitleJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEPopupTitleJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__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 TDEPopupTitleJBridge((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_koala_TDEPopupTitle_paintEvent(JNIEnv* env, jobject obj, jobject ev) -{ - ((TDEPopupTitleJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, ev)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_setIcon(JNIEnv* env, jobject obj, jobject pix) -{ - ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pix)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jstring text, jobject icon) -{ -static TQString* _qstring_text = 0; - ((TDEPopupTitle*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQPixmap*) QtSupport::getQt(env, icon)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEPopupTitle_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEPopupTitle*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEPopupTitle_title(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEPopupTitle*) QtSupport::getQt(env, obj))->title(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEPopupTitle.h b/kdejava/koala/kdejava/TDEPopupTitle.h deleted file mode 100644 index 5fdb9733..00000000 --- a/kdejava/koala/kdejava/TDEPopupTitle.h +++ /dev/null @@ -1,35 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEPopupTitle__ -#define __org_kde_koala_TDEPopupTitle__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupTitle_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupTitle_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_newTDEPopupTitle__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setTitle__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEPopupTitle_title (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupTitle_icon (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEPopupTitle_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_setIcon (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_calcSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEPopupTitle_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEPopupTitle_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEPopupTitle__ */ diff --git a/kdejava/koala/kdejava/TDEProcess.cpp b/kdejava/koala/kdejava/TDEProcess.cpp deleted file mode 100644 index e1b61243..00000000 --- a/kdejava/koala/kdejava/TDEProcess.cpp +++ /dev/null @@ -1,507 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEProcessJBridge : public TDEProcess -{ -public: - TDEProcessJBridge(TQObject* arg1,const char* arg2) : TDEProcess(arg1,arg2) {}; - TDEProcessJBridge(TQObject* arg1) : TDEProcess(arg1) {}; - TDEProcessJBridge() : TDEProcess() {}; - void protected_setupEnvironment() { - TDEProcess::setupEnvironment(); - return; - } - int protected_setupCommunication(TDEProcess::Communication arg1) { - return (int) TDEProcess::setupCommunication(arg1); - } - int protected_commSetupDoneP() { - return (int) TDEProcess::commSetupDoneP(); - } - int protected_commSetupDoneC() { - return (int) TDEProcess::commSetupDoneC(); - } - void protected_processHasExited(int arg1) { - TDEProcess::processHasExited(arg1); - return; - } - void protected_commClose() { - TDEProcess::commClose(); - return; - } - void protected_setBinaryExecutable(const char* arg1) { - TDEProcess::setBinaryExecutable(arg1); - return; - } - int protected_childOutput(int arg1) { - return (int) TDEProcess::childOutput(arg1); - } - int protected_childError(int arg1) { - return (int) TDEProcess::childError(arg1); - } - void protected_slotChildOutput(int arg1) { - TDEProcess::slotChildOutput(arg1); - return; - } - void protected_slotChildError(int arg1) { - TDEProcess::slotChildError(arg1); - return; - } - void protected_slotSendData(int arg1) { - TDEProcess::slotSendData(arg1); - return; - } - ~TDEProcessJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void commClose() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEProcess","commClose")) { - TDEProcess::commClose(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEProcess",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_childError(JNIEnv* env, jobject obj, jint fdno) -{ - jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_childError((int) fdno); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_childOutput(JNIEnv* env, jobject obj, jint fdno) -{ - jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_childOutput((int) fdno); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEProcess_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEProcess*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_clearArguments(JNIEnv* env, jobject obj) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->clearArguments(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_closeAll(JNIEnv* env, jobject obj) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->closeAll(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_closePty(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closePty(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_closeStderr(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStderr(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_closeStdin(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStdin(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_closeStdout(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->closeStdout(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_commClose(JNIEnv* env, jobject obj) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commClose(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_commSetupDoneC(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneC(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_commSetupDoneP(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_commSetupDoneP(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_coreDumped(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->coreDumped(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_detach(JNIEnv* env, jobject obj) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->detach(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEProcess_finalize(env, obj); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_exitSignal(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->exitSignal(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_exitStatus(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->exitStatus(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEProcess*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEProcess*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_isRunning(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->isRunning(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_kill__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->kill(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_kill__I(JNIEnv* env, jobject obj, jint signo) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->kill((int) signo); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEProcess_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEProcess*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_newTDEProcess__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEProcessJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEProcessJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_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 TDEProcessJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_normalExit(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->normalExit(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEProcess_op_1write__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg) -{ -static TQString* _qstring_arg = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEProcess *) &((TDEProcess*) QtSupport::getQt(env, obj))->operator<<((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)), "org.kde.koala.TDEProcess"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEProcess_op_1write___3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray args) -{ -static TQStringList* _qlist_args = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEProcess *) &((TDEProcess*) QtSupport::getQt(env, obj))->operator<<((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.kde.koala.TDEProcess"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_pid(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcess*) QtSupport::getQt(env, obj))->pid(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_processHasExited(JNIEnv* env, jobject obj, jint state) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_processHasExited((int) state); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEProcess_quote(JNIEnv* env, jclass cls, jstring arg) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_arg = 0; - _qstring = TDEProcessJBridge::quote((const TQString&)*(TQString*) QtSupport::toTQString(env, arg, &_qstring_arg)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_resume(JNIEnv* env, jobject obj) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->resume(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_runPrivileged(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->runPrivileged(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setBinaryExecutable(JNIEnv* env, jobject obj, jstring filename) -{ -static TQCString* _qstring_filename = 0; - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setBinaryExecutable((const char*) QtSupport::toCharString(env, filename, &_qstring_filename)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setEnvironment(JNIEnv* env, jobject obj, jstring name, jstring value) -{ -static TQString* _qstring_name = 0; -static TQString* _qstring_value = 0; - ((TDEProcess*) QtSupport::getQt(env, obj))->setEnvironment((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, value, &_qstring_value)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_setPriority(JNIEnv* env, jobject obj, jint prio) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->setPriority((int) prio); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setRunPrivileged(JNIEnv* env, jobject obj, jboolean keepPrivileges) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->setRunPrivileged((bool) keepPrivileges); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setUseShell__Z(JNIEnv* env, jobject obj, jboolean useShell) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setUseShell__ZLjava_lang_String_2(JNIEnv* env, jobject obj, jboolean useShell, jstring shell) -{ -static TQCString* _qstring_shell = 0; - ((TDEProcess*) QtSupport::getQt(env, obj))->setUseShell((bool) useShell, (const char*) QtSupport::toCharString(env, shell, &_qstring_shell)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setWorkingDirectory(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((TDEProcess*) QtSupport::getQt(env, obj))->setWorkingDirectory((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcess_setupCommunication(JNIEnv* env, jobject obj, jint comm) -{ - jint xret = (jint) ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupCommunication((TDEProcess::Communication) comm); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_setupEnvironment(JNIEnv* env, jobject obj) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_setupEnvironment(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_signalled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->signalled(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_slotChildError(JNIEnv* env, jobject obj, jint fdno) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildError((int) fdno); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_slotChildOutput(JNIEnv* env, jobject obj, jint fdno) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotChildOutput((int) fdno); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_slotSendData(JNIEnv* env, jobject obj, jint dummy) -{ - ((TDEProcessJBridge*) QtSupport::getQt(env, obj))->protected_slotSendData((int) dummy); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_start__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_start__I(JNIEnv* env, jobject obj, jint runmode) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_start__II(JNIEnv* env, jobject obj, jint runmode, jint comm) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->start((TDEProcess::RunMode) runmode, (TDEProcess::Communication) comm); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcess_suspend(JNIEnv* env, jobject obj) -{ - ((TDEProcess*) QtSupport::getQt(env, obj))->suspend(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_waitThread__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->wait(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_waitThread__I(JNIEnv* env, jobject obj, jint timeout) -{ - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->wait((int) timeout); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcess_writeStdin(JNIEnv* env, jobject obj, jstring buffer, jint buflen) -{ -static TQCString* _qstring_buffer = 0; - jboolean xret = (jboolean) ((TDEProcess*) QtSupport::getQt(env, obj))->writeStdin((const char*) QtSupport::toCharString(env, buffer, &_qstring_buffer), (int) buflen); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEProcess.h b/kdejava/koala/kdejava/TDEProcess.h deleted file mode 100644 index c27ccb8e..00000000 --- a/kdejava/koala/kdejava/TDEProcess.h +++ /dev/null @@ -1,72 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEProcess__ -#define __org_kde_koala_TDEProcess__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcess_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcess_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_newTDEProcess__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_newTDEProcess__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcess_op_1write__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcess_op_1write___3Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_clearArguments (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_start__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_start__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_start__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_kill__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_kill__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_isRunning (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_pid (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_suspend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_resume (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_waitThread__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_waitThread__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_normalExit (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_signalled (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_coreDumped (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_exitStatus (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_exitSignal (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_writeStdin (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closeStdin (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closeStdout (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closeStderr (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_closePty (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_closeAll (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setRunPrivileged (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_runPrivileged (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setEnvironment (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setWorkingDirectory (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setUseShell__ZLjava_lang_String_2 (JNIEnv *env, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setUseShell__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_detach (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_setPriority (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcess_quote (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setupEnvironment (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_setupCommunication (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_commSetupDoneP (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_commSetupDoneC (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_processHasExited (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_commClose (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_setBinaryExecutable (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_childOutput (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcess_childError (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_slotChildOutput (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_slotChildError (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_slotSendData (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcess_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcess_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEProcess__ */ diff --git a/kdejava/koala/kdejava/TDEProcessController.cpp b/kdejava/koala/kdejava/TDEProcessController.cpp deleted file mode 100644 index 60fa8bb3..00000000 --- a/kdejava/koala/kdejava/TDEProcessController.cpp +++ /dev/null @@ -1,98 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_addTDEProcess(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEProcessController*) QtSupport::getQt(env, obj))->addTDEProcess((TDEProcess*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_addProcess(JNIEnv* env, jobject obj, jint pid) -{ - ((TDEProcessController*) QtSupport::getQt(env, obj))->addProcess((int) pid); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEProcessController_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEProcessController*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_deref(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEProcessController::deref(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEProcessController_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEProcessController*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcessController_notifierFd(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcessController*) QtSupport::getQt(env, obj))->notifierFd(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_ref(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDEProcessController::ref(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_removeTDEProcess(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEProcessController*) QtSupport::getQt(env, obj))->removeTDEProcess((TDEProcess*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_rescheduleCheck(JNIEnv* env, jobject obj) -{ - ((TDEProcessController*) QtSupport::getQt(env, obj))->rescheduleCheck(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_theSigCHLDHandler(JNIEnv* env, jclass cls, jint signal) -{ - (void) cls; - (void) env; - TDEProcessController::theSigCHLDHandler((int) signal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEProcessController_unscheduleCheck(JNIEnv* env, jobject obj) -{ - ((TDEProcessController*) QtSupport::getQt(env, obj))->unscheduleCheck(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEProcessController_waitForProcessExit(JNIEnv* env, jobject obj, jint timeout) -{ - jboolean xret = (jboolean) ((TDEProcessController*) QtSupport::getQt(env, obj))->waitForProcessExit((int) timeout); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEProcessController.h b/kdejava/koala/kdejava/TDEProcessController.h deleted file mode 100644 index 93154504..00000000 --- a/kdejava/koala/kdejava/TDEProcessController.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEProcessController__ -#define __org_kde_koala_TDEProcessController__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcessController_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcessController_className (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEProcessController_waitForProcessExit (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_unscheduleCheck (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_rescheduleCheck (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcessController_notifierFd (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_addTDEProcess (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_removeTDEProcess (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_addProcess (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_ref (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_deref (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEProcessController_theSigCHLDHandler (JNIEnv *env, jclass, jint); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEProcessController__ */ diff --git a/kdejava/koala/kdejava/TDEProcessRunner.cpp b/kdejava/koala/kdejava/TDEProcessRunner.cpp deleted file mode 100644 index 4b40ebb0..00000000 --- a/kdejava/koala/kdejava/TDEProcessRunner.cpp +++ /dev/null @@ -1,39 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEProcessRunner_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEProcessRunner*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEProcessRunner_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEProcessRunner*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcessRunner_pid(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEProcessRunner*) QtSupport::getQt(env, obj))->pid(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEProcessRunner_run(JNIEnv* env, jclass cls, jobject arg1, jstring binName) -{ - (void) cls; -static TQString* _qstring_binName = 0; - jint xret = (jint) TDEProcessRunner::run((TDEProcess*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, binName, &_qstring_binName)); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEProcessRunner.h b/kdejava/koala/kdejava/TDEProcessRunner.h deleted file mode 100644 index 54b8f52e..00000000 --- a/kdejava/koala/kdejava/TDEProcessRunner.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEProcessRunner__ -#define __org_kde_koala_TDEProcessRunner__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEProcessRunner_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEProcessRunner_className (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcessRunner_pid (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEProcessRunner_run (JNIEnv *env, jclass, jobject, jstring); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEProcessRunner__ */ diff --git a/kdejava/koala/kdejava/TDERadioAction.cpp b/kdejava/koala/kdejava/TDERadioAction.cpp deleted file mode 100644 index 47afe76f..00000000 --- a/kdejava/koala/kdejava/TDERadioAction.cpp +++ /dev/null @@ -1,409 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDERadioActionJBridge : public TDERadioAction -{ -public: - TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDERadioAction(arg1,arg2,arg3,arg4) {}; - TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDERadioAction(arg1,arg2,arg3) {}; - TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDERadioAction(arg1,arg2) {}; - TDERadioActionJBridge(const TQString& arg1) : TDERadioAction(arg1) {}; - TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERadioActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDERadioAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERadioAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERadioAction(arg1,arg2,arg3,arg4) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDERadioAction(arg1,arg2,arg3) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDERadioAction(arg1,arg2) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERadioAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERadioAction(arg1,arg2,arg3,arg4) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDERadioAction(arg1,arg2,arg3) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2) : TDERadioAction(arg1,arg2) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDERadioActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDERadioActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERadioAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERadioActionJBridge(TQObject* arg1,const char* arg2) : TDERadioAction(arg1,arg2) {}; - TDERadioActionJBridge(TQObject* arg1) : TDERadioAction(arg1) {}; - TDERadioActionJBridge() : TDERadioAction() {}; - void protected_slotActivated() { - TDERadioAction::slotActivated(); - return; - } - ~TDERadioActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERadioAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERadioAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERadioAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERadioAction","slotActivated")) { - TDERadioAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDERadioAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDERadioAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDERadioAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDERadioAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDERadioAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDERadioAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDERadioAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDERadioAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDERadioAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__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 TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERadioActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_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 TDERadioActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERadioAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((TDERadioActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - diff --git a/kdejava/koala/kdejava/TDERadioAction.h b/kdejava/koala/kdejava/TDERadioAction.h deleted file mode 100644 index 7dfb1be8..00000000 --- a/kdejava/koala/kdejava/TDERadioAction.h +++ /dev/null @@ -1,45 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDERadioAction__ -#define __org_kde_koala_TDERadioAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDERadioAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDERadioAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_newTDERadioAction__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERadioAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDERadioAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDERadioAction__ */ diff --git a/kdejava/koala/kdejava/TDERecentDocument.cpp b/kdejava/koala/kdejava/TDERecentDocument.cpp deleted file mode 100644 index 85c8ec7b..00000000 --- a/kdejava/koala/kdejava/TDERecentDocument.cpp +++ /dev/null @@ -1,121 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDERecentDocumentJBridge : public TDERecentDocument -{ -public: - TDERecentDocumentJBridge() : TDERecentDocument() {}; - ~TDERecentDocumentJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring documentStr) -{ - (void) cls; -static TQString* _qstring_documentStr = 0; - TDERecentDocumentJBridge::add((const TQString&)*(TQString*) QtSupport::toTQString(env, documentStr, &_qstring_documentStr)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring documentStr, jboolean isURL) -{ - (void) cls; -static TQString* _qstring_documentStr = 0; - TDERecentDocumentJBridge::add((const TQString&)*(TQString*) QtSupport::toTQString(env, documentStr, &_qstring_documentStr), (bool) isURL); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2(JNIEnv* env, jclass cls, jobject url) -{ - (void) cls; - TDERecentDocumentJBridge::add((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject url, jstring desktopEntryName) -{ - (void) cls; -static TQString* _qstring_desktopEntryName = 0; - TDERecentDocumentJBridge::add((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, desktopEntryName, &_qstring_desktopEntryName)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_clear(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - TDERecentDocumentJBridge::clear(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDERecentDocument_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDERecentDocument*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDERecentDocument_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDERecentDocument_maximumItems(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDERecentDocumentJBridge::maximumItems(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentDocument_newTDERecentDocument(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentDocumentJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDERecentDocument_recentDocumentDirectory(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDERecentDocumentJBridge::recentDocumentDirectory(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDERecentDocument_recentDocuments(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TDERecentDocumentJBridge::recentDocuments(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/TDERecentDocument.h b/kdejava/koala/kdejava/TDERecentDocument.h deleted file mode 100644 index faa09bf0..00000000 --- a/kdejava/koala/kdejava/TDERecentDocument.h +++ /dev/null @@ -1,30 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDERecentDocument__ -#define __org_kde_koala_TDERecentDocument__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_newTDERecentDocument (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDERecentDocument_recentDocuments (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2 (JNIEnv *env, jclass, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_add__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_clear (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentDocument_maximumItems (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDERecentDocument_recentDocumentDirectory (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentDocument_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDERecentDocument_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDERecentDocument__ */ diff --git a/kdejava/koala/kdejava/TDERecentFilesAction.cpp b/kdejava/koala/kdejava/TDERecentFilesAction.cpp deleted file mode 100644 index 750e17a7..00000000 --- a/kdejava/koala/kdejava/TDERecentFilesAction.cpp +++ /dev/null @@ -1,592 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDERecentFilesActionJBridge : public TDERecentFilesAction -{ -public: - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4,uint arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDERecentFilesAction(arg1,arg2,arg3,arg4) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDERecentFilesAction(arg1,arg2,arg3) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6,uint arg7) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5,uint arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERecentFilesAction(arg1,arg2,arg3,arg4) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5,uint arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDERecentFilesAction(arg1,arg2,arg3,arg4) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7,uint arg8) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7,uint arg8) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDERecentFilesActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDERecentFilesAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDERecentFilesActionJBridge(TQObject* arg1,const char* arg2,uint arg3) : TDERecentFilesAction(arg1,arg2,arg3) {}; - TDERecentFilesActionJBridge(TQObject* arg1,const char* arg2) : TDERecentFilesAction(arg1,arg2) {}; - TDERecentFilesActionJBridge(TQObject* arg1) : TDERecentFilesAction(arg1) {}; - TDERecentFilesActionJBridge() : TDERecentFilesAction() {}; - void protected_itemSelected(const TQString& arg1) { - TDERecentFilesAction::itemSelected(arg1); - return; - } - void protected_menuAboutToShow() { - TDERecentFilesAction::menuAboutToShow(); - return; - } - void protected_menuItemActivated(int arg1) { - TDERecentFilesAction::menuItemActivated(arg1); - return; - } - void protected_slotClicked() { - TDERecentFilesAction::slotClicked(); - return; - } - void protected_slotActivated(int arg1) { - TDERecentFilesAction::slotActivated(arg1); - return; - } - void protected_slotActivated(const TQString& arg1) { - TDERecentFilesAction::slotActivated(arg1); - return; - } - void protected_slotActivated() { - TDERecentFilesAction::slotActivated(); - return; - } - ~TDERecentFilesActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","clear")) { - TDESelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDERecentFilesAction","slotActivated")) { - TDERecentFilesAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDERecentFilesAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2(JNIEnv* env, jobject obj, jobject url) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->addURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject url, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->addURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDERecentFilesAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_clearURLList(JNIEnv* env, jobject obj) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->clearURLList(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDERecentFilesAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDERecentFilesAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDERecentFilesAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDERecentFilesAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_itemSelected(JNIEnv* env, jobject obj, jstring string) -{ -static TQString* _qstring_string = 0; - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_itemSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, string, &_qstring_string)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->loadEntries((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupname) -{ -static TQString* _qstring_groupname = 0; - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->loadEntries((TDEConfig*) QtSupport::getQt(env, config), (TQString)*(TQString*) QtSupport::toTQString(env, groupname, &_qstring_groupname)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDERecentFilesAction_maxItems(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->maxItems(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_menuAboutToShow(JNIEnv* env, jobject obj) -{ - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_menuAboutToShow(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_menuItemActivated(JNIEnv* env, jobject obj, jint id) -{ - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_menuItemActivated((int) id); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDERecentFilesAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDERecentFilesAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name, jint maxItems) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_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 TDERecentFilesActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint maxItems) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDERecentFilesActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (uint) maxItems)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_removeURL(JNIEnv* env, jobject obj, jobject url) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->removeURL((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2(JNIEnv* env, jobject obj, jobject config) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->saveEntries((TDEConfig*) QtSupport::getQt(env, config)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring groupname) -{ -static TQString* _qstring_groupname = 0; - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->saveEntries((TDEConfig*) QtSupport::getQt(env, config), (TQString)*(TQString*) QtSupport::toTQString(env, groupname, &_qstring_groupname)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_setMaxItems(JNIEnv* env, jobject obj, jint maxItems) -{ - ((TDERecentFilesAction*) QtSupport::getQt(env, obj))->setMaxItems((uint) maxItems); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_slotActivated__(JNIEnv* env, jobject obj) -{ - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_slotActivated__I(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1) -{ -static TQString* _qstring_arg1 = 0; - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDERecentFilesAction_slotClicked(JNIEnv* env, jobject obj) -{ - ((TDERecentFilesActionJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); - return; -} - diff --git a/kdejava/koala/kdejava/TDERecentFilesAction.h b/kdejava/koala/kdejava/TDERecentFilesAction.h deleted file mode 100644 index 37498522..00000000 --- a/kdejava/koala/kdejava/TDERecentFilesAction.h +++ /dev/null @@ -1,64 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDERecentFilesAction__ -#define __org_kde_koala_TDERecentFilesAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDERecentFilesAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDERecentFilesAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2I (JNIEnv *env, jobject, jobject, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_newTDERecentFilesAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentFilesAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDERecentFilesAction_maxItems (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_setMaxItems (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_loadEntries__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_saveEntries__Lorg_kde_koala_TDEConfig_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_addURL__Lorg_kde_koala_KURL_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_removeURL (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_clearURLList (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_itemSelected (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_menuAboutToShow (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_menuItemActivated (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotActivated__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_slotActivated__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDERecentFilesAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDERecentFilesAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDERecentFilesAction__ */ diff --git a/kdejava/koala/kdejava/TDESelectAction.cpp b/kdejava/koala/kdejava/TDESelectAction.cpp deleted file mode 100644 index c6d843ab..00000000 --- a/kdejava/koala/kdejava/TDESelectAction.cpp +++ /dev/null @@ -1,643 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDESelectActionJBridge : public TDESelectAction -{ -public: - TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDESelectAction(arg1,arg2,arg3,arg4) {}; - TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDESelectAction(arg1,arg2,arg3) {}; - TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDESelectAction(arg1,arg2) {}; - TDESelectActionJBridge(const TQString& arg1) : TDESelectAction(arg1) {}; - TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDESelectActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDESelectAction(arg1,arg2,arg3,arg4,arg5) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDESelectAction(arg1,arg2,arg3,arg4,arg5) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDESelectAction(arg1,arg2,arg3,arg4) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDESelectAction(arg1,arg2,arg3) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDESelectAction(arg1,arg2) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDESelectAction(arg1,arg2,arg3,arg4,arg5) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDESelectAction(arg1,arg2,arg3,arg4) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDESelectAction(arg1,arg2,arg3) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2) : TDESelectAction(arg1,arg2) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDESelectActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDESelectActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDESelectAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDESelectActionJBridge(TQObject* arg1,const char* arg2) : TDESelectAction(arg1,arg2) {}; - TDESelectActionJBridge(TQObject* arg1) : TDESelectAction(arg1) {}; - TDESelectActionJBridge() : TDESelectAction() {}; - void public_clear() { - TDESelectAction::clear(); - return; - } - void protected_changeItem(int arg1,int arg2,const TQString& arg3) { - TDESelectAction::changeItem(arg1,arg2,arg3); - return; - } - TQStringList protected_comboItems() { - return (TQStringList) TDESelectAction::comboItems(); - } - void protected_updateCurrentItem(int arg1) { - TDESelectAction::updateCurrentItem(arg1); - return; - } - void protected_updateComboWidth(int arg1) { - TDESelectAction::updateComboWidth(arg1); - return; - } - void protected_updateItems(int arg1) { - TDESelectAction::updateItems(arg1); - return; - } - void protected_updateClear(int arg1) { - TDESelectAction::updateClear(arg1); - return; - } - void protected_slotActivated(int arg1) { - TDESelectAction::slotActivated(arg1); - return; - } - void protected_slotActivated(const TQString& arg1) { - TDESelectAction::slotActivated(arg1); - return; - } - void protected_slotActivated() { - TDESelectAction::slotActivated(); - return; - } - ~TDESelectActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void clear() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","clear")) { - TDESelectAction::clear(); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelectAction","slotActivated")) { - TDESelectAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - bool isEditable() { - return QtSupport::booleanDelegate(this,"isEditable"); - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDESelectAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_changeItem__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jint index, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_changeItem((int) id, (int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint index, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDESelectAction*) QtSupport::getQt(env, obj))->changeItem((int) index, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDESelectAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDESelectAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_clear(JNIEnv* env, jobject obj) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->public_clear(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelectAction_comboItems(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_comboItems(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelectAction_comboWidth(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->comboWidth(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelectAction_currentItem(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->currentItem(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDESelectAction_currentText(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDESelectAction*) QtSupport::getQt(env, obj))->currentText(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDESelectAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDESelectAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDESelectAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelectAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelectAction_isEditable(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDESelectAction*) QtSupport::getQt(env, obj))->isEditable(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelectAction_items(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDESelectAction*) QtSupport::getQt(env, obj))->items(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelectAction_menuAccelsEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDESelectAction*) QtSupport::getQt(env, obj))->menuAccelsEnabled(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelectAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDESelectAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__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 TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_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 TDESelectActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelectAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelectAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDESelectAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelectAction_popupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDESelectAction*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelectAction_removeAmpersandsInCombo(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDESelectAction*) QtSupport::getQt(env, obj))->removeAmpersandsInCombo(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setComboWidth(JNIEnv* env, jobject obj, jint width) -{ - ((TDESelectAction*) QtSupport::getQt(env, obj))->setComboWidth((int) width); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setCurrentItem(JNIEnv* env, jobject obj, jint index) -{ - ((TDESelectAction*) QtSupport::getQt(env, obj))->setCurrentItem((int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setEditable(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDESelectAction*) QtSupport::getQt(env, obj))->setEditable((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setItems(JNIEnv* env, jobject obj, jobjectArray lst) -{ -static TQStringList* _qlist_lst = 0; - ((TDESelectAction*) QtSupport::getQt(env, obj))->setItems((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, lst, &_qlist_lst)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setMaxComboViewCount(JNIEnv* env, jobject obj, jint n) -{ - ((TDESelectAction*) QtSupport::getQt(env, obj))->setMaxComboViewCount((int) n); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_setMenuAccelsEnabled(JNIEnv* env, jobject obj, jboolean b) -{ - ((TDESelectAction*) QtSupport::getQt(env, obj))->setMenuAccelsEnabled((bool) b); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_slotActivated__(JNIEnv* env, jobject obj) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_slotActivated__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_slotActivated__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_updateClear(JNIEnv* env, jobject obj, jint id) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateClear((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_updateComboWidth(JNIEnv* env, jobject obj, jint id) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateComboWidth((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_updateCurrentItem(JNIEnv* env, jobject obj, jint id) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateCurrentItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelectAction_updateItems(JNIEnv* env, jobject obj, jint id) -{ - ((TDESelectActionJBridge*) QtSupport::getQt(env, obj))->protected_updateItems((int) id); - return; -} - diff --git a/kdejava/koala/kdejava/TDESelectAction.h b/kdejava/koala/kdejava/TDESelectAction.h deleted file mode 100644 index 8ea65cfd..00000000 --- a/kdejava/koala/kdejava/TDESelectAction.h +++ /dev/null @@ -1,71 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDESelectAction__ -#define __org_kde_koala_TDESelectAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDESelectAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_newTDESelectAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_isEditable (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_items (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_changeItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDESelectAction_currentText (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_currentItem (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelectAction_comboWidth (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setMaxComboViewCount (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_popupMenu (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_removeAmpersandsInCombo (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setMenuAccelsEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_menuAccelsEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setItems (JNIEnv *env, jobject, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setEditable (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_setComboWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_changeItem__IILjava_lang_String_2 (JNIEnv *env, jobject, jint, jint, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelectAction_comboItems (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateCurrentItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateComboWidth (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateItems (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_updateClear (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_slotActivated__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_slotActivated__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_slotActivated__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelectAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelectAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDESelectAction__ */ diff --git a/kdejava/koala/kdejava/TDESelector.cpp b/kdejava/koala/kdejava/TDESelector.cpp deleted file mode 100644 index 4bf84340..00000000 --- a/kdejava/koala/kdejava/TDESelector.cpp +++ /dev/null @@ -1,766 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDESelectorJBridge : public TDESelector -{ -public: - TDESelectorJBridge(TQWidget* arg1,const char* arg2) : TDESelector(arg1,arg2) {}; - TDESelectorJBridge(TQWidget* arg1) : TDESelector(arg1) {}; - TDESelectorJBridge() : TDESelector() {}; - TDESelectorJBridge(TQt::Orientation arg1,TQWidget* arg2,const char* arg3) : TDESelector(arg1,arg2,arg3) {}; - TDESelectorJBridge(TQt::Orientation arg1,TQWidget* arg2) : TDESelector(arg1,arg2) {}; - TDESelectorJBridge(TQt::Orientation arg1) : TDESelector(arg1) {}; - void protected_drawContents(TQPainter* arg1) { - TDESelector::drawContents(arg1); - return; - } - void protected_drawArrow(TQPainter* arg1,bool arg2,const TQPoint& arg3) { - TDESelector::drawArrow(arg1,arg2,arg3); - return; - } - void protected_valueChange() { - TDESelector::valueChange(); - return; - } - void protected_paintEvent(TQPaintEvent* arg1) { - TDESelector::paintEvent(arg1); - return; - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TDESelector::mousePressEvent(arg1); - return; - } - void protected_mouseMoveEvent(TQMouseEvent* arg1) { - TDESelector::mouseMoveEvent(arg1); - return; - } - void protected_wheelEvent(TQWheelEvent* arg1) { - TDESelector::wheelEvent(arg1); - return; - } - ~TDESelectorJBridge() {QtSupport::qtKeyDeleted(this);} - int protected_positionFromValue(int arg1,int arg2) { - return (int) TQRangeControl::positionFromValue(arg1,arg2); - } - int protected_valueFromPosition(int arg1,int arg2) { - return (int) TQRangeControl::valueFromPosition(arg1,arg2); - } - void protected_directSetValue(int arg1) { - TQRangeControl::directSetValue(arg1); - return; - } - int protected_prevValue() { - return (int) TQRangeControl::prevValue(); - } - void protected_rangeChange() { - TQRangeControl::rangeChange(); - return; - } - void protected_stepChange() { - TQRangeControl::stepChange(); - return; - } - void drawContents(TQPainter* arg1) { - if (!QtSupport::eventDelegate(this,"drawContents",(void*)arg1,"org.kde.qt.TQPainter")) { - TDESelector::drawContents(arg1); - } - return; - } - 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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void stepChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","stepChange")) { - TQRangeControl::stepChange(); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void valueChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","valueChange")) { - TDESelector::valueChange(); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TDESelector::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.TDESelector","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDESelector::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDESelector::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void rangeChange() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","rangeChange")) { - TQRangeControl::rangeChange(); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TDESelector::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDESelector",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDESelector","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_addLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->addLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_addPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->addPage(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_bound(JNIEnv* env, jobject obj, jint arg1) -{ - jint xret = (jint) ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->bound((int) arg1); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDESelector_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDESelector*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelector_contentsRect(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TDESelector*) QtSupport::getQt(env, obj))->contentsRect()), "org.kde.qt.TQRect", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_directSetValue(JNIEnv* env, jobject obj, jint val) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_directSetValue((int) val); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDESelector_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_drawArrow(JNIEnv* env, jobject obj, jobject painter, jboolean show, jobject pos) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawArrow((TQPainter*) QtSupport::getQt(env, painter), (bool) show, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDESelector*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDESelector*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelector_indent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDESelector*) QtSupport::getQt(env, obj))->indent(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDESelector_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_lineStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->lineStep(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_maxValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->maxValue(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDESelector_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDESelector*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_minValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->minValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_mouseMoveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_mousePressEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_newTDESelector__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectorJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_newTDESelector__I(JNIEnv* env, jobject obj, jint o) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectorJBridge((TQt::Orientation) o)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint o, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectorJBridge((TQt::Orientation) o, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint o, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectorJBridge((TQt::Orientation) o, (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_koala_TDESelector_newTDESelector__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESelectorJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_newTDESelector__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 TDESelectorJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_pageStep(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->pageStep(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_paintEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_positionFromValue(JNIEnv* env, jobject obj, jint val, jint space) -{ - jint xret = (jint) ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_positionFromValue((int) val, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_prevValue(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_prevValue(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_rangeChange(JNIEnv* env, jobject obj) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_rangeChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setIndent(JNIEnv* env, jobject obj, jboolean i) -{ - ((TDESelector*) QtSupport::getQt(env, obj))->setIndent((bool) i); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setMaxValue(JNIEnv* env, jobject obj, jint value) -{ - ((TDESelector*) QtSupport::getQt(env, obj))->setMaxValue((int) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setMinValue(JNIEnv* env, jobject obj, jint value) -{ - ((TDESelector*) QtSupport::getQt(env, obj))->setMinValue((int) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setRange(JNIEnv* env, jobject obj, jint minValue, jint maxValue) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->setRange((int) minValue, (int) maxValue); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setSteps(JNIEnv* env, jobject obj, jint line, jint page) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->setSteps((int) line, (int) page); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_setValue(JNIEnv* env, jobject obj, jint value) -{ - ((TDESelector*) QtSupport::getQt(env, obj))->setValue((int) value); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_stepChange(JNIEnv* env, jobject obj) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_stepChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_subtractLine(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->subtractLine(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_subtractPage(JNIEnv* env, jobject obj) -{ - ((TQRangeControl*)(TDESelector*) QtSupport::getQt(env, obj))->subtractPage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_valueChange(JNIEnv* env, jobject obj) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_valueChange(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_valueFromPosition(JNIEnv* env, jobject obj, jint pos, jint space) -{ - jint xret = (jint) ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_valueFromPosition((int) pos, (int) space); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDESelector_value(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDESelector*) QtSupport::getQt(env, obj))->value(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDESelector_wheelEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDESelectorJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/TDESelector.h b/kdejava/koala/kdejava/TDESelector.h deleted file mode 100644 index 277ce77d..00000000 --- a/kdejava/koala/kdejava/TDESelector.h +++ /dev/null @@ -1,61 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDESelector__ -#define __org_kde_koala_TDESelector__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelector_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDESelector_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_newTDESelector__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDESelector_contentsRect (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setIndent (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelector_indent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_value (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setMinValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_minValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setMaxValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_maxValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_drawArrow (JNIEnv *env, jobject, jobject, jboolean, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_valueChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_paintEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_mouseMoveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_wheelEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDESelector_isDisposed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_addPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_subtractPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_addLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_subtractLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setRange (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_lineStep (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_pageStep (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_setSteps (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_bound (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_positionFromValue (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_valueFromPosition (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_directSetValue (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDESelector_prevValue (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_rangeChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDESelector_stepChange (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDESelector__ */ diff --git a/kdejava/koala/kdejava/TDEShared.cpp b/kdejava/koala/kdejava/TDEShared.cpp deleted file mode 100644 index d94bb2f9..00000000 --- a/kdejava/koala/kdejava/TDEShared.cpp +++ /dev/null @@ -1,34 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class TDESharedJBridge : public TDEShared -{ -public: - TDESharedJBridge() : TDEShared() {}; - TDESharedJBridge(const TDEShared& arg1) : TDEShared(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShared_newTDEShared__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESharedJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShared_newTDEShared__Lorg_kde_koala_TDEShared_2(JNIEnv* env, jobject obj, jobject arg1) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDESharedJBridge((const TDEShared&)*(const TDEShared*) QtSupport::getQt(env, arg1))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/TDEShared.h b/kdejava/koala/kdejava/TDEShared.h deleted file mode 100644 index 2051bc83..00000000 --- a/kdejava/koala/kdejava/TDEShared.h +++ /dev/null @@ -1,20 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEShared__ -#define __org_kde_koala_TDEShared__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShared_newTDEShared__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShared_newTDEShared__Lorg_kde_koala_TDEShared_2 (JNIEnv *env, jobject, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEShared__ */ diff --git a/kdejava/koala/kdejava/TDESharedConfig.cpp b/kdejava/koala/kdejava/TDESharedConfig.cpp deleted file mode 100644 index a7b837dd..00000000 --- a/kdejava/koala/kdejava/TDESharedConfig.cpp +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - diff --git a/kdejava/koala/kdejava/TDESharedConfig.h b/kdejava/koala/kdejava/TDESharedConfig.h deleted file mode 100644 index 4ad86b1d..00000000 --- a/kdejava/koala/kdejava/TDESharedConfig.h +++ /dev/null @@ -1,18 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDESharedConfig__ -#define __org_kde_koala_TDESharedConfig__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDESharedConfig__ */ diff --git a/kdejava/koala/kdejava/TDEShortcut.cpp b/kdejava/koala/kdejava/TDEShortcut.cpp deleted file mode 100644 index 7cfeacc8..00000000 --- a/kdejava/koala/kdejava/TDEShortcut.cpp +++ /dev/null @@ -1,303 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TDEShortcutJBridge : public TDEShortcut -{ -public: - TDEShortcutJBridge() : TDEShortcut() {}; - TDEShortcutJBridge(int arg1) : TDEShortcut(arg1) {}; - TDEShortcutJBridge(const TQKeySequence& arg1) : TDEShortcut(arg1) {}; - TDEShortcutJBridge(const KKey& arg1) : TDEShortcut(arg1) {}; - TDEShortcutJBridge(const KKeySequence& arg1) : TDEShortcut(arg1) {}; - TDEShortcutJBridge(const TDEShortcut& arg1) : TDEShortcut(arg1) {}; - TDEShortcutJBridge(const char* arg1) : TDEShortcut(arg1) {}; - ~TDEShortcutJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->append((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject spec) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->append((const KKey&)*(const KKey*) QtSupport::getQt(env, spec)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->append((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_clear(JNIEnv* env, jobject obj) -{ - ((TDEShortcut*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcut_compare(JNIEnv* env, jobject obj, jobject shortcut) -{ - jint xret = (jint) ((TDEShortcut*) QtSupport::getQt(env, obj))->compare((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->contains((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->contains((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcut_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEShortcut*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEShortcut_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEShortcut*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__I(JNIEnv* env, jobject obj, jint keyQt) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((int) keyQt); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring shortcut) -{ -static TQString* _qstring_shortcut = 0; - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const TQString&)*(TQString*) QtSupport::toTQString(env, shortcut, &_qstring_shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const KKey&)*(const KKey*) QtSupport::getQt(env, key)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject shortcut) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_init__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->init((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcut_keyCodeQt(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEShortcut*) QtSupport::getQt(env, obj))->keyCodeQt(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__I(JNIEnv* env, jobject obj, jint keyQt) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((int) keyQt)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring shortcut) -{ -static TQCString* _qstring_shortcut = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((const char*) QtSupport::toCharString(env, shortcut, &_qstring_shortcut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKey_2(JNIEnv* env, jobject obj, jobject key) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((const KKey&)*(const KKey*) QtSupport::getQt(env, key))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject shortcut) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEShortcutJBridge((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, keySeq))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcut_nil(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEShortcutJBridge::null(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_op_1equals(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->operator==((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_op_1lt(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->operator<((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_op_1not_1equals(JNIEnv* env, jobject obj, jobject cut) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->operator!=((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEShortcut_remove(JNIEnv* env, jobject obj, jobject keySeq) -{ - ((TDEShortcut*) QtSupport::getQt(env, obj))->remove((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcut_seq(JNIEnv* env, jobject obj, jint i) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(KKeySequence *) &((TDEShortcut*) QtSupport::getQt(env, obj))->seq((uint) i), "org.kde.koala.KKeySequence"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcut_setSeq(JNIEnv* env, jobject obj, jint i, jobject keySeq) -{ - jboolean xret = (jboolean) ((TDEShortcut*) QtSupport::getQt(env, obj))->setSeq((uint) i, (const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcut_toStringInternal__(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEShortcut*) QtSupport::getQt(env, obj))->toStringInternal(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcut_toStringInternal__Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jobject pcutDefault) -{ - TQString _qstring; - _qstring = ((TDEShortcut*) QtSupport::getQt(env, obj))->toStringInternal((const TDEShortcut*) QtSupport::getQt(env, pcutDefault)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcut_toString(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEShortcut*) QtSupport::getQt(env, obj))->toString(); - return QtSupport::fromTQString(env, &_qstring); -} - diff --git a/kdejava/koala/kdejava/TDEShortcut.h b/kdejava/koala/kdejava/TDEShortcut.h deleted file mode 100644 index 3f20ec58..00000000 --- a/kdejava/koala/kdejava/TDEShortcut.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEShortcut__ -#define __org_kde_koala_TDEShortcut__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_newTDEShortcut__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_clear (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_qt_QKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_init__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcut_count (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcut_seq (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcut_keyCodeQt (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_isNull (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcut_compare (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_op_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_op_1not_1equals (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_op_1lt (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_contains__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_setSeq (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_remove (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_KKey_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_append__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcut_toString (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcut_toStringInternal__Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcut_toStringInternal__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcut_nil (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEShortcut_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcut_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEShortcut__ */ diff --git a/kdejava/koala/kdejava/TDEShortcutList.cpp b/kdejava/koala/kdejava/TDEShortcutList.cpp deleted file mode 100644 index ff29c471..00000000 --- a/kdejava/koala/kdejava/TDEShortcutList.cpp +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcutList_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcutList_getOther(JNIEnv* env, jobject obj, jint arg1, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQVariant(((TDEShortcutList*) QtSupport::getQt(env, obj))->getOther((TDEShortcutList::Other) arg1, (uint) index)), "org.kde.qt.TQVariant", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcutList_index__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sName) -{ -static TQString* _qstring_sName = 0; - jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->index((const TQString&)*(TQString*) QtSupport::toTQString(env, sName, &_qstring_sName)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEShortcutList_index__Lorg_kde_koala_KKeySequence_2(JNIEnv* env, jobject obj, jobject keySeq) -{ - jint xret = (jint) ((TDEShortcutList*) QtSupport::getQt(env, obj))->index((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcutList_instance(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEShortcutList*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.TDEInstanceInterface"); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_isConfigurable(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->isConfigurable((uint) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_isGlobal(JNIEnv* env, jobject obj, jint index) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->isGlobal((uint) index); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcutList_label(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->label((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcutList_name(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->name((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_readSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->readSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_save(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->save(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_setOther(JNIEnv* env, jobject obj, jint arg1, jint index, jobject arg3) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->setOther((TDEShortcutList::Other) arg1, (uint) index, (TQVariant)*(TQVariant*) QtSupport::getQt(env, arg3)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_setShortcut(JNIEnv* env, jobject obj, jint index, jobject shortcut) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->setShortcut((uint) index, (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, shortcut)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcutList_shortcutDefault(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEShortcutList*) QtSupport::getQt(env, obj))->shortcutDefault((uint) index), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEShortcutList_shortcut(JNIEnv* env, jobject obj, jint index) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &((TDEShortcutList*) QtSupport::getQt(env, obj))->shortcut((uint) index), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEShortcutList_whatsThis(JNIEnv* env, jobject obj, jint index) -{ - TQString _qstring; - _qstring = ((TDEShortcutList*) QtSupport::getQt(env, obj))->whatsThis((uint) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_writeSettings__(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring sConfigGroup) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2Z(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bWriteAll) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bWriteAll); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2ZZ(JNIEnv* env, jobject obj, jstring sConfigGroup, jobject pConfig, jboolean bWriteAll, jboolean bGlobal) -{ -static TQString* _qstring_sConfigGroup = 0; - jboolean xret = (jboolean) ((TDEShortcutList*) QtSupport::getQt(env, obj))->writeSettings((const TQString&)*(TQString*) QtSupport::toTQString(env, sConfigGroup, &_qstring_sConfigGroup), (TDEConfigBase*) QtSupport::getQt(env, pConfig), (bool) bWriteAll, (bool) bGlobal); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEShortcutList.h b/kdejava/koala/kdejava/TDEShortcutList.h deleted file mode 100644 index 7a4e8776..00000000 --- a/kdejava/koala/kdejava/TDEShortcutList.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEShortcutList__ -#define __org_kde_koala_TDEShortcutList__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcutList_count (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcutList_name (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcutList_label (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEShortcutList_whatsThis (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_shortcut (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_shortcutDefault (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_isConfigurable (JNIEnv *env, jobject, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_setShortcut (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_isGlobal (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcutList_index__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEShortcutList_index__Lorg_kde_koala_KKeySequence_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_instance (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEShortcutList_getOther (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_setOther (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_save (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_readSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_readSettings__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2ZZ (JNIEnv *env, jobject, jstring, jobject, jboolean, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2Z (JNIEnv *env, jobject, jstring, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2Lorg_kde_koala_TDEConfigBase_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEShortcutList_writeSettings__ (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEShortcutList__ */ diff --git a/kdejava/koala/kdejava/TDEStandardDirs.cpp b/kdejava/koala/kdejava/TDEStandardDirs.cpp deleted file mode 100644 index 2c82a726..00000000 --- a/kdejava/koala/kdejava/TDEStandardDirs.cpp +++ /dev/null @@ -1,474 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEStandardDirsJBridge : public TDEStandardDirs -{ -public: - TDEStandardDirsJBridge() : TDEStandardDirs() {}; - ~TDEStandardDirsJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_addCustomized(JNIEnv* env, jobject obj, jobject config) -{ - jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addCustomized((TDEConfig*) QtSupport::getQt(env, config)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_addKDEDefaults(JNIEnv* env, jobject obj) -{ - ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addKDEDefaults(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_addPrefix(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_addResourceDir(JNIEnv* env, jobject obj, jstring type, jstring absdir) -{ -static TQCString* _qstring_type = 0; -static TQString* _qstring_absdir = 0; - jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addResourceDir((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, absdir, &_qstring_absdir)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_addResourceType(JNIEnv* env, jobject obj, jstring type, jstring relativename) -{ -static TQCString* _qstring_type = 0; -static TQString* _qstring_relativename = 0; - jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addResourceType((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, relativename, &_qstring_relativename)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_addXdgConfigPrefix(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addXdgConfigPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_addXdgDataPrefix(JNIEnv* env, jobject obj, jstring dir) -{ -static TQString* _qstring_dir = 0; - ((TDEStandardDirs*) QtSupport::getQt(env, obj))->addXdgDataPrefix((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_allTypes(JNIEnv* env, jobject obj) -{ - TQStringList _qlist; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->allTypes(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEStandardDirs_calcResourceHash(JNIEnv* env, jobject obj, jstring type, jstring filename, jboolean deep) -{ -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - jint xret = (jint) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->calcResourceHash((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename), (bool) deep); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEStandardDirs_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_exists(JNIEnv* env, jclass cls, jstring fullPath) -{ - (void) cls; -static TQString* _qstring_fullPath = 0; - jboolean xret = (jboolean) TDEStandardDirsJBridge::exists((const TQString&)*(TQString*) QtSupport::toTQString(env, fullPath, &_qstring_fullPath)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TDEStandardDirs*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list, jstring appname) -{ - (void) cls; -static TQStringList* _qlist_list = 0; -static TQString* _qstring_appname = 0; - jint xret = (jint) TDEStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobjectArray list, jstring appname, jstring pathstr) -{ - (void) cls; -static TQStringList* _qlist_list = 0; -static TQString* _qstring_appname = 0; -static TQString* _qstring_pathstr = 0; - jint xret = (jint) TDEStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jobjectArray list, jstring appname, jstring pathstr, jboolean ignoreExecBit) -{ - (void) cls; -static TQStringList* _qlist_list = 0; -static TQString* _qstring_appname = 0; -static TQString* _qstring_pathstr = 0; - jint xret = (jint) TDEStandardDirsJBridge::findAllExe((TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr), (bool) ignoreExecBit); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring filter) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filter = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filter = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive, jboolean unique) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filter = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive, (bool) unique); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring filter, jboolean recursive, jboolean unique, jobjectArray relPaths) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filter = 0; -static TQStringList* _qlist_relPaths = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findAllResources((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filter, &_qstring_filter), (bool) recursive, (bool) unique, (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, relPaths, &_qlist_relPaths)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_findDirs(JNIEnv* env, jobject obj, jstring type, jstring reldir) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; -static TQString* _qstring_reldir = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findDirs((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, reldir, &_qstring_reldir)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring appname) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_appname = 0; - _qstring = TDEStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring appname, jstring pathstr) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_appname = 0; -static TQString* _qstring_pathstr = 0; - _qstring = TDEStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring appname, jstring pathstr, jboolean ignoreExecBit) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_appname = 0; -static TQString* _qstring_pathstr = 0; - _qstring = TDEStandardDirsJBridge::findExe((const TQString&)*(TQString*) QtSupport::toTQString(env, appname, &_qstring_appname), (const TQString&)*(TQString*) QtSupport::toTQString(env, pathstr, &_qstring_pathstr), (bool) ignoreExecBit); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_findResourceDir(JNIEnv* env, jobject obj, jstring type, jstring filename) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findResourceDir((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_findResource(JNIEnv* env, jobject obj, jstring type, jstring filename) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; -static TQString* _qstring_filename = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->findResource((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type) -{ -static TQCString* _qstring_type = 0; - jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->isRestrictedResource((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring relPath) -{ -static TQCString* _qstring_type = 0; -static TQString* _qstring_relPath = 0; - jboolean xret = (jboolean) ((TDEStandardDirs*) QtSupport::getQt(env, obj))->isRestrictedResource((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, relPath, &_qstring_relPath)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kde_1default(JNIEnv* env, jclass cls, jstring type) -{ - TQString _qstring; - (void) cls; -static TQCString* _qstring_type = 0; - _qstring = TDEStandardDirsJBridge::kde_default((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultbindir(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEStandardDirsJBridge::kfsstnd_defaultbindir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultprefix(JNIEnv* env, jclass cls) -{ - TQString _qstring; - (void) cls; - _qstring = TDEStandardDirsJBridge::kfsstnd_defaultprefix(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kfsstnd_1prefixes(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_prefixes(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1conf_1prefixes(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_xdg_conf_prefixes(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1data_1prefixes(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->kfsstnd_xdg_data_prefixes(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_localtdedir(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->localtdedir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_localxdgconfdir(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->localxdgconfdir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_localxdgdatadir(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->localxdgdatadir(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring dir) -{ - (void) cls; -static TQString* _qstring_dir = 0; - jboolean xret = (jboolean) TDEStandardDirsJBridge::makeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring dir, jint mode) -{ - (void) cls; -static TQString* _qstring_dir = 0; - jboolean xret = (jboolean) TDEStandardDirsJBridge::makeDir((const TQString&)*(TQString*) QtSupport::toTQString(env, dir, &_qstring_dir), (int) mode); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEStandardDirs_newTDEStandardDirs(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEStandardDirsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_realFilePath(JNIEnv* env, jclass cls, jstring filename) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_filename = 0; - _qstring = TDEStandardDirsJBridge::realFilePath((const TQString&)*(TQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_realPath(JNIEnv* env, jclass cls, jstring dirname) -{ - TQString _qstring; - (void) cls; -static TQString* _qstring_dirname = 0; - _qstring = TDEStandardDirsJBridge::realPath((const TQString&)*(TQString*) QtSupport::toTQString(env, dirname, &_qstring_dirname)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_relativeLocation(JNIEnv* env, jobject obj, jstring type, jstring absPath) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; -static TQString* _qstring_absPath = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->relativeLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, absPath, &_qstring_absPath)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_resourceDirs(JNIEnv* env, jobject obj, jstring type) -{ - TQStringList _qlist; -static TQCString* _qstring_type = 0; - _qlist = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->resourceDirs((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring type, jstring suffix) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; -static TQString* _qstring_suffix = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix)); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring type, jstring suffix, jboolean create) -{ - TQString _qstring; -static TQCString* _qstring_type = 0; -static TQString* _qstring_suffix = 0; - _qstring = ((TDEStandardDirs*) QtSupport::getQt(env, obj))->saveLocation((const char*) QtSupport::toCharString(env, type, &_qstring_type), (const TQString&)*(TQString*) QtSupport::toTQString(env, suffix, &_qstring_suffix), (bool) create); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_systemPaths__(JNIEnv* env, jclass cls) -{ - TQStringList _qlist; - (void) cls; - _qlist = TDEStandardDirsJBridge::systemPaths(); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStandardDirs_systemPaths__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring pstr) -{ - TQStringList _qlist; - (void) cls; -static TQString* _qstring_pstr = 0; - _qlist = TDEStandardDirsJBridge::systemPaths((const TQString&)*(TQString*) QtSupport::toTQString(env, pstr, &_qstring_pstr)); - return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist); -} - diff --git a/kdejava/koala/kdejava/TDEStandardDirs.h b/kdejava/koala/kdejava/TDEStandardDirs.h deleted file mode 100644 index a30f4a8b..00000000 --- a/kdejava/koala/kdejava/TDEStandardDirs.h +++ /dev/null @@ -1,68 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEStandardDirs__ -#define __org_kde_koala_TDEStandardDirs__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_newTDEStandardDirs (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addXdgConfigPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addXdgDataPrefix (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_addResourceType (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_addResourceDir (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findResource (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_isRestrictedResource__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_calcResourceHash (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findDirs (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findResourceDir (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_findAllResources__Ljava_lang_String_2Ljava_lang_String_2ZZ_3Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jboolean, jboolean, jobjectArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_addKDEDefaults (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_addCustomized (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_resourceDirs (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_allTypes (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_saveLocation__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_relativeLocation (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1prefixes (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1conf_1prefixes (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1xdg_1data_1prefixes (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_localtdedir (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_localxdgdatadir (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_localxdgconfdir (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_systemPaths__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStandardDirs_systemPaths__ (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jstring, jstring, jboolean); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_findExe__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Z (JNIEnv *env, jclass, jobjectArray, jstring, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStandardDirs_findAllExe___3Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jobjectArray, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2I (JNIEnv *env, jclass, jstring, jint); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_makeDir__Ljava_lang_String_2 (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kde_1default (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultprefix (JNIEnv *env, jclass); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_kfsstnd_1defaultbindir (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_exists (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_realPath (JNIEnv *env, jclass, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStandardDirs_realFilePath (JNIEnv *env, jclass, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEStandardDirs_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEStandardDirs_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEStandardDirs__ */ diff --git a/kdejava/koala/kdejava/TDEStdAccel.cpp b/kdejava/koala/kdejava/TDEStdAccel.cpp deleted file mode 100644 index ec9702a3..00000000 --- a/kdejava/koala/kdejava/TDEStdAccel.cpp +++ /dev/null @@ -1,460 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_addBookmark(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::addBookmark(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_back(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::back(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_backwardWord(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::backwardWord(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_beginningOfLine(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::beginningOfLine(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_close(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::close(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_completion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::completion(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_copy(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::copy(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_cut(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::cut(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_deleteWordBack(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::deleteWordBack(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_deleteWordForward(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::deleteWordForward(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_endOfLine(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::endOfLine(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_end(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::end(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_findNext(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::findNext(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_findPrev(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::findPrev(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEStdAccel_findStdAccel(JNIEnv* env, jclass cls, jobject keySeq) -{ - (void) cls; - jint xret = (jint) TDEStdAccel::findStdAccel((const KKeySequence&)*(const KKeySequence*) QtSupport::getQt(env, keySeq)); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_find(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::find(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_forwardWord(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::forwardWord(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_forward(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::forward(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_fullScreen(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::fullScreen(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_gotoLine(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::gotoLine(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_help(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::help(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_home(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::home(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStdAccel_label(JNIEnv* env, jclass cls, jint id) -{ - TQString _qstring; - (void) cls; - _qstring = TDEStdAccel::label((TDEStdAccel::StdAccel) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStdAccel_name(JNIEnv* env, jclass cls, jint id) -{ - TQString _qstring; - (void) cls; - _qstring = TDEStdAccel::name((TDEStdAccel::StdAccel) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_nextCompletion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::nextCompletion(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_next(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::next(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_openNew(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::openNew(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_open(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::open(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_pasteSelection(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::pasteSelection(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_paste(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::paste(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_popupMenuContext(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::popupMenuContext(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_prevCompletion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::prevCompletion(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_print(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::print(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_prior(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::prior(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_quit(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::quit(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_redo(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::redo(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_reload(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::reload(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_replace(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::replace(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_rotateDown(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::rotateDown(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_rotateUp(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::rotateUp(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_save(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::save(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_selectAll(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::selectAll(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_shortcutDefault3(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEShortcut(TDEStdAccel::shortcutDefault3((TDEStdAccel::StdAccel) id)), "org.kde.koala.TDEShortcut", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_shortcutDefault4(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEShortcut(TDEStdAccel::shortcutDefault4((TDEStdAccel::StdAccel) id)), "org.kde.koala.TDEShortcut", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_shortcutDefault(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)new TDEShortcut(TDEStdAccel::shortcutDefault((TDEStdAccel::StdAccel) id)), "org.kde.koala.TDEShortcut", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_shortcut(JNIEnv* env, jclass cls, jint id) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::shortcut((TDEStdAccel::StdAccel) id), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_showMenubar(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::showMenubar(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_substringCompletion(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::substringCompletion(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_tabNext(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::tabNext(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_tabPrev(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::tabPrev(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_undo(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::undo(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_up(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::up(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_whatsThis__(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::whatsThis(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEStdAccel_whatsThis__I(JNIEnv* env, jclass cls, jint id) -{ - TQString _qstring; - (void) cls; - _qstring = TDEStdAccel::whatsThis((TDEStdAccel::StdAccel) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_zoomIn(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::zoomIn(), "org.kde.koala.TDEShortcut"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEStdAccel_zoomOut(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)(TDEShortcut *) &TDEStdAccel::zoomOut(), "org.kde.koala.TDEShortcut"); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEStdAccel.h b/kdejava/koala/kdejava/TDEStdAccel.h deleted file mode 100644 index 296d6d1c..00000000 --- a/kdejava/koala/kdejava/TDEStdAccel.h +++ /dev/null @@ -1,74 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEStdAccel__ -#define __org_kde_koala_TDEStdAccel__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcut (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStdAccel_name (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStdAccel_label (JNIEnv *env, jclass, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEStdAccel_whatsThis__I (JNIEnv *env, jclass, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEStdAccel_findStdAccel (JNIEnv *env, jclass, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcutDefault (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcutDefault3 (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_shortcutDefault4 (JNIEnv *env, jclass, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_open (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_openNew (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_close (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_save (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_print (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_quit (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_undo (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_redo (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_cut (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_copy (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_paste (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_pasteSelection (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_selectAll (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_deleteWordBack (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_deleteWordForward (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_find (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_findNext (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_findPrev (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_replace (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_zoomIn (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_zoomOut (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_home (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_end (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_beginningOfLine (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_endOfLine (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_prior (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_next (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_gotoLine (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_addBookmark (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_tabNext (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_tabPrev (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_fullScreen (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_help (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_completion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_prevCompletion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_nextCompletion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_substringCompletion (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_rotateUp (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_rotateDown (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_popupMenuContext (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_whatsThis__ (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_reload (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_up (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_back (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_forward (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_backwardWord (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_forwardWord (JNIEnv *env, jclass); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEStdAccel_showMenubar (JNIEnv *env, jclass); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEStdAccel__ */ diff --git a/kdejava/koala/kdejava/TDEToggleAction.cpp b/kdejava/koala/kdejava/TDEToggleAction.cpp deleted file mode 100644 index ff5de65d..00000000 --- a/kdejava/koala/kdejava/TDEToggleAction.cpp +++ /dev/null @@ -1,480 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEToggleActionJBridge : public TDEToggleAction -{ -public: - TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3,const char* arg4) : TDEToggleAction(arg1,arg2,arg3,arg4) {}; - TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,TQObject* arg3) : TDEToggleAction(arg1,arg2,arg3) {}; - TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2) : TDEToggleAction(arg1,arg2) {}; - TDEToggleActionJBridge(const TQString& arg1) : TDEToggleAction(arg1) {}; - TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5,const char* arg6) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToggleActionJBridge(const TQString& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TQObject* arg5) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEToggleAction(arg1,arg2,arg3,arg4) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3) : TDEToggleAction(arg1,arg2,arg3) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2) : TDEToggleAction(arg1,arg2) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEToggleAction(arg1,arg2,arg3,arg4) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEToggleAction(arg1,arg2,arg3) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2) : TDEToggleAction(arg1,arg2) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQIconSet& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEToggleActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEToggleAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToggleActionJBridge(TQObject* arg1,const char* arg2) : TDEToggleAction(arg1,arg2) {}; - TDEToggleActionJBridge(TQObject* arg1) : TDEToggleAction(arg1) {}; - TDEToggleActionJBridge() : TDEToggleAction() {}; - void protected_updateChecked(int arg1) { - TDEToggleAction::updateChecked(arg1); - return; - } - void protected_slotActivated() { - TDEToggleAction::slotActivated(); - return; - } - ~TDEToggleActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleAction","slotActivated")) { - TDEToggleAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToggleAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToggleAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToggleAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToggleAction_finalize(env, obj); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToggleAction_exclusiveGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEToggleAction*) QtSupport::getQt(env, obj))->exclusiveGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToggleAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEToggleAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToggleAction_isChecked(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToggleAction*) QtSupport::getQt(env, obj))->isChecked(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToggleAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToggleAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__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 TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_pix = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, pix, &_qstring_pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2(JNIEnv* env, jobject obj, jstring text, jobject pix) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jobject pix, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, pix), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleActionJBridge((TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_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 TDEToggleActionJBridge((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEToggleAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEToggleAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_setCheckedState(JNIEnv* env, jobject obj, jobject checkedItem) -{ - ((TDEToggleAction*) QtSupport::getQt(env, obj))->setCheckedState((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, checkedItem)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEToggleAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_setExclusiveGroup(JNIEnv* env, jobject obj, jstring name) -{ -static TQString* _qstring_name = 0; - ((TDEToggleAction*) QtSupport::getQt(env, obj))->setExclusiveGroup((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_slotActivated(JNIEnv* env, jobject obj) -{ - ((TDEToggleActionJBridge*) QtSupport::getQt(env, obj))->protected_slotActivated(); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToggleAction_toolTip(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEToggleAction*) QtSupport::getQt(env, obj))->toolTip(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleAction_updateChecked(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToggleActionJBridge*) QtSupport::getQt(env, obj))->protected_updateChecked((int) id); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToggleAction.h b/kdejava/koala/kdejava/TDEToggleAction.h deleted file mode 100644 index c019736c..00000000 --- a/kdejava/koala/kdejava/TDEToggleAction.h +++ /dev/null @@ -1,54 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToggleAction__ -#define __org_kde_koala_TDEToggleAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2 (JNIEnv *env, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Lorg_kde_qt_QIconSet_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jobject, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_newTDEToggleAction__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleAction_isChecked (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleAction_exclusiveGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_setExclusiveGroup (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_setCheckedState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleAction_toolTip (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_updateChecked (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_slotActivated (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToggleAction__ */ diff --git a/kdejava/koala/kdejava/TDEToggleFullScreenAction.cpp b/kdejava/koala/kdejava/TDEToggleFullScreenAction.cpp deleted file mode 100644 index 193579a2..00000000 --- a/kdejava/koala/kdejava/TDEToggleFullScreenAction.cpp +++ /dev/null @@ -1,170 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class TDEToggleFullScreenActionJBridge : public TDEToggleFullScreenAction -{ -public: - TDEToggleFullScreenActionJBridge(const TDEShortcut& arg1,const TQObject* arg2,const char* arg3,TQObject* arg4,TQWidget* arg5,const char* arg6) : TDEToggleFullScreenAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TDEToggleFullScreenAction::eventFilter(arg1,arg2); - } - ~TDEToggleFullScreenActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleFullScreenAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleFullScreenAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleFullScreenAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleFullScreenAction","slotActivated")) { - TDEToggleAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToggleFullScreenAction",object,event)) { - return TDEToggleFullScreenAction::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToggleFullScreenAction_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((TDEToggleFullScreenActionJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToggleFullScreenAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEToggleFullScreenAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_newTDEToggleFullScreenAction(JNIEnv* env, jobject obj, jobject cut, jobject receiver, jstring slot, jobject parent, jobject window, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleFullScreenActionJBridge((const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (TQWidget*) QtSupport::getQt(env, window), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleFullScreenAction_setWindow(JNIEnv* env, jobject obj, jobject window) -{ - ((TDEToggleFullScreenAction*) QtSupport::getQt(env, obj))->setWindow((TQWidget*) QtSupport::getQt(env, window)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToggleFullScreenAction.h b/kdejava/koala/kdejava/TDEToggleFullScreenAction.h deleted file mode 100644 index 83115244..00000000 --- a/kdejava/koala/kdejava/TDEToggleFullScreenAction.h +++ /dev/null @@ -1,27 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToggleFullScreenAction__ -#define __org_kde_koala_TDEToggleFullScreenAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_newTDEToggleFullScreenAction (JNIEnv *env, jobject, jobject, jobject, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_setWindow (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleFullScreenAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToggleFullScreenAction__ */ diff --git a/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp b/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp deleted file mode 100644 index 355543ce..00000000 --- a/kdejava/koala/kdejava/TDEToggleToolBarAction.cpp +++ /dev/null @@ -1,189 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class TDEToggleToolBarActionJBridge : public TDEToggleToolBarAction -{ -public: - TDEToggleToolBarActionJBridge(const char* arg1,const TQString& arg2,TDEActionCollection* arg3,const char* arg4) : TDEToggleToolBarAction(arg1,arg2,arg3,arg4) {}; - TDEToggleToolBarActionJBridge(TDEToolBar* arg1,const TQString& arg2,TDEActionCollection* arg3,const char* arg4) : TDEToggleToolBarAction(arg1,arg2,arg3,arg4) {}; - ~TDEToggleToolBarActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToggleToolBarAction","slotActivated")) { - TDEToggleAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToggleToolBarAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToggleToolBarAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToggleToolBarAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEToggleToolBarAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_newTDEToggleToolBarAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring toolBarName, jstring text, jobject parent, jstring name) -{ -static TQCString* _qstring_toolBarName = 0; -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleToolBarActionJBridge((const char*) QtSupport::toCharString(env, toolBarName, &_qstring_toolBarName), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_newTDEToggleToolBarAction__Lorg_kde_koala_TDEToolBar_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject toolBar, jstring text, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToggleToolBarActionJBridge((TDEToolBar*) QtSupport::getQt(env, toolBar), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_setChecked(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->setChecked((bool) arg1); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToggleToolBarAction_toolBar(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToggleToolBarAction*) QtSupport::getQt(env, obj))->toolBar(), "org.kde.koala.TDEToolBar"); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEToggleToolBarAction.h b/kdejava/koala/kdejava/TDEToggleToolBarAction.h deleted file mode 100644 index 34f1cb0f..00000000 --- a/kdejava/koala/kdejava/TDEToggleToolBarAction.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToggleToolBarAction__ -#define __org_kde_koala_TDEToggleToolBarAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleToolBarAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToggleToolBarAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_newTDEToggleToolBarAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_newTDEToggleToolBarAction__Lorg_kde_koala_TDEToolBar_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToggleToolBarAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToggleToolBarAction_toolBar (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_setChecked (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToggleToolBarAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToggleToolBarAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToggleToolBarAction__ */ diff --git a/kdejava/koala/kdejava/TDEToolBar.cpp b/kdejava/koala/kdejava/TDEToolBar.cpp deleted file mode 100644 index 18f327bf..00000000 --- a/kdejava/koala/kdejava/TDEToolBar.cpp +++ /dev/null @@ -1,1712 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEToolBarJBridge : public TDEToolBar -{ -public: - TDEToolBarJBridge(TQWidget* arg1,const char* arg2,bool arg3,bool arg4) : TDEToolBar(arg1,arg2,arg3,arg4) {}; - TDEToolBarJBridge(TQWidget* arg1,const char* arg2,bool arg3) : TDEToolBar(arg1,arg2,arg3) {}; - TDEToolBarJBridge(TQWidget* arg1,const char* arg2) : TDEToolBar(arg1,arg2) {}; - TDEToolBarJBridge(TQWidget* arg1) : TDEToolBar(arg1) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4,bool arg5,bool arg6) : TDEToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4,bool arg5) : TDEToolBar(arg1,arg2,arg3,arg4,arg5) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3,const char* arg4) : TDEToolBar(arg1,arg2,arg3,arg4) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2,bool arg3) : TDEToolBar(arg1,arg2,arg3) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQMainWindow::ToolBarDock arg2) : TDEToolBar(arg1,arg2) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4,bool arg5,bool arg6) : TDEToolBar(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4,bool arg5) : TDEToolBar(arg1,arg2,arg3,arg4,arg5) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3,const char* arg4) : TDEToolBar(arg1,arg2,arg3,arg4) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2,bool arg3) : TDEToolBar(arg1,arg2,arg3) {}; - TDEToolBarJBridge(TQMainWindow* arg1,TQWidget* arg2) : TDEToolBar(arg1,arg2) {}; - void protected_mousePressEvent(TQMouseEvent* arg1) { - TDEToolBar::mousePressEvent(arg1); - return; - } - void protected_childEvent(TQChildEvent* arg1) { - TDEToolBar::childEvent(arg1); - return; - } - void protected_showEvent(TQShowEvent* arg1) { - TDEToolBar::showEvent(arg1); - return; - } - void protected_resizeEvent(TQResizeEvent* arg1) { - TDEToolBar::resizeEvent(arg1); - return; - } - bool protected_event(TQEvent* arg1) { - return (bool) TDEToolBar::event(arg1); - } - void protected_applyAppearanceSettings(TDEConfig* arg1,const TQString& arg2,bool arg3) { - TDEToolBar::applyAppearanceSettings(arg1,arg2,arg3); - return; - } - void protected_applyAppearanceSettings(TDEConfig* arg1,const TQString& arg2) { - TDEToolBar::applyAppearanceSettings(arg1,arg2); - return; - } - TQString protected_settingsGroup() { - return (TQString) TDEToolBar::settingsGroup(); - } - ~TDEToolBarJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TDEToolBar::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void setPaletteBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setPaletteBackgroundColor(arg1); - } - return; - } - void setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQDockWindow::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.koala.TDEToolBar","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","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")) { - TDEToolBar::showEvent(arg1); - } - return; - } - void keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void dock() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","dock")) { - TQDockWindow::dock(); - } - 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 setWidget(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setWidget",(void*)arg1,"org.kde.qt.TQWidget")) { - TQDockWindow::setWidget(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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")) { - TDEToolBar::childEvent(arg1); - } - return; - } - void undock() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","undock")) { - TQDockWindow::undock(); - } - 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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEToolBar::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQDockWindow::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBar","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_addConnection(JNIEnv* env, jobject obj, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQCString* _qstring_signal = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->addConnection((int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_alignItemRight__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->alignItemRight((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_alignItemRight__IZ(JNIEnv* env, jobject obj, jint id, jboolean right) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->alignItemRight((int) id, (bool) right); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_animatedWidget(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->animatedWidget((int) id), "org.kde.koala.KAnimWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring _configGroup) -{ -static TQString* _qstring__configGroup = 0; - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_applyAppearanceSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _configGroup, &_qstring__configGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring _configGroup, jboolean forceGlobal) -{ -static TQString* _qstring__configGroup = 0; - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_applyAppearanceSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, _configGroup, &_qstring__configGroup), (bool) forceGlobal); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject config, jstring configGroup) -{ -static TQString* _qstring_configGroup = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->applySettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject config, jstring configGroup, jboolean force) -{ -static TQString* _qstring_configGroup = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->applySettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup), (bool) force); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_barPos(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->barPos(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->changeComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2I(JNIEnv* env, jobject obj, jint id, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->changeComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_childEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_childEvent((TQChildEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_clearCombo(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->clearCombo((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_clear(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_contextMenuEnabled(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->contextMenuEnabled(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_count(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->count(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToolBar_finalize(env, obj); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEToolBar*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEToolBar*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_fullSize(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->fullSize(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_getButton(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getButton((int) id), "org.kde.koala.TDEToolBarButton"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_getComboItem__I(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->getComboItem((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_getComboItem__II(JNIEnv* env, jobject obj, jint id, jint index) -{ - TQString _qstring; - _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->getComboItem((int) id, (int) index); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_getCombo(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getCombo((int) id), "org.kde.koala.KComboBox"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_getLinedText(JNIEnv* env, jobject obj, jint id) -{ - TQString _qstring; - _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->getLinedText((int) id); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_getLined(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getLined((int) id), "org.kde.koala.KLineEdit"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_getWidget(JNIEnv* env, jobject obj, jint id) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->getWidget((int) id), "org.kde.qt.TQWidget"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_hideItem(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->hideItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_hide(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->hide(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_highlightSetting(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEToolBarJBridge::highlightSetting(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_highlight(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->highlight(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_iconSizeDefault(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->iconSizeDefault(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_iconSize(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->iconSize(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_iconTextId(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->iconText(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_iconTextSetting(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jint xret = (jint) TDEToolBarJBridge::iconTextSetting(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_idAt(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->idAt((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring slot, jstring icons) -{ -static TQString* _qstring_icons = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertAnimatedWidget((int) id, (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke(int)", (const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jint id, jobject receiver, jstring slot, jstring icons, jint index) -{ -static TQString* _qstring_icons = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertAnimatedWidget((int) id, (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke(int)", (const TQString&)*(TQString*) QtSupport::toTQString(env, icons, &_qstring_icons), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id) -{ -static TQString* _qstring_icon = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index, jobject _instance) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index, (TDEInstance*) QtSupport::getQt(env, _instance)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject popup, jboolean enabled, jstring _text) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring__text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jobject popup, jboolean enabled, jstring _text, jint index) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring__text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZ(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled) -{ -static TQString* _qstring_icon = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text, jint index) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jboolean enabled, jstring text, jint index, jobject _instance) -{ -static TQString* _qstring_icon = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index, (TDEInstance*) QtSupport::getQt(env, _instance)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text) -{ -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring text, jint index) -{ -static TQCString* _qstring_signal = 0; -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject popup, jboolean enabled, jstring _text) -{ -static TQString* _qstring__text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject popup, jboolean enabled, jstring _text, jint index) -{ -static TQString* _qstring__text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQPopupMenu*) QtSupport::getQt(env, popup), (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, _text, &_qstring__text), (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZ(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled, jstring text) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id, jboolean enabled, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertButton((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_insertComboItem(JNIEnv* env, jobject obj, jint id, jstring text, jint index) -{ -static TQString* _qstring_text = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->insertComboItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_insertComboList(JNIEnv* env, jobject obj, jint id, jobjectArray list, jint index) -{ -static TQStringList* _qlist_list = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->insertComboList((int) id, (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) index); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III(JNIEnv* env, jobject obj, jstring text, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index, jint policy) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index, (TQComboBox::Policy) policy); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III(JNIEnv* env, jobject obj, jobjectArray list, jint id, jboolean writable, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring tooltiptext, jint size, jint index, jint policy) -{ -static TQStringList* _qlist_list = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_tooltiptext = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertCombo((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list), (int) id, (bool) writable, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, tooltiptext, &_qstring_tooltiptext), (int) size, (int) index, (TQComboBox::Policy) policy); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLineSeparator__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLineSeparator__I(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLineSeparator__II(JNIEnv* env, jobject obj, jint index, jint id) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLineSeparator((int) index, (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()"); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_toolTipText = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText, jint size) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_toolTipText = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText), (int) size); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jstring signal, jobject receiver, jstring slot, jboolean enabled, jstring toolTipText, jint size, jint index) -{ -static TQString* _qstring_text = 0; -static TQCString* _qstring_signal = 0; -static TQString* _qstring_toolTipText = 0; - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertLined((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (const char*) QtSupport::toCharString(env, signal, &_qstring_signal), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (bool) enabled, (const TQString&)*(TQString*) QtSupport::toTQString(env, toolTipText, &_qstring_toolTipText), (int) size, (int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertSeparator__(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertSeparator(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertSeparator__I(JNIEnv* env, jobject obj, jint index) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertSeparator__II(JNIEnv* env, jobject obj, jint index, jint id) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertSeparator((int) index, (int) id); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jint id, jint width, jobject _widget) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertWidget((int) id, (int) width, (TQWidget*) QtSupport::getQt(env, _widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jint id, jint width, jobject _widget, jint index) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->insertWidget((int) id, (int) width, (TQWidget*) QtSupport::getQt(env, _widget), (int) index); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_isButtonOn(JNIEnv* env, jobject obj, jint id) -{ - jboolean xret = (jboolean) ((TDEToolBar*) QtSupport::getQt(env, obj))->isButtonOn((int) id); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBar_itemIndex(JNIEnv* env, jobject obj, jint id) -{ - jint xret = (jint) ((TDEToolBar*) QtSupport::getQt(env, obj))->itemIndex((int) id); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_loadState(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->loadState((const TQDomElement&)*(const TQDomElement*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBar*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBar*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBar*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2I(JNIEnv* env, jobject obj, jobject parentWindow, jint dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZ(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name, jboolean honorStyle) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parentWindow, jint dock, jboolean newLine, jstring name, jboolean honorStyle, jboolean readConfig) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQMainWindow::ToolBarDock) dock, (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name, jboolean honorStyle) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parentWindow, jobject dock, jboolean newLine, jstring name, jboolean honorStyle, jboolean readConfig) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQMainWindow*) QtSupport::getQt(env, parentWindow), (TQWidget*) QtSupport::getQt(env, dock), (bool) newLine, (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__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 TDEToolBarJBridge((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_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean honorStyle) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ(JNIEnv* env, jobject obj, jobject parent, jstring name, jboolean honorStyle, jboolean readConfig) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (bool) honorStyle, (bool) readConfig)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_positionYourself__(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->positionYourself(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_positionYourself__Z(JNIEnv* env, jobject obj, jboolean force) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->positionYourself((bool) force); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_removeComboItem(JNIEnv* env, jobject obj, jint id, jint index) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->removeComboItem((int) id, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_removeItemDelayed(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->removeItemDelayed((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_removeItem(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->removeItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_resizeEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_saveSettings(JNIEnv* env, jobject obj, jobject config, jstring configGroup) -{ -static TQString* _qstring_configGroup = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->saveSettings((TDEConfig*) QtSupport::getQt(env, config), (const TQString&)*(TQString*) QtSupport::toTQString(env, configGroup, &_qstring_configGroup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_saveState__(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->saveState(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_saveState__Lorg_kde_qt_QDomElement_2(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->saveState((TQDomElement&)*(TQDomElement*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setAutoRepeat__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setAutoRepeat((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setAutoRepeat__IZ(JNIEnv* env, jobject obj, jint id, jboolean flag) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setAutoRepeat((int) id, (bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setBarPos(JNIEnv* env, jobject obj, jint bpos) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setBarPos((TDEToolBar::BarPosition) bpos); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setButtonIconSet(JNIEnv* env, jobject obj, jint id, jobject iconset) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setButtonIconSet((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setButtonIcon(JNIEnv* env, jobject obj, jint id, jstring _icon) -{ -static TQString* _qstring__icon = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->setButtonIcon((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, _icon, &_qstring__icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setButtonPixmap(JNIEnv* env, jobject obj, jint id, jobject _pixmap) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setButtonPixmap((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, _pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setButton(JNIEnv* env, jobject obj, jint id, jboolean flag) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setButton((int) id, (bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setCurrentComboItem(JNIEnv* env, jobject obj, jint id, jint index) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setCurrentComboItem((int) id, (int) index); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jint id, jobject _popup) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setDelayedPopup((int) id, (TQPopupMenu*) QtSupport::getQt(env, _popup)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jint id, jobject _popup, jboolean toggle) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setDelayedPopup((int) id, (TQPopupMenu*) QtSupport::getQt(env, _popup), (bool) toggle); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setEnableContextMenu__(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setEnableContextMenu(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setEnableContextMenu__Z(JNIEnv* env, jobject obj, jboolean enable) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setEnableContextMenu((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setFlat(JNIEnv* env, jobject obj, jboolean flag) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setFlat((bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setFullSize__(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setFullSize(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setFullSize__Z(JNIEnv* env, jobject obj, jboolean flag) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setFullSize((bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setIconSize__I(JNIEnv* env, jobject obj, jint size) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconSize((int) size); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setIconSize__IZ(JNIEnv* env, jobject obj, jint size, jboolean update) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconSize((int) size, (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setIconText__I(JNIEnv* env, jobject obj, jint it) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconText((TDEToolBar::IconText) it); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setIconText__IZ(JNIEnv* env, jobject obj, jint it, jboolean update) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconText((TDEToolBar::IconText) it, (bool) update); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setIconText__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->setIconText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setItemAutoSized__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemAutoSized((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setItemAutoSized__IZ(JNIEnv* env, jobject obj, jint id, jboolean yes) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemAutoSized((int) id, (bool) yes); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enabled) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setItemNoStyle__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemNoStyle((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setItemNoStyle__IZ(JNIEnv* env, jobject obj, jint id, jboolean no_style) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setItemNoStyle((int) id, (bool) no_style); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setLinedText(JNIEnv* env, jobject obj, jint id, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->setLinedText((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setStretchableWidget(JNIEnv* env, jobject obj, jobject w) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setStretchableWidget((TQWidget*) QtSupport::getQt(env, w)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setText(JNIEnv* env, jobject obj, jstring txt) -{ -static TQString* _qstring_txt = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setTitle(JNIEnv* env, jobject obj, jstring _title) -{ -static TQString* _qstring__title = 0; - ((TDEToolBar*) QtSupport::getQt(env, obj))->setTitle((const TQString&)*(TQString*) QtSupport::toTQString(env, _title, &_qstring__title)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setToggle__I(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setToggle((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setToggle__IZ(JNIEnv* env, jobject obj, jint id, jboolean flag) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setToggle((int) id, (bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_setXMLGUIClient(JNIEnv* env, jobject obj, jobject client) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->setXMLGUIClient((KXMLGUIClient*) QtSupport::getQt(env, client)); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_settingsGroup(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_settingsGroup(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_showEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBarJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_showItem(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->showItem((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_show(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->show(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBar*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBar_sizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TDEToolBar*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBar_text(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((TDEToolBar*) QtSupport::getQt(env, obj))->text(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_toggleButton(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->toggleButton((int) id); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBar_transparentSetting(JNIEnv* env, jclass cls) -{ - (void) cls; - (void) env; - jboolean xret = (jboolean) TDEToolBarJBridge::transparentSetting(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_updateRects__(JNIEnv* env, jobject obj) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->updateRects(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBar_updateRects__Z(JNIEnv* env, jobject obj, jboolean arg1) -{ - ((TDEToolBar*) QtSupport::getQt(env, obj))->updateRects((bool) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToolBar.h b/kdejava/koala/kdejava/TDEToolBar.h deleted file mode 100644 index d62daea8..00000000 --- a/kdejava/koala/kdejava/TDEToolBar.h +++ /dev/null @@ -1,180 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToolBar__ -#define __org_kde_koala_TDEToolBar__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2ZZ (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jboolean, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2Z (JNIEnv *env, jobject, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_newTDEToolBar__Lorg_kde_qt_QMainWindow_2Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2IZ (JNIEnv *env, jobject, jstring, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2I (JNIEnv *env, jobject, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2ILorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2IZ (JNIEnv *env, jobject, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jobject, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Ljava_lang_String_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobject, jint, jobject, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QPopupMenu_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLined__Ljava_lang_String_2ILjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo___3Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobjectArray, jint, jboolean, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2III (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2II (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2I (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2ZLjava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertCombo__Ljava_lang_String_2IZLjava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jboolean, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertSeparator__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertSeparator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLineSeparator__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLineSeparator__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertLineSeparator__ (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jint, jint, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertWidget__IILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jint, jint, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2I (JNIEnv *env, jobject, jint, jobject, jstring, jstring, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_insertAnimatedWidget__ILorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_animatedWidget (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_addConnection (JNIEnv *env, jobject, jint, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemEnabled (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButtonIcon (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButtonPixmap (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButtonIconSet (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jint, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setDelayedPopup__ILorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setAutoRepeat__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setAutoRepeat__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setToggle__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setToggle__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_toggleButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setButton (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_isButtonOn (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setLinedText (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_getLinedText (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_insertComboItem (JNIEnv *env, jobject, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_insertComboList (JNIEnv *env, jobject, jint, jobjectArray, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_removeComboItem (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setCurrentComboItem (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2I (JNIEnv *env, jobject, jint, jstring, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_changeComboItem__ILjava_lang_String_2 (JNIEnv *env, jobject, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_clearCombo (JNIEnv *env, jobject, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_getComboItem__II (JNIEnv *env, jobject, jint, jint); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_getComboItem__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getCombo (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getLined (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_alignItemRight__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_alignItemRight__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_getWidget (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemAutoSized__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemAutoSized__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_clear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_removeItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_removeItemDelayed (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_hideItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_showItem (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_itemIndex (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_idAt (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setFullSize__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setFullSize__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_fullSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setBarPos (JNIEnv *env, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_barPos (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setTitle (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconText__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconText__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconTextId (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconSize__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconSize__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconSize (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconSizeDefault (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setEnableContextMenu__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setEnableContextMenu__ (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_contextMenuEnabled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemNoStyle__IZ (JNIEnv *env, jobject, jint, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setItemNoStyle__I (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setFlat (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_count (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_saveState__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_saveSettings (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applySettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setXMLGUIClient (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_text (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setStretchableWidget (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_highlight (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBar_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_hide (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_show (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_updateRects__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_updateRects__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_loadState (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_saveState__Lorg_kde_qt_QDomElement_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_positionYourself__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_positionYourself__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_setIconText__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_highlightSetting (JNIEnv *env, jclass); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_transparentSetting (JNIEnv *env, jclass); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBar_iconTextSetting (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_childEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_showEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_resizeEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2Z (JNIEnv *env, jobject, jobject, jstring, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_applyAppearanceSettings__Lorg_kde_koala_TDEConfig_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBar_settingsGroup (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBar_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBar_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToolBar__ */ diff --git a/kdejava/koala/kdejava/TDEToolBarButton.cpp b/kdejava/koala/kdejava/TDEToolBarButton.cpp deleted file mode 100644 index fc3c44fd..00000000 --- a/kdejava/koala/kdejava/TDEToolBarButton.cpp +++ /dev/null @@ -1,893 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEToolBarButtonJBridge : public TDEToolBarButton -{ -public: - TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5,TDEInstance* arg6) : TDEToolBarButton(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5) : TDEToolBarButton(arg1,arg2,arg3,arg4,arg5) {}; - TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3,const char* arg4) : TDEToolBarButton(arg1,arg2,arg3,arg4) {}; - TDEToolBarButtonJBridge(const TQString& arg1,int arg2,TQWidget* arg3) : TDEToolBarButton(arg1,arg2,arg3) {}; - TDEToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3,const char* arg4,const TQString& arg5) : TDEToolBarButton(arg1,arg2,arg3,arg4,arg5) {}; - TDEToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3,const char* arg4) : TDEToolBarButton(arg1,arg2,arg3,arg4) {}; - TDEToolBarButtonJBridge(const TQPixmap& arg1,int arg2,TQWidget* arg3) : TDEToolBarButton(arg1,arg2,arg3) {}; - TDEToolBarButtonJBridge(TQWidget* arg1,const char* arg2) : TDEToolBarButton(arg1,arg2) {}; - TDEToolBarButtonJBridge(TQWidget* arg1) : TDEToolBarButton(arg1) {}; - TDEToolBarButtonJBridge() : TDEToolBarButton() {}; - bool protected_event(TQEvent* arg1) { - return (bool) TDEToolBarButton::event(arg1); - } - void protected_paletteChange(const TQPalette& arg1) { - TDEToolBarButton::paletteChange(arg1); - return; - } - void protected_leaveEvent(TQEvent* arg1) { - TDEToolBarButton::leaveEvent(arg1); - return; - } - void protected_enterEvent(TQEvent* arg1) { - TDEToolBarButton::enterEvent(arg1); - return; - } - void protected_drawButton(TQPainter* arg1) { - TDEToolBarButton::drawButton(arg1); - return; - } - bool protected_eventFilter(TQObject* arg1,TQEvent* arg2) { - return (bool) TDEToolBarButton::eventFilter(arg1,arg2); - } - void protected_mousePressEvent(TQMouseEvent* arg1) { - TDEToolBarButton::mousePressEvent(arg1); - return; - } - void protected_mouseReleaseEvent(TQMouseEvent* arg1) { - TDEToolBarButton::mouseReleaseEvent(arg1); - return; - } - void protected_showMenu() { - TDEToolBarButton::showMenu(); - return; - } - TQSize protected_sizeHint() { - return (TQSize) TDEToolBarButton::sizeHint(); - } - TQSize protected_minimumSizeHint() { - return (TQSize) TDEToolBarButton::minimumSizeHint(); - } - TQSize protected_minimumSize() { - return (TQSize) TDEToolBarButton::minimumSize(); - } - bool protected_isRaised() { - return (bool) TDEToolBarButton::isRaised(); - } - bool protected_isActive() { - return (bool) TDEToolBarButton::isActive(); - } - int protected_iconTextMode() { - return (int) TDEToolBarButton::iconTextMode(); - } - void protected_slotClicked() { - TDEToolBarButton::slotClicked(); - return; - } - void protected_slotPressed() { - TDEToolBarButton::slotPressed(); - return; - } - void protected_slotReleased() { - TDEToolBarButton::slotReleased(); - return; - } - void protected_slotToggled() { - TDEToolBarButton::slotToggled(); - return; - } - void protected_slotDelayTimeout() { - TDEToolBarButton::slotDelayTimeout(); - return; - } - ~TDEToolBarButtonJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQWidget::resizeEvent(arg1); - } - return; - } - void mouseDoubleClickEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQButton::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - return; - } - void styleChange(TQStyle& arg1) { - if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.kde.qt.TQStyle")) { - TQWidget::styleChange(arg1); - } - return; - } - void hide() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void paintEvent(TQPaintEvent* arg1) { - if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.kde.qt.TQPaintEvent")) { - TQButton::paintEvent(arg1); - } - return; - } - void imStartEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","unsetCursor")) { - TQWidget::unsetCursor(); - } - return; - } - void hideEvent(TQHideEvent* arg1) { - if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.kde.qt.TQHideEvent")) { - TQWidget::hideEvent(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEToolBarButton::setIconSet(arg1); - } - return; - } - void moveEvent(TQMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.kde.qt.TQMoveEvent")) { - TQToolButton::moveEvent(arg1); - } - return; - } - void polish() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQButton::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(arg1); - } - return; - } - void setAccel(const TQKeySequence& arg1) { - if (!QtSupport::eventDelegate(this,"setAccel",(void*)&arg1,"org.kde.qt.TQKeySequence")) { - TQButton::setAccel(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void enterEvent(TQEvent* arg1) { - if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.kde.qt.TQEvent")) { - TDEToolBarButton::enterEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEToolBarButton::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")) { - TDEToolBarButton::leaveEvent(arg1); - } - return; - } - void setIcon(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TDEToolBarButton::setIcon(arg1); - } - return; - } - void updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TDEToolBarButton::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQButton::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void setPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQButton::setPixmap(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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")) { - TQButton::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")) { - TQButton::keyReleaseEvent(arg1); - } - return; - } - void contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarButton","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBarButton_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToolBarButton*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToolBarButton_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_drawButton(JNIEnv* env, jobject obj, jobject p) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_drawButton((TQPainter*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_enterEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarButton_eventFilter(JNIEnv* env, jobject obj, jobject o, jobject e) -{ - jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((TQObject*) QtSupport::getQt(env, o), (TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarButton_event(JNIEnv* env, jobject obj, jobject e) -{ - jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, e)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEToolBarButton*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEToolBarButton*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBarButton_iconTextMode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_iconTextMode(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBarButton_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBarButton*) QtSupport::getQt(env, obj))->id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarButton_isActive(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_isActive(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarButton_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarButton_isRaised(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_isRaised(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_leaveEvent(JNIEnv* env, jobject obj, jobject e) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, e)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarButton_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarButton*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarButton_minimumSizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_minimumSizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarButton_minimumSize(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_minimumSize()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_modeChange(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->modeChange(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent) -{ -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (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_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name, jstring txt) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_txt = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2(JNIEnv* env, jobject obj, jstring icon, jint id, jobject parent, jstring name, jstring txt, jobject _instance) -{ -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; -static TQString* _qstring_txt = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt), (TDEInstance*) QtSupport::getQt(env, _instance))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (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_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject pixmap, jint id, jobject parent, jstring name, jstring txt) -{ -static TQCString* _qstring_name = 0; -static TQString* _qstring_txt = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, txt, &_qstring_txt))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarButtonJBridge((TQWidget*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__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 TDEToolBarButtonJBridge((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_koala_TDEToolBarButton_on__(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->on(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_on__Z(JNIEnv* env, jobject obj, jboolean flag) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->on((bool) flag); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_paletteChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarButton_popup(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarButton*) QtSupport::getQt(env, obj))->popup(), "org.kde.qt.TQPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject p) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setDelayedPopup((TQPopupMenu*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jobject p, jboolean unused) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setDelayedPopup((TQPopupMenu*) QtSupport::getQt(env, p), (bool) unused); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setIconSet(JNIEnv* env, jobject obj, jobject iconset) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setIconSet((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, iconset)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setIcon__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring icon) -{ -static TQString* _qstring_icon = 0; - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setIcon__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setNoStyle__(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setNoStyle(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setNoStyle__Z(JNIEnv* env, jobject obj, jboolean no_style) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setNoStyle((bool) no_style); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject p) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, p)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2Z(JNIEnv* env, jobject obj, jobject p, jboolean unused) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setPopup((TQPopupMenu*) QtSupport::getQt(env, p), (bool) unused); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setRadio__(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setRadio(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setRadio__Z(JNIEnv* env, jobject obj, jboolean f) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setRadio((bool) f); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setTextLabel(JNIEnv* env, jobject obj, jstring arg1, jboolean tipToo) -{ -static TQString* _qstring_arg1 = 0; - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setTextLabel((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1), (bool) tipToo); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setText(JNIEnv* env, jobject obj, jstring text) -{ -static TQString* _qstring_text = 0; - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setText((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setToggle__(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setToggle(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_setToggle__Z(JNIEnv* env, jobject obj, jboolean toggle) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->setToggle((bool) toggle); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_showMenu(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_showMenu(); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarButton_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_slotClicked(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotClicked(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_slotDelayTimeout(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotDelayTimeout(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_slotPressed(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotPressed(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_slotReleased(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotReleased(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_slotToggled(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButtonJBridge*) QtSupport::getQt(env, obj))->protected_slotToggled(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarButton_toggle(JNIEnv* env, jobject obj) -{ - ((TDEToolBarButton*) QtSupport::getQt(env, obj))->toggle(); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToolBarButton.h b/kdejava/koala/kdejava/TDEToolBarButton.h deleted file mode 100644 index a5641e62..00000000 --- a/kdejava/koala/kdejava/TDEToolBarButton.h +++ /dev/null @@ -1,74 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToolBarButton__ -#define __org_kde_koala_TDEToolBarButton__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarButton_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEInstanceInterface_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Ljava_lang_String_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jstring, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jint, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QPixmap_2ILorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject, jint, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QWidget_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_newTDEToolBarButton__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setText (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setIcon__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setIcon__Lorg_kde_qt_QPixmap_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setIconSet (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_on__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_on__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_toggle (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setToggle__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setToggle__ (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_popup (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarButton_id (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2Z (JNIEnv *env, jobject, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setDelayedPopup__Lorg_kde_qt_QPopupMenu_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setRadio__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setRadio__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setNoStyle__Z (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setNoStyle__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_modeChange (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_setTextLabel (JNIEnv *env, jobject, jstring, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_event (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_paletteChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_leaveEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_enterEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_drawButton (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_eventFilter (JNIEnv *env, jobject, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_mousePressEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_mouseReleaseEvent (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_showMenu (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_minimumSizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarButton_minimumSize (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_isRaised (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_isActive (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarButton_iconTextMode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotClicked (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotPressed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotReleased (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotToggled (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_slotDelayTimeout (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarButton_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarButton_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToolBarButton__ */ diff --git a/kdejava/koala/kdejava/TDEToolBarPopupAction.cpp b/kdejava/koala/kdejava/TDEToolBarPopupAction.cpp deleted file mode 100644 index 2173ada4..00000000 --- a/kdejava/koala/kdejava/TDEToolBarPopupAction.cpp +++ /dev/null @@ -1,277 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include - -#include -#include -#include - -class TDEToolBarPopupActionJBridge : public TDEToolBarPopupAction -{ -public: - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4,const char* arg5) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5) {}; - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,TQObject* arg4) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4) {}; - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3) : TDEToolBarPopupAction(arg1,arg2,arg3) {}; - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2) : TDEToolBarPopupAction(arg1,arg2) {}; - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6,const char* arg7) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {}; - TDEToolBarPopupActionJBridge(const TQString& arg1,const TQString& arg2,const TDEShortcut& arg3,const TQObject* arg4,const char* arg5,TQObject* arg6) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - TDEToolBarPopupActionJBridge(const KGuiItem& arg1,const TDEShortcut& arg2,const TQObject* arg3,const char* arg4,TDEActionCollection* arg5,const char* arg6) : TDEToolBarPopupAction(arg1,arg2,arg3,arg4,arg5,arg6) {}; - ~TDEToolBarPopupActionJBridge() {QtSupport::qtKeyDeleted(this);} - void activate() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarPopupAction","activate")) { - TDEAction::activate(); - } - return; - } - void unplug(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"unplug",(void*)arg1,"org.kde.qt.TQWidget")) { - TDEAction::unplug(arg1); - } - return; - } - bool hasIcon() { - return QtSupport::booleanDelegate(this,"hasIcon"); - } - void slotKeycodeChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarPopupAction","slotKeycodeChanged")) { - TDEAction::slotKeycodeChanged(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void setIconSet(const TQIconSet& arg1) { - if (!QtSupport::eventDelegate(this,"setIconSet",(void*)&arg1,"org.kde.qt.TQIconSet")) { - TDEAction::setIconSet(arg1); - } - return; - } - bool isEnabled() { - return QtSupport::booleanDelegate(this,"isEnabled"); - } - void slotDestroyed() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarPopupAction","slotDestroyed")) { - TDEAction::slotDestroyed(); - } - return; - } - void slotActivated() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarPopupAction","slotActivated")) { - TDEAction::slotActivated(); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool isShortcutConfigurable() { - return QtSupport::booleanDelegate(this,"isShortcutConfigurable"); - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToolBarPopupAction",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_delayed(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->delayed(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToolBarPopupAction_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToolBarPopupAction*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEToolBarPopupAction*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text, jstring icon, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQString* _qstring_text = 0; -static TQString* _qstring_icon = 0; -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject item, jobject cut, jobject receiver, jstring slot, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarPopupActionJBridge((const KGuiItem&)*(const KGuiItem*) QtSupport::getQt(env, item), (const TDEShortcut&)*(const TDEShortcut*) QtSupport::getQt(env, cut), (const TQObject*) QtSupport::slotForReceiver(env, receiver, slot), "1invoke()", (TDEActionCollection*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget) -{ - jint xret = (jint) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget)); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint index) -{ - jint xret = (jint) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->plug((TQWidget*) QtSupport::getQt(env, widget), (int) index); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_popupMenu(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->popupMenu(), "org.kde.koala.TDEPopupMenu"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_setDelayed(JNIEnv* env, jobject obj, jboolean delayed) -{ - ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->setDelayed((bool) delayed); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_setStickyMenu(JNIEnv* env, jobject obj, jboolean sticky) -{ - ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->setStickyMenu((bool) sticky); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarPopupAction_stickyMenu(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBarPopupAction*) QtSupport::getQt(env, obj))->stickyMenu(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDEToolBarPopupAction.h b/kdejava/koala/kdejava/TDEToolBarPopupAction.h deleted file mode 100644 index b24f54a2..00000000 --- a/kdejava/koala/kdejava/TDEToolBarPopupAction.h +++ /dev/null @@ -1,37 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToolBarPopupAction__ -#define __org_kde_koala_TDEToolBarPopupAction__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarPopupAction_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarPopupAction_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2 (JNIEnv *env, jobject, jstring, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Ljava_lang_String_2Ljava_lang_String_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2 (JNIEnv *env, jobject, jstring, jstring, jobject, jobject, jstring, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_newTDEToolBarPopupAction__Lorg_kde_koala_KGuiItem_2Lorg_kde_koala_TDEShortcut_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_koala_TDEActionCollection_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jobject, jobject, jstring, jobject, jstring); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2I (JNIEnv *env, jobject, jobject, jint); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarPopupAction_plug__Lorg_kde_qt_QWidget_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarPopupAction_popupMenu (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarPopupAction_delayed (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_setDelayed (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarPopupAction_stickyMenu (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_setStickyMenu (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarPopupAction_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarPopupAction_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToolBarPopupAction__ */ diff --git a/kdejava/koala/kdejava/TDEToolBarRadioGroup.cpp b/kdejava/koala/kdejava/TDEToolBarRadioGroup.cpp deleted file mode 100644 index 9ca39dce..00000000 --- a/kdejava/koala/kdejava/TDEToolBarRadioGroup.cpp +++ /dev/null @@ -1,132 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include - -#include -#include -#include - -class TDEToolBarRadioGroupJBridge : public TDEToolBarRadioGroup -{ -public: - TDEToolBarRadioGroupJBridge(TDEToolBar* arg1,const char* arg2) : TDEToolBarRadioGroup(arg1,arg2) {}; - TDEToolBarRadioGroupJBridge(TDEToolBar* arg1) : TDEToolBarRadioGroup(arg1) {}; - ~TDEToolBarRadioGroupJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToolBarRadioGroup",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_addButton(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->addButton((int) id); - return; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToolBarRadioGroup_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDEToolBarRadioGroup*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDEToolBarRadioGroup*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_2(JNIEnv* env, jobject obj, jobject _parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarRadioGroupJBridge((TDEToolBar*) QtSupport::getQt(env, _parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_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 TDEToolBarRadioGroupJBridge((TDEToolBar*) QtSupport::getQt(env, _parent), (const char*) QtSupport::toCharString(env, _name, &_qstring__name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_removeButton(JNIEnv* env, jobject obj, jint id) -{ - ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->removeButton((int) id); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarRadioGroup_slotToggled(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEToolBarRadioGroup*) QtSupport::getQt(env, obj))->slotToggled((int) arg1); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToolBarRadioGroup.h b/kdejava/koala/kdejava/TDEToolBarRadioGroup.h deleted file mode 100644 index 1268afe9..00000000 --- a/kdejava/koala/kdejava/TDEToolBarRadioGroup.h +++ /dev/null @@ -1,28 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToolBarRadioGroup__ -#define __org_kde_koala_TDEToolBarRadioGroup__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_newTDEToolBarRadioGroup__Lorg_kde_koala_TDEToolBar_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_addButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_removeButton (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_slotToggled (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarRadioGroup_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToolBarRadioGroup__ */ diff --git a/kdejava/koala/kdejava/TDEToolBarSeparator.cpp b/kdejava/koala/kdejava/TDEToolBarSeparator.cpp deleted file mode 100644 index cda1cb0b..00000000 --- a/kdejava/koala/kdejava/TDEToolBarSeparator.cpp +++ /dev/null @@ -1,493 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TDEToolBarSeparatorJBridge : public TDEToolBarSeparator -{ -public: - TDEToolBarSeparatorJBridge(TQt::Orientation arg1,bool arg2,TQToolBar* arg3,const char* arg4) : TDEToolBarSeparator(arg1,arg2,arg3,arg4) {}; - TDEToolBarSeparatorJBridge(TQt::Orientation arg1,bool arg2,TQToolBar* arg3) : TDEToolBarSeparator(arg1,arg2,arg3) {}; - void protected_styleChange(TQStyle& arg1) { - TDEToolBarSeparator::styleChange(arg1); - return; - } - void protected_drawContents(TQPainter* arg1) { - TDEToolBarSeparator::drawContents(arg1); - return; - } - ~TDEToolBarSeparatorJBridge() {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 resizeEvent(TQResizeEvent* arg1) { - if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.kde.qt.TQResizeEvent")) { - TQFrame::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")) { - TQWidget::mouseDoubleClickEvent(arg1); - } - return; - } - void paletteChange(const TQPalette& arg1) { - if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.kde.qt.TQPalette")) { - TQWidget::paletteChange(arg1); - } - return; - } - void setActiveWindow() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","setActiveWindow")) { - TQWidget::setActiveWindow(); - } - return; - } - void dragEnterEvent(TQDragEnterEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.kde.qt.TQDragEnterEvent")) { - TQWidget::dragEnterEvent(arg1); - } - return; - } - void show() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","show")) { - TQWidget::show(); - } - return; - } - void focusOutEvent(TQFocusEvent* arg1) { - if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.kde.qt.TQFocusEvent")) { - TQWidget::focusOutEvent(arg1); - } - return; - } - void setFocus() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","setFocus")) { - TQWidget::setFocus(); - } - return; - } - void dragMoveEvent(TQDragMoveEvent* arg1) { - if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.kde.qt.TQDragMoveEvent")) { - TQWidget::dragMoveEvent(arg1); - } - 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.koala.TDEToolBarSeparator","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 setEraseColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setEraseColor(arg1); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(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")) { - TQWidget::imStartEvent(arg1); - } - return; - } - void unsetCursor() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","unsetCursor")) { - TQWidget::unsetCursor(); - } - 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.koala.TDEToolBarSeparator","polish")) { - TQWidget::polish(); - } - return; - } - void showMaximized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","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 keyPressEvent(TQKeyEvent* arg1) { - if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.kde.qt.TQKeyEvent")) { - TQWidget::keyPressEvent(arg1); - } - return; - } - bool customWhatsThis() { - return QtSupport::booleanDelegate(this,"customWhatsThis"); - } - void setPaletteBackgroundPixmap(const TQPixmap& arg1) { - if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.kde.qt.TQPixmap")) { - TQWidget::setPaletteBackgroundPixmap(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 customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(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 mouseReleaseEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::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 updateMask() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","updateMask")) { - TQWidget::updateMask(); - } - return; - } - void showNormal() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","showNormal")) { - TQWidget::showNormal(); - } - return; - } - void imComposeEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::imComposeEvent(arg1); - } - return; - } - void mousePressEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mousePressEvent(arg1); - } - return; - } - void mouseMoveEvent(TQMouseEvent* arg1) { - if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.kde.qt.TQMouseEvent")) { - TQWidget::mouseMoveEvent(arg1); - } - return; - } - void setFocusProxy(TQWidget* arg1) { - if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.kde.qt.TQWidget")) { - TQWidget::setFocusProxy(arg1); - } - return; - } - void fontChange(const TQFont& arg1) { - if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.kde.qt.TQFont")) { - TQWidget::fontChange(arg1); - } - return; - } - void setBackgroundColor(const TQColor& arg1) { - if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.kde.qt.TQColor")) { - TQWidget::setBackgroundColor(arg1); - } - return; - } - void adjustSize() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","adjustSize")) { - TQWidget::adjustSize(); - } - return; - } - void wheelEvent(TQWheelEvent* arg1) { - if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.kde.qt.TQWheelEvent")) { - TQWidget::wheelEvent(arg1); - } - return; - } - void imEndEvent(TQIMEvent* arg1) { - if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.kde.qt.TQIMEvent")) { - TQWidget::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 contextMenuEvent(TQContextMenuEvent* arg1) { - if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.kde.qt.TQContextMenuEvent")) { - TQWidget::contextMenuEvent(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDEToolBarSeparator",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void setGeometry(const TQRect& arg1) { - if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.kde.qt.TQRect")) { - TQWidget::setGeometry(arg1); - } - return; - } - void frameChanged() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","frameChanged")) { - TQFrame::frameChanged(); - } - return; - } - void showMinimized() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TDEToolBarSeparator","showMinimized")) { - TQWidget::showMinimized(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDEToolBarSeparator_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDEToolBarSeparator_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_drawContents(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarSeparatorJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((TQPainter*) QtSupport::getQt(env, arg1)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)(TDEToolBarSeparator*)QtSupport::getQt(env, obj))->parentWidget(TRUE) == 0) { - delete (TDEToolBarSeparator*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarSeparator_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarSeparator_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2(JNIEnv* env, jobject obj, jint arg1, jboolean l, jobject parent) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarSeparatorJBridge((TQt::Orientation) arg1, (bool) l, (TQToolBar*) QtSupport::getQt(env, parent))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint arg1, jboolean l, jobject parent, jstring name) -{ -static TQCString* _qstring_name = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDEToolBarSeparatorJBridge((TQt::Orientation) arg1, (bool) l, (TQToolBar*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_TDEToolBarSeparator_orientation(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->orientation(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_setOrientation(JNIEnv* env, jobject obj, jint arg1) -{ - ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->setOrientation((TQt::Orientation) arg1); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDEToolBarSeparator_showLine(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->showLine(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarSeparator_sizeHint(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.TQSize", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDEToolBarSeparator_sizePolicy(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TDEToolBarSeparator*) QtSupport::getQt(env, obj))->sizePolicy()), "org.kde.qt.TQSizePolicy", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDEToolBarSeparator_styleChange(JNIEnv* env, jobject obj, jobject arg1) -{ - ((TDEToolBarSeparatorJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1)); - return; -} - diff --git a/kdejava/koala/kdejava/TDEToolBarSeparator.h b/kdejava/koala/kdejava/TDEToolBarSeparator.h deleted file mode 100644 index 700def78..00000000 --- a/kdejava/koala/kdejava/TDEToolBarSeparator.h +++ /dev/null @@ -1,32 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDEToolBarSeparator__ -#define __org_kde_koala_TDEToolBarSeparator__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarSeparator_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDEToolBarSeparator_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2Ljava_lang_String_2 (JNIEnv *env, jobject, jint, jboolean, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_newTDEToolBarSeparator__IZLorg_kde_qt_QToolBar_2 (JNIEnv *env, jobject, jint, jboolean, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarSeparator_sizeHint (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_TDEToolBarSeparator_orientation (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDEToolBarSeparator_sizePolicy (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarSeparator_showLine (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_setOrientation (JNIEnv *env, jobject, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_styleChange (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_drawContents (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDEToolBarSeparator_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDEToolBarSeparator_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDEToolBarSeparator__ */ diff --git a/kdejava/koala/kdejava/TDETrader.cpp b/kdejava/koala/kdejava/TDETrader.cpp deleted file mode 100644 index ed985963..00000000 --- a/kdejava/koala/kdejava/TDETrader.cpp +++ /dev/null @@ -1,150 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class TDETraderJBridge : public TDETrader -{ -public: - TDETraderJBridge() : TDETrader() {}; - ~TDETraderJBridge() {QtSupport::qtKeyDeleted(this);} - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TDETrader",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TDETrader_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDETrader*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDETrader_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_koala_TDETrader_finalize(env, obj); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDETrader_finalize(JNIEnv* env, jobject obj) -{ - if (QtSupport::allocatedInJavaWorld(env, obj) && ((TDETrader*)QtSupport::getQt(env, obj))->parent() == 0) { - delete (TDETrader*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TDETrader_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDETrader*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TDETrader_newTDETrader(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TDETraderJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring servicetype) -{ - TDETrader::OfferList _qlist; -static TQString* _qstring_servicetype = 0; - _qlist = ((TDETrader*) QtSupport::getQt(env, obj))->query((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype)); - return (jobject) KDESupport::arrayWithOfferList(env, (TDETrader::OfferList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring servicetype, jstring constraint) -{ - TDETrader::OfferList _qlist; -static TQString* _qstring_servicetype = 0; -static TQString* _qstring_constraint = 0; - _qlist = ((TDETrader*) QtSupport::getQt(env, obj))->query((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint)); - return (jobject) KDESupport::arrayWithOfferList(env, (TDETrader::OfferList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring servicetype, jstring constraint, jstring preferences) -{ - TDETrader::OfferList _qlist; -static TQString* _qstring_servicetype = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; - _qlist = ((TDETrader*) QtSupport::getQt(env, obj))->query((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences)); - return (jobject) KDESupport::arrayWithOfferList(env, (TDETrader::OfferList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring servicetype, jstring genericServiceType, jstring constraint, jstring preferences) -{ - TDETrader::OfferList _qlist; -static TQString* _qstring_servicetype = 0; -static TQString* _qstring_genericServiceType = 0; -static TQString* _qstring_constraint = 0; -static TQString* _qstring_preferences = 0; - _qlist = ((TDETrader*) QtSupport::getQt(env, obj))->query((const TQString&)*(TQString*) QtSupport::toTQString(env, servicetype, &_qstring_servicetype), (const TQString&)*(TQString*) QtSupport::toTQString(env, genericServiceType, &_qstring_genericServiceType), (const TQString&)*(TQString*) QtSupport::toTQString(env, constraint, &_qstring_constraint), (const TQString&)*(TQString*) QtSupport::toTQString(env, preferences, &_qstring_preferences)); - return (jobject) KDESupport::arrayWithOfferList(env, (TDETrader::OfferList*) &_qlist); -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TDETrader_self(JNIEnv* env, jclass cls) -{ - (void) cls; - jobject xret = QtSupport::objectForQtKey(env, (void*)TDETraderJBridge::self(), "org.kde.koala.TDETrader"); - return xret; -} - diff --git a/kdejava/koala/kdejava/TDETrader.h b/kdejava/koala/kdejava/TDETrader.h deleted file mode 100644 index cbe91bc2..00000000 --- a/kdejava/koala/kdejava/TDETrader.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TDETrader__ -#define __org_kde_koala_TDETrader__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TDETrader_className (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2 (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_query__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jobject, jstring, jstring, jstring, jstring); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TDETrader_self (JNIEnv *env, jclass); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDETrader_newTDETrader (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDETrader_finalize (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TDETrader_dispose (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TDETrader_isDisposed (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TDETrader__ */ diff --git a/kdejava/koala/kdejava/Text.cpp b/kdejava/koala/kdejava/Text.cpp deleted file mode 100644 index 8f5a6c7d..00000000 --- a/kdejava/koala/kdejava/Text.cpp +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class TextJBridge : public DOM::Text -{ -public: - TextJBridge() : DOM::Text() {}; - TextJBridge(const DOM::Text& arg1) : DOM::Text(arg1) {}; - TextJBridge(const DOM::Node& arg1) : DOM::Text(arg1) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_Text_newText__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Text_newText__Lorg_kde_koala_Node_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextJBridge((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_Text_newText__Lorg_kde_koala_Text_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextJBridge((const DOM::Text&)*(const DOM::Text*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_Text_splitText(JNIEnv* env, jobject obj, jlong offset) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Text(((DOM::Text*) QtSupport::getQt(env, obj))->splitText((const unsigned long) offset)), "org.kde.koala.Text", TRUE); - return xret; -} - diff --git a/kdejava/koala/kdejava/Text.h b/kdejava/koala/kdejava/Text.h deleted file mode 100644 index 9ab55f51..00000000 --- a/kdejava/koala/kdejava/Text.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_Text__ -#define __org_kde_koala_Text__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_Text_newText__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Text_newText__Lorg_kde_koala_Text_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_Text_newText__Lorg_kde_koala_Node_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_Text_splitText (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_Text__ */ diff --git a/kdejava/koala/kdejava/TextEvent.cpp b/kdejava/koala/kdejava/TextEvent.cpp deleted file mode 100644 index 8dbdc49c..00000000 --- a/kdejava/koala/kdejava/TextEvent.cpp +++ /dev/null @@ -1,106 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class TextEventJBridge : public DOM::TextEvent -{ -public: - TextEventJBridge() : DOM::TextEvent() {}; - TextEventJBridge(const DOM::TextEvent& arg1) : DOM::TextEvent(arg1) {}; - TextEventJBridge(const DOM::Event& arg1) : DOM::TextEvent(arg1) {}; -}; - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TextEvent_checkModifier(JNIEnv* env, jobject obj, jlong modifierArg) -{ - jboolean xret = (jboolean) ((DOM::TextEvent*) QtSupport::getQt(env, obj))->checkModifier((unsigned long) modifierArg); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TextEvent_initModifier(JNIEnv* env, jobject obj, jlong modifierArg, jboolean valueArg) -{ - ((DOM::TextEvent*) QtSupport::getQt(env, obj))->initModifier((unsigned long) modifierArg, (bool) valueArg); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TextEvent_initTextEvent(JNIEnv* env, jobject obj, jstring typeArg, jboolean canBubbleArg, jboolean cancelableArg, jobject viewArg, jlong detailArg, jstring outputStringArg, jlong keyValArg, jlong virtKeyValArg, jboolean inputGeneratedArg, jboolean numPadArg) -{ -static DOM::DOMString* _domstring_typeArg = 0; -static DOM::DOMString* _domstring_outputStringArg = 0; - ((DOM::TextEvent*) QtSupport::getQt(env, obj))->initTextEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, typeArg, &_domstring_typeArg), (bool) canBubbleArg, (bool) cancelableArg, (const DOM::AbstractView&)*(const DOM::AbstractView*) QtSupport::getQt(env, viewArg), (long) detailArg, (DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, outputStringArg, &_domstring_outputStringArg), (unsigned long) keyValArg, (unsigned long) virtKeyValArg, (bool) inputGeneratedArg, (bool) numPadArg); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TextEvent_inputGenerated(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::TextEvent*) QtSupport::getQt(env, obj))->inputGenerated(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TextEvent_keyVal(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::TextEvent*) QtSupport::getQt(env, obj))->keyVal(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TextEvent_newTextEvent__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextEventJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TextEvent_newTextEvent__Lorg_kde_koala_Event_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextEventJBridge((const DOM::Event&)*(const DOM::Event*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TextEvent_newTextEvent__Lorg_kde_koala_TextEvent_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TextEventJBridge((const DOM::TextEvent&)*(const DOM::TextEvent*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TextEvent_numPad(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::TextEvent*) QtSupport::getQt(env, obj))->numPad(); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TextEvent_outputString(JNIEnv* env, jobject obj) -{ - DOM::DOMString _qstring; - _qstring = ((DOM::TextEvent*) QtSupport::getQt(env, obj))->outputString(); - return KDESupport::fromDOMString(env, &_qstring); -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TextEvent_virtKeyVal(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::TextEvent*) QtSupport::getQt(env, obj))->virtKeyVal(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TextEvent.h b/kdejava/koala/kdejava/TextEvent.h deleted file mode 100644 index 207a7443..00000000 --- a/kdejava/koala/kdejava/TextEvent.h +++ /dev/null @@ -1,29 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TextEvent__ -#define __org_kde_koala_TextEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TextEvent_newTextEvent__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TextEvent_newTextEvent__Lorg_kde_koala_TextEvent_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TextEvent_newTextEvent__Lorg_kde_koala_Event_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TextEvent_initTextEvent (JNIEnv *env, jobject, jstring, jboolean, jboolean, jobject, jlong, jstring, jlong, jlong, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TextEvent_initModifier (JNIEnv *env, jobject, jlong, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TextEvent_inputGenerated (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TextEvent_keyVal (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TextEvent_numPad (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TextEvent_outputString (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TextEvent_virtKeyVal (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TextEvent_checkModifier (JNIEnv *env, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TextEvent__ */ diff --git a/kdejava/koala/kdejava/TransferJob.cpp b/kdejava/koala/kdejava/TransferJob.cpp deleted file mode 100644 index 5c027f7c..00000000 --- a/kdejava/koala/kdejava/TransferJob.cpp +++ /dev/null @@ -1,307 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include -#include -#include - -#include -#include -#include - -class TransferJobJBridge : public TDEIO::TransferJob -{ -public: - TransferJobJBridge(const KURL& arg1,int arg2,const TQByteArray& arg3,const TQByteArray& arg4,bool arg5) : TDEIO::TransferJob(arg1,arg2,arg3,arg4,arg5) {}; - void protected_slotRedirection(const KURL& arg1) { - TDEIO::TransferJob::slotRedirection(arg1); - return; - } - void protected_slotFinished() { - TDEIO::TransferJob::slotFinished(); - return; - } - void protected_slotData(const TQByteArray& arg1) { - TDEIO::TransferJob::slotData(arg1); - return; - } - void protected_slotDataReq() { - TDEIO::TransferJob::slotDataReq(); - return; - } - void protected_slotMimetype(const TQString& arg1) { - TDEIO::TransferJob::slotMimetype(arg1); - return; - } - void protected_slotNeedSubURLData() { - TDEIO::TransferJob::slotNeedSubURLData(); - return; - } - void protected_slotSubURLData(TDEIO::Job* arg1,const TQByteArray& arg2) { - TDEIO::TransferJob::slotSubURLData(arg1,arg2); - return; - } - void protected_slotErrorPage() { - TDEIO::TransferJob::slotErrorPage(); - return; - } - void protected_slotCanResume(TDEIO::filesize_t arg1) { - TDEIO::TransferJob::slotCanResume(arg1); - return; - } - void protected_slotPostRedirection() { - TDEIO::TransferJob::slotPostRedirection(); - return; - } - void slotRedirection(const KURL& arg1) { - if (!QtSupport::eventDelegate(this,"slotRedirection",(void*)&arg1,"org.kde.koala.KURL")) { - TransferJob::slotRedirection(arg1); - } - return; - } - void slotNeedSubURLData() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TransferJob","slotNeedSubURLData")) { - TransferJob::slotNeedSubURLData(); - } - return; - } - void removeChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::removeChild(arg1); - } - return; - } - void customEvent(TQCustomEvent* arg1) { - if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.TQCustomEvent")) { - TQObject::customEvent(arg1); - } - return; - } - void timerEvent(TQTimerEvent* arg1) { - if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.TQTimerEvent")) { - TQObject::timerEvent(arg1); - } - return; - } - void childEvent(TQChildEvent* arg1) { - if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.TQChildEvent")) { - TQObject::childEvent(arg1); - } - return; - } - void slotFinished() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TransferJob","slotFinished")) { - TransferJob::slotFinished(); - } - return; - } - void slotResult(TDEIO::Job* arg1) { - if (!QtSupport::eventDelegate(this,"slotResult",(void*)arg1,"org.kde.koala.Job")) { - TransferJob::slotResult(arg1); - } - return; - } - void start(TDEIO::Slave* arg1) { - if (!QtSupport::eventDelegate(this,"start",(void*)arg1,"org.kde.koala.Slave")) { - TransferJob::start(arg1); - } - return; - } - void insertChild(TQObject* arg1) { - if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.TQObject")) { - TQObject::insertChild(arg1); - } - return; - } - void slotDataReq() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TransferJob","slotDataReq")) { - TransferJob::slotDataReq(); - } - return; - } - bool eventFilter(TQObject* object,TQEvent* event) { - if (!QtSupport::eventFilterDelegate(this,"org.kde.koala.TransferJob",object,event)) { - return TQObject::eventFilter(object,event); - } else { - return TRUE; - } - } - void putOnHold() { - if (!QtSupport::voidDelegate(this,"org.kde.koala.TransferJob","putOnHold")) { - SimpleJob::putOnHold(); - } - return; - } -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_TransferJob_className(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->className(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TransferJob_isErrorPage(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->isErrorPage(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TransferJob_isSuspended(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->isSuspended(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TransferJob_metaObject(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.TQMetaObject"); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_newTransferJob(JNIEnv* env, jobject obj, jobject url, jint command, jbyteArray packedArgs, jbyteArray _staticData, jboolean showProgressInfo) -{ -static TQByteArray* _qbyteArray_packedArgs = 0; -static TQByteArray* _qbyteArray__staticData = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TransferJobJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url), (int) command, (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, packedArgs, &_qbyteArray_packedArgs), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, _staticData, &_qbyteArray__staticData), (bool) showProgressInfo)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TransferJob_reportDataSent(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->reportDataSent(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_resume(JNIEnv* env, jobject obj) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->resume(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_sendAsyncData(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->sendAsyncData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_setAsyncDataEnabled(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->setAsyncDataEnabled((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_setReportDataSent(JNIEnv* env, jobject obj, jboolean enabled) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->setReportDataSent((bool) enabled); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotCanResume(JNIEnv* env, jobject obj, jlong offset) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotCanResume((TDEIO::filesize_t) offset); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotDataReq(JNIEnv* env, jobject obj) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotDataReq(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotData(JNIEnv* env, jobject obj, jbyteArray data) -{ -static TQByteArray* _qbyteArray_data = 0; - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotData((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotErrorPage(JNIEnv* env, jobject obj) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotErrorPage(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotFinished(JNIEnv* env, jobject obj) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotFinished(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotMimetype(JNIEnv* env, jobject obj, jstring mimetype) -{ -static TQString* _qstring_mimetype = 0; - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotMimetype((const TQString&)*(TQString*) QtSupport::toTQString(env, mimetype, &_qstring_mimetype)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotNeedSubURLData(JNIEnv* env, jobject obj) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotNeedSubURLData(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotPostRedirection(JNIEnv* env, jobject obj) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotPostRedirection(); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotRedirection(JNIEnv* env, jobject obj, jobject url) -{ - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotRedirection((const KURL&)*(const KURL*) QtSupport::getQt(env, url)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotResult(JNIEnv* env, jobject obj, jobject job) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->slotResult((TDEIO::Job*) QtSupport::getQt(env, job)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_slotSubURLData(JNIEnv* env, jobject obj, jobject arg1, jbyteArray arg2) -{ -static TQByteArray* _qbyteArray_arg2 = 0; - ((TransferJobJBridge*) QtSupport::getQt(env, obj))->protected_slotSubURLData((TDEIO::Job*) QtSupport::getQt(env, arg1), (const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, arg2, &_qbyteArray_arg2)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_start(JNIEnv* env, jobject obj, jobject slave) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->start((TDEIO::Slave*) QtSupport::getQt(env, slave)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TransferJob_suspend(JNIEnv* env, jobject obj) -{ - ((TDEIO::TransferJob*) QtSupport::getQt(env, obj))->suspend(); - return; -} - diff --git a/kdejava/koala/kdejava/TransferJob.h b/kdejava/koala/kdejava/TransferJob.h deleted file mode 100644 index 2194bc7e..00000000 --- a/kdejava/koala/kdejava/TransferJob.h +++ /dev/null @@ -1,41 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TransferJob__ -#define __org_kde_koala_TransferJob__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TransferJob_metaObject (JNIEnv *env, jobject); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_TransferJob_className (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_newTransferJob (JNIEnv *env, jobject, jobject, jint, jbyteArray, jbyteArray, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_start (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotResult (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_suspend (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_resume (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TransferJob_isSuspended (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TransferJob_isErrorPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_setAsyncDataEnabled (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_sendAsyncData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_setReportDataSent (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TransferJob_reportDataSent (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotRedirection (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotFinished (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotData (JNIEnv *env, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotDataReq (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotMimetype (JNIEnv *env, jobject, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotNeedSubURLData (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotSubURLData (JNIEnv *env, jobject, jobject, jbyteArray); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotErrorPage (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotCanResume (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TransferJob_slotPostRedirection (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TransferJob__ */ diff --git a/kdejava/koala/kdejava/TreeWalker.cpp b/kdejava/koala/kdejava/TreeWalker.cpp deleted file mode 100644 index 49378f71..00000000 --- a/kdejava/koala/kdejava/TreeWalker.cpp +++ /dev/null @@ -1,133 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class TreeWalkerJBridge : public DOM::TreeWalker -{ -public: - TreeWalkerJBridge() : DOM::TreeWalker() {}; - TreeWalkerJBridge(const DOM::TreeWalker& arg1) : DOM::TreeWalker(arg1) {}; -}; - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_currentNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->currentNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TreeWalker_expandEntityReferences(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::TreeWalker*) QtSupport::getQt(env, obj))->expandEntityReferences(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_filter(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::NodeFilter(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->filter()), "org.kde.koala.NodeFilter", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_firstChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->firstChild()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_TreeWalker_isNull(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((DOM::TreeWalker*) QtSupport::getQt(env, obj))->isNull(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_lastChild(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->lastChild()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TreeWalker_newTreeWalker__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TreeWalkerJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TreeWalker_newTreeWalker__Lorg_kde_koala_TreeWalker_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TreeWalkerJBridge((const DOM::TreeWalker&)*(const DOM::TreeWalker*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_nextNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->nextNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_nextSibling(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->nextSibling()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_parentNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->parentNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_previousNode(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->previousNode()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_previousSibling(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->previousSibling()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_TreeWalker_root(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::Node(((DOM::TreeWalker*) QtSupport::getQt(env, obj))->root()), "org.kde.koala.Node", TRUE); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_TreeWalker_setCurrentNode(JNIEnv* env, jobject obj, jobject _currentNode) -{ - ((DOM::TreeWalker*) QtSupport::getQt(env, obj))->setCurrentNode((const DOM::Node&)*(const DOM::Node*) QtSupport::getQt(env, _currentNode)); - return; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_TreeWalker_whatToShow(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::TreeWalker*) QtSupport::getQt(env, obj))->whatToShow(); - return xret; -} - diff --git a/kdejava/koala/kdejava/TreeWalker.h b/kdejava/koala/kdejava/TreeWalker.h deleted file mode 100644 index e349e098..00000000 --- a/kdejava/koala/kdejava/TreeWalker.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_TreeWalker__ -#define __org_kde_koala_TreeWalker__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_TreeWalker_newTreeWalker__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TreeWalker_newTreeWalker__Lorg_kde_koala_TreeWalker_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_root (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_TreeWalker_whatToShow (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_filter (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TreeWalker_expandEntityReferences (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_currentNode (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_TreeWalker_setCurrentNode (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_parentNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_firstChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_lastChild (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_previousSibling (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_nextSibling (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_previousNode (JNIEnv *env, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_TreeWalker_nextNode (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_TreeWalker_isNull (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_TreeWalker__ */ diff --git a/kdejava/koala/kdejava/UIEvent.cpp b/kdejava/koala/kdejava/UIEvent.cpp deleted file mode 100644 index f283e807..00000000 --- a/kdejava/koala/kdejava/UIEvent.cpp +++ /dev/null @@ -1,118 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include -#include - -#include -#include -#include - -class UIEventJBridge : public DOM::UIEvent -{ -public: - UIEventJBridge() : DOM::UIEvent() {}; - UIEventJBridge(const DOM::UIEvent& arg1) : DOM::UIEvent(arg1) {}; - UIEventJBridge(const DOM::Event& arg1) : DOM::UIEvent(arg1) {}; -}; - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_charCode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->charCode(); - return xret; -} - -JNIEXPORT jlong JNICALL -Java_org_kde_koala_UIEvent_detail(JNIEnv* env, jobject obj) -{ - jlong xret = (jlong) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->detail(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_UIEvent_initUIEvent(JNIEnv* env, jobject obj, jstring typeArg, jboolean canBubbleArg, jboolean cancelableArg, jobject viewArg, jlong detailArg) -{ -static DOM::DOMString* _domstring_typeArg = 0; - ((DOM::UIEvent*) QtSupport::getQt(env, obj))->initUIEvent((DOM::DOMString)*(DOM::DOMString*) KDESupport::toDOMString(env, typeArg, &_domstring_typeArg), (bool) canBubbleArg, (bool) cancelableArg, (const DOM::AbstractView&)*(const DOM::AbstractView*) QtSupport::getQt(env, viewArg), (long) detailArg); - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_keyCode(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->keyCode(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_layerX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->layerX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_layerY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->layerY(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_UIEvent_newUIEvent__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new UIEventJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_UIEvent_newUIEvent__Lorg_kde_koala_Event_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new UIEventJBridge((const DOM::Event&)*(const DOM::Event*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_UIEvent_newUIEvent__Lorg_kde_koala_UIEvent_2(JNIEnv* env, jobject obj, jobject other) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new UIEventJBridge((const DOM::UIEvent&)*(const DOM::UIEvent*) QtSupport::getQt(env, other))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_pageX(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->pageX(); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_pageY(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->pageY(); - return xret; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_koala_UIEvent_view(JNIEnv* env, jobject obj) -{ - jobject xret = QtSupport::objectForQtKey(env, (void*)new DOM::AbstractView(((DOM::UIEvent*) QtSupport::getQt(env, obj))->view()), "org.kde.koala.AbstractView", TRUE); - return xret; -} - -JNIEXPORT jint JNICALL -Java_org_kde_koala_UIEvent_which(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((DOM::UIEvent*) QtSupport::getQt(env, obj))->which(); - return xret; -} - diff --git a/kdejava/koala/kdejava/UIEvent.h b/kdejava/koala/kdejava/UIEvent.h deleted file mode 100644 index 0917bdc0..00000000 --- a/kdejava/koala/kdejava/UIEvent.h +++ /dev/null @@ -1,31 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_UIEvent__ -#define __org_kde_koala_UIEvent__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_UIEvent_newUIEvent__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_UIEvent_newUIEvent__Lorg_kde_koala_UIEvent_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_UIEvent_newUIEvent__Lorg_kde_koala_Event_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT jobject JNICALL Java_org_kde_koala_UIEvent_view (JNIEnv *env, jobject); -extern JNIEXPORT jlong JNICALL Java_org_kde_koala_UIEvent_detail (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_keyCode (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_charCode (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_pageX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_pageY (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_layerX (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_layerY (JNIEnv *env, jobject); -extern JNIEXPORT jint JNICALL Java_org_kde_koala_UIEvent_which (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_UIEvent_initUIEvent (JNIEnv *env, jobject, jstring, jboolean, jboolean, jobject, jlong); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_UIEvent__ */ diff --git a/kdejava/koala/kdejava/URLArgs.cpp b/kdejava/koala/kdejava/URLArgs.cpp deleted file mode 100644 index 1c0ced4b..00000000 --- a/kdejava/koala/kdejava/URLArgs.cpp +++ /dev/null @@ -1,144 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class URLArgsJBridge : public KParts::URLArgs -{ -public: - URLArgsJBridge() : KParts::URLArgs() {}; - URLArgsJBridge(const KParts::URLArgs& arg1) : KParts::URLArgs(arg1) {}; - URLArgsJBridge(bool arg1,int arg2,int arg3,const TQString& arg4) : KParts::URLArgs(arg1,arg2,arg3,arg4) {}; - URLArgsJBridge(bool arg1,int arg2,int arg3) : KParts::URLArgs(arg1,arg2,arg3) {}; -}; - -JNIEXPORT jstring JNICALL -Java_org_kde_koala_URLArgs_contentType(JNIEnv* env, jobject obj) -{ - TQString _qstring; - _qstring = ((KParts::URLArgs*) QtSupport::getQt(env, obj))->contentType(); - return QtSupport::fromTQString(env, &_qstring); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_URLArgs_doPost(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::URLArgs*) QtSupport::getQt(env, obj))->doPost(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_URLArgs_forcesNewWindow(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::URLArgs*) QtSupport::getQt(env, obj))->forcesNewWindow(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_URLArgs_lockHistory(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::URLArgs*) QtSupport::getQt(env, obj))->lockHistory(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_URLArgs_newTab(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::URLArgs*) QtSupport::getQt(env, obj))->newTab(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_newURLArgs__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new URLArgsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_newURLArgs__Lorg_kde_koala_URLArgs_2(JNIEnv* env, jobject obj, jobject args) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new URLArgsJBridge((const KParts::URLArgs&)*(const KParts::URLArgs*) QtSupport::getQt(env, args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_newURLArgs__ZII(JNIEnv* env, jobject obj, jboolean reload, jint xOffset, jint yOffset) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new URLArgsJBridge((bool) reload, (int) xOffset, (int) yOffset)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_newURLArgs__ZIILjava_lang_String_2(JNIEnv* env, jobject obj, jboolean reload, jint xOffset, jint yOffset, jstring serviceType) -{ -static TQString* _qstring_serviceType = 0; - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new URLArgsJBridge((bool) reload, (int) xOffset, (int) yOffset, (const TQString&)*(TQString*) QtSupport::toTQString(env, serviceType, &_qstring_serviceType))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_koala_URLArgs_redirectedRequest(JNIEnv* env, jobject obj) -{ - jboolean xret = (jboolean) ((KParts::URLArgs*) QtSupport::getQt(env, obj))->redirectedRequest(); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setContentType(JNIEnv* env, jobject obj, jstring contentType) -{ -static TQString* _qstring_contentType = 0; - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setContentType((const TQString&)*(TQString*) QtSupport::toTQString(env, contentType, &_qstring_contentType)); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setDoPost(JNIEnv* env, jobject obj, jboolean enable) -{ - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setDoPost((bool) enable); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setForcesNewWindow(JNIEnv* env, jobject obj, jboolean forcesNewWindow) -{ - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setForcesNewWindow((bool) forcesNewWindow); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setLockHistory(JNIEnv* env, jobject obj, jboolean lock) -{ - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setLockHistory((bool) lock); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setNewTab(JNIEnv* env, jobject obj, jboolean newTab) -{ - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setNewTab((bool) newTab); - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_URLArgs_setRedirectedRequest(JNIEnv* env, jobject obj, jboolean redirected) -{ - ((KParts::URLArgs*) QtSupport::getQt(env, obj))->setRedirectedRequest((bool) redirected); - return; -} - diff --git a/kdejava/koala/kdejava/URLArgs.h b/kdejava/koala/kdejava/URLArgs.h deleted file mode 100644 index b6367def..00000000 --- a/kdejava/koala/kdejava/URLArgs.h +++ /dev/null @@ -1,34 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_URLArgs__ -#define __org_kde_koala_URLArgs__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_newURLArgs__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_newURLArgs__Lorg_kde_koala_URLArgs_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_newURLArgs__ZIILjava_lang_String_2 (JNIEnv *env, jobject, jboolean, jint, jint, jstring); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_newURLArgs__ZII (JNIEnv *env, jobject, jboolean, jint, jint); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setContentType (JNIEnv *env, jobject, jstring); -extern JNIEXPORT jstring JNICALL Java_org_kde_koala_URLArgs_contentType (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setDoPost (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_URLArgs_doPost (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setLockHistory (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_URLArgs_lockHistory (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setNewTab (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_URLArgs_newTab (JNIEnv *env, jobject); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_URLArgs_redirectedRequest (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setRedirectedRequest (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_URLArgs_setForcesNewWindow (JNIEnv *env, jobject, jboolean); -extern JNIEXPORT jboolean JNICALL Java_org_kde_koala_URLArgs_forcesNewWindow (JNIEnv *env, jobject); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_URLArgs__ */ diff --git a/kdejava/koala/kdejava/WindowArgs.cpp b/kdejava/koala/kdejava/WindowArgs.cpp deleted file mode 100644 index bf5e0c3e..00000000 --- a/kdejava/koala/kdejava/WindowArgs.cpp +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include -#include - -#include -#include -#include - -class WindowArgsJBridge : public KParts::WindowArgs -{ -public: - WindowArgsJBridge() : KParts::WindowArgs() {}; - WindowArgsJBridge(const KParts::WindowArgs& arg1) : KParts::WindowArgs(arg1) {}; - WindowArgsJBridge(const TQRect& arg1,bool arg2,bool arg3,bool arg4,bool arg5,bool arg6) : KParts::WindowArgs(arg1,arg2,arg3,arg4,arg5,arg6) {}; - WindowArgsJBridge(int arg1,int arg2,int arg3,int arg4,bool arg5,bool arg6,bool arg7,bool arg8,bool arg9) : KParts::WindowArgs(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {}; -}; - -JNIEXPORT void JNICALL -Java_org_kde_koala_WindowArgs_newWindowArgs__(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new WindowArgsJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_WindowArgs_newWindowArgs__IIIIZZZZZ(JNIEnv* env, jobject obj, jint _x, jint _y, jint _width, jint _height, jboolean _fullscreen, jboolean _menuBarVisible, jboolean _toolBarsVisible, jboolean _statusBarVisible, jboolean _resizable) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new WindowArgsJBridge((int) _x, (int) _y, (int) _width, (int) _height, (bool) _fullscreen, (bool) _menuBarVisible, (bool) _toolBarsVisible, (bool) _statusBarVisible, (bool) _resizable)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_WindowArgs_newWindowArgs__Lorg_kde_koala_WindowArgs_2(JNIEnv* env, jobject obj, jobject args) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new WindowArgsJBridge((const KParts::WindowArgs&)*(const KParts::WindowArgs*) QtSupport::getQt(env, args))); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT void JNICALL -Java_org_kde_koala_WindowArgs_newWindowArgs__Lorg_kde_qt_QRect_2ZZZZZ(JNIEnv* env, jobject obj, jobject _geometry, jboolean _fullscreen, jboolean _menuBarVisible, jboolean _toolBarsVisible, jboolean _statusBarVisible, jboolean _resizable) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new WindowArgsJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, _geometry), (bool) _fullscreen, (bool) _menuBarVisible, (bool) _toolBarsVisible, (bool) _statusBarVisible, (bool) _resizable)); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - diff --git a/kdejava/koala/kdejava/WindowArgs.h b/kdejava/koala/kdejava/WindowArgs.h deleted file mode 100644 index cc43f56b..00000000 --- a/kdejava/koala/kdejava/WindowArgs.h +++ /dev/null @@ -1,22 +0,0 @@ -/* DO NOT EDIT THIS FILE - it is machine generated */ - -#ifndef __org_kde_koala_WindowArgs__ -#define __org_kde_koala_WindowArgs__ - -#include - -#ifdef __cplusplus -extern "C" -{ -#endif - -extern JNIEXPORT void JNICALL Java_org_kde_koala_WindowArgs_newWindowArgs__ (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_WindowArgs_newWindowArgs__Lorg_kde_koala_WindowArgs_2 (JNIEnv *env, jobject, jobject); -extern JNIEXPORT void JNICALL Java_org_kde_koala_WindowArgs_newWindowArgs__Lorg_kde_qt_QRect_2ZZZZZ (JNIEnv *env, jobject, jobject, jboolean, jboolean, jboolean, jboolean, jboolean); -extern JNIEXPORT void JNICALL Java_org_kde_koala_WindowArgs_newWindowArgs__IIIIZZZZZ (JNIEnv *env, jobject, jint, jint, jint, jint, jboolean, jboolean, jboolean, jboolean, jboolean); - -#ifdef __cplusplus -} -#endif - -#endif /* __org_kde_koala_WindowArgs__ */ diff --git a/kdejava/koala/main.cpp b/kdejava/koala/main.cpp deleted file mode 100644 index 29efb990..00000000 --- a/kdejava/koala/main.cpp +++ /dev/null @@ -1,26 +0,0 @@ -/*************************************************************************** - main.cpp - description - ------------------- - begin : Sat Nov 11 16:18:00 2000 - copyright : (C) 2000-2001 Lost Highway Ltd. All rights reserved. - email : Lost_Highway@tipitina.demon.co.uk - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -#include - -int -main(int argc, char * argv[]) { - (void) argc; - (void) argv; - (void) printf("Introducing KDE 3.2 Koala Java...\n"); - return 0; -} diff --git a/kdejava/koala/org/Makefile.am b/kdejava/koala/org/Makefile.am deleted file mode 100644 index 0c146c39..00000000 --- a/kdejava/koala/org/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -####### tdevelop will overwrite this part!!! (begin)########## - -SUBDIRS = kde - -####### tdevelop will overwrite this part!!! (end)############ diff --git a/kdejava/koala/org/kde/Makefile.am b/kdejava/koala/org/kde/Makefile.am deleted file mode 100644 index 019dd7c0..00000000 --- a/kdejava/koala/org/kde/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -####### tdevelop will overwrite this part!!! (begin)########## - -SUBDIRS = koala - -####### tdevelop will overwrite this part!!! (end)############ diff --git a/kdejava/koala/org/kde/koala/AbstractView.java b/kdejava/koala/org/kde/koala/AbstractView.java deleted file mode 100644 index c2dbfb3a..00000000 --- a/kdejava/koala/org/kde/koala/AbstractView.java +++ /dev/null @@ -1,53 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Introduced in DOM Level 2 - A base interface that all views shall derive from. - @short Introduced in DOM Level 2 - -*/ -public class AbstractView implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected AbstractView(Class dummy){} - - public AbstractView() { - newAbstractView(); - } - private native void newAbstractView(); - public AbstractView(AbstractView other) { - newAbstractView(other); - } - private native void newAbstractView(AbstractView other); - /** - The source DocumentView of which this is an AbstractView. - @short The source DocumentView of which this is an AbstractView. - */ - public native Document document(); - /** - Introduced in DOM Level 2 - This method is from the ViewCSS interface - This method is used to get the computed style as it is defined in - [CSS2]. - @param elt The element whose style is to be computed. This parameter - cannot be null. - @param pseudoElt The pseudo-element or null if none. - @return The computed style. The CSSStyleDeclaration is read-only and - contains only absolute values. - - @short Introduced in DOM Level 2 This method is from the ViewCSS interface - */ - public native CSSStyleDeclaration getComputedStyle(Element elt, String pseudoElt); - /** - not part of the DOM - @short - */ - // DOM::AbstractViewImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - // DOM::AbstractView* AbstractView(DOM::AbstractViewImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Attr.java b/kdejava/koala/org/kde/koala/Attr.java deleted file mode 100644 index 91320cfb..00000000 --- a/kdejava/koala/org/kde/koala/Attr.java +++ /dev/null @@ -1,120 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The Attr interface represents an attribute in an - Element object. Typically the allowable values for - the attribute are defined in a document type definition. - Attr objects inherit the Node - interface, but since they are not actually child nodes of the - element they describe, the DOM does not consider them part of the - document tree. Thus, the Node attributes - parentNode , previousSibling , and - nextSibling have a null value for Attr - objects. The DOM takes the view that attributes are properties of - elements rather than having a separate identity from the elements - they are associated with; this should make it more efficient to - implement such features as default attributes associated with all - elements of a given type. Furthermore, Attr nodes - may not be immediate children of a DocumentFragment - . However, they can be associated with Element nodes - contained within a DocumentFragment . In short, - users and implementors of the DOM need to be aware that Attr - nodes have some things in common with other objects - inheriting the Node interface, but they also are - quite distinct. - The attribute's effective value is determined as follows: if this - attribute has been explicitly assigned any value, that value is the - attribute's effective value; otherwise, if there is a declaration - for this attribute, and that declaration includes a default value, - then that default value is the attribute's effective value; - otherwise, the attribute does not exist on this element in the - structure model until it has been explicitly added. Note that the - nodeValue attribute on the Attr - instance can also be used to retrieve the string version of the - attribute's value(s). - In XML, where the value of an attribute can contain entity - references, the child nodes of the Attr node provide - a representation in which entity references are not expanded. These - child nodes may be either Text or - EntityReference nodes. Because the attribute type may be - unknown, there are no tokenized attribute values. - @short The Attr interface represents an attribute in an Element object. - -*/ -public class Attr extends Node { - protected Attr(Class dummy){super((Class) null);} - public Attr() { - super((Class) null); - newAttr(); - } - private native void newAttr(); - public Attr(Node other) { - super((Class) null); - newAttr(other); - } - private native void newAttr(Node other); - public Attr(Attr other) { - super((Class) null); - newAttr(other); - } - private native void newAttr(Attr other); - /** - Returns the name of this attribute. - @short Returns the name of this attribute. - */ - public native String name(); - /** - If this attribute was explicitly given a value in the original - document, this is true ; otherwise, it is - false . Note that the implementation is in charge of - this attribute, not the user. If the user changes the value of - the attribute (even if it ends up having the same value as the - default value) then the specified flag is - automatically flipped to true . To re-specify - the attribute as the default value from the DTD, the user must - delete the attribute. The implementation will then make a new - attribute available with specified set to - false and the default value (if one exists). - In summary: -
  • If
  • the attribute has an assigned - value in the document then specified is - true , and the value is the assigned value. -
  • If
  • the attribute has no assigned value in the - document and has a default value in the DTD, then - specified is false , and the value is - the default value in the DTD. -
  • If
  • the attribute has no assigned value in the - document and has a value of #IMPLIED in the DTD, then the - attribute does not appear in the structure model of the - document. - @short If this attribute was explicitly given a value in the original document, this is true ; otherwise, it is false . - */ - public native boolean specified(); - /** - On retrieval, the value of the attribute is returned as a - string. Character and general entity references are replaced - with their values. - On setting, this creates a Text node with the - unparsed contents of the string. - @short On retrieval, the value of the attribute is returned as a string. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - Introduced in DOM Level 2 - The Element node this attribute is attached to or null if this attribute - is not in use. - @short Introduced in DOM Level 2 - */ - public native Element ownerElement(); - // DOM::Attr* Attr(DOM::AttrImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/AuthInfo.java b/kdejava/koala/org/kde/koala/AuthInfo.java deleted file mode 100644 index 56b786da..00000000 --- a/kdejava/koala/org/kde/koala/AuthInfo.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This class is intended to make it easier to prompt for, cache - and retrieve authorization information. - When using this class to cache, retrieve or prompt authentication - information, you only need to set the necessary attributes. For - example, to check whether a password is already cached, the only - required information is the URL of the resource and optionally - whether or not a path match should be performed. Similarly, to - prompt for password you only need to optionally set the prompt, - username (if already supplied), comment and commentLabel fields. - SPECIAL NOTE: If you extend this class to add additional - parameters do not forget to overload the stream insertion and - extraction operators ("<<" and ">>") so that the added data can - be correctly serialzed. - @author Dawit Alemayehu - - @short A two way messaging class for passing authentication information. - -*/ -public class AuthInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected AuthInfo(Class dummy){} - - /** - Default constructor. - @short Default constructor. - */ - public AuthInfo() { - newAuthInfo(); - } - private native void newAuthInfo(); - /** - Copy constructor. - @short Copy constructor. - */ - public AuthInfo(AuthInfo info) { - newAuthInfo(info); - } - private native void newAuthInfo(AuthInfo info); - /** - Use this method to check if the object was modified. - @return true if the object has been modified - - @short Use this method to check if the object was modified. - */ - public native boolean isModified(); - /** - Use this method to indicate that this object has been modified. - @param flag true to mark the object as modified, false to clear - @short Use this method to indicate that this object has been modified. - */ - public native void setModified(boolean flag); -} diff --git a/kdejava/koala/org/kde/koala/BrowserExtension.java b/kdejava/koala/org/kde/koala/BrowserExtension.java deleted file mode 100644 index 4067a7bb..00000000 --- a/kdejava/koala/org/kde/koala/BrowserExtension.java +++ /dev/null @@ -1,258 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQObject; - -/** - - The Browser Extension is an extension (yes, no kidding) to - KParts.ReadOnlyPart, which allows a better integration of parts - with browsers (in particular Konqueror). - Remember that ReadOnlyPart only has openURL(KURL), with no other settings. - For full-fledged browsing, we need much more than that, including - many arguments about how to open this URL (see URLArgs), allowing - parts to save and restore their data into the back/forward history, - allowing parts to control the location bar URL, to requests URLs - to be opened by the hosting browser, etc. - The part developer needs to define its own class derived from BrowserExtension, - to implement the methods [and the standard-actions slots, see below]. - The way to associate the BrowserExtension with the part is to simply - create the BrowserExtension as a child of the part (in TQObject's terms). - The hosting application will look for it automatically. - Another aspect of the browser integration is that a set of standard - actions are provided by the browser, but implemented by the part - (for the actions it supports). - The following standard actions are defined by the host of the view : - [selection-dependent actions] - -
  • - cut : Copy selected items to clipboard and store 'not cut' in clipboard. -
  • - -
  • - copy : Copy selected items to clipboard and store 'cut' in clipboard. -
  • - -
  • - paste : Paste clipboard into view URL. -
  • - -
  • - pasteTo(KURL) : Paste clipboard into given URL. -
  • - -
  • - rename : Rename item in place. -
  • - -
  • - trash : Move selected items to trash. -
  • - -
  • - del : Delete selected items (couldn't call it delete!). -
  • - -
  • - shred : Shred selected items (secure deletion) - DEPRECATED. -
  • - -
  • - properties : Show file/document properties. -
  • - -
  • - editMimeType : show file/document's mimetype properties. -
  • - -
  • - searchProvider : Lookup selected text at default search provider -
  • - [normal actions] - -
  • - print : Print :-) -
  • - -
  • - reparseConfiguration : Re-read configuration and apply it. -
  • - -
  • - refreshMimeTypes : If the view uses mimetypes it should re-determine them. -
  • - The view defines a slot with the name of the action in order to implement the action. - The browser will detect the slot automatically and connect its action to it when - appropriate (i.e. when the view is active). - The selection-dependent actions are disabled by default and the view should - enable them when the selection changes, emitting enableAction(). - The normal actions do not depend on the selection. - You need to enable 'print' when printing is possible - you can even do that - in the constructor. - A special case is the configuration slots, not connected to any action directly, - and having parameters. - [configuration slot] - -
  • - setSaveViewPropertiesLocally( boolean ): If true, view properties are saved into .directory - otherwise, they are saved globally. -
  • - -
  • - disableScrolling: no scrollbars - -
  • See {@link BrowserExtensionSignals} for signals emitted by BrowserExtension - @short The Browser Extension is an extension (yes, no kidding) to KParts.ReadOnlyPart, which allows a better integration of parts with browsers (in particular Konqueror). - -*/ -public class BrowserExtension extends TQObject { - protected BrowserExtension(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - @param parent The KParts.ReadOnlyPart that this extension ... "extends" :) - @param name An optional name for the extension. - @short Constructor - */ - public BrowserExtension(ReadOnlyPart parent, String name) { - super((Class) null); - newBrowserExtension(parent,name); - } - private native void newBrowserExtension(ReadOnlyPart parent, String name); - public BrowserExtension(ReadOnlyPart parent) { - super((Class) null); - newBrowserExtension(parent); - } - private native void newBrowserExtension(ReadOnlyPart parent); - /** - Set the parameters to use for opening the next URL. - This is called by the "hosting" application, to pass parameters to the part. - @short Set the parameters to use for opening the next URL. - @see URLArgs - */ - public native void setURLArgs(URLArgs args); - /** - Retrieve the set of parameters to use for opening the URL - (this must be called from openURL() in the part). - @short Retrieve the set of parameters to use for opening the URL (this must be called from openURL() in the part). - @see URLArgs - */ - public native URLArgs urlArgs(); - /** - Returns the current x offset. - For a scrollview, implement this using contentsX(). - @short Returns the current x offset. - */ - public native int xOffset(); - /** - Returns the current y offset. - For a scrollview, implement this using contentsY(). - @short Returns the current y offset. - */ - public native int yOffset(); - /** - Used by the browser to save the current state of the view - (in order to restore it if going back in navigation). - If you want to save additional properties, reimplement it - but don't forget to call the parent method (probably first). - @short Used by the browser to save the current state of the view (in order to restore it if going back in navigation). - */ - public native void saveState(TQDataStream stream); - /** - Used by the browser to restore the view in the state - it was when we left it. - If you saved additional properties, reimplement it - but don't forget to call the parent method (probably first). - @short Used by the browser to restore the view in the state it was when we left it. - */ - public native void restoreState(TQDataStream stream); - /** - Returns whether url drop handling is enabled. - See setURLDropHandlingEnabled for more information about this - property. - @short Returns whether url drop handling is enabled. - */ - public native boolean isURLDropHandlingEnabled(); - /** - Enables or disables url drop handling. URL drop handling is a property - describing whether the hosting shell component is allowed to install an - event filter on the part's widget, to listen for URI drop events. - Set it to true if you are exporting a BrowserExtension implementation and - do not provide any special URI drop handling. If set to false you can be - sure to receive all those URI drop events unfiltered. Also note that the - implementation as of Konqueror installs the event filter only on the part's - widget itself, not on child widgets. - @short Enables or disables url drop handling. - */ - public native void setURLDropHandlingEnabled(boolean enable); - public native void setBrowserInterface(BrowserInterface impl); - public native BrowserInterface browserInterface(); - /** - @return the status (enabled/disabled) of an action. - When the enableAction signal is emitted, the browserextension - stores the status of the action internally, so that it's possible - to query later for the status of the action, using this method. - - @short - */ - public native boolean isActionEnabled(String name); - /** - @return the text of an action, if it was set explicitely by the part. - When the setActionText signal is emitted, the browserextension - stores the text of the action internally, so that it's possible - to query later for the text of the action, using this method. - - @short - */ - public native String actionText(String name); - /** - Asks the hosting browser to perform a paste (using openURLRequestDelayed) - @short Asks the hosting browser to perform a paste (using openURLRequestDelayed) - */ - public native void pasteRequest(); - /** - Returns a map containing the action names as keys and corresponding - SLOT()'ified method names as data entries. - This is very useful for - the host component, when connecting the own signals with the - extension's slots. - Basically you iterate over the map, check if the extension implements - the slot and connect to the slot using the data value of your map - iterator. - Checking if the extension implements a certain slot can be done like this: -
    -		   extension.metaObject().slotNames().contains( actionName + "()" )
    -		 
    - (note that actionName is the iterator's key value if already - iterating over the action slot map, returned by this method) - Connecting to the slot can be done like this: -
    -		   connect( yourObject, SIGNAL("yourSignal()"),
    -		            extension, mapIterator.data() )
    -		 
    - (where "mapIterator" is your TQMap iterator) - @short Returns a map containing the action names as keys and corresponding SLOT()'ified method names as data entries. - */ - // KParts::BrowserExtension::ActionSlotMap actionSlotMap(); >>>> NOT CONVERTED - /** - @return a pointer to the static action-slot map. Preferred method to get it. - The map is created if it doesn't exist yet - - @short - */ - // KParts::BrowserExtension::ActionSlotMap* actionSlotMapPtr(); >>>> NOT CONVERTED - /** - Queries obj for a child object which inherits from this - BrowserExtension class. Convenience method. - @short Queries obj for a child object which inherits from this BrowserExtension class. - */ - public static native BrowserExtension childObject(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java b/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java deleted file mode 100644 index 590e664d..00000000 --- a/kdejava/koala/org/kde/koala/BrowserExtensionSignals.java +++ /dev/null @@ -1,215 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQPoint; -import java.util.ArrayList; - -public interface BrowserExtensionSignals { - /** - Enables or disable a standard action held by the browser. - See class documentation for the list of standard actions. - @short Enables or disable a standard action held by the browser. - */ - void enableAction(String name, boolean enabled); - /** - Change the text of a standard action held by the browser. - This can be used to change "Paste" into "Paste Image" for instance. - See class documentation for the list of standard actions. - @short Change the text of a standard action held by the browser. - */ - void setActionText(String name, String text); - /** - Asks the host (browser) to open url. - To set a reload, the x and y offsets, the service type etc., fill in the - appropriate fields in the args structure. - Hosts should not connect to this signal but to openURLRequestDelayed. - @short Asks the host (browser) to open url. - */ - void openURLRequest(KURL url, URLArgs args); - /** - Asks the host (browser) to open url. - To set a reload, the x and y offsets, the service type etc., fill in the - appropriate fields in the args structure. - Hosts should not connect to this signal but to openURLRequestDelayed. - @short Asks the host (browser) to open url. - */ - void openURLRequest(KURL url); - /** - This signal is emitted when openURLRequest is called, after a 0-seconds timer. - This allows the caller to terminate what it's doing first, before (usually) - being destroyed. Parts should never use this signal, hosts should only connect - to this signal. - @short This signal is emitted when openURLRequest is called, after a 0-seconds timer. - */ - void openURLRequestDelayed(KURL url, URLArgs args); - /** - This signal is emitted when openURLRequest is called, after a 0-seconds timer. - This allows the caller to terminate what it's doing first, before (usually) - being destroyed. Parts should never use this signal, hosts should only connect - to this signal. - @short This signal is emitted when openURLRequest is called, after a 0-seconds timer. - */ - void openURLRequestDelayed(KURL url); - /** - Tells the hosting browser that the part opened a new URL (which can be - queried via KParts.Part.url(). - This helps the browser to update/create an entry in the history. - The part may not emit this signal together with openURLRequest(). - Emit openURLRequest() if you want the browser to handle a URL the user - asked to open (from within your part/document). This signal however is - useful if you want to handle URLs all yourself internally, while still - telling the hosting browser about new opened URLs, in order to provide - a proper history functionality to the user. - An example of usage is a html rendering component which wants to emit - this signal when a child frame document changed its URL. - Conclusion: you probably want to use openURLRequest() instead. - @short Tells the hosting browser that the part opened a new URL (which can be queried via KParts.Part.url(). - */ - void openURLNotify(); - /** - Updates the URL shown in the browser's location bar to url. - @short Updates the URL shown in the browser's location bar to url. - */ - void setLocationBarURL(String url); - /** - Sets the URL of an icon for the currently displayed page. - @short Sets the URL of an icon for the currently displayed page. - */ - void setIconURL(KURL url); - /** - Asks the hosting browser to open a new window for the given url. - The args argument is optional additional information for the - browser, - @short Asks the hosting browser to open a new window for the given url. - @see URLArgs - */ - void createNewWindow(KURL url, URLArgs args); - /** - Asks the hosting browser to open a new window for the given url. - The args argument is optional additional information for the - browser, - @short Asks the hosting browser to open a new window for the given url. - @see URLArgs - */ - void createNewWindow(KURL url); - // void createNewWindow(const KURL& arg1,const KParts::URLArgs& arg2,const KParts::WindowArgs& arg3,KParts::ReadOnlyPart*& arg4); >>>> NOT CONVERTED - /** - Since the part emits the jobid in the started() signal, - progress information is automatically displayed. - However, if you don't use a TDEIO.Job in the part, - you can use loadingProgress() and speedProgress() - to display progress information. - @short Since the part emits the jobid in the started() signal, progress information is automatically displayed. - */ - void loadingProgress(int percent); - /** - @short - @see #loadingProgress - */ - void speedProgress(int bytesPerSecond); - void infoMessage(String arg1); - /** - Emit this to make the browser show a standard popup menu - at the point global for the files items. - @short Emit this to make the browser show a standard popup menu at the point global for the files items. - */ - void popupMenu(TQPoint global, ArrayList items); - /** - Emit this to make the browser show a standard popup menu - at the point global for the files items. - The GUI described by client is being merged with the popupmenu of the host - @short Emit this to make the browser show a standard popup menu at the point global for the files items. - */ - void popupMenu(KXMLGUIClientInterface client, TQPoint global, ArrayList items); - // void popupMenu(KXMLGUIClient* arg1,const TQPoint& arg2,const KFileItemList& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5); >>>> NOT CONVERTED - /** - Emit this to make the browser show a standard popup menu - at the point global for the given url. - Give as much information - about this URL as possible, like the mimeType and the file type - (mode: S_IFREG, S_IFDIR...) - @short Emit this to make the browser show a standard popup menu at the point global for the given url. - */ - void popupMenu(TQPoint global, KURL url, String mimeType, long mode); - /** - Emit this to make the browser show a standard popup menu - at the point global for the given url. - Give as much information - about this URL as possible, like the mimeType and the file type - (mode: S_IFREG, S_IFDIR...) - @short Emit this to make the browser show a standard popup menu at the point global for the given url. - */ - void popupMenu(TQPoint global, KURL url, String mimeType); - /** - Emit this to make the browser show a standard popup menu - at the point global for the given url. - Give as much information - about this URL as possible, like the mimeType and the file type - (mode: S_IFREG, S_IFDIR...) - The GUI described by client is being merged with the popupmenu of the host - @short Emit this to make the browser show a standard popup menu at the point global for the given url. - */ - void popupMenu(KXMLGUIClientInterface client, TQPoint global, KURL url, String mimeType, long mode); - /** - Emit this to make the browser show a standard popup menu - at the point global for the given url. - Give as much information - about this URL as possible, like the mimeType and the file type - (mode: S_IFREG, S_IFDIR...) - The GUI described by client is being merged with the popupmenu of the host - @short Emit this to make the browser show a standard popup menu at the point global for the given url. - */ - void popupMenu(KXMLGUIClientInterface client, TQPoint global, KURL url, String mimeType); - // void popupMenu(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5,mode_t arg6); >>>> NOT CONVERTED - // void popupMenu(KXMLGUIClient* arg1,const TQPoint& arg2,const KURL& arg3,const KParts::URLArgs& arg4,KParts::BrowserExtension::PopupFlags arg5); >>>> NOT CONVERTED - /** - Inform the hosting application about the current selection. - Used when a set of files/URLs is selected (with full information - about those URLs, including size, permissions etc.) - @short Inform the hosting application about the current selection. - */ - void selectionInfo(ArrayList items); - /** - Inform the hosting application about the current selection. - Used when some text is selected. - @short Inform the hosting application about the current selection. - */ - void selectionInfo(String text); - /** - Inform the hosting application that the user moved the mouse over an item. - Used when the mouse is on an URL. - @short Inform the hosting application that the user moved the mouse over an item. - */ - void mouseOverInfo(KFileItem item); - /** - Ask the hosting application to add a new HTML (aka Mozilla/Netscape) - SideBar entry. - @short Ask the hosting application to add a new HTML (aka Mozilla/Netscape) SideBar entry. - */ - void addWebSideBar(KURL url, String name); - /** - Ask the hosting application to move the top level widget. - @short Ask the hosting application to move the top level widget. - */ - void moveTopLevelWidget(int x, int y); - /** - Ask the hosting application to resize the top level widget. - @short Ask the hosting application to resize the top level widget. - */ - void resizeTopLevelWidget(int w, int h); - /** - Ask the hosting application to focus part. - @short Ask the hosting application to focus part. - */ - void requestFocus(ReadOnlyPart part); - /** - Tell the host (browser) about security state of current page - enum PageSecurity { NotCrypted, Encrypted, Mixed } - @short Tell the host (browser) about security state of current page enum PageSecurity { NotCrypted, Encrypted, Mixed } - */ - void setPageSecurity(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/BrowserHostExtension.java b/kdejava/koala/org/kde/koala/BrowserHostExtension.java deleted file mode 100644 index 60c07617..00000000 --- a/kdejava/koala/org/kde/koala/BrowserHostExtension.java +++ /dev/null @@ -1,63 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQObject; - -/** - - An extension class for container parts, i.e. parts that contain - other parts. - For instance a TDEHTMLPart hosts one part per frame. - @short An extension class for container parts, i. - -*/ -public class BrowserHostExtension extends TQObject { - protected BrowserHostExtension(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public BrowserHostExtension(ReadOnlyPart parent, String name) { - super((Class) null); - newBrowserHostExtension(parent,name); - } - private native void newBrowserHostExtension(ReadOnlyPart parent, String name); - public BrowserHostExtension(ReadOnlyPart parent) { - super((Class) null); - newBrowserHostExtension(parent); - } - private native void newBrowserHostExtension(ReadOnlyPart parent); - /** - Returns a list of the names of all hosted child objects. - Note that this method does not query the child objects recursively. - @short Returns a list of the names of all hosted child objects. - */ - public native ArrayList frameNames(); - /** - Returns a list of pointers to all hosted child objects. - Note that this method does not query the child objects recursively. - @short Returns a list of pointers to all hosted child objects. - */ - // const TQPtrList frames(); >>>> NOT CONVERTED - /** - Returns the part that contains frame and that may be accessed - by callingPart - @short Returns the part that contains frame and that may be accessed by callingPart - */ - public native BrowserHostExtension findFrameParent(ReadOnlyPart callingPart, String frame); - /** - Opens the given url in a hosted child frame. The frame name is specified in the - frameName variable in the urlArgs argument structure (see KParts.URLArgs ) . - @short Opens the given url in a hosted child frame. - */ - public native boolean openURLInFrame(KURL url, URLArgs urlArgs); - /** - Queries obj for a child object which inherits from this - BrowserHostExtension class. Convenience method. - @short Queries obj for a child object which inherits from this BrowserHostExtension class. - */ - public static native BrowserHostExtension childObject(TQObject arg1); -} diff --git a/kdejava/koala/org/kde/koala/BrowserInterface.java b/kdejava/koala/org/kde/koala/BrowserInterface.java deleted file mode 100644 index c725c9d9..00000000 --- a/kdejava/koala/org/kde/koala/BrowserInterface.java +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQVariant; -import org.kde.qt.TQObject; - -/** - - The purpose of this interface is to allow a direct communication between - a KPart and the hosting browser shell (for example Konqueror) . A - shell implementing this interface can propagate it to embedded kpart - components by using the setBrowserInterface call of the part's - KParts.BrowserExtension object. - This interface looks not very rich, but the main functionality is - implemented using the callMethod method for part.shell - communication and using Qt properties for allowing a part to - to explicitly query information from the shell. - Konqueror in particular, as 'reference' implementation, provides - the following functionality through this interface: - Qt properties: - - TQ_PROPERTY( uint historyLength READ historyLength ); - - Callable methods: - - void goHistory( int ); - - @short The purpose of this interface is to allow a direct communication between a KPart and the hosting browser shell (for example Konqueror) . - -*/ -public class BrowserInterface extends TQObject { - protected BrowserInterface(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public BrowserInterface(TQObject parent, String name) { - super((Class) null); - newBrowserInterface(parent,name); - } - private native void newBrowserInterface(TQObject parent, String name); - public BrowserInterface(TQObject parent) { - super((Class) null); - newBrowserInterface(parent); - } - private native void newBrowserInterface(TQObject parent); - /** - Perform a dynamic invocation of a method in the BrowserInterface - implementation. Methods are to be implemented as simple Qt slots. - @short Perform a dynamic invocation of a method in the BrowserInterface implementation. - */ - public native void callMethod(String name, TQVariant argument); -} diff --git a/kdejava/koala/org/kde/koala/BrowserRun.java b/kdejava/koala/org/kde/koala/BrowserRun.java deleted file mode 100644 index 2cee4873..00000000 --- a/kdejava/koala/org/kde/koala/BrowserRun.java +++ /dev/null @@ -1,143 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - This class extends KRun to provide additional functionality for browsers: -
      -
    • "save or open" dialog boxes -
    • "save" functionality -
    • support for HTTP POST (including saving the result to a temp file if - opening a separate application) -
    • warning before launching executables off the web -
    • custom error handling (i.e. treating errors as HTML pages) -
    • generation of SSL metadata depending on the previous URL shown by the part -
    - @author David Faure - - @short This class extends KRun to provide additional functionality for browsers:
    • "save or open" dialog boxes
    • "save" functionality
    • support for HTTP POST (including saving the result to a temp file if opening a separate application)
    • warning before launching executables off the web
    • custom error handling (i. - -*/ -public class BrowserRun extends KRun { - protected BrowserRun(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - @param url the URL we're probing - @param args URL args - includes data for a HTTP POST, etc. - @param part the part going to open this URL - can be null if not created yet - @param window the mainwindow - passed to TDEIO.Job.setWindow() - @param removeReferrer if true, the "referrer" metadata from args isn't passed on - @param trustedSource if false, a warning will be shown before launching an executable - Always pass false for trustedSource, except for local directory views. - @short - */ - public BrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource) { - super((Class) null); - newBrowserRun(url,args,part,window,removeReferrer,trustedSource); - } - private native void newBrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource); - /** - @param url the URL we're probing - @param args URL args - includes data for a HTTP POST, etc. - @param part the part going to open this URL - can be null if not created yet - @param window the mainwindow - passed to TDEIO.Job.setWindow() - @param removeReferrer if true, the "referrer" metadata from args isn't passed on - @param trustedSource if false, a warning will be shown before launching an executable - @param hideErrorDialog if true, no dialog will be shown in case of errors. - Always pass false for trustedSource, except for local directory views. - @short - */ - public BrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource, boolean hideErrorDialog) { - super((Class) null); - newBrowserRun(url,args,part,window,removeReferrer,trustedSource,hideErrorDialog); - } - private native void newBrowserRun(KURL url, URLArgs args, ReadOnlyPart part, TQWidget window, boolean removeReferrer, boolean trustedSource, boolean hideErrorDialog); - /** - @return the URL we're probing - - @short - */ - public native KURL url(); - /** - @return true if no dialog will be shown in case of errors - - @short - */ - public native boolean hideErrorDialog(); - /** - @return Suggested filename given by the server (e.g. HTTP content-disposition) - - @short - */ - public native String suggestedFilename(); - public native void save(KURL url, String suggestedFilename); - /** - Ask the user whether to save or open a url in another application. - @param url the URL in question - @param offer the application that will be used to open the URL - @param mimeType the mimetype of the URL - @param suggestedFilename optional filename suggested by the server - @return Save, Open or Cancel. - - @short Ask the user whether to save or open a url in another application. - */ - // KParts::BrowserRun::AskSaveResult askSave(const KURL& arg1,KService::Ptr arg2,const TQString& arg3,const TQString& arg4); >>>> NOT CONVERTED - // KParts::BrowserRun::AskSaveResult askSave(const KURL& arg1,KService::Ptr arg2,const TQString& arg3); >>>> NOT CONVERTED - /** - Similar to askSave() but for the case where the current application is - able to embed the url itself (instead of passing it to another app). - @param url the URL in question - @param mimeType the mimetype of the URL - @param suggestedFilename optional filename suggested by the server - @param flags reserved for later use - @return Save, Open or Cancel. - - @short Similar to askSave() but for the case where the current application is able to embed the url itself (instead of passing it to another app). - */ - // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const TQString& arg2,const TQString& arg3,int arg4); >>>> NOT CONVERTED - // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const TQString& arg2,const TQString& arg3); >>>> NOT CONVERTED - // KParts::BrowserRun::AskSaveResult askEmbedOrSave(const KURL& arg1,const TQString& arg2); >>>> NOT CONVERTED - public static native void simpleSave(KURL url, String suggestedFilename, TQWidget window); - /** BIC: Combine with the above function for KDE 4.0. @short BIC: Combine with the above function for KDE 4. - */ - public static native void simpleSave(KURL url, String suggestedFilename); - public static native boolean allowExecution(String serviceType, KURL url); - /** BIC: Obsoleted by KRun.isExecutable( StringserviceType ); @short BIC: Obsoleted by KRun.isExecutable( StringserviceType ); - */ - public static native boolean isExecutable(String serviceType); - public static native boolean isTextExecutable(String serviceType); - /** - Reimplemented from KRun - @short Reimplemented from KRun - */ - protected native void scanFile(); - /** - Reimplemented from KRun - @short Reimplemented from KRun - */ - protected native void init(); - /** - Called when an error happens. - NOTE: job could be null, if you passed hideErrorDialog=true. - The default implementation shows a message box, but only when job != 0 .... - It is strongly recommended to reimplement this method if - you passed hideErrorDialog=true. - @short Called when an error happens. - */ - protected native void handleError(Job job); - /** - Helper for foundMimeType: call this if the mimetype couldn't be embedded - @short Helper for foundMimeType: call this if the mimetype couldn't be embedded - */ - // KParts::BrowserRun::NonEmbeddableResult handleNonEmbeddable(const TQString& arg1); >>>> NOT CONVERTED - protected native void slotBrowserScanFinished(Job job); - protected native void slotBrowserMimetype(Job job, String type); - protected native void slotCopyToTempFileResult(Job job); - protected native void slotStatResult(Job job); -} diff --git a/kdejava/koala/org/kde/koala/CDATASection.java b/kdejava/koala/org/kde/koala/CDATASection.java deleted file mode 100644 index dd2e240f..00000000 --- a/kdejava/koala/org/kde/koala/CDATASection.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - CDATA sections are used to escape blocks of text containing - characters that would otherwise be regarded as markup. The only - delimiter that is recognized in a CDATA section is the "]]>" - string that ends the CDATA section. CDATA sections can not be - nested. The primary purpose is for including material such as XML - fragments, without needing to escape all the delimiters. - The DOMString attribute of the Text - node holds the text that is contained by the CDATA section. Note - that this may contain characters that need to be escaped outside of - CDATA sections and that, depending on the character encoding - ("charset") chosen for serialization, it may be impossible to write - out some characters as part of a CDATA section. - The CDATASection interface inherits the - CharacterData interface through the Text - interface. Adjacent CDATASections nodes are not - merged by use of the Element.normalize() method. - @short CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. - -*/ -public class CDATASection extends Text { - protected CDATASection(Class dummy){super((Class) null);} - public CDATASection() { - super((Class) null); - newCDATASection(); - } - private native void newCDATASection(); - public CDATASection(CDATASection other) { - super((Class) null); - newCDATASection(other); - } - private native void newCDATASection(CDATASection other); - public CDATASection(Node other) { - super((Class) null); - newCDATASection(other); - } - private native void newCDATASection(Node other); - // DOM::CDATASection* CDATASection(DOM::CDATASectionImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/CSSCharsetRule.java b/kdejava/koala/org/kde/koala/CSSCharsetRule.java deleted file mode 100644 index d384b9eb..00000000 --- a/kdejava/koala/org/kde/koala/CSSCharsetRule.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The CSSCharsetRule interface a \@charset - rule in a CSS style sheet. A \@charset rule can - be used to define the encoding of the style sheet. - @short The CSSCharsetRule interface a \@charset rule in a CSS style sheet. - -*/ -public class CSSCharsetRule extends CSSRule { - protected CSSCharsetRule(Class dummy){super((Class) null);} - public CSSCharsetRule() { - super((Class) null); - newCSSCharsetRule(); - } - private native void newCSSCharsetRule(); - public CSSCharsetRule(CSSCharsetRule other) { - super((Class) null); - newCSSCharsetRule(other); - } - private native void newCSSCharsetRule(CSSCharsetRule other); - public CSSCharsetRule(CSSRule other) { - super((Class) null); - newCSSCharsetRule(other); - } - private native void newCSSCharsetRule(CSSRule other); - // DOM::CSSCharsetRule* CSSCharsetRule(DOM::CSSCharsetRuleImpl* arg1); >>>> NOT CONVERTED - /** - The encoding information used in this \@charset - rule. - @short The encoding information used in this \@charset rule. - */ - public native String encoding(); - /** - see encoding - @short see encoding - */ - public native void setEncoding(String arg1); -} diff --git a/kdejava/koala/org/kde/koala/CSSException.java b/kdejava/koala/org/kde/koala/CSSException.java deleted file mode 100644 index b8e000de..00000000 --- a/kdejava/koala/org/kde/koala/CSSException.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This exception is raised when a specific CSS operation is impossible - to perform. - @short This exception is raised when a specific CSS operation is impossible to perform. - -*/ -public class CSSException implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected CSSException(Class dummy){} - - public CSSException(short _code) { - newCSSException(_code); - } - private native void newCSSException(short _code); - public CSSException(CSSException other) { - newCSSException(other); - } - private native void newCSSException(CSSException other); -} diff --git a/kdejava/koala/org/kde/koala/CSSFontFaceRule.java b/kdejava/koala/org/kde/koala/CSSFontFaceRule.java deleted file mode 100644 index 3d9ccc89..00000000 --- a/kdejava/koala/org/kde/koala/CSSFontFaceRule.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The CSSFontFaceRule interface represents a - \@font-face rule in a CSS style sheet. The \@font-face - rule is used to hold a set of font descriptions. - @short The CSSFontFaceRule interface represents a - declaration-block of this rule. - @short The - \@import rule within a CSS style sheet. The \@import - rule is used to import style rules from other style sheets. - @short The CSSImportRule interface represents a (...)" specifier around - the URI. - @short The location of the style sheet to be imported. - */ - public native String href(); - /** - A list of media types for which this style sheet may be used. - @short A list of media types for which this style sheet may be used. - */ - public native ArrayList media(); - /** - The style sheet referred to by this rule, if it has been - loaded. The value of this attribute is null if the style sheet - has not yet been loaded or if it will not be loaded (e.g. if - the style sheet is for a media type not supported by the user - agent). - @short The style sheet referred to by this rule, if it has been loaded. - */ - public native CSSStyleSheet styleSheet(); -} diff --git a/kdejava/koala/org/kde/koala/CSSMediaRule.java b/kdejava/koala/org/kde/koala/CSSMediaRule.java deleted file mode 100644 index 9c688f63..00000000 --- a/kdejava/koala/org/kde/koala/CSSMediaRule.java +++ /dev/null @@ -1,87 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import java.util.ArrayList; -import org.kde.qt.QtSupport; - -/** - - The CSSMediaRule interface represents a - \@media rule in a CSS style sheet. A \@media rule - can be used to delimit style rules for specific media types. - @short The CSSMediaRule interface represents a - media types for this rule. - @short A list of page rule - within a CSS style sheet. The @page rule is - used to specify the dimensions, orientation, margins, etc. of a - page box for paged media. - @short The CSSPageRule interface represents a - declaration-block of this rule. - @short The CSS - value . This interface may be used to determine the value of a - specific style property currently set in a block or to set a - specific style properties explicitly within the block. An instance - of this interface can be obtained from the - getPropertyCSSValue method of the - CSSStyleDeclaration interface. - @short The CSSPrimitiveValue interface represents a single statement - . This includes both rule sets - and - at-rules . An implementation is expected to preserve all rules - specified in a CSS style sheet, even if it is not recognized. - Unrecognized rules are represented using the CSSUnknownRule - interface. - @short The CSSRule interface is the abstract base interface for any type of CSS - CSS declaration block . This interface may be used to - determine the style properties currently set in a block or to set - style properties explicitly within the block. - While an implementation may not recognize all CSS properties - within a CSS declaration block, it is expected to provide access to - all specified properties through the CSSStyleDeclaration - interface. Furthermore, implementations that support a - specific level of CSS should correctly handle CSS - shorthand properties for that level. For a further discussion - of shorthand properties, see the CSS2Properties - interface. - @short The CSSStyleDeclaration interface represents a single CSS property - index . - @return Returns the value of the property if it has been - explicitly set for this declaration block. Returns the empty - string if the property has not been set. - - @short Used to retrieve the value of a CSS property if it has been explicitly set within this declaration block. - */ - public native String getPropertyValue(String propertyName); - /** - Used to retrieve the object representation of the value of a - CSS property if it has been explicitly set within this - declaration block. This method returns null if the property is - a - shorthand property. Shorthand property values can only be - accessed and modified as strings, using the - getPropertyValue and setProperty - methods. - @param propertyName The name of the CSS property. See the CSS property - index . - @return Returns the value of the property if it has been - explicitly set for this declaration block. Returns the - null if the property has not been set. - - @short Used to retrieve the object representation of the value of a CSS property if it has been explicitly set within this declaration block. - */ - public native CSSValue getPropertyCSSValue(String propertyName); - /** - Used to remove a CSS property if it has been explicitly set - within this declaration block. - @param propertyName The name of the CSS property. See the CSS property - index . - @return Returns the value of the property if it has been - explicitly set for this declaration block. Returns the empty - string if the property has not been set or the property name - does not correspond to a valid CSS2 property. - - @short Used to remove a CSS property if it has been explicitly set within this declaration block. - */ - public native String removeProperty(String propertyName); - /** - Used to retrieve the priority of a CSS property (e.g. the - "important" qualifier) if the property has been - explicitly set in this declaration block. - @param propertyName The name of the CSS property. See the CSS property - index . - @return A string representing the priority (e.g. - "important" ) if one exists. The empty string if none - exists. - - @short Used to retrieve the priority of a CSS property (e. - */ - public native String getPropertyPriority(String propertyName); - /** - Used to set a property value and priority within this - declaration block. - @param propertyName The name of the CSS property. See the CSS property - index . - @param value The new value of the property. - @param priority The new priority of the property (e.g. - "important" ). - @short Used to set a property value and priority within this declaration block. - */ - public native void setProperty(String propertyName, String value, String priority); - /** - Used to retrieve the properties that have been explicitly set - in this declaration block. The order of the properties - retrieved using this method does not have to be the order in - which they were set. This method can be used to iterate over - all properties in this declaration block. - @param index Index of the property name to retrieve. - @return The name of the property at this ordinal position. The - empty string if no property exists at this position. - - @short Used to retrieve the properties that have been explicitly set in this declaration block. - */ - public native String item(long index); - /** - not part of the DOM - @short - */ - // DOM::CSSStyleDeclarationImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); -} diff --git a/kdejava/koala/org/kde/koala/CSSStyleRule.java b/kdejava/koala/org/kde/koala/CSSStyleRule.java deleted file mode 100644 index bb22489c..00000000 --- a/kdejava/koala/org/kde/koala/CSSStyleRule.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The CSSStyleRule interface represents a single rule set - in a CSS style sheet. - @short The CSSStyleRule interface represents a single selector - for the rule set. The implementation may have stripped out - insignificant whitespace while parsing the selector. - @short The textual representation of the - declaration-block of this rule set. - @short The CSSStyleSheet interface is a concrete interface used to represent a CSS style sheet i. - -*/ -public class CSSStyleSheet extends StyleSheet { - protected CSSStyleSheet(Class dummy){super((Class) null);} - public CSSStyleSheet() { - super((Class) null); - newCSSStyleSheet(); - } - private native void newCSSStyleSheet(); - public CSSStyleSheet(CSSStyleSheet other) { - super((Class) null); - newCSSStyleSheet(other); - } - private native void newCSSStyleSheet(CSSStyleSheet other); - public CSSStyleSheet(StyleSheet other) { - super((Class) null); - newCSSStyleSheet(other); - } - private native void newCSSStyleSheet(StyleSheet other); - // DOM::CSSStyleSheet* CSSStyleSheet(DOM::CSSStyleSheetImpl* arg1); >>>> NOT CONVERTED - /** - If this style sheet comes from an \@import rule, - the ownerRule attribute will contain the - CSSImportRule . In that case, the ownerNode - attribute in the StyleSheet interface - will be null . If the style sheet comes from an - element or a processing instruction, the ownerRule - attribute will be null and the - ownerNode attribute will contain the Node . - @short If this style sheet comes from an \@import rule, the ownerRule attribute will contain the CSSImportRule . - */ - public native CSSRule ownerRule(); - /** - The list of all CSS rules contained within the style sheet. - This includes both rule sets - and - at-rules . - @short The list of all CSS rules contained within the style sheet. - */ - public native CSSRuleList cssRules(); - /** - Used to insert a new rule into the style sheet. The new rule - now becomes part of the cascade. - @param rule The parsable text representing the rule. For rule - sets this contains both the selector and the style declaration. - For at-rules, this specifies both the at-identifier and the - rule content. - @param index The index within the style sheet's rule list of - the rule before which to insert the specified rule. If the - specified index is equal to the length of the style sheet's - rule collection, the rule will be added to the end of the style - sheet. - INDEX_SIZE_ERR: Raised if the specified index is not a valid - insertion point. - NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is - readonly. - @return The index within the style sheet's rule collection of - the newly inserted rule. - - @short Used to insert a new rule into the style sheet. - */ - public native long insertRule(String rule, long index); - /** - Used to delete a rule from the style sheet. - @param index The index within the style sheet's rule list of - the rule to remove. - NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is - readonly. - @short Used to delete a rule from the style sheet. - */ - public native void deleteRule(long index); -} diff --git a/kdejava/koala/org/kde/koala/CSSUnknownRule.java b/kdejava/koala/org/kde/koala/CSSUnknownRule.java deleted file mode 100644 index 22380fbc..00000000 --- a/kdejava/koala/org/kde/koala/CSSUnknownRule.java +++ /dev/null @@ -1,32 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The CSSUnkownRule interface represents an at-rule - not supported by this user agent. - @short The CSSUnkownRule interface represents an at-rule not supported by this user agent. - -*/ -public class CSSUnknownRule extends CSSRule { - protected CSSUnknownRule(Class dummy){super((Class) null);} - public CSSUnknownRule() { - super((Class) null); - newCSSUnknownRule(); - } - private native void newCSSUnknownRule(); - public CSSUnknownRule(CSSUnknownRule other) { - super((Class) null); - newCSSUnknownRule(other); - } - private native void newCSSUnknownRule(CSSUnknownRule other); - public CSSUnknownRule(CSSRule other) { - super((Class) null); - newCSSUnknownRule(other); - } - private native void newCSSUnknownRule(CSSRule other); - // DOM::CSSUnknownRule* CSSUnknownRule(DOM::CSSUnknownRuleImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/CSSValue.java b/kdejava/koala/org/kde/koala/CSSValue.java deleted file mode 100644 index b933a7ab..00000000 --- a/kdejava/koala/org/kde/koala/CSSValue.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The CSSValue interface represents a simple or a - complexe value. - @short The CSSValue interface represents a simple or a complexe value. - -*/ -public class CSSValue implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected CSSValue(Class dummy){} - - public CSSValue() { - newCSSValue(); - } - private native void newCSSValue(); - public CSSValue(CSSValue other) { - newCSSValue(other); - } - private native void newCSSValue(CSSValue other); - // DOM::CSSValue* CSSValue(DOM::CSSValueImpl* arg1); >>>> NOT CONVERTED - /** - A string representation of the current value. - @short A string representation of the current value. - */ - public native String cssText(); - /** - see cssText - @short see cssText - */ - public native void setCssText(String arg1); - /** - A code defining the type of the value as defined above. - @short A code defining the type of the value as defined above. - */ - public native short cssValueType(); - /** - not part of the DOM - @short - */ - public native boolean isCSSValueList(); - public native boolean isCSSPrimitiveValue(); - // DOM::CSSValueImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); -} diff --git a/kdejava/koala/org/kde/koala/CSSValueList.java b/kdejava/koala/org/kde/koala/CSSValueList.java deleted file mode 100644 index 4a4fee00..00000000 --- a/kdejava/koala/org/kde/koala/CSSValueList.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The CSSValueList interface provides the absraction - of an ordered collection of CSS values. - @short The CSSValueList interface provides the absraction of an ordered collection of CSS values. - -*/ -public class CSSValueList extends CSSValue { - protected CSSValueList(Class dummy){super((Class) null);} - public CSSValueList() { - super((Class) null); - newCSSValueList(); - } - private native void newCSSValueList(); - public CSSValueList(CSSValueList other) { - super((Class) null); - newCSSValueList(other); - } - private native void newCSSValueList(CSSValueList other); - public CSSValueList(CSSValue other) { - super((Class) null); - newCSSValueList(other); - } - private native void newCSSValueList(CSSValue other); - // DOM::CSSValueList* CSSValueList(DOM::CSSValueListImpl* arg1); >>>> NOT CONVERTED - /** - The number of CSSValue s in the list. The range - of valid values indices is 0 to length-1 - inclusive. - @short The number of CSSValue s in the list. - */ - public native long length(); - /** - Used to retrieve a CSS rule by ordinal index. The order in this - collection represents the order of the values in the CSS style - property. - @param index Index into the collection. - @return The style rule at the index position in - the CSSValueList , or null if - that is not valid index. - - @short Used to retrieve a CSS rule by ordinal index. - */ - public native CSSValue item(long index); -} diff --git a/kdejava/koala/org/kde/koala/CharacterData.java b/kdejava/koala/org/kde/koala/CharacterData.java deleted file mode 100644 index 36a50458..00000000 --- a/kdejava/koala/org/kde/koala/CharacterData.java +++ /dev/null @@ -1,122 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The CharacterData interface extends Node with a set - of attributes and methods for accessing character data in the DOM. - For clarity this set is defined here rather than on each object - that uses these attributes and methods. No DOM objects correspond - directly to CharacterData , though Text - and others do inherit the interface from it. All - offsets in this interface start from 0. - @short The CharacterData interface extends Node with a set of attributes and methods for accessing character data in the DOM. - -*/ -public class CharacterData extends Node { - protected CharacterData(Class dummy){super((Class) null);} - public CharacterData() { - super((Class) null); - newCharacterData(); - } - private native void newCharacterData(); - public CharacterData(CharacterData other) { - super((Class) null); - newCharacterData(other); - } - private native void newCharacterData(CharacterData other); - public CharacterData(Node other) { - super((Class) null); - newCharacterData(other); - } - private native void newCharacterData(Node other); - /** - The character data of the node that implements this interface. - The DOM implementation may not put arbitrary limits on the - amount of data that may be stored in a CharacterData - node. However, implementation limits may mean that the - entirety of a node's data may not fit into a single - DOMString . In such cases, the user may call - substringData to retrieve the data in appropriately - sized pieces. - @short The character data of the node that implements this interface. - */ - public native String data(); - /** - see data - @short see data - */ - public native void setData(String arg1); - /** - The number of characters that are available through data - and the substringData method below. This - may have the value zero, i.e., CharacterData - nodes may be empty. - @short The number of characters that are available through data and the substringData method below. - */ - public native long length(); - /** - Extracts a range of data from the node. - @param offset Start offset of substring to extract. - @param count The number of characters to extract. - DOMSTRING_SIZE_ERR: Raised if the specified range of text does - not fit into a DOMString . - @return The specified substring. If the sum of offset - and count exceeds the length - , then all characters to the end of the data are - returned. - - @short Extracts a range of data from the node. - */ - public native String substringData(long offset, long count); - /** - Append the string to the end of the character data of the node. - Upon success, data provides access to the - concatenation of data and the DOMString - specified. - @param arg The DOMString to append. - @short Append the string to the end of the character data of the node. - */ - public native void appendData(String arg); - /** - Insert a string at the specified character offset. - @param offset The character offset at which to insert. - @param arg The DOMString to insert. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - @short Insert a string at the specified character offset. - */ - public native void insertData(long offset, String arg); - /** - Remove a range of characters from the node. Upon success, - data and length reflect the - change. - @param offset The offset from which to remove characters. - @param count The number of characters to delete. If the sum of - offset and count exceeds - length then all characters from offset - to the end of the data are deleted. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - @short Remove a range of characters from the node. - */ - public native void deleteData(long offset, long count); - /** - Replace the characters starting at the specified character - offset with the specified string. - @param offset The offset from which to start replacing. - @param count The number of characters to replace. If the sum of - offset and count exceeds - length , then all characters to the end of the data are - replaced (i.e., the effect is the same as a remove - method call with the same range, followed by an - append method invocation). - @param arg The DOMString with which the range - must be replaced. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - @short Replace the characters starting at the specified character offset with the specified string. - */ - public native void replaceData(long offset, long count, String arg); - // DOM::CharacterData* CharacterData(DOM::CharacterDataImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Comment.java b/kdejava/koala/org/kde/koala/Comment.java deleted file mode 100644 index 6c370415..00000000 --- a/kdejava/koala/org/kde/koala/Comment.java +++ /dev/null @@ -1,35 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This represents the content of a comment, i.e., all the characters - between the starting ' <!-- ' and ending ' - --> '. Note that this is the definition of a comment in - XML, and, in practice, HTML, although some HTML tools may implement - the full SGML comment structure. - @short This represents the content of a comment, i. - -*/ -public class Comment extends CharacterData { - protected Comment(Class dummy){super((Class) null);} - public Comment() { - super((Class) null); - newComment(); - } - private native void newComment(); - public Comment(Comment other) { - super((Class) null); - newComment(other); - } - private native void newComment(Comment other); - public Comment(Node other) { - super((Class) null); - newComment(other); - } - private native void newComment(Node other); - // DOM::Comment* Comment(DOM::CommentImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Connection.java b/kdejava/koala/org/kde/koala/Connection.java deleted file mode 100644 index 0683435b..00000000 --- a/kdejava/koala/org/kde/koala/Connection.java +++ /dev/null @@ -1,120 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - This class provides a simple means for IPC between two applications - via a pipe. - It handles a queue of commands to be sent which makes it possible to - queue data before an actual connection has been established. - @short This class provides a simple means for IPC between two applications via a pipe. - -*/ -public class Connection extends TQObject { - protected Connection(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new connection. - @short Creates a new connection. - @see #init - */ - public Connection() { - super((Class) null); - newConnection(); - } - private native void newConnection(); - /** - Initialize this connection to use the given socket. - @param sock the socket to use - @short Initialize this connection to use the given socket. - @see #inited - */ - // void init(TDESocket* arg1); >>>> NOT CONVERTED - /** - Initialize the connection to use the given file - descriptors. - @param fd_in the input file descriptor to use - @param fd_out the output file descriptor to use - @short Initialize the connection to use the given file descriptors. - @see #inited - */ - public native void init(int fd_in, int fd_out); - public native void connect(TQObject receiver, String member); - public native void connect(TQObject receiver); - public native void connect(); - public native void close(); - /** - Returns the input file descriptor. - @return the input file descriptor - - @short Returns the input file descriptor. - */ - public native int fd_from(); - /** - Returns the output file descriptor. - @return the output file descriptor - - @short Returns the output file descriptor. - */ - public native int fd_to(); - /** - Checks whether the connection has been initialized. - @return true if the initialized - - @short Checks whether the connection has been initialized. - @see #init - */ - public native boolean inited(); - /** - Sends/queues the given command to be sent. - @param cmd the command to set - @param arr the bytes to send - @short Sends/queues the given command to be sent. - */ - public native void send(int cmd, byte[] arr); - public native void send(int cmd); - /** - Sends the given command immediately. - @param _cmd the command to set - @param data the bytes to send - @return true if successful, false otherwise - - @short Sends the given command immediately. - */ - public native boolean sendnow(int _cmd, byte[] data); - /** - Receive data. - @param _cmd the received command will be written here - @param data the received data will be written here - @return >=0 indicates the received data size upon success - -1 indicates error - - @short Receive data. - */ - public native int read(int[] _cmd, byte[] data); - /** - Don't handle incoming data until resumed. - @short Don't handle incoming data until resumed. - */ - public native void suspend(); - /** - Resume handling of incoming data. - @short Resume handling of incoming data. - */ - public native void resume(); - /** - Returns status of connection. - @return true if suspended, false otherwise - - @short Returns status of connection. - */ - public native boolean suspended(); - protected native void dequeue(); -} diff --git a/kdejava/koala/org/kde/koala/CopyJob.java b/kdejava/koala/org/kde/koala/CopyJob.java deleted file mode 100644 index 5e142da5..00000000 --- a/kdejava/koala/org/kde/koala/CopyJob.java +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - CopyJob is used to move, copy or symlink files and directories. - Don't create the job directly, but use TDEIO.copy(), - TDEIO.move(), TDEIO.link() and friends. - See {@link CopyJobSignals} for signals emitted by CopyJob - @short CopyJob is used to move, copy or symlink files and directories. - @see #copy - @see #copyAs - @see #move - @see #moveAs - @see #link - @see #linkAs - -*/ -public class CopyJob extends Job { - protected CopyJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not create a CopyJob directly. Use TDEIO.copy(), - TDEIO.move(), TDEIO.link() and friends instead. - @param src the list of source URLs - @param dest the destination URL - @param mode specifies whether the job should copy, move or link - @param asMethod if true, behaves like TDEIO.copyAs(), - TDEIO.moveAs() or TDEIO.linkAs() - @param showProgressInfo true to show progress information to the user - @short Do not create a CopyJob directly. - @see #copy - @see #copyAs - @see #move - @see #moveAs - @see #link - @see #linkAs - */ - // TDEIO::CopyJob* CopyJob(const KURL::List& arg1,const KURL& arg2,TDEIO::CopyJob::CopyMode arg3,bool arg4,bool arg5); >>>> NOT CONVERTED - /** - Returns the list of source URLs. - @return the list of source URLs. - - @short Returns the list of source URLs. - */ - public native ArrayList srcURLs(); - /** - Returns the destination URL. - @return the destination URL - - @short Returns the destination URL. - */ - public native KURL destURL(); - /** - By default the permissions of the copied files will be those of the source files. - But when copying "template" files to "new" files, people prefer the umask - to apply, rather than the template's permissions. - For that case, call setDefaultPermissions(true) - TODO KDE4: consider adding this as boolean to copy/copyAs? - @short By default the permissions of the copied files will be those of the source files. - */ - public native void setDefaultPermissions(boolean b); - /** - When an error happens while copying/moving a file, the user will be presented with - a dialog for skipping the file that can't be copied/moved. - Or if the error is that the destination file already exists, the standard - rename dialog is shown. - If the program doesn't want CopyJob to show dialogs, but to simply fail on error, - call setInteractive( false ). - KDE4: remove, already in Job - @short When an error happens while copying/moving a file, the user will be presented with a dialog for skipping the file that can't be copied/moved. - */ - public native void setInteractive(boolean b); -} diff --git a/kdejava/koala/org/kde/koala/CopyJobSignals.java b/kdejava/koala/org/kde/koala/CopyJobSignals.java deleted file mode 100644 index 57fda533..00000000 --- a/kdejava/koala/org/kde/koala/CopyJobSignals.java +++ /dev/null @@ -1,104 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -public interface CopyJobSignals { - /** - Emitted when the total number of files is known. - @param job the job that emitted this signal - @param files the total number of files - @short Emitted when the total number of files is known. - */ - void totalFiles(Job job, long files); - /** - Emitted when the toal number of direcotries is known. - @param job the job that emitted this signal - @param dirs the total number of directories - @short Emitted when the toal number of direcotries is known. - */ - void totalDirs(Job job, long dirs); - // void aboutToCreate(TDEIO::Job* arg1,const TQValueList& arg2); >>>> NOT CONVERTED - /** - Sends the number of processed files. - @param job the job that emitted this signal - @param files the number of processed files - @short Sends the number of processed files. - */ - void processedFiles(Job job, long files); - /** - Sends the number of processed directories. - @param job the job that emitted this signal - @param dirs the number of processed dirs - @short Sends the number of processed directories. - */ - void processedDirs(Job job, long dirs); - /** - The job is copying a file or directory. - @param job the job that emitted this signal - @param from the URl of the file or directory that is currently - being copied - @param to the destination of the current operation - @short The job is copying a file or directory. - */ - void copying(Job job, KURL from, KURL to); - /** - The job is creating a symbolic link. - @param job the job that emitted this signal - @param target the URl of the file or directory that is currently - being linked - @param to the destination of the current operation - @short The job is creating a symbolic link. - */ - void linking(Job job, String target, KURL to); - /** - The job is moving a file or directory. - @param job the job that emitted this signal - @param from the URl of the file or directory that is currently - being moved - @param to the destination of the current operation - @short The job is moving a file or directory. - */ - void moving(Job job, KURL from, KURL to); - /** - The job is creating the directory dir. - @param job the job that emitted this signal - @param dir the directory that is currently being created - @short The job is creating the directory dir. - */ - void creatingDir(Job job, KURL dir); - /** - The user chose to rename from to to. - @param job the job that emitted this signal - @param from the original name - @param to the new name - @short The user chose to rename from to to. - */ - void renamed(Job job, KURL from, KURL to); - /** - The job emits this signal when copying or moving a file or directory successfully finished. - This signal is mainly for the Undo feature. - @param job the job that emitted this signal - @param from the source URL - @param to the destination URL - @param directory indicates whether a file or directory was successfully copied/moved. - true for a directoy, false for file - @param renamed indicates that the destination URL was created using a - rename operation (i.e. fast directory moving). true if is has been renamed - @short The job emits this signal when copying or moving a file or directory successfully finished. - */ - void copyingDone(Job job, KURL from, KURL to, boolean directory, boolean renamed); - /** - The job is copying or moving a symbolic link, that points to target. - The new link is created in to. The existing one is/was in from. - This signal is mainly for the Undo feature. - @param job the job that emitted this signal - @param from the source URL - @param target the target - @param to the destination URL - @short The job is copying or moving a symbolic link, that points to target. - */ - void copyingLinkDone(Job job, KURL from, String target, KURL to); -} diff --git a/kdejava/koala/org/kde/koala/Counter.java b/kdejava/koala/org/kde/koala/Counter.java deleted file mode 100644 index b4a03fa6..00000000 --- a/kdejava/koala/org/kde/koala/Counter.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The Counter interface is used to represent any - counter or counters function value. This interface reflects - the values in the underlying style property. Hence, modifications - made through this interface modify the style property. - @short The Counter interface is used to represent any - See {@link DCOPClientSignals} for signals emitted by DCOPClient - @author Preston Brown , Matthias Ettrich - - @short Inter-process communication and remote procedure calls for KDE applications. - @see TDEApplication#dcopClient - -*/ -public class DCOPClient extends TQObject { - protected DCOPClient(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a new DCOP client, but does not attach to any server. @short Constructs a new DCOP client, but does not attach to any server. - */ - public DCOPClient() { - super((Class) null); - newDCOPClient(); - } - private native void newDCOPClient(); - /** - Attaches to the DCOP server. - If the connection was already attached, - the connection will be re-established with the current server address. - Naturally, only attached application can use DCOP services. - If a TQApplication object exists then client registers itself as - TQApplication.name() + "-" + \. - If no TQApplication object exists the client registers itself as - "anonymous". - If you want to register differently, you should use registerAs() - instead. - @return true if attaching was successful. - - @short Attaches to the DCOP server. - */ - public native boolean attach(); - /** - Internal function for KUniqueApplication to register the DCOPClient - with the application in case the application didn't exist at the - time the DCOPClient was created. - @short - */ - public native void bindToApp(); - /** - Detaches from the DCOP server. - @return true if successful, false otherwise - - @short Detaches from the DCOP server. - */ - public native boolean detach(); - /** - Returns whether or not the client is attached to the server. - @return true if attached, false if not - - @short Returns whether or not the client is attached to the server. - */ - public native boolean isAttached(); - /** - Returns whether the client is attached to a server owned by - another user. - @return true if attached to a foreign server, false if not - - @short Returns whether the client is attached to a server owned by another user. - */ - public native boolean isAttachedToForeignServer(); - /** - Returns whether the client handles incoming calls. - @return true if the client accepts calls - - @short Returns whether the client handles incoming calls. - */ - public native boolean acceptCalls(); - /** - Specify whether the client should accept incoming calls. - By default clients accept incoming calls, but not when connected - to a foreign server. - @param b true to accept calls, false to reject them - @short Specify whether the client should accept incoming calls. - */ - public native void setAcceptCalls(boolean b); - /** - Returns whether the DCOP - Qt bridge is enabled. - By default the DCOP - Qt bridge is enabled. - @return true if Qt objects are accessible over DCOP - - @short Returns whether the DCOP - Qt bridge is enabled. - */ - public native boolean qtBridgeEnabled(); - /** - Specify whether Qt objects of the application should be accessible - via DCOP. - By default the DCOP - Qt bridge is enabled. - @param b true to make Qt objects accessible over DCOP - @short Specify whether Qt objects of the application should be accessible via DCOP. - */ - public native void setQtBridgeEnabled(boolean b); - /** - Registers at the DCOP server. - If the application was already registered, - the registration will be re-done with the new appId. - appId is a unique application/program id that the server - will use to associate requests with. If there is already an application - registered with the same name, the server will add a number to the - id to unify it. If addPID is true, the PID of the current process - will be added to id. - Registration is necessary if you want to allow other clients to talk - to you. They can do so using your appId as first parameter - for send() or call(). If you just want to talk to - other clients, you - do not need to register at the server. In that case attach() is - enough. - It will implicitly register you as "anonymous". - @param appId the id of the application - @param addPID true to add the process id - @return The actual appId used for the registration or a null string - if the registration wasn't successful. - - @short Registers at the DCOP server. - */ - public native String registerAs(String appId, boolean addPID); - public native String registerAs(String appId); - /** - Returns whether or not the client is registered at the server. - @return true if registered at the server - - @short Returns whether or not the client is registered at the server. - */ - public native boolean isRegistered(); - /** - Returns the current app id or a null string if the application - hasn't yet been registered. - @return the application id, or null if not registered - - @short Returns the current app id or a null string if the application hasn't yet been registered. - */ - public native String appId(); - /** - Returns the socket fd that is used for communication with the server. - @return The socket over which DCOP is communicating with the server. - - @short Returns the socket fd that is used for communication with the server. - */ - public native int socket(); - /** - Temporarily suspends processing of DCOP events. - This can be useful if you need to show e.g. a dialog before - your application is ready to accept DCOP requests. Normally the - dialog would start an event loop and in this event loop DCOP - requests will be handled. - Be aware that not responding to DCOP requests may cause other - programs that want to communicate with your application, to hang. - @short Temporarily suspends processing of DCOP events. - @see #resume - @see #isSuspended - */ - public native void suspend(); - /** - Resumes the processing of DCOP events. - @short Resumes the processing of DCOP events. - @see #suspend# - @see #isSuspended - */ - public native void resume(); - /** - Returns whether DCOP events are being processed. - @short Returns whether DCOP events are being processed. - @see #suspend - @see #resume# - */ - public native boolean isSuspended(); - /** - Sends a data block to the server. - @param remApp The remote application id. - @param remObj The name of the remote object. - @param remFun The remote function in the specified object to call. - @param data The data to provide to the remote function. - @return Whether or not the server was able to accept the send. - - @short Sends a data block to the server. - */ - public native boolean send(String remApp, String remObj, String remFun, byte[] data); - /** - This function acts exactly the same as the above, but the data - parameter can be specified as a String for convenience. - @param remApp The remote application id. - @param remObj The name of the remote object. - @param remFun The remote function in the specified object to call. - @param data The data to provide to the remote function. - @return Whether or not the server was able to accept the send. - - @short This function acts exactly the same as the above, but the data parameter can be specified as a String for convenience. - */ - public native boolean send(String remApp, String remObj, String remFun, String data); - /** - Performs a synchronous send and receive. - The parameters are the same as for send, with the exception of - another byte[] being provided for results to be - (optionally) returned in. - A call blocks the application until the process receives the - answer. - If useEventLoop is true, a local event loop will be started after - 1/10th of a second in order to keep the user interface updated - (by processing paint events and such) until an answer is received. - @param remApp the remote application's id - @param remObj the remote object id - @param remFun the remote function id - @param data the data to send - @param replyType the type of the reply will be written here - @param replyData the data of the reply will be written here - @param useEventLoop if true the event loop will be started when - the call blocks too long - @param timeout timeout for the call in miliseconds, or -1 for no timeout - @return true if successful, false otherwise - - @short Performs a synchronous send and receive. - @see #send - */ - public native boolean call(String remApp, String remObj, String remFun, byte[] data, StringBuffer replyType, byte[] replyData, boolean useEventLoop, int timeout); - /** - Performs a asynchronous send with receive callback. - The first four parameters are the same as for send. - callBackObj and callBackSlot specify a call back - slot that is called when an answer is received. - The slot should have the following signature: - callBackSlot(int callId, String replyType, - const byte[] &replyData); - @param remApp the remote application's id - @param remObj the remote object id - @param remFun the remote function id - @param data the data to send - @param callBackObj object to call back - @param callBackSlot slot to call back - @return 0 on failure, on success a callId > 0 is - returned that will be passed as first argument of - the result call back - - @short Performs a asynchronous send with receive callback. - @see #send - @see #callback - */ - public native int callAsync(String remApp, String remObj, String remFun, byte[] data, TQObject callBackObj, String callBackSlot); - /** - Searches for an object which matches a criteria. - findObject calls remFun in the applications and objects identified - by remApp and remObj until remFun returns true. The name of - the application and object that returned true are returned in - foundApp and foundObj respectively. - If remFun is empty a default function is called in the object - which always returns true. - A findObject blocks the application until the process receives the - answer. - If useEventLoop is true, a local event loop will be started after - 1/10th of a second in order to keep the user interface updated - (by processing paint events and such) until an answer is received. - @param remApp The remote application id. - @param remObj The name of the remote object. - @param remFun The remote function in the specified object to call. - This function should return a boolean and is used as - criteria. - @param data The data to provide to the remote function. - @param foundApp The remote application id that matched the criteria. - @param foundObj The remote object that matched the criteria. - @param useEventLoop if true the event loop will be started when - the call blocks too long - @param timeout timeout for the call in miliseconds, or -1 for no timeout - @return true is returned when an object was found for which remFun - returned true. If no such object is the function returns false. - - @short Searches for an object which matches a criteria. - @see #send - */ - public native boolean findObject(String remApp, String remObj, String remFun, byte[] data, StringBuffer foundApp, StringBuffer foundObj, boolean useEventLoop, int timeout); - /** - Emits signal as DCOP signal from object object with data as - arguments. - @short Emits signal as DCOP signal from object object with data as arguments. - */ - public native void emitDCOPSignal(String object, String signal, byte[] data); - public native void emitDCOPSignal(String signal, byte[] data); - /** - Connects to a DCOP signal. - @param sender the name of the client that emits the signal. When empty - the signal will be passed from any client. - @param senderObj the name of the sending object that emits the signal. - @param signal the name of the signal. The arguments should match with slot. - @param receiverObj The name of the object to call - @param slot The name of the slot to call. Its arguments should match with signal. - @param Volatile If true, the connection will not be reestablished when - sender unregisters and reregisters with DCOP. In this case the sender - must be registered when the connection is made. - If false, the connection will be reestablished when sender reregisters. - In this case the connection can be made even if sender is not registered - at that time. - -
    • - Volatile is true and sender does not exist. -
    • - -
    • - signal and slot do not have matching arguments. - -
    • @return false if a connection could not be established. - This will be the case when - - @short Connects to a DCOP signal. - */ - public native boolean connectDCOPSignal(String sender, String senderObj, String signal, String receiverObj, String slot, boolean Volatile); - /** - Disconnects a DCOP signal. - A special case is when both sender & signal are empty. In this - case all connections related to receiverObj in the current client - are disconnected. (Both connections from as well as to this object!) - @param sender the name of the client that emits the signal. - @param senderObj the name of the object that emits the signal. - If empty all objects will be disconnected. - @param signal the name of the signal. The arguments should match with slot. - @param receiverObj The name of the object the signal is connected to. - If empty all objects will be disconnected. - @param slot The name of the slot the signal is connected to. - If empty all slots will be disconnected. - @return false if no connection(s) where removed. - - @short Disconnects a DCOP signal. - */ - public native boolean disconnectDCOPSignal(String sender, String senderObj, String signal, String receiverObj, String slot); - /** - Reimplement this function to handle app-wide function calls unassociated w/an object. - Note that fun is normalized. See normalizeFunctionSignature(). - If you do not want to reimplement this function for whatever reason, - you can also use a default object or a DCOPObjectProxy. - @param fun the normalized function signature - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise - - @short Reimplement this function to handle app-wide function calls unassociated w/an object. - @see #setDefaultObject - */ - public native boolean process(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - Delays the reply of the current function call - until endTransaction() is called. - This allows a server to queue requests. - Note: Should be called from inside process() only! - @short Delays the reply of the current function call until endTransaction() is called. - @see #endTransaction - */ - // DCOPClientTransaction* beginTransaction(); >>>> NOT CONVERTED - /** - Sends the delayed reply of a function call. - @param t the transaction as received from beginTransaction() - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @short Sends the delayed reply of a function call. - @see #beginTransaction - */ - // void endTransaction(DCOPClientTransaction* arg1,TQCString& arg2,TQByteArray& arg3); >>>> NOT CONVERTED - /** - Test whether the current function call is delayed. - Note: Should be called from inside process() only! - @return The ID of the current transaction or - 0 if no transaction is going on. - - @short Test whether the current function call is delayed. - @see #process - @see #beginTransaction - */ - public native int transactionId(); - /** - Checks whether remApp is registered with the DCOP server. - @param remApp the id of the remote application - @return true if the remote application is registered, otherwise false. - - @short Checks whether remApp is registered with the DCOP server. - */ - public native boolean isApplicationRegistered(String remApp); - /** - Retrieves the list of all currently registered applications - from dcopserver. - @return a list of all regietered applications - - @short Retrieves the list of all currently registered applications from dcopserver. - */ - public native ArrayList registeredApplications(); - /** - Retrieves the list of objects of the remote application remApp. - @param remApp he id of the application - @param ok if not null, the function sets ok to true if successful - and false if an error occurred - @return the list of object ids - - @short Retrieves the list of objects of the remote application remApp. - */ - public native ArrayList remoteObjects(String remApp, boolean[] ok); - public native ArrayList remoteObjects(String remApp); - /** - Retrieves the list of interfaces of the remote object remObj - of application remApp. - @param remApp the id of the application - @param remObj the id of the object - @param ok if not null, the function sets ok to true if successful - and false if an error occurred - @return the list of interfaces - - @short Retrieves the list of interfaces of the remote object remObj of application remApp. - */ - public native ArrayList remoteInterfaces(String remApp, String remObj, boolean[] ok); - public native ArrayList remoteInterfaces(String remApp, String remObj); - /** - Retrieves the list of functions of the remote object remObj - of application remApp - @param remApp the id of the application - @param remObj the id of the object - @param ok if not null, the function sets ok to true if successful - and false if an error occurred - @return the list of function ids - - @short Retrieves the list of functions of the remote object remObj of application remApp - */ - public native ArrayList remoteFunctions(String remApp, String remObj, boolean[] ok); - public native ArrayList remoteFunctions(String remApp, String remObj); - /** - Receives a DCOPSend or DCOPCall message from the server. - @param app The application the message was intended for. Should be - equal to our appId that we passed when the DCOPClient was - created. - @param obj The name of the object to pass the data on to. - @param fun The name of the function in the object to call. - @param data The arguments for the function. - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise - - @short - */ - public native boolean receive(String app, String arg2, String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - Receives a DCOPFind message from the server. - @param app The application the message was intended for. Should be - equal to our appId that we passed when the DCOPClient was - created. - @param obj The name of the object to pass the data on to. - @param fun The name of the function in the object to call. - @param data The arguments for the function. - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @short - */ - public native boolean find(String app, String arg2, String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - Returns the appId of the last application that talked to us. - @return the application id of the last application that send a message - to this client - - @short Returns the appId of the last application that talked to us. - */ - public native String senderId(); - /** - Installs object objId as application-wide default object. - All app-wide messages that have not been processed by the dcopclient - will be send further to objId. - @param objId the id of the new default object - @short Installs object objId as application-wide default object. - */ - public native void setDefaultObject(String objId); - /** - Returns the current default object or an empty string if no object is - installed as default object. - A default object receives application-wide messages that have not - been processed by the DCOPClient itself. - @return the id of the new default object - - @short Returns the current default object or an empty string if no object is installed as default object. - */ - public native String defaultObject(); - /** - Enables / disables the applicationRegistered() / - applicationRemoved() signals. - Note that a counter is maintained about how often this method - was called. If this method is called twice with enabled set to - true, notifications will be enabled until it was called with - enabled set to false as often. - They are disabled by default. - @param enabled true to enable notifications, false to disable - @short Enables / disables the applicationRegistered() / applicationRemoved() signals. - */ - public native void setNotifications(boolean enabled); - /** - Tells the dcopserver to treat the client as daemon client, not - as regular client. - If the number of regular clients drops down to zero, the - dcopserver will emit a KDE termination signal after 10 - seconds. - @param daemonMode true to enable daemon mode, false to disable - @short Tells the dcopserver to treat the client as daemon client, not as regular client. - */ - public native void setDaemonMode(boolean daemonMode); - /** - Switch to priority call mode. - @short - */ - public native void setPriorityCall(boolean arg1); - /** - @short - */ - // void handleAsyncReply(DCOPClient::ReplyStruct* arg1); >>>> NOT CONVERTED - /** - Sets the address of a server to use upon attaching. - If no server address is ever specified, attach will try its best to - find the server anyway. - @param addr the new address of the server - @short Sets the address of a server to use upon attaching. - */ - public static native void setServerAddress(String addr); - /** - Normalizes the function signature fun. - A normalized signature doesn't contain any unnecessary whitespace - anymore. The remaining whitespace consists of single blanks only (0x20). - Example for a normalized signature: -
      -		   "someFunction(String,int)"
      -		 
      - When using send() or call(), normalization is done - automatically for you. - @param fun the function signature to normalize - @return the normalized function - - @short Normalizes the function signature fun. - */ - public static native String normalizeFunctionSignature(String fun); - /** - Returns the application's main dcop client. The main client can - be used by objects that do not have any specific access to a dcop - client. In KDE applications, the main client usually is the same - as TDEApplication.dcopClient(). - @return the application's main dcop client - - @short Returns the application's main dcop client. - */ - public static native DCOPClient mainClient(); - /** - Sets the application's main dcop client. The main client can - be used by objects that do not have any specific access to a dcop - client. In KDE applications, the main client usually is the same - as TDEApplication.dcopClient(). - @param mainClient the new main dcop client - @short Sets the application's main dcop client. - */ - public static native void setMainClient(DCOPClient mainClient); - /** - Look for the given client only in this process. This can be used - to check whether a given client (by name) is running in the same - process or in another one. - @short Look for the given client only in this process. - */ - public static native DCOPClient findLocalClient(String _appId); - /** - @short - */ - public static native void emergencyClose(); - /** - Provides information about the last DCOP call for debugging purposes. - @short - */ - public static native String postMortemSender(); - /** @internal @short @internal - */ - public static native String postMortemObject(); - /** @internal @short @internal - */ - public static native String postMortemFunction(); - /** - File with information how to reach the dcopserver. - @param hostname Hostname to use, if empty current hostname of - the system is used. - @return Filename that contains information how to contact the - DCOPserver. - - @short File with information how to reach the dcopserver. - */ - public static native String dcopServerFile(String hostname); - public static native String dcopServerFile(); - /** - Return the path of iceauth or an empty string if not found. - @short Return the path of iceauth or an empty string if not found. - */ - public static native String iceauthPath(); - /** - Process data from the socket. - @param socknum the fd of the socket - @short Process data from the socket. - */ - protected native void processSocketData(int socknum); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/DCOPClientSignals.java b/kdejava/koala/org/kde/koala/DCOPClientSignals.java deleted file mode 100644 index f3ea2366..00000000 --- a/kdejava/koala/org/kde/koala/DCOPClientSignals.java +++ /dev/null @@ -1,62 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import java.util.ArrayList; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface DCOPClientSignals { - /** - Indicates that the application appId has been registered with - the server we are attached to. - You need to call setNotifications() first, to tell the DCOP server - that you want to get these events. - @param appId the id of the new application - @short Indicates that the application appId has been registered with the server we are attached to. - */ - void applicationRegistered(String appId); - /** - Indicates that the formerly registered application appId has - been removed. - You need to call setNotifications() first, to tell the - DCOP server that you want to get these events. - @param appId the id of the removed application - @short Indicates that the formerly registered application appId has been removed. - */ - void applicationRemoved(String appId); - /** - Indicates that the process of establishing DCOP communications failed - in some manner. - Usually attached to a dialog box or some other visual - aid. - @param msg the message tha contains further information - @short Indicates that the process of establishing DCOP communications failed in some manner. - */ - void attachFailed(String msg); - /** - Indicates that user input shall be blocked or released, - depending on the argument. - The signal is emitted whenever the client has to wait too long - (i.e. more than 1/10 of a second) for an answer to a - synchronous call. In that case, it will enter a local event - loop to keep the GUI updated until finally an answer arrives. - In KDE, the TDEApplication object connects to this signal to be - able to block any user input (i.e. mouse and key events) while - we are waiting for an answer. If we did not do this, the - application might end up in an illegal state, as a keyboard - shortcut or a mouse action might cause another dcop call to be - issued. - @param block true to block user input, false otherwise - @short Indicates that user input shall be blocked or released, depending on the argument. - */ - void blockUserInput(boolean block); - /** - Signal used for callbacks of async calls. - This signal is automatically connected to the call back - slot specified in the async call. - @short - @see #callAsync - */ - void callBack(int arg1, String arg2, byte[] arg3); -} diff --git a/kdejava/koala/org/kde/koala/DCOPObject.java b/kdejava/koala/org/kde/koala/DCOPObject.java deleted file mode 100644 index 7e7fda3f..00000000 --- a/kdejava/koala/org/kde/koala/DCOPObject.java +++ /dev/null @@ -1,289 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import java.util.ArrayList; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - Provides an interface for receiving DCOP messages. - This class provides an interface for receiving DCOP messages. To use it, - simply multiply-inherit from DCOPObject and from some other class, and - then implement the DCOPObject.process() method. Because this method is - pure virtual, you must implement the method. - Note that it is usually more convenient to mark a section in the class with - "k_dcop:", add your DCOP methods there and let the IDL compiler do the rest. - Read the tutorials for more information. - @author Preston Brown , Matthias Ettrich - - @short Provides an interface for receiving DCOP messages. - @see DCOPClient - @see DCOPObjectProxy - -*/ -public class DCOPObject implements QtSupport, DCOPObjectInterface { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DCOPObject(Class dummy){} - - /** - Creates a DCOPObject and calculates the object id - using its physical memory address. - @short Creates a DCOPObject and calculates the object id using its physical memory address. - */ - public DCOPObject() { - newDCOPObject(); - } - private native void newDCOPObject(); - /** - Creates a DCOPObject and calculates the object id - using TQObject.name(). - @param obj the object to extract the name from - @short Creates a DCOPObject and calculates the object id using TQObject.name(). - */ - public DCOPObject(TQObject arg1) { - newDCOPObject(arg1); - } - private native void newDCOPObject(TQObject arg1); - /** - Creates a DCOPObject with object Id objId. - @param objId the object id of the DCOP object - @short Creates a DCOPObject with object Id objId. - */ - public DCOPObject(String objId) { - newDCOPObject(objId); - } - private native void newDCOPObject(String objId); - /** - Returns the object id of the DCOPObject. - @return the object's id - - @short Returns the object id of the DCOPObject. - */ - public native String objId(); - /** - Renames a dcop object, if no other with the same name exists - Use with care, all dcop signals are disconnected - @param objId the new object id - @short Renames a dcop object, if no other with the same name exists Use with care, all dcop signals are disconnected - */ - public native boolean setObjId(String objId); - /** - Dispatches a message. - Usually you want to use an IDL - compiler to automatically generate an implementation for - this function. - If this function returns false, then processDynamic() - is called. - Note to implementators: remember to call the baseclasses - implementation. It handles the functions "functions()" and - "interfaces()" which return the lists of supported functions - and interfaces, respectively. - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns false for all fun except "functions()" and - "interfaces()". - - @short Dispatches a message. - @see DCOPClient#normalizeFunctionSignature - @see #functions - @see DCOPClient#process - */ - public native boolean process(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for process() but - you still want to dispatch some functions dynamically. - Dynamically means that methods may appear and vanish - during runtime. - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns always false. - - @short This function is of interest when you used an IDL compiler to generate the implementation for process() but you still want to dispatch some functions dynamically. - @see #process - @see DCOPClient#normalizeFunctionSignature - @see #functions - @see DCOPClient#process - */ - public native boolean processDynamic(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for functions() but - you still want to list some functions dynamically. - Dynamically means that the methods may appear and vanish - during runtime. - @return A list of the additional functions, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for functions() but you still want to list some functions dynamically. - @see #functions - */ - public native ArrayList functionsDynamic(); - /** - This function is of interest when you used an IDL compiler - to generate the implementation for interfaces() but - you still want to list some interfaces dynamically. - Dynamically means that they may appear and vanish - during runtime. - @return A list of the additional interfaces, default is an empty list. - - @short This function is of interest when you used an IDL compiler to generate the implementation for interfaces() but you still want to list some interfaces dynamically. - @see #interfaces - */ - public native ArrayList interfacesDynamic(); - /** - Returns the names of the interfaces, specific ones last. The - functions gets reimplemented by the IDL compiler. If you don't - use the IDL compiler, consider implementing this function - manually if you want your object to be easily explorable. - @return a list of interfaces - - @short Returns the names of the interfaces, specific ones last. - @see #functions - */ - public native ArrayList interfaces(); - /** - Returns the list of functions understood by the object. It gets - reimplemented by the IDL compiler. If you don't use the IDL - compiler, consider implementing this function manually if you - want your object to be easily scriptable. - Rationale: functions() allows an interpreter to do client-side - type-casting properly. - Note to implementators: remember to call the baseclasses - implementation. - @return a list of functions - - @short Returns the list of functions understood by the object. - @see #interfaces - @see #process - @see #processDynamic - @see DCOPClient#normalizeFunctionSignature - */ - public native ArrayList functions(); - /** - Emit signal as DCOP signal from this object with data as - arguments - @param signal the signal to emit - @param data the data to send - @short Emit signal as DCOP signal from this object with data as arguments - */ - public native void emitDCOPSignal(String signal, byte[] data); - /** - Connects to a DCOP signal. - @param sender the name of the client that emits the signal. When empty - the signal will be passed from any client. - @param senderObj the name of the sending object that emits the signal. - @param signal the name of the signal. The arguments should match with slot. - @param slot The name of the slot to call. Its arguments should match with signal. - @param Volatile If true, the connection will not be reestablished when - sender unregisters and reregisters with DCOP. In this case the sender - must be registered when the connection is made. - If false, the connection will be reestablished when sender reregisters. - In this case the connection can be made even if sender is not registered - at that time. - -
    • - Volatile is true and sender does not exist. -
    • - -
    • - signal and slot do not have matching arguments. - -
    • @return false if a connection could not be established. - This will be the case when - - @short Connects to a DCOP signal. - */ - public native boolean connectDCOPSignal(String sender, String senderObj, String signal, String slot, boolean Volatile); - /** - Disconnects a DCOP signal. - A special case is when both sender & signal are empty. In this - case all connections related to this object in the current client - are disconnected. (Both connections from as well as to this object!) - @param sender the name of the client that emits the signal. - @param senderObj the name of the object that emits the signal. - If empty all objects will be disconnected. - @param signal the name of the signal. The arguments should match with slot. - If empty all objects will be disconnected. - @param slot The name of the slot the signal is connected to. - If empty all slots will be disconnected. - @return false if no connection(s) where removed. - - @short Disconnects a DCOP signal. - */ - public native boolean disconnectDCOPSignal(String sender, String senderObj, String signal, String slot); - /** - Returns the DCOPClient responsible for making the call. - Only call this function while you are handling a DCOP call. - @return the DCOPClient responsible for making the call. - This information is only guaranteed to be correct when - entering your DCOP function. - - @short Returns the DCOPClient responsible for making the call. - */ - public native DCOPClient callingDcopClient(); - /** - @short - */ - public native void setCallingDcopClient(DCOPClient arg1); - /** - Checks whether an object with the given id is known in this process. - DCOPObjectProxy - @return true if an object with the questionable objId is - known in this process. This query does not ask proxies. - - @short Checks whether an object with the given id is known in this process. - */ - public static native boolean hasObject(String objId); - /** - Try to find a dcop object with the given id. - This function does not query the DCOPObjectProxy. - @param objId the object id to search - @return the DCOPObject for the id objId. - - @short Try to find a dcop object with the given id. - */ - public static native DCOPObjectInterface find(String objId); - /** - Tries to find an object using a partial object id. - This function is used for multicasting a DCOP message to - several objects inside a single process. - @param partialId the partial object id to search for - @return a list of DCOPObjects beginning with the string - contained in partialId. - - @short Tries to find an object using a partial object id. - */ - // TQPtrList match(const TQCString& arg1); >>>> NOT CONVERTED - /** - Creates an object id for the TQObject obj. This is done - using the TQObject.name() function. - @param obj the object whose name will be used - @return the created object id - - @short Creates an object id for the TQObject obj. - */ - public static native String objectName(TQObject arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/DCOPObjectInterface.java b/kdejava/koala/org/kde/koala/DCOPObjectInterface.java deleted file mode 100644 index 5cf3afc6..00000000 --- a/kdejava/koala/org/kde/koala/DCOPObjectInterface.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import java.util.ArrayList; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface DCOPObjectInterface { - String objId(); - boolean setObjId(String objId); - boolean process(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - boolean processDynamic(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - ArrayList functionsDynamic(); - ArrayList interfacesDynamic(); - ArrayList interfaces(); - ArrayList functions(); - void emitDCOPSignal(String signal, byte[] data); - boolean connectDCOPSignal(String sender, String senderObj, String signal, String slot, boolean Volatile); - boolean disconnectDCOPSignal(String sender, String senderObj, String signal, String slot); - DCOPClient callingDcopClient(); - void setCallingDcopClient(DCOPClient arg1); -} diff --git a/kdejava/koala/org/kde/koala/DCOPObjectProxy.java b/kdejava/koala/org/kde/koala/DCOPObjectProxy.java deleted file mode 100644 index 81216127..00000000 --- a/kdejava/koala/org/kde/koala/DCOPObjectProxy.java +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - You must use a proxy if you want to dispatch method calls for - object IDs which don't have (yet) a corresponding DCOPObject. - This is somewhat like object references in CORBA. - @author Matthias Ettrich - - @short You must use a proxy if you want to dispatch method calls for object IDs which don't have (yet) a corresponding DCOPObject. - @see DCOPObject - @see DCOPClient - -*/ -public class DCOPObjectProxy implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DCOPObjectProxy(Class dummy){} - - /** - Creates a new proxy. - @short Creates a new proxy. - */ - public DCOPObjectProxy() { - newDCOPObjectProxy(); - } - private native void newDCOPObjectProxy(); - /** - Reimplement this method to dispatch method calls. - This method is called of all proxies if the DCOPClient - knows no object with the id obj. If the first proxy returns - true, the DCOPClient will no longer call other proxies. - The object id obj may be empty for app-wide function calls no - associated with any object. - @param obj the id of the object - @param fun is the normalized function signature. - Such a signature usually looks like - foobar(String,int). The return type, - qualifiers like "const" etc. are not part of - the signature. - @param data the received data - @param replyType write the reply type in this string - @param replyData write the reply data in this array - @return true if successful, false otherwise. The default implementation - returns always false. - - @short Reimplement this method to dispatch method calls. - */ - public native boolean process(String arg1, String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/DOMException.java b/kdejava/koala/org/kde/koala/DOMException.java deleted file mode 100644 index d51309cc..00000000 --- a/kdejava/koala/org/kde/koala/DOMException.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - DOM operations only raise exceptions in "exceptional" - circumstances, i.e., when an operation is impossible to perform - (either for logical reasons, because data is lost, or because the - implementation has become unstable). In general, DOM methods return - specific error values in ordinary processing situation, such as - out-of-bound errors when using ArrayList . - Implementations may raise other exceptions under other - circumstances. For example, implementations may raise an - implementation-dependent exception if a null - argument is passed. - Some languages and object systems do not support the concept of - exceptions. For such systems, error conditions may be indicated - using native error reporting mechanisms. For some bindings, for - example, methods may return error codes similar to those listed in - the corresponding method descriptions. - @short DOM operations only raise exceptions in "exceptional" circumstances, i. - -*/ -public class DOMException implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DOMException(Class dummy){} - - public DOMException(short _code) { - newDOMException(_code); - } - private native void newDOMException(short _code); - public DOMException(DOMException other) { - newDOMException(other); - } - private native void newDOMException(DOMException other); -} diff --git a/kdejava/koala/org/kde/koala/DOMImplementation.java b/kdejava/koala/org/kde/koala/DOMImplementation.java deleted file mode 100644 index 16e80b21..00000000 --- a/kdejava/koala/org/kde/koala/DOMImplementation.java +++ /dev/null @@ -1,134 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The DOMImplementation interface provides a number of - methods for performing operations that are independent of any - particular instance of the document object model. - DOM Level 2 and newer provide means for creating documents directly, - which was not possible with DOM Level 1. - @short The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model. - -*/ -public class DOMImplementation implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DOMImplementation(Class dummy){} - - public DOMImplementation() { - newDOMImplementation(); - } - private native void newDOMImplementation(); - public DOMImplementation(DOMImplementation other) { - newDOMImplementation(other); - } - private native void newDOMImplementation(DOMImplementation other); - /** - Test if the DOM implementation implements a specific feature. - @param feature The package name of the feature to test. In - Level 1, the legal values are "HTML" and "XML" - (case-insensitive). - @param version This is the version number of the package name - to test. In Level 1, this is the string "1.0". If the version - is not specified, supporting any version of the feature will - cause the method to return true . - @return true if the feature is implemented in - the specified version, false otherwise. - - @short Test if the DOM implementation implements a specific feature. - */ - public native boolean hasFeature(String feature, String version); - /** - Introduced in DOM Level 2 - Creates an empty DocumentType node. Entity declarations and notations - are not made available. Entity reference expansions and default - attribute additions do not occur. It is expected that a future version - of the DOM will provide a way for populating a DocumentType. - HTML-only DOM implementations do not need to implement this method. - @param qualifiedName The qualified name of the document type to be - created. - @param publicId The external subset public identifier. - @param systemId The external subset system identifier. - NAMESPACE_ERR: Raised if the qualifiedName is malformed. - @return A new DocumentType node with Node.ownerDocument set to null. - - @short Introduced in DOM Level 2 - */ - public native DocumentType createDocumentType(String qualifiedName, String publicId, String systemId); - /** - Introduced in DOM Level 2 - Creates an XML Document object of the specified type with its document - element. HTML-only DOM implementations do not need to implement this - method. - @param namespaceURI The namespace URI of the document element to create. - @param qualifiedName The qualified name of the document element to be - created. - @param doctype The type of document to be created or null. When doctype - is not null, its Node.ownerDocument attribute is set to the document - being created. - NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the - qualifiedName has a prefix and the namespaceURI is null, or if the - qualifiedName has a prefix that is "xml" and the namespaceURI is - different from "http://www.w3.org/XML/1998/namespace" [Namespaces]. - WRONG_DOCUMENT_ERR: Raised if doctype has already been used with a - different document or was created from a different implementation. - @return A new Document object. - - @short Introduced in DOM Level 2 - */ - public native Document createDocument(String namespaceURI, String qualifiedName, DocumentType doctype); - /** - Introduced in DOM Level 3 - This method makes available a DOMImplementation's specialized - interface. - @param feature The name of the feature requested (case-insensitive) - @return Returns an alternate DOMImplementation which implements - the specialized APIs of the specified feature, if any, or null - if there is no alternate DOMImplementation object which implements - interfaces associated with that feature. Any alternate DOMImplementation - returned by this method must delegate to the primary core DOMImplementation - and not return results inconsistent with the primary DOMImplementation. - - @short Introduced in DOM Level 3 This method makes available a DOMImplementation's specialized interface. - */ - public native DOMImplementation getInterface(String feature); - /** - Introduced in DOM Level 2 - This method is from the DOMImplementationCSS interface - Creates a new CSSStyleSheet. - @param title The advisory title. See also the Style Sheet Interfaces - section. - @param media The comma-separated list of media associated with the - new style sheet. See also the Style Sheet Interfaces section. - @return A new CSS style sheet. - - @short Introduced in DOM Level 2 This method is from the DOMImplementationCSS interface - */ - public native CSSStyleSheet createCSSStyleSheet(String title, String media); - /** - Introduced in DOM Level 2 - This method is from the HTMLDOMImplementation interface - Creates an HTMLDocument with the minimal tree made of these - elements: HTML,HEAD,TITLE and BODY. - It extends the core interface which can be used to create an - XHTML document by passing the XHTML namespace as the namespace - for the root element. - @param title The title of the document to be set as the content - of the TITLE element, through a child Text node. - @return the HTMLdocument - - @short Introduced in DOM Level 2 This method is from the HTMLDOMImplementation interface - */ - public native HTMLDocument createHTMLDocument(String title); - /** - not part of the DOM - @short - */ - // DOM::DOMImplementationImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - // DOM::DOMImplementation* DOMImplementation(DOM::DOMImplementationImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/DavJob.java b/kdejava/koala/org/kde/koala/DavJob.java deleted file mode 100644 index c1227fa1..00000000 --- a/kdejava/koala/org/kde/koala/DavJob.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDomDocument; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - The transfer job pumps data into and/or out of a Slave. - Data is sent to the slave on request of the slave ( dataReq). - If data coming from the slave can not be handled, the - reading of data from the slave should be suspended. - @short The transfer job pumps data into and/or out of a Slave. - @see #davPropFind - @see #davPropPatch - @see #davSearch - -*/ -public class DavJob extends TransferJob { - protected DavJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Use TDEIO.davPropFind(), TDEIO.davPropPatch() and - TDEIO.davSearch() to create a new DavJob. - @short Use TDEIO.davPropFind(), TDEIO.davPropPatch() and TDEIO.davSearch() to create a new DavJob. - */ - public DavJob(KURL url, int method, String request, boolean showProgressInfo) { - super((Class) null); - newDavJob(url,method,request,showProgressInfo); - } - private native void newDavJob(KURL url, int method, String request, boolean showProgressInfo); - /** - Returns the response as a TQDomDocument. - @return the response document - - @short Returns the response as a TQDomDocument. - */ - public native TQDomDocument response(); - protected native void slotFinished(); - protected native void slotData(byte[] data); -} diff --git a/kdejava/koala/org/kde/koala/DefaultProgress.java b/kdejava/koala/org/kde/koala/DefaultProgress.java deleted file mode 100644 index 69e48afc..00000000 --- a/kdejava/koala/org/kde/koala/DefaultProgress.java +++ /dev/null @@ -1,109 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - -*/ -public class DefaultProgress extends ProgressBase { - protected DefaultProgress(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a new default progress dialog. - @param showNow true to show immediately, false to show when - needed - @short Creates a new default progress dialog. - */ - public DefaultProgress(boolean showNow) { - super((Class) null); - newDefaultProgress(showNow); - } - private native void newDefaultProgress(boolean showNow); - public DefaultProgress() { - super((Class) null); - newDefaultProgress(); - } - private native void newDefaultProgress(); - /** - Creates a new default progress dialog. - @param parent the parent of the dialog (or 0 for top-level) - @param the name of the dialog, can be 0 - @short Creates a new default progress dialog. - */ - public DefaultProgress(TQWidget parent, String name) { - super((Class) null); - newDefaultProgress(parent,name); - } - private native void newDefaultProgress(TQWidget parent, String name); - public DefaultProgress(TQWidget parent) { - super((Class) null); - newDefaultProgress(parent); - } - private native void newDefaultProgress(TQWidget parent); - public native boolean keepOpen(); - public native void slotTotalSize(Job arg1, long size); - public native void slotTotalFiles(Job arg1, long files); - public native void slotTotalDirs(Job arg1, long dirs); - public native void slotProcessedSize(Job arg1, long bytes); - public native void slotProcessedFiles(Job arg1, long files); - public native void slotProcessedDirs(Job arg1, long dirs); - public native void slotSpeed(Job arg1, long speed); - public native void slotPercent(Job arg1, long percent); - /** - Called to set an information message. - @param job the TDEIO.Job - @param msg the message to set - @short Called to set an information message. - */ - public native void slotInfoMessage(Job job, String msg); - public native void slotCopying(Job arg1, KURL src, KURL dest); - public native void slotMoving(Job arg1, KURL src, KURL dest); - public native void slotDeleting(Job arg1, KURL url); - /** - Called when the job is transferring. - @param job the TDEIO.Job - @param url the url to transfer - @short Called when the job is transferring. - */ - public native void slotTransferring(Job arg1, KURL url); - public native void slotCreatingDir(Job arg1, KURL dir); - /** - Called when the job is requesting a stat. - @param job the TDEIO.Job - @param dir the dir to stat - @short Called when the job is requesting a stat. - */ - public native void slotStating(Job arg1, KURL dir); - /** - Called when the job is mounting. - @param job the TDEIO.Job - @param dev the device to mount - @param point the mount point - @short Called when the job is mounting. - */ - public native void slotMounting(Job arg1, String dev, String point); - /** - Called when the job is unmounting. - @param job the TDEIO.Job - @param point the mount point - @short Called when the job is unmounting. - */ - public native void slotUnmounting(Job arg1, String point); - public native void slotCanResume(Job arg1, long arg2); - /** - Called when the job is cleaned. - @short Called when the job is cleaned. - */ - public native void slotClean(); - public static native String makePercentString(long percent, long totalSize, long totalFiles); - protected native void init(); - protected native void showTotals(); - protected native void setDestVisible(boolean visible); - protected native void checkDestination(KURL dest); -} diff --git a/kdejava/koala/org/kde/koala/DeleteJob.java b/kdejava/koala/org/kde/koala/DeleteJob.java deleted file mode 100644 index 5ccea98a..00000000 --- a/kdejava/koala/org/kde/koala/DeleteJob.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - A more complex Job to delete files and directories. - Don't create the job directly, but use TDEIO.del() instead. - See {@link DeleteJobSignals} for signals emitted by DeleteJob - @short A more complex Job to delete files and directories. - @see #del - -*/ -public class DeleteJob extends Job { - protected DeleteJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not create a DeleteJob directly. Use TDEIO.del() - instead. - @param src the list of URLs to delete - @param shred true to shred (make sure that data is not recoverable)a - @param showProgressInfo true to show progress information to the user - @short Do not create a DeleteJob directly. - @see #del - */ - public DeleteJob(ArrayList src, boolean shred, boolean showProgressInfo) { - super((Class) null); - newDeleteJob(src,shred,showProgressInfo); - } - private native void newDeleteJob(ArrayList src, boolean shred, boolean showProgressInfo); - /** - Returns the list of URLs. - @return the list of URLs. - - @short Returns the list of URLs. - */ - public native ArrayList urls(); - protected native void slotStart(); - // void slotEntries(TDEIO::Job* arg1,const TDEIO::UDSEntryList& arg2); >>>> NOT CONVERTED - protected native void slotResult(Job job); - /** - Forward signal from subjob - @short Forward signal from subjob - */ - protected native void slotProcessedSize(Job arg1, long data_size); - protected native void slotReport(); -} diff --git a/kdejava/koala/org/kde/koala/DeleteJobSignals.java b/kdejava/koala/org/kde/koala/DeleteJobSignals.java deleted file mode 100644 index 81a0a24b..00000000 --- a/kdejava/koala/org/kde/koala/DeleteJobSignals.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -public interface DeleteJobSignals { - /** - Emitted when the total number of files is known. - @param job the job that emitted this signal - @param files the total number of files - @short Emitted when the total number of files is known. - */ - void totalFiles(Job job, long files); - /** - Emitted when the toal number of direcotries is known. - @param job the job that emitted this signal - @param dirs the total number of directories - @short Emitted when the toal number of direcotries is known. - */ - void totalDirs(Job job, long dirs); - /** - Sends the number of processed files. - @param job the job that emitted this signal - @param files the number of processed files - @short Sends the number of processed files. - */ - void processedFiles(Job job, long files); - /** - Sends the number of processed directories. - @param job the job that emitted this signal - @param dirs the number of processed dirs - @short Sends the number of processed directories. - */ - void processedDirs(Job job, long dirs); - /** - Sends the URL of the file that is currently being deleted. - @param job the job that emitted this signal - @param file the URL of the file or directory that is being - deleted - @short Sends the URL of the file that is currently being deleted. - */ - void deleting(Job job, KURL file); -} diff --git a/kdejava/koala/org/kde/koala/DockMainWindow.java b/kdejava/koala/org/kde/koala/DockMainWindow.java deleted file mode 100644 index f0fd54c0..00000000 --- a/kdejava/koala/org/kde/koala/DockMainWindow.java +++ /dev/null @@ -1,113 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; - -/** - - A KPart-aware main window with ability for docking widgets, whose user interface is described in XML. - Inherit your main dock-window from this class - and don't forget to call setXMLFile() in the inherited constructor. - It implements all internal interfaces in the case of a KDockMainWindow as host: - the builder and servant interface (for menu merging). - @short A KPart-aware main window with ability for docking widgets, whose user interface is described in XML. - -*/ -public class DockMainWindow extends KDockMainWindow implements PartBaseInterface { - protected DockMainWindow(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor, same signature as KDockMainWindow. - @short Constructor, same signature as KDockMainWindow. - */ - public DockMainWindow(TQWidget parent, String name, int f) { - super((Class) null); - newDockMainWindow(parent,name,f); - } - private native void newDockMainWindow(TQWidget parent, String name, int f); - public DockMainWindow(TQWidget parent, String name) { - super((Class) null); - newDockMainWindow(parent,name); - } - private native void newDockMainWindow(TQWidget parent, String name); - public DockMainWindow(TQWidget parent) { - super((Class) null); - newDockMainWindow(parent); - } - private native void newDockMainWindow(TQWidget parent); - public DockMainWindow() { - super((Class) null); - newDockMainWindow(); - } - private native void newDockMainWindow(); - protected native void createShellGUI(boolean create); - protected native void createShellGUI(); - /** - Create the GUI (by merging the host's and the active part's) - Called on startup and whenever the active part changes. - For this you need to connect this slot to the - PartManager.activePartChanged() signal - @param part The active part (set to null if no part). - @short Create the GUI (by merging the host's and the active part's) - */ - protected native void createGUI(Part part); - /** - Called when the active part wants to change the statusbar message. - Reimplement if your dock-mainwindow has a complex statusbar - (with several items) - @short Called when the active part wants to change the statusbar message. - */ - protected native void slotSetStatusBarText(String arg1); - /** - Internal method. Called by KParts.Part to specify the parent object for plugin objects. - @short Internal method. - */ - public native void setPartObject(TQObject object); - public native TQObject partObject(); - /** - Set the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor, - because it loads the i18n catalogues. - @short Set the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance); - /** - Set the instance ( TDEInstance) for this part. - Call this first in the inherited class constructor, - because it loads the i18n catalogues. - @short Set the instance ( TDEInstance) for this part. - */ - protected native void setInstance(TDEInstanceInterface instance, boolean loadPlugins); - /** - Load the Plugins honoring the PluginLoadingMode. - If you call this method in an already constructed GUI (like when the user - has changed which plugins are enabled) you need to add the new plugins to - the KXMLGUIFactory: -
      -		 if( factory() )
      -		 {
      -		   TQPtrList plugins = KParts.Plugin.pluginObjects( this );
      -		   TQPtrListIterator it( plugins );
      -		   KParts.Plugin  plugin;
      -		   while( ( plugin = it.current() ) != 0 )
      -		   {
      -		     ++it;
      -		     factory().addClient(  plugin );
      -		   }
      -		 }
      -		 
      - @short Load the Plugins honoring the PluginLoadingMode. - */ - protected native void loadPlugins(TQObject parent, KXMLGUIClientInterface parentGUIClient, TDEInstanceInterface instance); - /** - For a KParts.Part: call this before setInstance(). - For a KParts.MainWindow: call this before createGUI(). - @short For a KParts.Part: call this before setInstance(). - */ - // void setPluginLoadingMode(KParts::PartBase::PluginLoadingMode arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Document.java b/kdejava/koala/org/kde/koala/Document.java deleted file mode 100644 index 1d290cd9..00000000 --- a/kdejava/koala/org/kde/koala/Document.java +++ /dev/null @@ -1,559 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - The Document interface represents the entire HTML or - XML document. Conceptually, it is the root of the document tree, - and provides the primary access to the document's data. - Since elements, text nodes, comments, processing instructions, - etc. cannot exist outside the context of a Document - , the Document interface also contains the factory - methods needed to create these objects. The Node - objects created have a ownerDocument attribute which - associates them with the Document within whose - context they were created. - @short The Document interface represents the entire HTML or XML document. - -*/ -public class Document extends Node { - protected Document(Class dummy){super((Class) null);} - public Document() { - super((Class) null); - newDocument(); - } - private native void newDocument(); - /** - don't create an implementation if false - use at own risk - @short don't create an implementation if false use at own risk - */ - public Document(boolean arg1) { - super((Class) null); - newDocument(arg1); - } - private native void newDocument(boolean arg1); - public Document(Document other) { - super((Class) null); - newDocument(other); - } - private native void newDocument(Document other); - public Document(Node other) { - super((Class) null); - newDocument(other); - } - private native void newDocument(Node other); - /** - The Document Type Declaration (see DocumentType - ) associated with this document. For HTML documents as well as - XML documents without a document type declaration this returns - null . The DOM Level 1 does not support editing - the Document Type Declaration, therefore docType - cannot be altered in any way. - @short The Document Type Declaration (see DocumentType ) associated with this document. - */ - public native DocumentType doctype(); - /** - The DOMImplementation object that handles this - document. A DOM application may use objects from multiple - implementations. - @short The DOMImplementation object that handles this document. - */ - public native DOMImplementation implementation(); - /** - This is a convenience attribute that allows direct access to - the child node that is the root element of the document. For - HTML documents, this is the element with the tagName "HTML". - @short This is a convenience attribute that allows direct access to the child node that is the root element of the document. - */ - public native Element documentElement(); - /** - Creates an element of the type specified. Note that the - instance returned implements the Element interface, so - attributes can be specified directly on the returned object. - @param tagName The name of the element type to instantiate. For - XML, this is case-sensitive. For HTML, the tagName - parameter may be provided in any case, but it must be - mapped to the canonical uppercase form by the DOM - implementation. - @return A new Element object. - - @short Creates an element of the type specified. - */ - public native Element createElement(String tagName); - /** - Introduced in DOM Level 2 - Creates an element of the given qualified name and namespace URI. - @param namespaceURI The namespace URI of the element to create. - @param qualifiedName The qualified name of the element type to instantiate. - @return A new Element object with the following attributes: - - @short Introduced in DOM Level 2 Creates an element of the given qualified name and namespace URI. - */ - public native Element createElementNS(String namespaceURI, String qualifiedName); - /** - Creates an empty DocumentFragment object. - @return A new DocumentFragment . - - @short Creates an empty DocumentFragment object. - */ - public native DocumentFragment createDocumentFragment(); - /** - Creates a Text node given the specified string. - @param data The data for the node. - @return The new Text object. - - @short Creates a Text node given the specified string. - */ - public native Text createTextNode(String data); - /** - Creates a Comment node given the specified - string. - @param data The data for the node. - @return The new Comment object. - - @short Creates a Comment node given the specified string. - */ - public native Comment createComment(String data); - /** - Creates a CDATASection node whose value is the - specified string. - @param data The data for the CDATASection - contents. - @return The new CDATASection object. - - @short Creates a CDATASection node whose value is the specified string. - */ - public native CDATASection createCDATASection(String data); - /** - Creates a ProcessingInstruction node given the - specified name and data strings. - @param target The target part of the processing instruction. - @param data The data for the node. - NOT_SUPPORTED_ERR: Raised if this document is an HTML - document. - @return The new ProcessingInstruction object. - - @short Creates a ProcessingInstruction node given the specified name and data strings. - */ - public native ProcessingInstruction createProcessingInstruction(String target, String data); - /** - Creates an Attr of the given name. Note that the - Attr instance can then be set on an Element - using the setAttribute method. - @param name The name of the attribute. - @return A new Attr object. - - @short Creates an Attr of the given name. - */ - public native Attr createAttribute(String name); - /** - Introduced in DOM Level 2 - Creates an attribute of the given qualified name and namespace URI. - HTML-only DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to create. - @param qualifiedName The qualified name of the attribute to instantiate. - @return A new Attr object with the following attributes: - Node.nodeName - qualifiedName - Node.namespaceURI - namespaceURI - Node.prefix - prefix, extracted from qualifiedName, or null if there is - no prefix - Node.localName - local name, extracted from qualifiedName - Attr.name - qualifiedName - Node.nodeValue - the empty string - - @short Introduced in DOM Level 2 Creates an attribute of the given qualified name and namespace URI. - */ - public native Attr createAttributeNS(String namespaceURI, String qualifiedName); - /** - Creates an EntityReference object. - @param name The name of the entity to reference. - NOT_SUPPORTED_ERR: Raised if this document is an HTML - document. - @return The new EntityReference object. - - @short Creates an EntityReference object. - */ - public native EntityReference createEntityReference(String name); - /** - Moved from HTMLDocument in DOM Level 2 - Returns the Element whose id is given by - elementId. If no such element exists, returns null - . Behavior is not defined if more than one element has - this id . - @param elementId The unique id value for an - element. - @return The matching element. - - @short Moved from HTMLDocument in DOM Level 2 Returns the Element whose id is given by elementId. - */ - public native Element getElementById(String elementId); - /** - No Exceptions. - Returns a ArrayList of all the Element 's - with a given tag name in the order in which they - would be encountered in a preorder traversal of the - Document tree. - @param tagname The name of the tag to match on. The special - value "*" matches all tags. - @return A new NodeList object containing all the - matched Element s. - - @short No Exceptions. - */ - public native ArrayList getElementsByTagName(String tagname); - /** - Introduced in DOM Level 2 - No Exceptions - Returns an ArrayList of all the Elements with a given local name and - namespace URI in the order in which they are encountered in a preorder - traversal of the Document tree. - @param namespaceURI The namespace URI of the elements to match on. The - special value "*" matches all namespaces. - @param localName The local name of the elements to match on. The special - value "*" matches all local names. - @return A new NodeList object containing all the matched Elements. - - @short Introduced in DOM Level 2 No Exceptions - */ - public native ArrayList getElementsByTagNameNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2 - Imports a node from another document to this document. The returned node - has no parent; (parentNode is null). The source node is not altered or - removed from the original document; this method creates a new copy of - the source node. - For all nodes, importing a node creates a node object owned by the - importing document, with attribute values identical to the source node's - nodeName and nodeType, plus the attributes related to namespaces - (prefix, localName, and namespaceURI). - As in the cloneNode operation on a Node, the source node is not altered. - Additional information is copied as appropriate to the nodeType, - attempting to mirror the behavior expected if a fragment of XML or HTML - source was copied from one document to another, recognizing that the two - documents may have different DTDs in the XML case. The following list - describes the specifics for each type of node. - ATTRIBUTE_NODE - The ownerElement attribute is set to null and the specified flag is set - to true on the generated Attr. The descendants of the source Attr are - recursively imported and the resulting nodes reassembled to form the - corresponding subtree. Note that the deep parameter has no effect on - Attr nodes; they always carry their children with them when imported. - DOCUMENT_FRAGMENT_NODE - If the deep option was set to true, the descendants of the source - element are recursively imported and the resulting nodes reassembled to - form the corresponding subtree. Otherwise, this simply generates an - empty DocumentFragment. - DOCUMENT_NODE - Document nodes cannot be imported. - DOCUMENT_TYPE_NODE - DocumentType nodes cannot be imported. - ELEMENT_NODE - Specified attribute nodes of the source element are imported, and the - generated Attr nodes are attached to the generated Element. Default - attributes are not copied, though if the document being imported into - defines default attributes for this element name, those are assigned. If - the importNode deep parameter was set to true, the descendants of the - source element are recursively imported and the resulting nodes - reassembled to form the corresponding subtree. - ENTITY_NODE - Entity nodes can be imported, however in the current release of the DOM - the DocumentType is readonly. Ability to add these imported nodes to a - DocumentType will be considered for addition to a future release of the - DOM. - On import, the publicId, systemId, and notationName attributes are - copied. If a deep import is requested, the descendants of the the source - Entity are recursively imported and the resulting nodes reassembled to - form the corresponding subtree. - ENTITY_REFERENCE_NODE Only the EntityReference itself is copied, even if - a deep import is requested, since the source and destination documents - might have defined the entity differently. If the document being - imported into provides a definition for this entity name, its value is - assigned. - NOTATION_NODE - Notation nodes can be imported, however in the current release of the - DOM the DocumentType is readonly. Ability to add these imported nodes to - a DocumentType will be considered for addition to a future release of - the DOM. - On import, the publicId and systemId attributes are copied. - Note that the deep parameter has no effect on Notation nodes since they - never have any children. - PROCESSING_INSTRUCTION_NODE - The imported node copies its target and data values from those of the - source node. - TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE - These three types of nodes inheriting from CharacterData copy their data - and length attributes from those of the source node. - @param importedNode The node to import. - @param deep If true, recursively import the subtree under the specified - node; if false, import only the node itself, as explained above. This - has no effect on Attr, EntityReference, and Notation nodes. - @return The imported node that belongs to this Document. - - @short Introduced in DOM Level 2 - */ - public native Node importNode(Node importedNode, boolean deep); - /** - not part of the DOM - @short - */ - public native boolean isHTMLDocument(); - /** - Introduced in DOM Level 2 - This method is from the DocumentRange interface - @return Range - The initial state of the Range returned from this method is such that - both of its boundary-points are positioned at the beginning of the - corresponding Document, before any content. The Range returned can only - be used to select content associated with this Document, or with - DocumentFragments and Attrs for which this Document is the ownerDocument. - - @short Introduced in DOM Level 2 This method is from the DocumentRange interface - */ - public native Range createRange(); - /** - Introduced in DOM Level 2 - This method is from the DocumentTraversal interface - Create a new NodeIterator over the subtree rooted at the specified node. - @param root The node which will be iterated together with its children. - The iterator is initially positioned just before this node. The - whatToShow flags and the filter, if any, are not considered when setting - this position. The root must not be null. - @param whatToShow This flag specifies which node types may appear in the - logical view of the tree presented by the iterator. See the description - of NodeFilter for the set of possible SHOW_ values. These flags can be - combined using OR. - @param filter The NodeFilter to be used with this NodeIterator, or null to - indicate no filter. - @param entityReferenceExpansion The value of this flag determines - whether entity reference nodes are expanded. - @return NodeIterator The newly created NodeIterator. - - @short Introduced in DOM Level 2 This method is from the DocumentTraversal interface - */ - public native NodeIterator createNodeIterator(Node root, long whatToShow, NodeFilter filter, boolean entityReferenceExpansion); - /** - Introduced in DOM Level 2 - This method is from the DocumentTraversal interface - Create a new TreeWalker over the subtree rooted at the specified node. - @param root The node which will serve as the root for the TreeWalker. - The whatToShow flags and the NodeFilter are not considered when setting - this value; any node type will be accepted as the root. The currentNode - of the TreeWalker is initialized to this node, whether or not it is - visible. The root functions as a stopping point for traversal methods - that look upward in the document structure, such as parentNode and - nextNode. The root must not be null. - @param whatToShow This flag specifies which node types may appear in the - logical view of the tree presented by the tree-walker. See the - description of NodeFilter for the set of possible SHOW_ values. These - flags can be combined using OR. - @param filter The NodeFilter to be used with this TreeWalker, or null to - indicate no filter. - @param entityReferenceExpansion If this flag is false, the contents of - EntityReference nodes are not presented in the logical view. - @return The newly created TreeWalker. - - @short Introduced in DOM Level 2 This method is from the DocumentTraversal interface - */ - public native TreeWalker createTreeWalker(Node root, long whatToShow, NodeFilter filter, boolean entityReferenceExpansion); - /** - Introduced in DOM Level 2 - This method is from the DocumentEvent interface - The createEvent method is used in creating Events when it is either - inconvenient or unnecessary for the user to create an Event themselves. - In cases where the implementation provided Event is insufficient, users - may supply their own Event implementations for use with the - dispatchEvent method. - @param eventType The eventType parameter specifies the type of Event - interface to be created. If the Event interface specified is supported - by the implementation this method will return a new Event of the - interface type requested. If the Event is to be dispatched via the - dispatchEvent method the appropriate event init method must be called - after creation in order to initialize the Event's values. As an example, - a user wishing to synthesize some kind of UIEvent would call createEvent - with the parameter "UIEvents". The initUIEvent method could then be - called on the newly created UIEvent to set the specific type of UIEvent - to be dispatched and set its context information. - @return The newly created EventExceptions - - @short Introduced in DOM Level 2 This method is from the DocumentEvent interface - */ - public native Event createEvent(String eventType); - /** - Introduced in DOM Level 2 - This method is from the DocumentView interface - The default AbstractView for this Document, or null if none available. - @short Introduced in DOM Level 2 This method is from the DocumentView interface - */ - public native AbstractView defaultView(); - /** - Introduced in DOM Level 2 - This method is from the DocumentStyle interface - A list containing all the style sheets explicitly linked into or - embedded in a document. For HTML documents, this includes external style - sheets, included via the HTML LINK element, and inline STYLE elements. - In XML, this includes external style sheets, included via style sheet - processing instructions (see [XML-StyleSheet]). - @short Introduced in DOM Level 2 This method is from the DocumentStyle interface - */ - public native ArrayList styleSheets(); - /** - CSS3 mechanism for selecting alternate stylesheets using the DOM. - Might change without further notice. - @short CSS3 mechanism for selecting alternate stylesheets using the DOM. - */ - public native String preferredStylesheetSet(); - public native String selectedStylesheetSet(); - public native void setSelectedStylesheetSet(String aString); - /** - Adds a new style sheet to the list of style sheets. - The new style sheet will be applied after all author and implicit - style sheets, but before the user style sheet. - Create new style sheets with e. g. - DOMImplementation.createCSSStyleSheet - This is not part of the official DOM. - @param sheet style sheet - @short Adds a new style sheet to the list of style sheets. - */ - public native void addStyleSheet(StyleSheet sheet); - /** - Removes a style sheet to the list of style sheets. - Only sheets added by addStyleSheet may be removed. - This is not part of the official DOM. - @param sheet style sheet to remove - @short Removes a style sheet to the list of style sheets. - */ - public native void removeStyleSheet(StyleSheet sheet); - /** - @return The TDEHTML view widget of this document. - - @short - */ - public native TDEHTMLView view(); - /** - Introduced in DOM Level 2 - This method is from the DocumentCSS interface - This method is used to retrieve the override style declaration for a - specified element and a specified pseudo-element. - @param elt The element whose style is to be modified. This parameter - cannot be null. - @param pseudoElt The pseudo-element or null if none. - @return The override style declaration. - - @short Introduced in DOM Level 2 This method is from the DocumentCSS interface - */ - public native CSSStyleDeclaration getOverrideStyle(Element elt, String pseudoElt); - /** - Introduced in DOM Level 3 - This method is from the DocumentLS interface - Indicates whether the method DocumentLS.load() should be synchronous or - asynchronous. When the async attribute is set to true the load method - returns control to the caller before the document has completed loading. - The default value of this attribute is true. - @short Introduced in DOM Level 3 This method is from the DocumentLS interface - */ - public native boolean async(); - /** - Introduced in DOM Level 3 - This method is from the DocumentLS interface - see async - @short Introduced in DOM Level 3 This method is from the DocumentLS interface - */ - public native void setAsync(boolean arg1); - /** - Introduced in DOM Level 3 - This method is from the DocumentLS interface - If the document is currently being loaded as a result of the method load - being invoked the loading and parsing is immediately aborted. The - possibly partial result of parsing the document is discarded and the - document is cleared. - @short Introduced in DOM Level 3 This method is from the DocumentLS interface - */ - public native void abort(); - /** - Introduced in DOM Level 3 - This method is from the DocumentLS interface - Replaces the content of the document with the result of parsing the - given URI. Invoking this method will either block the caller or return - to the caller immediately depending on the value of the async attribute. - Once the document is fully loaded a "load" event (as defined in - [DOM Level 3 Events], except that the Event.targetNode will be the - document, not an element) will be dispatched on the document. If an - error occurs, an implementation dependent "error" event will be - dispatched on the document. If this method is called on a document that - is currently loading, the current load is interrupted and the new URI - load is initiated. - When invoking this method the parameters used in the DOMParser interface - are assumed to have their default values with the exception that the - parameters "entities", "normalize-characters", - "check-character-normalization" are set to "false". - The result of a call to this method is the same the result of a call to - DOMParser.parseWithContext with an input stream referencing the URI that - was passed to this call, the document as the context node, and the - action ACTION_REPLACE_CHILDREN. - @param uri of type DOMString - The URI reference for the XML file to be loaded. If this is a relative - URI, the base URI used by the implementation is implementation dependent. - @return If async is set to true load returns true if the document load - was successfully initiated. If an error occurred when initiating the - document load, load returns false. - If async is set to false load returns true if the document was - successfully loaded and parsed. If an error occurred when either loading - or parsing the URI, load returns false. - - @short Introduced in DOM Level 3 This method is from the DocumentLS interface - */ - public native void load(String uri); - /** - Introduced in DOM Level 3 - This method is from the DocumentLS interface - Replace the content of the document with the result of parsing the input - string, this method is always synchronous. This method always parses - from a DOMString, which means the data is always UTF-16. All other - encoding information is ignored. - The parameters used in the DOMParser interface are assumed to have their - default values when invoking this method. - The result of a call to this method is the same as the result of a call - to DOMParser.parseWithContext with an input stream containing the string - passed to this call, the document as the context node, and the action - ACTION_REPLACE_CHILDREN. - @param source A string containing an XML document. - @short Introduced in DOM Level 3 This method is from the DocumentLS interface - */ - public native void loadXML(String source); - /** - not part of the official DOM - Documents are read-only by default, but they can be made editable by - entering "design mode". - @return whether this document is in design mode. - - @short not part of the official DOM - */ - public native boolean designMode(); - /** - not part of the official DOM - @param enable true to enable design mode, false to disable. - @short not part of the official DOM - @see #designMode - */ - public native void setDesignMode(boolean enable); - /** - not part of the DOM - completes a given URL - @short not part of the DOM - */ - public native String completeURL(String url); - public native String toString(); - /** - not part of the DOM - Updates the rendered display after one or more changes to - the DOM structure - @short not part of the DOM - */ - public native void updateRendering(); - // DOM::Document* Document(DOM::DocumentImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/DocumentFragment.java b/kdejava/koala/org/kde/koala/DocumentFragment.java deleted file mode 100644 index 7f3b5201..00000000 --- a/kdejava/koala/org/kde/koala/DocumentFragment.java +++ /dev/null @@ -1,66 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - DocumentFragment is a "lightweight" or "minimal" - Document object. It is very common to want to be - able to extract a portion of a document's tree or to create a new - fragment of a document. Imagine implementing a user command like - cut or rearranging a document by moving fragments around. It is - desirable to have an object which can hold such fragments and it is - quite natural to use a Node for this purpose. While it is true that - a Document object could fulfil this role, a - Document object can potentially be a heavyweight object, - depending on the underlying implementation. What is really needed - for this is a very lightweight object. DocumentFragment - is such an object. - Furthermore, various operations -- such as inserting nodes as - children of another Node -- may take - DocumentFragment objects as arguments; this results in all - the child nodes of the DocumentFragment being moved - to the child list of this node. - The children of a DocumentFragment node are zero or - more nodes representing the tops of any sub-trees defining the - structure of the document. DocumentFragment nodes do - not need to be well-formed XML documents (although they do need to - follow the rules imposed upon well-formed XML parsed entities, - which can have multiple top nodes). For example, a - DocumentFragment might have only one child and that child - node could be a Text node. Such a structure model - represents neither an HTML document nor a well-formed XML document. - When a DocumentFragment is inserted into a - Document (or indeed any other Node that may - take children) the children of the DocumentFragment - and not the DocumentFragment itself are inserted - into the Node . This makes the - DocumentFragment very useful when the user wishes to create - nodes that are siblings; the DocumentFragment acts - as the parent of these nodes so that the user can use the standard - methods from the Node interface, such as - insertBefore() and appendChild() . - @short DocumentFragment is a "lightweight" or "minimal" Document object. - -*/ -public class DocumentFragment extends Node { - protected DocumentFragment(Class dummy){super((Class) null);} - public DocumentFragment() { - super((Class) null); - newDocumentFragment(); - } - private native void newDocumentFragment(); - public DocumentFragment(DocumentFragment other) { - super((Class) null); - newDocumentFragment(other); - } - private native void newDocumentFragment(DocumentFragment other); - public DocumentFragment(Node other) { - super((Class) null); - newDocumentFragment(other); - } - private native void newDocumentFragment(Node other); - // DOM::DocumentFragment* DocumentFragment(DOM::DocumentFragmentImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/DocumentStyle.java b/kdejava/koala/org/kde/koala/DocumentStyle.java deleted file mode 100644 index e67faa7f..00000000 --- a/kdejava/koala/org/kde/koala/DocumentStyle.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - -*/ -public class DocumentStyle implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DocumentStyle(Class dummy){} - - public DocumentStyle() { - newDocumentStyle(); - } - private native void newDocumentStyle(); - public DocumentStyle(DocumentStyle other) { - newDocumentStyle(other); - } - private native void newDocumentStyle(DocumentStyle other); - public native ArrayList styleSheets(); - public native String preferredStylesheetSet(); - public native String selectedStylesheetSet(); - public native void setSelectedStylesheetSet(String aString); - public native boolean isNull(); -} diff --git a/kdejava/koala/org/kde/koala/DocumentType.java b/kdejava/koala/org/kde/koala/DocumentType.java deleted file mode 100644 index 95d68909..00000000 --- a/kdejava/koala/org/kde/koala/DocumentType.java +++ /dev/null @@ -1,89 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Each Document has a doctype attribute - whose value is either null or a DocumentType - object. The DocumentType interface in the - DOM Level 1 Core provides an interface to the list of entities that - are defined for the document, and little else because the effect of - namespaces and the various XML scheme efforts on DTD representation - are not clearly understood as of this writing. - The DOM Level 1 doesn't support editing DocumentType - nodes. - @short Each Document has a doctype attribute whose value is either null or a DocumentType object. - -*/ -public class DocumentType extends Node { - protected DocumentType(Class dummy){super((Class) null);} - public DocumentType() { - super((Class) null); - newDocumentType(); - } - private native void newDocumentType(); - public DocumentType(DocumentType other) { - super((Class) null); - newDocumentType(other); - } - private native void newDocumentType(DocumentType other); - public DocumentType(Node other) { - super((Class) null); - newDocumentType(other); - } - private native void newDocumentType(Node other); - /** - The name of DTD; i.e., the name immediately following the - DOCTYPE keyword. - @short The name of DTD; i. - */ - public native String name(); - /** - A NamedNodeMap containing the general entities, - both external and internal, declared in the DTD. Duplicates are - discarded. For example in: <!DOCTYPE ex SYSTEM "ex.dtd" [ - <!ENTITY foo "foo"> <!ENTITY bar "bar"> <!ENTITY % baz - "baz"> ]> <ex/> the interface provides access to foo - and bar but not baz . - Every node in this map also implements the Entity - interface. - The DOM Level 1 does not support editing entities, therefore - entities cannot be altered in any way. - @short A NamedNodeMap containing the general entities, both external and internal, declared in the DTD. - */ - public native NamedNodeMap entities(); - /** - A NamedNodeMap containing the notations declared - in the DTD. Duplicates are discarded. Every node in this map - also implements the Notation interface. - The DOM Level 1 does not support editing notations, therefore - notations cannot be altered in any way. - @short A NamedNodeMap containing the notations declared in the DTD. - */ - public native NamedNodeMap notations(); - /** - Introduced in DOM Level 2 - The public identifier of the external subset. - @short Introduced in DOM Level 2 - */ - public native String publicId(); - /** - Introduced in DOM Level 2 - The system identifier of the external subset. - @short Introduced in DOM Level 2 - */ - public native String systemId(); - /** - Introduced in DOM Level 2 - The internal subset as a string. - Note: The actual content returned depends on how much information is - available to the implementation. This may vary depending on various - parameters, including the XML processor used to build the document. - @short Introduced in DOM Level 2 - */ - public native String internalSubset(); - // DOM::DocumentType* DocumentType(DOM::DocumentTypeImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/DomShared.java b/kdejava/koala/org/kde/koala/DomShared.java deleted file mode 100644 index 5bbc6078..00000000 --- a/kdejava/koala/org/kde/koala/DomShared.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - -*/ -public class DomShared implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected DomShared(Class dummy){} - - public DomShared() { - newDomShared(); - } - private native void newDomShared(); - public native boolean deleteMe(); - public native void ref(); - public native void deref(); - public native boolean hasOneRef(); - public native int refCount(); -} diff --git a/kdejava/koala/org/kde/koala/Element.java b/kdejava/koala/org/kde/koala/Element.java deleted file mode 100644 index 7a1980f1..00000000 --- a/kdejava/koala/org/kde/koala/Element.java +++ /dev/null @@ -1,326 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - By far the vast majority of objects (apart from text) that authors - encounter when traversing a document are Element - nodes. Assume the following XML document: <elementExample - id="demo"> <subelement1/> - <subelement2><subsubelement/></subelement2> - </elementExample> - When represented using DOM, the top node is an Element - node for "elementExample", which contains two - child Element nodes, one for "subelement1" - and one for "subelement2". "subelement1" - contains no child nodes. - Elements may have attributes associated with them; since the - Element interface inherits from Node - , the generic Node interface method - getAttributes may be used to retrieve the set of all - attributes for an element. There are methods on the Element - interface to retrieve either an Attr object - by name or an attribute value by name. In XML, where an attribute - value may contain entity references, an Attr object - should be retrieved to examine the possibly fairly complex sub-tree - representing the attribute value. On the other hand, in HTML, where - all attributes have simple string values, methods to directly - access an attribute value can safely be used as a convenience. - @short By far the vast majority of objects (apart from text) that authors encounter when traversing a document are Element nodes. - -*/ -public class Element extends Node { - protected Element(Class dummy){super((Class) null);} - public Element() { - super((Class) null); - newElement(); - } - private native void newElement(); - public Element(Node other) { - super((Class) null); - newElement(other); - } - private native void newElement(Node other); - public Element(Element other) { - super((Class) null); - newElement(other); - } - private native void newElement(Element other); - /** - The name of the element. For example, in: <elementExample - id="demo"> ... </elementExample> , - tagName has the value "elementExample" - . Note that this is case-preserving in XML, as are all - of the operations of the DOM. The HTML DOM returns the - tagName of an HTML element in the canonical uppercase - form, regardless of the case in the source HTML document. - @short The name of the element. - */ - public native String tagName(); - /** - Retrieves an attribute value by name. - @param name The name of the attribute to retrieve. - @return The Attr value as a string, or the empty - string if that attribute does not have a specified or default - value. - - @short Retrieves an attribute value by name. - */ - public native String getAttribute(String name); - /** - Adds a new attribute. If an attribute with that name is already - present in the element, its value is changed to be that of the - value parameter. This value is a simple string, it is not - parsed as it is being set. So any markup (such as syntax to be - recognized as an entity reference) is treated as literal text, - and needs to be appropriately escaped by the implementation - when it is written out. In order to assign an attribute value - that contains entity references, the user must create an - Attr node plus any Text and - EntityReference nodes, build the appropriate subtree, - and use setAttributeNode to assign it as the - value of an attribute. - @param name The name of the attribute to create or alter. - @param value Value to set in string form. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - @short Adds a new attribute. - */ - public native void setAttribute(String name, String value); - /** - Removes an attribute by name. If the removed attribute has a - default value it is immediately replaced. - @param name The name of the attribute to remove. - @short Removes an attribute by name. - */ - public native void removeAttribute(String name); - /** - Retrieves an Attr node by name. - @param name The name of the attribute to retrieve. - @return The Attr node with the specified - attribute name or null if there is no such - attribute. - - @short Retrieves an Attr node by name. - */ - public native Attr getAttributeNode(String name); - /** - Adds a new attribute. If an attribute with that name is already - present in the element, it is replaced by the new one. - @param newAttr The Attr node to add to the - attribute list. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - INUSE_ATTRIBUTE_ERR: Raised if newAttr is - already an attribute of another Element object. - The DOM user must explicitly clone Attr nodes to - re-use them in other elements. - @return If the newAttr attribute replaces an - existing attribute with the same name, the previously existing - Attr node is returned, otherwise null - is returned. - - @short Adds a new attribute. - */ - public native Attr setAttributeNode(Attr newAttr); - /** - Removes the specified attribute. - @param oldAttr The Attr node to remove from the - attribute list. If the removed Attr has a - default value it is immediately replaced. - NOT_FOUND_ERR: Raised if oldAttr is not an - attribute of the element. - @return The Attr node that was removed. - - @short Removes the specified attribute. - */ - public native Attr removeAttributeNode(Attr oldAttr); - /** - Returns a ArrayList of all descendant elements - with a given tag name, in the order in which they would be - encountered in a preorder traversal of the Element - tree. - @param name The name of the tag to match on. The special value - "*" matches all tags. - @return A list of matching Element nodes. - - @short Returns a NodeList of all descendant elements with a given tag name, in the order in which they would be encountered in a preorder traversal of the Element tree. - */ - public native ArrayList getElementsByTagName(String name); - /** - Introduced in DOM Level 2 - Returns an ArrayList of all the descendant Elements with a given local - name and namespace URI in the order in which they are encountered in a - preorder traversal of this Element tree. - @param namespaceURI The namespace URI of the elements to match on. The - special value "*" matches all namespaces. - @param localName The local name of the elements to match on. The special - value "*" matches all local names. - @return A new NodeList object containing all the matched Elements. - - @short Introduced in DOM Level 2 Returns a NodeList of all the descendant Elements with a given local name and namespace URI in the order in which they are encountered in a preorder traversal of this Element tree. - */ - public native ArrayList getElementsByTagNameNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2. - No Exceptions. - Retrieves an attribute value by local name and namespace URI. HTML-only - DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to retrieve. - @param localName The local name of the attribute to retrieve. - @return The Attr value as a string, or the empty string if that - attribute does not have a specified or default value. - - @short Introduced in DOM Level 2. - */ - public native String getAttributeNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2 - Adds a new attribute. If an attribute with the same local name and - namespace URI is already present on the element, its prefix is changed - to be the prefix part of the qualifiedName, and its value is changed to - be the value parameter. This value is a simple string; it is not parsed - as it is being set. So any markup (such as syntax to be recognized as an - entity reference) is treated as literal text, and needs to be - appropriately escaped by the implementation when it is written out. In - order to assign an attribute value that contains entity references, the - user must create an Attr node plus any Text and EntityReference nodes, - build the appropriate subtree, and use setAttributeNodeNS or - setAttributeNode to assign it as the value of an attribute. - HTML-only DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to create or - alter. - @param qualifiedName The qualified name of the attribute to create or - alter. - @param value The value to set in string form. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - NAMESPACE_ERR: Raised if the qualifiedName is malformed, if the - qualifiedName has a prefix and the namespaceURI is null, if the - qualifiedName has a prefix that is "xml" and the namespaceURI is - different from "http://www.w3.org/XML/1998/namespace", or if the - qualifiedName is "xmlns" and the namespaceURI is different from - "http://www.w3.org/2000/xmlns/". - @short Introduced in DOM Level 2 - */ - public native void setAttributeNS(String namespaceURI, String qualifiedName, String value); - /** - Introduced in DOM Level 2 - Removes an attribute by local name and namespace URI. If the removed - attribute has a default value it is immediately replaced. The replacing - attribute has the same namespace URI and local name, as well as the - original prefix. - HTML-only DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to remove. - @param localName The local name of the attribute to remove. - @short Introduced in DOM Level 2 - */ - public native void removeAttributeNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2 - Retrieves an Attr node by local name and namespace URI. HTML-only DOM - implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to retrieve. - @param localName The local name of the attribute to retrieve. - @return The Attr node with the specified attribute local name and - namespace URI or null if there is no such attribute. - - @short Introduced in DOM Level 2 - */ - public native Attr getAttributeNodeNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2 - Adds a new attribute. If an attribute with that local name and that - namespace URI is already present in the element, it is replaced by the - new one. - HTML-only DOM implementations do not need to implement this method. - @param newAttr The Attr node to add to the attribute list. - NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly. - INUSE_ATTRIBUTE_ERR: Raised if newAttr is already an attribute of - another Element object. The DOM user must explicitly clone Attr nodes to - re-use them in other elements. - @return If the newAttr attribute replaces an existing attribute with the - same local name and namespace URI, the replaced Attr node is returned, - otherwise null is returned. - - @short Introduced in DOM Level 2 - */ - public native Attr setAttributeNodeNS(Attr newAttr); - /** - Returns true when an attribute with a given name is specified on this - element or has a default value, false otherwise. - Introduced in DOM Level 2. - @param name The name of the attribute to look for. - @return true if an attribute with the given name is specified on this - element or has a default value, false otherwise. - - @short Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise. - */ - public native boolean hasAttribute(String name); - /** - Introduced in DOM Level 2 - Returns true when an attribute with a given local name and namespace URI - is specified on this element or has a default value, false otherwise. - HTML-only DOM implementations do not need to implement this method. - @param namespaceURI The namespace URI of the attribute to look for. - @param localName The local name of the attribute to look for. - @return true if an attribute with the given local name and namespace URI - is specified or has a default value on this element, false otherwise. - - @short Introduced in DOM Level 2 - */ - public native boolean hasAttributeNS(String namespaceURI, String localName); - /** - Introduced in DOM Level 2 - This method is from the CSSStyleDeclaration interface - The style attribute - @short Introduced in DOM Level 2 This method is from the CSSStyleDeclaration interface - */ - public native CSSStyleDeclaration style(); - /** - not part of the official DOM - This method will always reflect the editability setting of this - element as specified by a direct or indirect (that means, inherited) - assignment to contentEditable or the respective CSS rule, even if - design mode is active. - @return whether this element is editable. - - @short not part of the official DOM - @see #setContentEditable - */ - public native boolean contentEditable(); - /** - not part of the official DOM - This element can be made editable by setting its contentEditable - property to true. The setting will be inherited to its children - as well. - Setting or clearing contentEditable when design mode is active will - take no effect. However, its status will still be propagated to all - child elements. - @param enabled true to make this element editable, false - otherwise. - @short not part of the official DOM - @see Document#designMode - */ - public native void setContentEditable(boolean enabled); - /** - not part of the DOM - @short - */ - public native boolean isHTMLElement(); - /** - TDEHTML extension to DOM - This method returns the associated form element. - returns null if this element is not a form-like element - or if this elment is not in the scope of a form element. - @short TDEHTML extension to DOM This method returns the associated form element. - */ - public native Element form(); - public static native boolean tdehtmlValidAttrName(String name); - public static native boolean tdehtmlValidPrefix(String name); - public static native boolean tdehtmlValidQualifiedName(String name); - public static native boolean tdehtmlMalformedQualifiedName(String name); - public static native boolean tdehtmlMalformedPrefix(String name); - // DOM::Element* Element(DOM::ElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Entity.java b/kdejava/koala/org/kde/koala/Entity.java deleted file mode 100644 index ae027275..00000000 --- a/kdejava/koala/org/kde/koala/Entity.java +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This interface represents an entity, either parsed or unparsed, in - an XML document. Note that this models the entity itself not the - entity declaration. Entity declaration modeling has - been left for a later Level of the DOM specification. - The nodeName attribute that is inherited from - Node contains the name of the entity. - An XML processor may choose to completely expand entities before - the structure model is passed to the DOM; in this case there will - be no EntityReference nodes in the document tree. - XML does not mandate that a non-validating XML processor read and - process entity declarations made in the external subset or declared - in external parameter entities. This means that parsed entities - declared in the external subset need not be expanded by some - classes of applications, and that the replacement value of the - entity may not be available. When the replacement value is - available, the corresponding Entity node's child - list represents the structure of that replacement text. Otherwise, - the child list is empty. - The resolution of the children of the Entity (the - replacement value) may be lazily evaluated; actions by the user - (such as calling the childNodes method on the - Entity Node) are assumed to trigger the evaluation. - The DOM Level 1 does not support editing Entity - nodes; if a user wants to make changes to the contents of an - Entity , every related EntityReference node - has to be replaced in the structure model by a clone of the - Entity 's contents, and then the desired changes must be - made to each of those clones instead. All the descendants of an - Entity node are readonly. - An Entity node does not have any parent. - @short This interface represents an entity, either parsed or unparsed, in an XML document. - -*/ -public class Entity extends Node { - protected Entity(Class dummy){super((Class) null);} - public Entity() { - super((Class) null); - newEntity(); - } - private native void newEntity(); - public Entity(Entity other) { - super((Class) null); - newEntity(other); - } - private native void newEntity(Entity other); - public Entity(Node other) { - super((Class) null); - newEntity(other); - } - private native void newEntity(Node other); - /** - The public identifier associated with the entity, if specified. - If the public identifier was not specified, this is null . - @short The public identifier associated with the entity, if specified. - */ - public native String publicId(); - /** - The system identifier associated with the entity, if specified. - If the system identifier was not specified, this is null . - @short The system identifier associated with the entity, if specified. - */ - public native String systemId(); - /** - For unparsed entities, the name of the notation for the entity. - For parsed entities, this is null . - @short For unparsed entities, the name of the notation for the entity. - */ - public native String notationName(); - // DOM::Entity* Entity(DOM::EntityImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/EntityReference.java b/kdejava/koala/org/kde/koala/EntityReference.java deleted file mode 100644 index 8704755f..00000000 --- a/kdejava/koala/org/kde/koala/EntityReference.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - EntityReference objects may be inserted into the - structure model when an entity reference is in the source document, - or when the user wishes to insert an entity reference. Note that - character references and references to predefined entities are - considered to be expanded by the HTML or XML processor so that - characters are represented by their Unicode equivalent rather than - by an entity reference. Moreover, the XML processor may completely - expand references to entities while building the structure model, - instead of providing EntityReference objects. If it - does provide such objects, then for a given EntityReference - node, it may be that there is no Entity node - representing the referenced entity; but if such an Entity - exists, then the child list of the EntityReference - node is the same as that of the Entity node. - As with the Entity node, all descendants of the - EntityReference are readonly. - The resolution of the children of the EntityReference - (the replacement value of the referenced Entity - ) may be lazily evaluated; actions by the user (such as - calling the childNodes method on the - EntityReference node) are assumed to trigger the - evaluation. - @short EntityReference objects may be inserted into the structure model when an entity reference is in the source document, or when the user wishes to insert an entity reference. - -*/ -public class EntityReference extends Node { - protected EntityReference(Class dummy){super((Class) null);} - public EntityReference() { - super((Class) null); - newEntityReference(); - } - private native void newEntityReference(); - public EntityReference(EntityReference other) { - super((Class) null); - newEntityReference(other); - } - private native void newEntityReference(EntityReference other); - public EntityReference(Node other) { - super((Class) null); - newEntityReference(other); - } - private native void newEntityReference(Node other); - // DOM::EntityReference* EntityReference(DOM::EntityReferenceImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/Event.java b/kdejava/koala/org/kde/koala/Event.java deleted file mode 100644 index 0ff338d8..00000000 --- a/kdejava/koala/org/kde/koala/Event.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQEvent; -import org.kde.qt.TQCustomEvent; - -/** - - Base class for all KParts events. - @short Base class for all KParts events. - -*/ -public class Event extends TQCustomEvent { - protected Event(Class dummy){super((Class) null);} - public Event(String eventName) { - super((Class) null); - newEvent(eventName); - } - private native void newEvent(String eventName); - public native String eventName(); - public static native boolean test(TQEvent event); - public static native boolean test(TQEvent event, String name); -} diff --git a/kdejava/koala/org/kde/koala/EventException.java b/kdejava/koala/org/kde/koala/EventException.java deleted file mode 100644 index e5630dc7..00000000 --- a/kdejava/koala/org/kde/koala/EventException.java +++ /dev/null @@ -1,28 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Introduced in DOM Level 2: - Event operations may throw an EventException as specified in their method - descriptions. - @short Introduced in DOM Level 2: - -*/ -public class EventException implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected EventException(Class dummy){} - - public EventException(short _code) { - newEventException(_code); - } - private native void newEventException(short _code); - public EventException(EventException other) { - newEventException(other); - } - private native void newEventException(EventException other); -} diff --git a/kdejava/koala/org/kde/koala/EventListener.java b/kdejava/koala/org/kde/koala/EventListener.java deleted file mode 100644 index a6fecfa0..00000000 --- a/kdejava/koala/org/kde/koala/EventListener.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Introduced in DOM Level 2 - The EventListener interface is the primary method for handling events. - Users implement the EventListener interface and register their listener on - an EventTarget using the AddEventListener method. The users should also - remove their EventListener from its EventTarget after they have completed - using the listener. - When a Node is copied using the cloneNode method the EventListeners attached - to the source Node are not attached to the copied Node. If the user wishes - the same EventListeners to be added to the newly created copy the user must - add them manually. - @short Introduced in DOM Level 2 - -*/ -public class EventListener extends DomShared { - protected EventListener(Class dummy){super((Class) null);} - public EventListener() { - super((Class) null); - newEventListener(); - } - private native void newEventListener(); - /** - This method is called whenever an event occurs of the type for which the - EventListener interface was registered. Parameters - @param evt The Event contains contextual information about the event. It - also contains the stopPropagation and preventDefault methods which are - used in determining the event's flow and default action. - @short This method is called whenever an event occurs of the type for which the EventListener interface was registered. - */ - public native void handleEvent(Event evt); - /** - not part of the DOM - Returns a name specifying the type of listener. Useful for checking - if an event is of a particular sublass. - @short - */ - public native String eventListenerType(); -} diff --git a/kdejava/koala/org/kde/koala/Factory.java b/kdejava/koala/org/kde/koala/Factory.java deleted file mode 100644 index 912d7454..00000000 --- a/kdejava/koala/org/kde/koala/Factory.java +++ /dev/null @@ -1,72 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQWidget; - -/** - - A generic factory object to create a Part. - Factory is an abstract class. Reimplement the - createPartObject() method to give it functionality. - @short A generic factory object to create a Part. - @see KLibFactory# - -*/ -public class Factory extends KLibFactory { - protected Factory(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a part. - The ArrayList can be used to pass additional arguments to the part. - If the part needs additional arguments, it should take them as - name="value" pairs. This is the way additional arguments will get passed - to the part from eg. tdehtml. You can for example embed the part into HTML - by using the following code: -
      -		    
      -		        
      -		        
      -		    
      -		 
      - This could result in a call to -
      -		     createPart( parentWidget, name, parentObject, parentName, "KParts.Part",
      -		                 ArrayList("name1="value1"", "name2="value2") );
      -		 
      - createPart() automatically emits a signal KLibFactory.objectCreated to tell - the library about its newly created object. This is very - important for reference counting, and allows unloading the - library automatically once all its objects have been destroyed. - @return the newly created part. - - @short Creates a part. - */ - public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name, String classname, String[] args); - public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name, String classname); - public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name); - public native Part createPart(TQWidget parentWidget, String widgetName, TQObject parent); - public native Part createPart(TQWidget parentWidget, String widgetName); - public native Part createPart(TQWidget parentWidget); - public native Part createPart(); - /** - If you have a part contained in a shared library you might want to query - for meta-information like the about-data, or the TDEInstance in general. - If the part is exported using KParts.GenericFactory then this method will - return the instance that belongs to the part without the need to instantiate - the part component. - @short If you have a part contained in a shared library you might want to query for meta-information like the about-data, or the TDEInstance in general. - */ - public native TDEInstanceInterface partInstance(); - /** - A convenience method for partInstance() that takes care of retrieving - the factory for a given library name and calling partInstance() on it. - @param libraryName name of the library to query the instance from - @short A convenience method for partInstance() that takes care of retrieving the factory for a given library name and calling partInstance() on it. - */ - public static native TDEInstanceInterface partInstanceFromLibrary(String libraryName); -} diff --git a/kdejava/koala/org/kde/koala/FileCopyJob.java b/kdejava/koala/org/kde/koala/FileCopyJob.java deleted file mode 100644 index cc964c6c..00000000 --- a/kdejava/koala/org/kde/koala/FileCopyJob.java +++ /dev/null @@ -1,56 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - The FileCopyJob copies data from one place to another. - @short The FileCopyJob copies data from one place to another. - @see #file_copy - @see #file_move - -*/ -public class FileCopyJob extends Job { - protected FileCopyJob(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Do not create a FileCopyJob directly. Use TDEIO.file_move() - or TDEIO.file_copy() instead. - @param src the source URL - @param dest the destination URL - @param permissions the permissions of the resulting resource - @param move true to move, false to copy - @param overwrite true to allow overwriting, false otherwise - @param resume true to resume an operation, false otherwise - @param showProgressInfo true to show progress information to the user - @short Do not create a FileCopyJob directly. - */ - /** - If you know the size of the source file, call this method - to inform this job. It will be displayed in the "resume" dialog. - @param size the size of the source file - @short If you know the size of the source file, call this method to inform this job. - */ - public native void setSourceSize64(long size); - /** - Returns the source URL. - @return the source URL - - @short Returns the source URL. - */ - public native KURL srcURL(); - /** - Returns the destination URL. - @return the destination URL - - @short Returns the destination URL. - */ - public native KURL destURL(); - public native void slotStart(); - public native void slotData(Job arg1, byte[] data); - public native void slotDataReq(Job arg1, byte[] data); -} diff --git a/kdejava/koala/org/kde/koala/GUIActivateEvent.java b/kdejava/koala/org/kde/koala/GUIActivateEvent.java deleted file mode 100644 index 00eb1c10..00000000 --- a/kdejava/koala/org/kde/koala/GUIActivateEvent.java +++ /dev/null @@ -1,27 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQEvent; - -/** - - This event is sent to a Part when its GUI has been activated or deactivated. - This is related to PartActivateEvent, but the difference is that - GUIActivateEvent happens later (when the GUI is actually built), - only for parts that have GUI elements, and only if using KParts.MainWindow. - @short This event is sent to a Part when its GUI has been activated or deactivated. - @see Part#guiActivateEvent - -*/ -public class GUIActivateEvent extends Event { - protected GUIActivateEvent(Class dummy){super((Class) null);} - public GUIActivateEvent(boolean activated) { - super((Class) null); - newGUIActivateEvent(activated); - } - private native void newGUIActivateEvent(boolean activated); - public native boolean activated(); - public static native boolean test(TQEvent event); -} diff --git a/kdejava/koala/org/kde/koala/HTMLAnchorElement.java b/kdejava/koala/org/kde/koala/HTMLAnchorElement.java deleted file mode 100644 index 2c48684f..00000000 --- a/kdejava/koala/org/kde/koala/HTMLAnchorElement.java +++ /dev/null @@ -1,192 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The anchor element. See the
      A - element definition in HTML 4.0. - @short The anchor element. - -*/ -public class HTMLAnchorElement extends HTMLElement { - protected HTMLAnchorElement(Class dummy){super((Class) null);} - public HTMLAnchorElement() { - super((Class) null); - newHTMLAnchorElement(); - } - private native void newHTMLAnchorElement(); - public HTMLAnchorElement(HTMLAnchorElement other) { - super((Class) null); - newHTMLAnchorElement(other); - } - private native void newHTMLAnchorElement(HTMLAnchorElement other); - public HTMLAnchorElement(Node other) { - super((Class) null); - newHTMLAnchorElement(other); - } - private native void newHTMLAnchorElement(Node other); - /** - A single character access key to give access to the form - control. See the - accesskey attribute definition in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - The character encoding of the linked resource. See the - charset attribute definition in HTML 4.0. - @short The character encoding of the linked resource. - */ - public native String charset(); - /** - see charset - @short see charset - */ - public native void setCharset(String arg1); - /** - Comma-separated list of lengths, defining an active region - geometry. See also shape for the shape of the - region. See the - coords attribute definition in HTML 4.0. - @short Comma-separated list of lengths, defining an active region geometry. - */ - public native String coords(); - /** - see coords - @short see coords - */ - public native void setCoords(String arg1); - /** - The URI of the linked resource. See the - href attribute definition in HTML 4.0. - @short The URI of the linked resource. - */ - public native String href(); - /** - see href - @short see href - */ - public native void setHref(String arg1); - /** - Language code of the linked resource. See the - hreflang attribute definition in HTML 4.0. - @short Language code of the linked resource. - */ - public native String hreflang(); - /** - see hreflang - @short see hreflang - */ - public native void setHreflang(String arg1); - /** - Anchor name. See the - name attribute definition in HTML 4.0. - @short Anchor name. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Forward link type. See the - rel attribute definition in HTML 4.0. - @short Forward link type. - */ - public native String rel(); - /** - see rel - @short see rel - */ - public native void setRel(String arg1); - /** - Reverse link type. See the - rev attribute definition in HTML 4.0. - @short Reverse link type. - */ - public native String rev(); - /** - see rev - @short see rev - */ - public native void setRev(String arg1); - /** - The shape of the active area. The coordinates are given by - coords . See the - shape attribute definition in HTML 4.0. - @short The shape of the active area. - */ - public native String shape(); - /** - see shape - @short see shape - */ - public native void setShape(String arg1); - /** - Index that represents the element's position in the tabbing - order. See the - tabindex attribute definition in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - Frame to render the resource in. See the - target attribute definition in HTML 4.0. - @short Frame to render the resource in. - */ - public native String target(); - /** - see target - @short see target - */ - public native void setTarget(String arg1); - /** - Advisory content type. See the - type attribute definition in HTML 4.0. - @short Advisory content type. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Removes keyboard focus from this element. - @short Removes keyboard focus from this element. - */ - public native void blur(); - /** - Gives keyboard focus to this element. - @short Gives keyboard focus to this element. - */ - public native void focus(); - // DOM::HTMLAnchorElement* HTMLAnchorElement(DOM::HTMLAnchorElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLAppletElement.java b/kdejava/koala/org/kde/koala/HTMLAppletElement.java deleted file mode 100644 index 12338c28..00000000 --- a/kdejava/koala/org/kde/koala/HTMLAppletElement.java +++ /dev/null @@ -1,181 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - An embedded Java applet. See the - APPLET element definition in HTML 4.0. This element is - deprecated in HTML 4.0. - @short An embedded Java applet. - -*/ -public class HTMLAppletElement extends HTMLElement { - protected HTMLAppletElement(Class dummy){super((Class) null);} - public HTMLAppletElement() { - super((Class) null); - newHTMLAppletElement(); - } - private native void newHTMLAppletElement(); - public HTMLAppletElement(HTMLAppletElement other) { - super((Class) null); - newHTMLAppletElement(other); - } - private native void newHTMLAppletElement(HTMLAppletElement other); - public HTMLAppletElement(Node other) { - super((Class) null); - newHTMLAppletElement(other); - } - private native void newHTMLAppletElement(Node other); - /** - Aligns this object (vertically or horizontally) with respect to - its surrounding text. See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Aligns this object (vertically or horizontally) with respect to its surrounding text. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Alternate text for user agents not rendering the normal content - of this element. See the - alt attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Alternate text for user agents not rendering the normal content of this element. - */ - public native String alt(); - /** - see alt - @short see alt - */ - public native void setAlt(String arg1); - /** - Comma-separated archive list. See the - archive attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Comma-separated archive list. - */ - public native String archive(); - /** - see archive - @short see archive - */ - public native void setArchive(String arg1); - /** - Applet class file. See the - code attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Applet class file. - */ - public native String code(); - /** - see code - @short see code - */ - public native void setCode(String arg1); - /** - Optional base URI for applet. See the - codebase attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Optional base URI for applet. - */ - public native String codeBase(); - /** - see codeBase - @short see codeBase - */ - public native void setCodeBase(String value); - /** - Override height. See the - height attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Override height. - */ - public native String height(); - /** - see height - @short see height - */ - public native void setHeight(String arg1); - /** - Horizontal space, in pixels, to the left and right of this image, applet, - or object. See the - hspace attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal space, in pixels, to the left and right of this image, applet, or object. - */ - public native long getHspace(); - /** - see hspace - @short see hspace - */ - public native void setHspace(long arg1); - /** - The name of the applet. See the - name attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short The name of the applet. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Serialized applet file. See the - object attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Serialized applet file. - */ - public native String object(); - /** - see object - @short see object - */ - public native void setObject(String arg1); - /** - Vertical space, in pixels, above and below this image, applet, or object. - See the - vspace attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Vertical space, in pixels, above and below this image, applet, or object. - */ - public native long getVspace(); - /** - see vspace - @short see vspace - */ - public native void setVspace(long arg1); - /** - Override width. See the - width attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Override width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - // DOM::HTMLAppletElement* HTMLAppletElement(DOM::HTMLAppletElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLAreaElement.java b/kdejava/koala/org/kde/koala/HTMLAreaElement.java deleted file mode 100644 index 11f4de56..00000000 --- a/kdejava/koala/org/kde/koala/HTMLAreaElement.java +++ /dev/null @@ -1,136 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Client-side image map area definition. See the - AREA element definition in HTML 4.0. - @short Client-side image map area definition. - -*/ -public class HTMLAreaElement extends HTMLElement { - protected HTMLAreaElement(Class dummy){super((Class) null);} - public HTMLAreaElement() { - super((Class) null); - newHTMLAreaElement(); - } - private native void newHTMLAreaElement(); - public HTMLAreaElement(HTMLAreaElement other) { - super((Class) null); - newHTMLAreaElement(other); - } - private native void newHTMLAreaElement(HTMLAreaElement other); - public HTMLAreaElement(Node other) { - super((Class) null); - newHTMLAreaElement(other); - } - private native void newHTMLAreaElement(Node other); - /** - A single character access key to give access to the form - control. See the - accesskey attribute definition in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - Alternate text for user agents not rendering the normal content - of this element. See the - alt attribute definition in HTML 4.0. - @short Alternate text for user agents not rendering the normal content of this element. - */ - public native String alt(); - /** - see alt - @short see alt - */ - public native void setAlt(String arg1); - /** - Comma-separated list of lengths, defining an active region - geometry. See also shape for the shape of the - region. See the - coords attribute definition in HTML 4.0. - @short Comma-separated list of lengths, defining an active region geometry. - */ - public native String coords(); - /** - see coords - @short see coords - */ - public native void setCoords(String arg1); - /** - The URI of the linked resource. See the - href attribute definition in HTML 4.0. - @short The URI of the linked resource. - */ - public native String href(); - /** - see href - @short see href - */ - public native void setHref(String arg1); - /** - Specifies that this area is inactive, i.e., has no associated - action. See the - nohref attribute definition in HTML 4.0. - @short Specifies that this area is inactive, i. - */ - public native boolean noHref(); - /** - see noHref - @short see noHref - */ - public native void setNoHref(boolean arg1); - /** - The shape of the active area. The coordinates are given by - coords . See the - shape attribute definition in HTML 4.0. - @short The shape of the active area. - */ - public native String shape(); - /** - see shape - @short see shape - */ - public native void setShape(String arg1); - /** - Index that represents the element's position in the tabbing - order. See the - tabindex attribute definition in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - Frame to render the resource in. See the - target attribute definition in HTML 4.0. - @short Frame to render the resource in. - */ - public native String target(); - /** - see target - @short see target - */ - public native void setTarget(String arg1); - // DOM::HTMLAreaElement* HTMLAreaElement(DOM::HTMLAreaElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLBRElement.java b/kdejava/koala/org/kde/koala/HTMLBRElement.java deleted file mode 100644 index e001a748..00000000 --- a/kdejava/koala/org/kde/koala/HTMLBRElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Force a line break. See the BR - element definition in HTML 4.0. - @short Force a line break. - -*/ -public class HTMLBRElement extends HTMLElement { - protected HTMLBRElement(Class dummy){super((Class) null);} - public HTMLBRElement() { - super((Class) null); - newHTMLBRElement(); - } - private native void newHTMLBRElement(); - public HTMLBRElement(HTMLBRElement other) { - super((Class) null); - newHTMLBRElement(other); - } - private native void newHTMLBRElement(HTMLBRElement other); - public HTMLBRElement(Node other) { - super((Class) null); - newHTMLBRElement(other); - } - private native void newHTMLBRElement(Node other); - /** - Control flow of text around floats. See the - clear attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Control flow of text around floats. - */ - public native String clear(); - /** - see clear - @short see clear - */ - public native void setClear(String arg1); - // DOM::HTMLBRElement* HTMLBRElement(DOM::HTMLBRElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLBaseElement.java b/kdejava/koala/org/kde/koala/HTMLBaseElement.java deleted file mode 100644 index 16d82d36..00000000 --- a/kdejava/koala/org/kde/koala/HTMLBaseElement.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Document base URI. See the - BASE element definition in HTML 4.0. - @short Document base URI. - -*/ -public class HTMLBaseElement extends HTMLElement { - protected HTMLBaseElement(Class dummy){super((Class) null);} - public HTMLBaseElement() { - super((Class) null); - newHTMLBaseElement(); - } - private native void newHTMLBaseElement(); - public HTMLBaseElement(HTMLBaseElement other) { - super((Class) null); - newHTMLBaseElement(other); - } - private native void newHTMLBaseElement(HTMLBaseElement other); - public HTMLBaseElement(Node other) { - super((Class) null); - newHTMLBaseElement(other); - } - private native void newHTMLBaseElement(Node other); - /** - The base URI See the - href attribute definition in HTML 4.0. - @short The base URI See the - target attribute definition in HTML 4.0. - @short The default target frame. - */ - public native String target(); - /** - see target - @short see target - */ - public native void setTarget(String arg1); - // DOM::HTMLBaseElement* HTMLBaseElement(DOM::HTMLBaseElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLBaseFontElement.java b/kdejava/koala/org/kde/koala/HTMLBaseFontElement.java deleted file mode 100644 index 1c6032e3..00000000 --- a/kdejava/koala/org/kde/koala/HTMLBaseFontElement.java +++ /dev/null @@ -1,72 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Base font. See the - BASEFONT element definition in HTML 4.0. This element is - deprecated in HTML 4.0. - @short Base font. - -*/ -public class HTMLBaseFontElement extends HTMLElement { - protected HTMLBaseFontElement(Class dummy){super((Class) null);} - public HTMLBaseFontElement() { - super((Class) null); - newHTMLBaseFontElement(); - } - private native void newHTMLBaseFontElement(); - public HTMLBaseFontElement(HTMLBaseFontElement other) { - super((Class) null); - newHTMLBaseFontElement(other); - } - private native void newHTMLBaseFontElement(HTMLBaseFontElement other); - public HTMLBaseFontElement(Node other) { - super((Class) null); - newHTMLBaseFontElement(other); - } - private native void newHTMLBaseFontElement(Node other); - /** - Font color. See the - color attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Font color. - */ - public native String color(); - /** - see color - @short see color - */ - public native void setColor(String arg1); - /** - Font face identifier. See the face attribute - definition in HTML 4.0. This attribute is deprecated in - HTML 4.0. - @short Font face identifier. - */ - public native String face(); - /** - see face - @short see face - */ - public native void setFace(String arg1); - /** - Computed Font size. See the - size attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Computed Font size. - */ - public native long getSize(); - /** - see size - @short see size - */ - public native void setSize(long arg1); - // DOM::HTMLBaseFontElement* HTMLBaseFontElement(DOM::HTMLBaseFontElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLBlockquoteElement.java b/kdejava/koala/org/kde/koala/HTMLBlockquoteElement.java deleted file mode 100644 index c51a864d..00000000 --- a/kdejava/koala/org/kde/koala/HTMLBlockquoteElement.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - ??? See the - BLOCKTQUOTE element definition in HTML 4.0. - @short ??? See the - cite attribute definition in HTML 4.0. - @short A URI designating a document that describes the reason for the change. - */ - public native String cite(); - /** - see cite - @short see cite - */ - public native void setCite(String arg1); - // DOM::HTMLBlockquoteElement* HTMLBlockquoteElement(DOM::HTMLElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLBodyElement.java b/kdejava/koala/org/kde/koala/HTMLBodyElement.java deleted file mode 100644 index 3ad71cd2..00000000 --- a/kdejava/koala/org/kde/koala/HTMLBodyElement.java +++ /dev/null @@ -1,114 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The HTML document body. This element is always present in the DOM - API, even if the tags are not present in the source document. See - the - BODY element definition in HTML 4.0. - @short The HTML document body. - -*/ -public class HTMLBodyElement extends HTMLElement { - protected HTMLBodyElement(Class dummy){super((Class) null);} - public HTMLBodyElement() { - super((Class) null); - newHTMLBodyElement(); - } - private native void newHTMLBodyElement(); - public HTMLBodyElement(HTMLBodyElement other) { - super((Class) null); - newHTMLBodyElement(other); - } - private native void newHTMLBodyElement(HTMLBodyElement other); - public HTMLBodyElement(Node other) { - super((Class) null); - newHTMLBodyElement(other); - } - private native void newHTMLBodyElement(Node other); - /** - Color of active links (after mouse-button down, but before - mouse-button up). See the - alink attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Color of active links (after mouse-button down, but before mouse-button up). - */ - public native String aLink(); - /** - see aLink - @short see aLink - */ - public native void setALink(String arg1); - /** - URI of the background texture tile image. See the - background attribute definition in HTML 4.0. This - attribute is deprecated in HTML 4.0. - @short URI of the background texture tile image. - */ - public native String background(); - /** - see background - @short see background - */ - public native void setBackground(String arg1); - /** - Document background color. See the - bgcolor attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Document background color. - */ - public native String bgColor(); - /** - see bgColor - @short see bgColor - */ - public native void setBgColor(String arg1); - /** - Color of links that are not active and unvisited. See the - link attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Color of links that are not active and unvisited. - */ - public native String link(); - /** - see link - @short see link - */ - public native void setLink(String arg1); - /** - Document text color. See the - text attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Document text color. - */ - public native String text(); - /** - see text - @short see text - */ - public native void setText(String arg1); - /** - Color of links that have been visited by the user. See the - vlink attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Color of links that have been visited by the user. - */ - public native String vLink(); - /** - see vLink - @short see vLink - */ - public native void setVLink(String arg1); - // DOM::HTMLBodyElement* HTMLBodyElement(DOM::HTMLBodyElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLButtonElement.java b/kdejava/koala/org/kde/koala/HTMLButtonElement.java deleted file mode 100644 index 7468fd4e..00000000 --- a/kdejava/koala/org/kde/koala/HTMLButtonElement.java +++ /dev/null @@ -1,120 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Push button. See the - BUTTON element definition in HTML 4.0. - @short Push button. - -*/ -public class HTMLButtonElement extends HTMLElement { - protected HTMLButtonElement(Class dummy){super((Class) null);} - public HTMLButtonElement() { - super((Class) null); - newHTMLButtonElement(); - } - private native void newHTMLButtonElement(); - public HTMLButtonElement(HTMLButtonElement other) { - super((Class) null); - newHTMLButtonElement(other); - } - private native void newHTMLButtonElement(HTMLButtonElement other); - public HTMLButtonElement(Node other) { - super((Class) null); - newHTMLButtonElement(other); - } - private native void newHTMLButtonElement(Node other); - /** - Returns the FORM element containing this - control. Returns null if this control is not within the context - of a form. - @short Returns the FORM element containing this control. - */ - public native HTMLFormElement formElement(); - /** - A single character access key to give access to the form - control. See the - accesskey attribute definition in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - The control is unavailable in this context. See the - disabled attribute definition in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Form control or object name when submitted with a form. See the - - name attribute definition in HTML 4.0. - @short Form control or object name when submitted with a form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Index that represents the element's position in the tabbing - order. See the - tabindex attribute definition in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - The type of button. See the - type attribute definition in HTML 4.0. - @short The type of button. - */ - public native String type(); - /** - The current form control value. See the - value attribute definition in HTML 4.0. - @short The current form control value. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - Removes keyboard focus from this element. - @short Removes keyboard focus from this element. - */ - public native void blur(); - /** - Gives keyboard focus to this element. - @short Gives keyboard focus to this element. - */ - public native void focus(); - // DOM::HTMLButtonElement* HTMLButtonElement(DOM::HTMLButtonElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLCollection.java b/kdejava/koala/org/kde/koala/HTMLCollection.java deleted file mode 100644 index a5eecbee..00000000 --- a/kdejava/koala/org/kde/koala/HTMLCollection.java +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - An HTMLCollection is a list of nodes. An individual - node may be accessed by either ordinal index or the node's - name or id attributes. Note: Collections in - the HTML DOM are assumed to be live meaning that they are - automatically updated when the underlying document is changed. - @short An HTMLCollection is a list of nodes. - -*/ -public class HTMLCollection implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected HTMLCollection(Class dummy){} - - public HTMLCollection() { - newHTMLCollection(); - } - private native void newHTMLCollection(); - public HTMLCollection(HTMLCollection other) { - newHTMLCollection(other); - } - private native void newHTMLCollection(HTMLCollection other); - /** - This attribute specifies the length or size of the list. - @short This attribute specifies the length or size of the list. - */ - public native long length(); - /** - This method retrieves a node specified by ordinal index. Nodes - are numbered in tree order (depth-first traversal order). - @param index The index of the node to be fetched. The index - origin is 0. - @return The Node at the corresponding position - upon success. A value of null is returned if the - index is out of range. - - @short This method retrieves a node specified by ordinal index. - */ - public native Node item(long index); - /** - This method retrieves a Node using a name. It - first searches for a Node with a matching - id attribute. If it doesn't find one, it then searches - for a Node with a matching name - attribute, but only on those elements that are allowed a name - attribute. - @param name The name of the Node to be fetched. - @return The Node with a name or - id attribute whose value corresponds to the - specified string. Upon failure (e.g., no node with this name - exists), returns null . - - @short This method retrieves a Node using a name. - */ - public native Node namedItem(String name); - /** - not part of the DOM - @short - */ - public native Node base(); - // DOM::HTMLCollectionImpl* handle(); >>>> NOT CONVERTED - public native boolean isNull(); - public native Node firstItem(); - public native Node nextItem(); - public native Node nextNamedItem(String name); - // DOM::HTMLCollection* HTMLCollection(DOM::NodeImpl* arg1,int arg2); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLDListElement.java b/kdejava/koala/org/kde/koala/HTMLDListElement.java deleted file mode 100644 index 1f31bdb9..00000000 --- a/kdejava/koala/org/kde/koala/HTMLDListElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Definition list. See the - DL element definition in HTML 4.0. - @short Definition list. - -*/ -public class HTMLDListElement extends HTMLElement { - protected HTMLDListElement(Class dummy){super((Class) null);} - public HTMLDListElement() { - super((Class) null); - newHTMLDListElement(); - } - private native void newHTMLDListElement(); - public HTMLDListElement(HTMLDListElement other) { - super((Class) null); - newHTMLDListElement(other); - } - private native void newHTMLDListElement(HTMLDListElement other); - public HTMLDListElement(Node other) { - super((Class) null); - newHTMLDListElement(other); - } - private native void newHTMLDListElement(Node other); - /** - Reduce spacing between list items. See the - compact attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Reduce spacing between list items. - */ - public native boolean compact(); - /** - see compact - @short see compact - */ - public native void setCompact(boolean arg1); - // DOM::HTMLDListElement* HTMLDListElement(DOM::HTMLDListElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLDirectoryElement.java b/kdejava/koala/org/kde/koala/HTMLDirectoryElement.java deleted file mode 100644 index 18250cc5..00000000 --- a/kdejava/koala/org/kde/koala/HTMLDirectoryElement.java +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Directory list. See the - DIR element definition in HTML 4.0. This element is deprecated - in HTML 4.0. - @short Directory list. - -*/ -public class HTMLDirectoryElement extends HTMLElement { - protected HTMLDirectoryElement(Class dummy){super((Class) null);} - public HTMLDirectoryElement() { - super((Class) null); - newHTMLDirectoryElement(); - } - private native void newHTMLDirectoryElement(); - public HTMLDirectoryElement(HTMLDirectoryElement other) { - super((Class) null); - newHTMLDirectoryElement(other); - } - private native void newHTMLDirectoryElement(HTMLDirectoryElement other); - public HTMLDirectoryElement(Node other) { - super((Class) null); - newHTMLDirectoryElement(other); - } - private native void newHTMLDirectoryElement(Node other); - /** - Reduce spacing between list items. See the - compact attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Reduce spacing between list items. - */ - public native boolean compact(); - /** - see compact - @short see compact - */ - public native void setCompact(boolean arg1); - // DOM::HTMLDirectoryElement* HTMLDirectoryElement(DOM::HTMLDirectoryElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLDivElement.java b/kdejava/koala/org/kde/koala/HTMLDivElement.java deleted file mode 100644 index 6c90e343..00000000 --- a/kdejava/koala/org/kde/koala/HTMLDivElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Generic block container. See the - DIV element definition in HTML 4.0. - @short Generic block container. - -*/ -public class HTMLDivElement extends HTMLElement { - protected HTMLDivElement(Class dummy){super((Class) null);} - public HTMLDivElement() { - super((Class) null); - newHTMLDivElement(); - } - private native void newHTMLDivElement(); - public HTMLDivElement(HTMLDivElement other) { - super((Class) null); - newHTMLDivElement(other); - } - private native void newHTMLDivElement(HTMLDivElement other); - public HTMLDivElement(Node other) { - super((Class) null); - newHTMLDivElement(other); - } - private native void newHTMLDivElement(Node other); - /** - Horizontal text alignment. See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal text alignment. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - // DOM::HTMLDivElement* HTMLDivElement(DOM::HTMLDivElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLDocument.java b/kdejava/koala/org/kde/koala/HTMLDocument.java deleted file mode 100644 index b4ae5fd4..00000000 --- a/kdejava/koala/org/kde/koala/HTMLDocument.java +++ /dev/null @@ -1,221 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - An HTMLDocument is the root of the HTML hierarchy - and holds the entire content. Beside providing access to the - hierarchy, it also provides some convenience methods for accessing - certain sets of information from the document. - The following properties have been deprecated in favor of the - corresponding ones for the BODY element: - \li alinkColor - \li background - \li bgColor - \li fgColor - \li linkColor - \li vlinkColor - @short An HTMLDocument is the root of the HTML hierarchy and holds the entire content. - -*/ -public class HTMLDocument extends Document { - protected HTMLDocument(Class dummy){super((Class) null);} - public HTMLDocument() { - super((Class) null); - newHTMLDocument(); - } - private native void newHTMLDocument(); - /** - The parent is the widget the document should render itself in. - Rendering information (like sizes, etc...) is only created if - parent != 0 - @short The parent is the widget the document should render itself in. - */ - public HTMLDocument(TDEHTMLView parent) { - super((Class) null); - newHTMLDocument(parent); - } - private native void newHTMLDocument(TDEHTMLView parent); - public HTMLDocument(HTMLDocument other) { - super((Class) null); - newHTMLDocument(other); - } - private native void newHTMLDocument(HTMLDocument other); - public HTMLDocument(Node other) { - super((Class) null); - newHTMLDocument(other); - } - private native void newHTMLDocument(Node other); - /** - The title of a document as specified by the TITLE - element in the head of the document. - @short The title of a document as specified by the TITLE element in the head of the document. - */ - public native String title(); - /** - see title - @short see title - */ - public native void setTitle(String arg1); - /** - Returns the URI of the page that linked to this page. The value - is an empty string if the user navigated to the page directly - (not through a link, but, for example, via a bookmark). - @short Returns the URI of the page that linked to this page. - */ - public native String referrer(); - /** - The domain name of the server that served the document, or a - null string if the server cannot be identified by a domain - name. - @short The domain name of the server that served the document, or a null string if the server cannot be identified by a domain name. - */ - public native String domain(); - /** - The absolute URI of the document. - @short The absolute URI of the document. - */ - public native String URL(); - /** - The element that contains the content for the document. In - documents with BODY contents, returns the - BODY element, and in frameset documents, this returns - the outermost FRAMESET element. - @short The element that contains the content for the document. - */ - public native HTMLElement body(); - /** - see body - @short see body - */ - public native void setBody(HTMLElement arg1); - /** - A collection of all the IMG elements in a - document. The behavior is limited to IMG - elements for backwards compatibility. - @short A collection of all the IMG elements in a document. - */ - public native HTMLCollection images(); - /** - A collection of all the OBJECT elements that - include applets and APPLET ( deprecated ) - elements in a document. - @short A collection of all the OBJECT elements that include applets and APPLET ( deprecated ) elements in a document. - */ - public native HTMLCollection applets(); - /** - A collection of all AREA elements and anchor ( - A ) elements in a document with a value for the - href attribute. - @short A collection of all AREA elements and anchor ( A ) elements in a document with a value for the href attribute. - */ - public native HTMLCollection links(); - /** - A collection of all the forms of a document. - @short A collection of all the forms of a document. - */ - public native HTMLCollection forms(); - /** - A collection of all the layers of a document. - @short A collection of all the layers of a document. - */ - public native HTMLCollection layers(); - /** - A collection of all the anchor ( A ) elements in - a document with a value for the name attribute. - Note. For reasons of backwards compatibility, the returned set - of anchors only contains those anchors created with the - name attribute, not those created with the id - attribute. - @short A collection of all the anchor ( A ) elements in a document with a value for the name attribute. - */ - public native HTMLCollection anchors(); - /** - The cookies associated with this document. If there are none, - the value is an empty string. Otherwise, the value is a string: - a semicolon-delimited list of "name, value" pairs for all the - cookies associated with the page. For example, - name=value;expires=date . - @short The cookies associated with this document. - */ - public native String cookie(); - /** - see cookie - @short see cookie - */ - public native void setCookie(String arg1); - /** - Note. This method and the ones following allow a user to add to - or replace the structure model of a document using strings of - unparsed HTML. At the time of writing alternate methods for - providing similar functionality for both HTML and XML documents - were being considered. The following methods may be deprecated - at some point in the future in favor of a more general-purpose - mechanism. - Open a document stream for writing. If a document exists in - the target, this method clears it. - @short Note. - */ - public native void open(); - /** - Closes a document stream opened by open() and - forces rendering. - @short Closes a document stream opened by open() and forces rendering. - */ - public native void close(); - /** - Write a string of text to a document stream opened by - open() . The text is parsed into the document's - structure model. - @param text The string to be parsed into some structure in the - document structure model. - @short Write a string of text to a document stream opened by open() . - */ - public native void write(String text); - /** - Write a string of text followed by a newline character to a - document stream opened by open() . The text is - parsed into the document's structure model. - @param text The string to be parsed into some structure in the - document structure model. - @short Write a string of text followed by a newline character to a document stream opened by open() . - */ - public native void writeln(String text); - /** - Returns the (possibly empty) collection of elements whose - name value is given by elementName . - @param elementName The name attribute value for - an element. - @return The matching elements. - - @short Returns the (possibly empty) collection of elements whose name value is given by elementName . - */ - public native ArrayList getElementsByName(String elementName); - /** - not part of the DOM - converts the given (potentially relative) URL in a - full-qualified one, using the baseURL / document URL for - the missing parts. - @short not part of the DOM - */ - public native String completeURL(String url); - /** - Not part of the DOM - The date the document was last modified. - @short Not part of the DOM - */ - public native String lastModified(); - /** - Not part of the DOM - A collection of all the IMG, OBJECT, - AREA, A, forms and anchor elements of - a document. - @short Not part of the DOM - */ - public native HTMLCollection all(); - // DOM::HTMLDocument* HTMLDocument(DOM::HTMLDocumentImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLElement.java b/kdejava/koala/org/kde/koala/HTMLElement.java deleted file mode 100644 index b719f463..00000000 --- a/kdejava/koala/org/kde/koala/HTMLElement.java +++ /dev/null @@ -1,144 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - All HTML element interfaces derive from this class. Elements that - only expose the HTML core attributes are represented by the base - HTMLElement interface. These elements are as - follows: - \li HEAD -
    • special
    • : SUB, SUP, SPAN, BDO -
    • font
    • : TT, I, B, U, S, STRIKE, BIG, SMALL -
    • phrase
    • : EM, STRONG, DFN, CODE, SAMP, KBD, VAR, - CITE, ACRONYM, ABBR -
    • list
    • : DD, DT - \li NOFRAMES, NOSCRIPT - \li ADDRESS, CENTER - Note: The style attribute for this - interface is reserved for future usage. - @short All HTML element interfaces derive from this class. - -*/ -public class HTMLElement extends Element { - protected HTMLElement(Class dummy){super((Class) null);} - public HTMLElement() { - super((Class) null); - newHTMLElement(); - } - private native void newHTMLElement(); - public HTMLElement(HTMLElement other) { - super((Class) null); - newHTMLElement(other); - } - private native void newHTMLElement(HTMLElement other); - public HTMLElement(Node other) { - super((Class) null); - newHTMLElement(other); - } - private native void newHTMLElement(Node other); - /** - The element's identifier. See the - id attribute definition in HTML 4.0. - @short The element's identifier. - */ - public native String id(); - /** - see id - @short see id - */ - public native void setId(String arg1); - /** - The element's advisory title. See the - title attribute definition in HTML 4.0. - @short The element's advisory title. - */ - public native String title(); - /** - see title - @short see title - */ - public native void setTitle(String arg1); - /** - Language code defined in RFC 1766. See the - lang attribute definition in HTML 4.0. - @short Language code defined in RFC 1766. - */ - public native String lang(); - /** - see lang - @short see lang - */ - public native void setLang(String arg1); - /** - Specifies the base direction of directionally neutral text and - the directionality of tables. See the - dir attribute definition in HTML 4.0. - @short Specifies the base direction of directionally neutral text and the directionality of tables. - */ - public native String dir(); - /** - see dir - @short see dir - */ - public native void setDir(String arg1); - /** - The class attribute of the element. This attribute has been - renamed due to conflicts with the "class" keyword exposed by - many languages. See the - class attribute definition in HTML 4.0. - @short The class attribute of the element. - */ - public native String className(); - /** - see className - @short see className - */ - public native void setClassName(String arg1); - /** - The HTML code contained in this element. - This function is not part of the DOM specifications as defined by the w3c. - @short The HTML code contained in this element. - */ - public native String innerHTML(); - /** - Set the HTML content of this node. - @short Set the HTML content of this node. - */ - public native void setInnerHTML(String html); - /** - The text contained in this element. - This function is not part of the DOM specifications as defined by the w3c. - @short The text contained in this element. - */ - public native String innerText(); - /** - Set the text content of this node. - @short Set the text content of this node. - */ - public native void setInnerText(String text); - /** - Retrieves a collection of nodes that are direct descendants of this node. - IE-specific extension. - @short Retrieves a collection of nodes that are direct descendants of this node. - */ - public native HTMLCollection children(); - /** - Retrieves a collection of all nodes that descend from this node. - IE-specific extension. - @short Retrieves a collection of all nodes that descend from this node. - */ - public native HTMLCollection all(); - public native void removeCSSProperty(String property); - public native void addCSSProperty(String property, String value); - // DOM::HTMLElement* HTMLElement(DOM::HTMLElementImpl* arg1); >>>> NOT CONVERTED - protected native void assignOther(Node other, int elementId); -} diff --git a/kdejava/koala/org/kde/koala/HTMLFieldSetElement.java b/kdejava/koala/org/kde/koala/HTMLFieldSetElement.java deleted file mode 100644 index 3028e9fe..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFieldSetElement.java +++ /dev/null @@ -1,38 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Organizes form controls into logical groups. See the - FIELDSET element definition in HTML 4.0. - @short Organizes form controls into logical groups. - -*/ -public class HTMLFieldSetElement extends HTMLElement { - protected HTMLFieldSetElement(Class dummy){super((Class) null);} - public HTMLFieldSetElement() { - super((Class) null); - newHTMLFieldSetElement(); - } - private native void newHTMLFieldSetElement(); - public HTMLFieldSetElement(HTMLFieldSetElement other) { - super((Class) null); - newHTMLFieldSetElement(other); - } - private native void newHTMLFieldSetElement(HTMLFieldSetElement other); - public HTMLFieldSetElement(Node other) { - super((Class) null); - newHTMLFieldSetElement(other); - } - private native void newHTMLFieldSetElement(Node other); - /** - ### KDE 4.0: remove. - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - // DOM::HTMLFieldSetElement* HTMLFieldSetElement(DOM::HTMLFieldSetElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLFontElement.java b/kdejava/koala/org/kde/koala/HTMLFontElement.java deleted file mode 100644 index bfdc7359..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFontElement.java +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Local change to font. See the - FONT element definition in HTML 4.0. This element is - deprecated in HTML 4.0. - @short Local change to font. - -*/ -public class HTMLFontElement extends HTMLElement { - protected HTMLFontElement(Class dummy){super((Class) null);} - public HTMLFontElement() { - super((Class) null); - newHTMLFontElement(); - } - private native void newHTMLFontElement(); - public HTMLFontElement(HTMLFontElement other) { - super((Class) null); - newHTMLFontElement(other); - } - private native void newHTMLFontElement(HTMLFontElement other); - public HTMLFontElement(Node other) { - super((Class) null); - newHTMLFontElement(other); - } - private native void newHTMLFontElement(Node other); - /** - Font color. See the - color attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Font color. - */ - public native String color(); - /** - see color - @short see color - */ - public native void setColor(String arg1); - /** - Font face identifier. See the - face attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Font face identifier. - */ - public native String face(); - /** - see face - @short see face - */ - public native void setFace(String arg1); - /** - Font size. See the - size attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Font size. - */ - public native String size(); - /** - see size - @short see size - */ - public native void setSize(String arg1); - // DOM::HTMLFontElement* HTMLFontElement(DOM::HTMLFontElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLFormCollection.java b/kdejava/koala/org/kde/koala/HTMLFormCollection.java deleted file mode 100644 index 1d85f578..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFormCollection.java +++ /dev/null @@ -1,14 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - -*/ -public class HTMLFormCollection extends HTMLCollection { - protected HTMLFormCollection(Class dummy){super((Class) null);} - // DOM::HTMLFormCollection* HTMLFormCollection(DOM::NodeImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLFormElement.java b/kdejava/koala/org/kde/koala/HTMLFormElement.java deleted file mode 100644 index be44305c..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFormElement.java +++ /dev/null @@ -1,129 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The FORM element encompasses behavior similar to a - collection and an element. It provides direct access to the - contained input elements as well as the attributes of the form - element. See the - FORM element definition in HTML 4.0. - @short The FORM element encompasses behavior similar to a collection and an element. - -*/ -public class HTMLFormElement extends HTMLElement { - protected HTMLFormElement(Class dummy){super((Class) null);} - public HTMLFormElement() { - super((Class) null); - newHTMLFormElement(); - } - private native void newHTMLFormElement(); - public HTMLFormElement(HTMLFormElement other) { - super((Class) null); - newHTMLFormElement(other); - } - private native void newHTMLFormElement(HTMLFormElement other); - public HTMLFormElement(Node other) { - super((Class) null); - newHTMLFormElement(other); - } - private native void newHTMLFormElement(Node other); - /** - Returns a collection of all control elements in the form. - @short Returns a collection of all control elements in the form. - */ - public native HTMLCollection elements(); - /** - The number of form controls in the form. - @short The number of form controls in the form. - */ - public native long length(); - /** - Names the form. - @short Names the form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - List of character sets supported by the server. See the - accept-charset attribute definition in HTML 4.0. - @short List of character sets supported by the server. - */ - public native String acceptCharset(); - /** - see acceptCharset - @short see acceptCharset - */ - public native void setAcceptCharset(String arg1); - /** - Server-side form handler. See the - action attribute definition in HTML 4.0. - @short Server-side form handler. - */ - public native String action(); - /** - see action - @short see action - */ - public native void setAction(String arg1); - /** - The content type of the submitted form, generally - "application/x-www-form-urlencoded". See the - enctype attribute definition in HTML 4.0. - @short The content type of the submitted form, generally "application/x-www-form-urlencoded". - */ - public native String enctype(); - /** - see enctype - @short see enctype - */ - public native void setEnctype(String arg1); - /** - HTTP method used to submit form. See the - method attribute definition in HTML 4.0. - @short HTTP method used to submit form. - */ - public native String method(); - /** - see method - @short see method - */ - public native void setMethod(String arg1); - /** - Frame to render the resource in. See the - target attribute definition in HTML 4.0. - @short Frame to render the resource in. - */ - public native String target(); - /** - see target - @short see target - */ - public native void setTarget(String arg1); - /** - Submits the form. It performs the same action as a submit - button. - @short Submits the form. - */ - public native void submit(); - /** - Restores a form element's default values. It performs the same - action as a reset button. - @short Restores a form element's default values. - */ - public native void reset(); - // DOM::HTMLFormElement* HTMLFormElement(DOM::HTMLFormElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLFrameElement.java b/kdejava/koala/org/kde/koala/HTMLFrameElement.java deleted file mode 100644 index 6e90ecb2..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFrameElement.java +++ /dev/null @@ -1,142 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Create a frame. See the - FRAME element definition in HTML 4.0. - @short Create a frame. - -*/ -public class HTMLFrameElement extends HTMLElement { - protected HTMLFrameElement(Class dummy){super((Class) null);} - public HTMLFrameElement() { - super((Class) null); - newHTMLFrameElement(); - } - private native void newHTMLFrameElement(); - public HTMLFrameElement(HTMLFrameElement other) { - super((Class) null); - newHTMLFrameElement(other); - } - private native void newHTMLFrameElement(HTMLFrameElement other); - public HTMLFrameElement(Node other) { - super((Class) null); - newHTMLFrameElement(other); - } - private native void newHTMLFrameElement(Node other); - /** - Request frame borders. See the - frameborder attribute definition in HTML 4.0. - @short Request frame borders. - */ - public native String frameBorder(); - /** - see frameBorder - @short see frameBorder - */ - public native void setFrameBorder(String arg1); - /** - URI designating a long description of this image or frame. See - the - longdesc attribute definition in HTML 4.0. - @short URI designating a long description of this image or frame. - */ - public native String longDesc(); - /** - see longDesc - @short see longDesc - */ - public native void setLongDesc(String arg1); - /** - Frame margin height, in pixels. See the - marginheight attribute definition in HTML 4.0. - @short Frame margin height, in pixels. - */ - public native String marginHeight(); - /** - see marginHeight - @short see marginHeight - */ - public native void setMarginHeight(String arg1); - /** - Frame margin width, in pixels. See the - marginwidth attribute definition in HTML 4.0. - @short Frame margin width, in pixels. - */ - public native String marginWidth(); - /** - see marginWidth - @short see marginWidth - */ - public native void setMarginWidth(String arg1); - /** - The frame name (object of the target attribute). - See the - name attribute definition in HTML 4.0. - @short The frame name (object of the target attribute). - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - When true, forbid user from resizing frame. See the - noresize attribute definition in HTML 4.0. - @short When true, forbid user from resizing frame. - */ - public native boolean noResize(); - /** - see noResize - @short see noResize - */ - public native void setNoResize(boolean arg1); - /** - Specify whether or not the frame should have scrollbars. See - the - scrolling attribute definition in HTML 4.0. - @short Specify whether or not the frame should have scrollbars. - */ - public native String scrolling(); - /** - see scrolling - @short see scrolling - */ - public native void setScrolling(String arg1); - /** - A URI designating the initial frame contents. See the - src attribute definition in HTML 4.0. - @short A URI designating the initial frame contents. - */ - public native String src(); - /** - see src - @short see src - */ - public native void setSrc(String arg1); - /** - Introduced in DOM Level 2 - Returns the document this frame contains, if there is any and - it is available, a Null document otherwise. The attribute is - read-only. - @return The content Document if available. - - @short Introduced in DOM Level 2 - */ - public native Document contentDocument(); - // DOM::HTMLFrameElement* HTMLFrameElement(DOM::HTMLFrameElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLFrameSetElement.java b/kdejava/koala/org/kde/koala/HTMLFrameSetElement.java deleted file mode 100644 index a814dae1..00000000 --- a/kdejava/koala/org/kde/koala/HTMLFrameSetElement.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Create a grid of frames. See the - FRAMESET element definition in HTML 4.0. - @short Create a grid of frames. - -*/ -public class HTMLFrameSetElement extends HTMLElement { - protected HTMLFrameSetElement(Class dummy){super((Class) null);} - public HTMLFrameSetElement() { - super((Class) null); - newHTMLFrameSetElement(); - } - private native void newHTMLFrameSetElement(); - public HTMLFrameSetElement(HTMLFrameSetElement other) { - super((Class) null); - newHTMLFrameSetElement(other); - } - private native void newHTMLFrameSetElement(HTMLFrameSetElement other); - public HTMLFrameSetElement(Node other) { - super((Class) null); - newHTMLFrameSetElement(other); - } - private native void newHTMLFrameSetElement(Node other); - /** - The number of columns of frames in the frameset. See the - cols attribute definition in HTML 4.0. - @short The number of columns of frames in the frameset. - */ - public native String cols(); - /** - see cols - @short see cols - */ - public native void setCols(String arg1); - /** - The number of rows of frames in the frameset. See the - rows attribute definition in HTML 4.0. - @short The number of rows of frames in the frameset. - */ - public native String rows(); - /** - see rows - @short see rows - */ - public native void setRows(String arg1); - // DOM::HTMLFrameSetElement* HTMLFrameSetElement(DOM::HTMLFrameSetElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLHRElement.java b/kdejava/koala/org/kde/koala/HTMLHRElement.java deleted file mode 100644 index ee727f02..00000000 --- a/kdejava/koala/org/kde/koala/HTMLHRElement.java +++ /dev/null @@ -1,86 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Create a horizontal rule. See the - HR element definition in HTML 4.0. - @short Create a horizontal rule. - -*/ -public class HTMLHRElement extends HTMLElement { - protected HTMLHRElement(Class dummy){super((Class) null);} - public HTMLHRElement() { - super((Class) null); - newHTMLHRElement(); - } - private native void newHTMLHRElement(); - public HTMLHRElement(HTMLHRElement other) { - super((Class) null); - newHTMLHRElement(other); - } - private native void newHTMLHRElement(HTMLHRElement other); - public HTMLHRElement(Node other) { - super((Class) null); - newHTMLHRElement(other); - } - private native void newHTMLHRElement(Node other); - /** - Align the rule on the page. See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Align the rule on the page. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Indicates to the user agent that there should be no shading in - the rendering of this element. See the - noshade attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Indicates to the user agent that there should be no shading in the rendering of this element. - */ - public native boolean noShade(); - /** - see noShade - @short see noShade - */ - public native void setNoShade(boolean arg1); - /** - The height of the rule. See the - size attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short The height of the rule. - */ - public native String size(); - /** - see size - @short see size - */ - public native void setSize(String arg1); - /** - The width of the rule. See the - width attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short The width of the rule. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - // DOM::HTMLHRElement* HTMLHRElement(DOM::HTMLHRElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLHeadElement.java b/kdejava/koala/org/kde/koala/HTMLHeadElement.java deleted file mode 100644 index ba2a2c05..00000000 --- a/kdejava/koala/org/kde/koala/HTMLHeadElement.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Document head information. See the - HEAD element definition in HTML 4.0. - @short Document head information. - -*/ -public class HTMLHeadElement extends HTMLElement { - protected HTMLHeadElement(Class dummy){super((Class) null);} - public HTMLHeadElement() { - super((Class) null); - newHTMLHeadElement(); - } - private native void newHTMLHeadElement(); - public HTMLHeadElement(HTMLHeadElement other) { - super((Class) null); - newHTMLHeadElement(other); - } - private native void newHTMLHeadElement(HTMLHeadElement other); - public HTMLHeadElement(Node other) { - super((Class) null); - newHTMLHeadElement(other); - } - private native void newHTMLHeadElement(Node other); - /** - URI designating a metadata profile. See the - profile attribute definition in HTML 4.0. - @short URI designating a metadata profile. - */ - public native String profile(); - /** - see profile - @short see profile - */ - public native void setProfile(String arg1); - // DOM::HTMLHeadElement* HTMLHeadElement(DOM::HTMLHeadElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLHeadingElement.java b/kdejava/koala/org/kde/koala/HTMLHeadingElement.java deleted file mode 100644 index 07e92511..00000000 --- a/kdejava/koala/org/kde/koala/HTMLHeadingElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - For the H1 to H6 elements. See the - H1 element definition in HTML 4.0. - @short For the H1 to H6 elements. - -*/ -public class HTMLHeadingElement extends HTMLElement { - protected HTMLHeadingElement(Class dummy){super((Class) null);} - public HTMLHeadingElement() { - super((Class) null); - newHTMLHeadingElement(); - } - private native void newHTMLHeadingElement(); - public HTMLHeadingElement(HTMLHeadingElement other) { - super((Class) null); - newHTMLHeadingElement(other); - } - private native void newHTMLHeadingElement(HTMLHeadingElement other); - public HTMLHeadingElement(Node other) { - super((Class) null); - newHTMLHeadingElement(other); - } - private native void newHTMLHeadingElement(Node other); - /** - Horizontal text alignment. See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal text alignment. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - // DOM::HTMLHeadingElement* HTMLHeadingElement(DOM::HTMLElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLHtmlElement.java b/kdejava/koala/org/kde/koala/HTMLHtmlElement.java deleted file mode 100644 index 264f3f79..00000000 --- a/kdejava/koala/org/kde/koala/HTMLHtmlElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Root of an HTML document. See the - HTML element definition in HTML 4.0. - @short Root of an HTML document. - -*/ -public class HTMLHtmlElement extends HTMLElement { - protected HTMLHtmlElement(Class dummy){super((Class) null);} - public HTMLHtmlElement() { - super((Class) null); - newHTMLHtmlElement(); - } - private native void newHTMLHtmlElement(); - public HTMLHtmlElement(HTMLHtmlElement other) { - super((Class) null); - newHTMLHtmlElement(other); - } - private native void newHTMLHtmlElement(HTMLHtmlElement other); - public HTMLHtmlElement(Node other) { - super((Class) null); - newHTMLHtmlElement(other); - } - private native void newHTMLHtmlElement(Node other); - /** - Version information about the document's DTD. See the - version attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Version information about the document's DTD. - */ - public native String version(); - /** - see version - @short see version - */ - public native void setVersion(String arg1); - // DOM::HTMLHtmlElement* HTMLHtmlElement(DOM::HTMLHtmlElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLIFrameElement.java b/kdejava/koala/org/kde/koala/HTMLIFrameElement.java deleted file mode 100644 index 591ed864..00000000 --- a/kdejava/koala/org/kde/koala/HTMLIFrameElement.java +++ /dev/null @@ -1,168 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Inline subwindows. See the - IFRAME element definition in HTML 4.0. - @short Inline subwindows. - -*/ -public class HTMLIFrameElement extends HTMLElement { - protected HTMLIFrameElement(Class dummy){super((Class) null);} - public HTMLIFrameElement() { - super((Class) null); - newHTMLIFrameElement(); - } - private native void newHTMLIFrameElement(); - public HTMLIFrameElement(HTMLIFrameElement other) { - super((Class) null); - newHTMLIFrameElement(other); - } - private native void newHTMLIFrameElement(HTMLIFrameElement other); - public HTMLIFrameElement(Node other) { - super((Class) null); - newHTMLIFrameElement(other); - } - private native void newHTMLIFrameElement(Node other); - /** - Aligns this object (vertically or horizontally) with respect to - its surrounding text. See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Aligns this object (vertically or horizontally) with respect to its surrounding text. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Request frame borders. See the - frameborder attribute definition in HTML 4.0. - @short Request frame borders. - */ - public native String frameBorder(); - /** - see frameBorder - @short see frameBorder - */ - public native void setFrameBorder(String arg1); - /** - Frame height. See the - height attribute definition in HTML 4.0. - @short Frame height. - */ - public native String height(); - /** - see height - @short see height - */ - public native void setHeight(String arg1); - /** - URI designating a long description of this image or frame. See - the - longdesc attribute definition in HTML 4.0. - @short URI designating a long description of this image or frame. - */ - public native String longDesc(); - /** - see longDesc - @short see longDesc - */ - public native void setLongDesc(String arg1); - /** - Frame margin height, in pixels. See the - marginheight attribute definition in HTML 4.0. - @short Frame margin height, in pixels. - */ - public native String marginHeight(); - /** - see marginHeight - @short see marginHeight - */ - public native void setMarginHeight(String arg1); - /** - Frame margin width, in pixels. See the - marginwidth attribute definition in HTML 4.0. - @short Frame margin width, in pixels. - */ - public native String marginWidth(); - /** - see marginWidth - @short see marginWidth - */ - public native void setMarginWidth(String arg1); - /** - The frame name (object of the target attribute). - See the - name attribute definition in HTML 4.0. - @short The frame name (object of the target attribute). - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Specify whether or not the frame should have scrollbars. See - the - scrolling attribute definition in HTML 4.0. - @short Specify whether or not the frame should have scrollbars. - */ - public native String scrolling(); - /** - see scrolling - @short see scrolling - */ - public native void setScrolling(String arg1); - /** - A URI designating the initial frame contents. See the - src attribute definition in HTML 4.0. - @short A URI designating the initial frame contents. - */ - public native String src(); - /** - see src - @short see src - */ - public native void setSrc(String arg1); - /** - Frame width. See the - width attribute definition in HTML 4.0. - @short Frame width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - /** - Introduced in DOM Level 2 - Returns the document this iframe contains, if there is any and - it is available, a Null document otherwise. The attribute is - read-only. - @return The content Document if available. - - @short Introduced in DOM Level 2 - */ - public native Document contentDocument(); - // DOM::HTMLIFrameElement* HTMLIFrameElement(DOM::HTMLIFrameElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLImageElement.java b/kdejava/koala/org/kde/koala/HTMLImageElement.java deleted file mode 100644 index 2e2e5301..00000000 --- a/kdejava/koala/org/kde/koala/HTMLImageElement.java +++ /dev/null @@ -1,189 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Embedded image. See the - IMG element definition in HTML 4.0. - @short Embedded image. - -*/ -public class HTMLImageElement extends HTMLElement { - protected HTMLImageElement(Class dummy){super((Class) null);} - public HTMLImageElement() { - super((Class) null); - newHTMLImageElement(); - } - private native void newHTMLImageElement(); - public HTMLImageElement(HTMLImageElement other) { - super((Class) null); - newHTMLImageElement(other); - } - private native void newHTMLImageElement(HTMLImageElement other); - public HTMLImageElement(Node other) { - super((Class) null); - newHTMLImageElement(other); - } - private native void newHTMLImageElement(Node other); - /** - The name of the element (for backwards compatibility). - @short The name of the element (for backwards compatibility). - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Aligns this object (vertically or horizontally) with respect to - its surrounding text. See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Aligns this object (vertically or horizontally) with respect to its surrounding text. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Alternate text for user agents not rendering the normal content - of this element. See the - alt attribute definition in HTML 4.0. - @short Alternate text for user agents not rendering the normal content of this element. - */ - public native String alt(); - /** - see alt - @short see alt - */ - public native void setAlt(String arg1); - /** - Width of border around image. See the - border attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Width of border around image. - */ - public native String getBorder(); - /** - see border - @short see border - */ - public native void setBorder(String arg1); - /** - Override height. See the - height attribute definition in HTML 4.0. - @short Override height. - */ - public native long height(); - /** - see height - @short see height - */ - public native void setHeight(long arg1); - /** - Horizontal space to the left and right of this image. See the - - hspace attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal space to the left and right of this image. - */ - public native long hspace(); - /** - see hspace - @short see hspace - */ - public native void setHspace(long arg1); - /** - Use server-side image map. See the - ismap attribute definition in HTML 4.0. - @short Use server-side image map. - */ - public native boolean isMap(); - /** - see isMap - @short see isMap - */ - public native void setIsMap(boolean arg1); - /** - URI designating a long description of this image or frame. See - the - longdesc attribute definition in HTML 4.0. - @short URI designating a long description of this image or frame. - */ - public native String longDesc(); - /** - see longDesc - @short see longDesc - */ - public native void setLongDesc(String arg1); - /** - URI designating the source of this image. See the - src attribute definition in HTML 4.0. - @short URI designating the source of this image. - */ - public native String src(); - /** - see src - @short see src - */ - public native void setSrc(String arg1); - /** - Use client-side image map. See the - usemap attribute definition in HTML 4.0. - @short Use client-side image map. - */ - public native String useMap(); - /** - see useMap - @short see useMap - */ - public native void setUseMap(String arg1); - /** - Vertical space above and below this image. See the - vspace attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Vertical space above and below this image. - */ - public native long vspace(); - /** - see vspace - @short see vspace - */ - public native void setVspace(long arg1); - /** - Override width. See the - width attribute definition in HTML 4.0. - @short Override width. - */ - public native long width(); - /** - see width - @short see width - */ - public native void setWidth(long arg1); - /** - Nonstandard extension to DOM.ImgElement - @short Nonstandard extension to DOM.ImgElement - */ - public native long x(); - public native long y(); - // DOM::HTMLImageElement* HTMLImageElement(DOM::HTMLImageElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLInputElement.java b/kdejava/koala/org/kde/koala/HTMLInputElement.java deleted file mode 100644 index 1abbe641..00000000 --- a/kdejava/koala/org/kde/koala/HTMLInputElement.java +++ /dev/null @@ -1,284 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Form control. Note. Depending upon the environment the page is - being viewed, the value property may be read-only for the file - upload input type. For the "password" input type, the actual value - returned may be masked to prevent unauthorized use. See the - INPUT element definition in HTML 4.0. - @short Form control. - -*/ -public class HTMLInputElement extends HTMLElement { - protected HTMLInputElement(Class dummy){super((Class) null);} - public HTMLInputElement() { - super((Class) null); - newHTMLInputElement(); - } - private native void newHTMLInputElement(); - public HTMLInputElement(HTMLInputElement other) { - super((Class) null); - newHTMLInputElement(other); - } - private native void newHTMLInputElement(HTMLInputElement other); - public HTMLInputElement(Node other) { - super((Class) null); - newHTMLInputElement(other); - } - private native void newHTMLInputElement(Node other); - /** - Stores the initial control value (i.e., the initial value of - value ). - @short Stores the initial control value (i. - */ - public native String defaultValue(); - /** - see defaultValue - @short see defaultValue - */ - public native void setDefaultValue(String arg1); - /** - When type has the value "Radio" or "Checkbox", - stores the initial value of the checked - attribute. - @short When type has the value "Radio" or "Checkbox", stores the initial value of the checked attribute. - */ - public native boolean defaultChecked(); - /** - see defaultChecked - @short see defaultChecked - */ - public native void setDefaultChecked(boolean arg1); - /** - ### KDE 4.0: remove. - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - A comma-separated list of content types that a server - processing this form will handle correctly. See the - accept attribute definition in HTML 4.0. - @short A comma-separated list of content types that a server processing this form will handle correctly. - */ - public native String accept(); - /** - see accept - @short see accept - */ - public native void setAccept(String arg1); - /** - A single character access key to give access to the form - control. See the - accesskey attribute definition in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - Aligns this object (vertically or horizontally) with respect to - its surrounding text. See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Aligns this object (vertically or horizontally) with respect to its surrounding text. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Alternate text for user agents not rendering the normal content - of this element. See the - alt attribute definition in HTML 4.0. - @short Alternate text for user agents not rendering the normal content of this element. - */ - public native String alt(); - /** - see alt - @short see alt - */ - public native void setAlt(String arg1); - /** - Describes whether a radio or check box is checked, when - type has the value "Radio" or "Checkbox". The value is - true if explicitly set. Represents the current state of the - checkbox or radio button. See the - checked attribute definition in HTML 4.0. - @short Describes whether a radio or check box is checked, when type has the value "Radio" or "Checkbox". - */ - public native boolean checked(); - /** - see checked - @short see checked - */ - public native void setChecked(boolean arg1); - /** - The control is unavailable in this context. See the - disabled attribute definition in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Maximum number of characters for text fields, when type - has the value "Text" or "Password". See the - maxlength attribute definition in HTML 4.0. - @short Maximum number of characters for text fields, when type has the value "Text" or "Password". - */ - public native long maxLength(); - /** - see maxLength - @short see maxLength - */ - public native void setMaxLength(long arg1); - /** - Form control or object name when submitted with a form. See the - - name attribute definition in HTML 4.0. - @short Form control or object name when submitted with a form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - This control is read-only. When type has the - value "text" or "password" only. See the - readonly attribute definition in HTML 4.0. - @short This control is read-only. - */ - public native boolean readOnly(); - /** - see readOnly - @short see readOnly - */ - public native void setReadOnly(boolean arg1); - /** - Size information. The precise meaning is specific to each type - of field. See the - size attribute definition in HTML 4.0. - @short Size information. - */ - public native long getSize(); - /** - see getSize - @short see getSize - */ - public native void setSize(long arg1); - /** - When the type attribute has the value "Image", - this attribute specifies the location of the image to be used - to decorate the graphical submit button. See the - src attribute definition in HTML 4.0. - @short When the type attribute has the value "Image", this attribute specifies the location of the image to be used to decorate the graphical submit button. - */ - public native String src(); - /** - see src - @short see src - */ - public native void setSrc(String arg1); - /** - Index that represents the element's position in the tabbing - order. See the - tabindex attribute definition in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - The type of control created. See the - type attribute definition in HTML 4.0. - @short The type of control created. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Use client-side image map. See the - usemap attribute definition in HTML 4.0. - @short Use client-side image map. - */ - public native String useMap(); - /** - see useMap - @short see useMap - */ - public native void setUseMap(String arg1); - /** - The current form control value. Used for radio buttons and - check boxes. See the - value attribute definition in HTML 4.0. - @short The current form control value. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - Removes keyboard focus from this element. - @short Removes keyboard focus from this element. - */ - public native void blur(); - /** - Gives keyboard focus to this element. - @short Gives keyboard focus to this element. - */ - public native void focus(); - /** - Select the contents of the text area. For INPUT - elements whose type attribute has one of the - following values: "Text", "File", or "Password". - @short Select the contents of the text area. - */ - public native void select(); - /** - Simulate a mouse-click. For INPUT elements whose - type attribute has one of the following values: - "Button", "Checkbox", "Radio", "Reset", or "Submit". - @short Simulate a mouse-click. - */ - public native void click(); - // DOM::HTMLInputElement* HTMLInputElement(DOM::HTMLInputElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLIsIndexElement.java b/kdejava/koala/org/kde/koala/HTMLIsIndexElement.java deleted file mode 100644 index 2cc3eaa8..00000000 --- a/kdejava/koala/org/kde/koala/HTMLIsIndexElement.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This element is used for single-line text input. See the - ISINDEX element definition in HTML 4.0. This element is - deprecated in HTML 4.0. - @short This element is used for single-line text input. - -*/ -public class HTMLIsIndexElement extends HTMLElement { - protected HTMLIsIndexElement(Class dummy){super((Class) null);} - public HTMLIsIndexElement() { - super((Class) null); - newHTMLIsIndexElement(); - } - private native void newHTMLIsIndexElement(); - public HTMLIsIndexElement(HTMLIsIndexElement other) { - super((Class) null); - newHTMLIsIndexElement(other); - } - private native void newHTMLIsIndexElement(HTMLIsIndexElement other); - public HTMLIsIndexElement(Node other) { - super((Class) null); - newHTMLIsIndexElement(other); - } - private native void newHTMLIsIndexElement(Node other); - /** - ### KDE 4.0: remove - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - The prompt message. See the - prompt attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short The prompt message. - */ - public native String prompt(); - /** - see prompt - @short see prompt - */ - public native void setPrompt(String arg1); - // DOM::HTMLIsIndexElement* HTMLIsIndexElement(DOM::HTMLIsIndexElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLLIElement.java b/kdejava/koala/org/kde/koala/HTMLLIElement.java deleted file mode 100644 index 101e6db8..00000000 --- a/kdejava/koala/org/kde/koala/HTMLLIElement.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - List item. See the - LI element definition in HTML 4.0. - @short List item. - -*/ -public class HTMLLIElement extends HTMLElement { - protected HTMLLIElement(Class dummy){super((Class) null);} - public HTMLLIElement() { - super((Class) null); - newHTMLLIElement(); - } - private native void newHTMLLIElement(); - public HTMLLIElement(HTMLLIElement other) { - super((Class) null); - newHTMLLIElement(other); - } - private native void newHTMLLIElement(HTMLLIElement other); - public HTMLLIElement(Node other) { - super((Class) null); - newHTMLLIElement(other); - } - private native void newHTMLLIElement(Node other); - /** - List item bullet style. See the - type attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short List item bullet style. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Reset sequence number when used in OL See the - value attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Reset sequence number when used in OL See the - LABEL element definition in HTML 4.0. - @short Form field label text. - -*/ -public class HTMLLabelElement extends HTMLElement { - protected HTMLLabelElement(Class dummy){super((Class) null);} - public HTMLLabelElement() { - super((Class) null); - newHTMLLabelElement(); - } - private native void newHTMLLabelElement(); - public HTMLLabelElement(HTMLLabelElement other) { - super((Class) null); - newHTMLLabelElement(other); - } - private native void newHTMLLabelElement(HTMLLabelElement other); - public HTMLLabelElement(Node other) { - super((Class) null); - newHTMLLabelElement(other); - } - private native void newHTMLLabelElement(Node other); - /** - A single character access key to give access to the form - control. See the - accesskey attribute definition in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - This attribute links this label with another form control by - id attribute. See the - for attribute definition in HTML 4.0. - @short This attribute links this label with another form control by id attribute. - */ - public native String htmlFor(); - /** - see htmlFor - @short see htmlFor - */ - public native void setHtmlFor(String arg1); - // DOM::HTMLLabelElement* HTMLLabelElement(DOM::HTMLLabelElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLLegendElement.java b/kdejava/koala/org/kde/koala/HTMLLegendElement.java deleted file mode 100644 index 21ca8a71..00000000 --- a/kdejava/koala/org/kde/koala/HTMLLegendElement.java +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Provides a caption for a FIELDSET grouping. See the - - LEGEND element definition in HTML 4.0. - @short Provides a caption for a FIELDSET grouping. - -*/ -public class HTMLLegendElement extends HTMLElement { - protected HTMLLegendElement(Class dummy){super((Class) null);} - public HTMLLegendElement() { - super((Class) null); - newHTMLLegendElement(); - } - private native void newHTMLLegendElement(); - public HTMLLegendElement(HTMLLegendElement other) { - super((Class) null); - newHTMLLegendElement(other); - } - private native void newHTMLLegendElement(HTMLLegendElement other); - public HTMLLegendElement(Node other) { - super((Class) null); - newHTMLLegendElement(other); - } - private native void newHTMLLegendElement(Node other); - /** - ### KDE 4.0: remove - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - A single character access key to give access to the form - control. See the - accesskey attribute definition in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - Text alignment relative to FIELDSET . See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Text alignment relative to FIELDSET . - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - // DOM::HTMLLegendElement* HTMLLegendElement(DOM::HTMLLegendElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLLinkElement.java b/kdejava/koala/org/kde/koala/HTMLLinkElement.java deleted file mode 100644 index 87c08702..00000000 --- a/kdejava/koala/org/kde/koala/HTMLLinkElement.java +++ /dev/null @@ -1,151 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The LINK element specifies a link to an external - resource, and defines this document's relationship to that resource - (or vice versa). See the - LINK element definition in HTML 4.0. - @short The LINK element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa). - -*/ -public class HTMLLinkElement extends HTMLElement { - protected HTMLLinkElement(Class dummy){super((Class) null);} - public HTMLLinkElement() { - super((Class) null); - newHTMLLinkElement(); - } - private native void newHTMLLinkElement(); - public HTMLLinkElement(HTMLLinkElement other) { - super((Class) null); - newHTMLLinkElement(other); - } - private native void newHTMLLinkElement(HTMLLinkElement other); - public HTMLLinkElement(Node other) { - super((Class) null); - newHTMLLinkElement(other); - } - private native void newHTMLLinkElement(Node other); - /** - Enables/disables the link. This is currently only used for - style sheet links, and may be used to activate or deactivate - style sheets. - @short Enables/disables the link. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - The character encoding of the resource being linked to. See the - - charset attribute definition in HTML 4.0. - @short The character encoding of the resource being linked to. - */ - public native String charset(); - /** - see charset - @short see charset - */ - public native void setCharset(String arg1); - /** - The URI of the linked resource. See the - href attribute definition in HTML 4.0. - @short The URI of the linked resource. - */ - public native String href(); - /** - see href - @short see href - */ - public native void setHref(String arg1); - /** - Language code of the linked resource. See the - hreflang attribute definition in HTML 4.0. - @short Language code of the linked resource. - */ - public native String hreflang(); - /** - see hreflang - @short see hreflang - */ - public native void setHreflang(String arg1); - /** - Designed for use with one or more target media. See the - media attribute definition in HTML 4.0. - @short Designed for use with one or more target media. - */ - public native String media(); - /** - see media - @short see media - */ - public native void setMedia(String arg1); - /** - Forward link type. See the - rel attribute definition in HTML 4.0. - @short Forward link type. - */ - public native String rel(); - /** - see rel - @short see rel - */ - public native void setRel(String arg1); - /** - Reverse link type. See the - rev attribute definition in HTML 4.0. - @short Reverse link type. - */ - public native String rev(); - /** - see rev - @short see rev - */ - public native void setRev(String arg1); - /** - Frame to render the resource in. See the - target attribute definition in HTML 4.0. - @short Frame to render the resource in. - */ - public native String target(); - /** - see target - @short see target - */ - public native void setTarget(String arg1); - /** - Advisory content type. See the - type attribute definition in HTML 4.0. - @short Advisory content type. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Introduced in DOM Level 2 - This method is from the LinkStyle interface - The style sheet. - @short Introduced in DOM Level 2 This method is from the LinkStyle interface - */ - public native StyleSheet sheet(); - // DOM::HTMLLinkElement* HTMLLinkElement(DOM::HTMLLinkElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLMapElement.java b/kdejava/koala/org/kde/koala/HTMLMapElement.java deleted file mode 100644 index 7b542b9e..00000000 --- a/kdejava/koala/org/kde/koala/HTMLMapElement.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Client-side image map. See the - MAP element definition in HTML 4.0. - @short Client-side image map. - -*/ -public class HTMLMapElement extends HTMLElement { - protected HTMLMapElement(Class dummy){super((Class) null);} - public HTMLMapElement() { - super((Class) null); - newHTMLMapElement(); - } - private native void newHTMLMapElement(); - public HTMLMapElement(HTMLMapElement other) { - super((Class) null); - newHTMLMapElement(other); - } - private native void newHTMLMapElement(HTMLMapElement other); - public HTMLMapElement(Node other) { - super((Class) null); - newHTMLMapElement(other); - } - private native void newHTMLMapElement(Node other); - /** - The list of areas defined for the image map. - @short The list of areas defined for the image map. - */ - public native HTMLCollection areas(); - /** - Names the map (for use with usemap ). See the - name attribute definition in HTML 4.0. - @short Names the map (for use with usemap ). - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - // DOM::HTMLMapElement* HTMLMapElement(DOM::HTMLMapElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLMenuElement.java b/kdejava/koala/org/kde/koala/HTMLMenuElement.java deleted file mode 100644 index fa1597e2..00000000 --- a/kdejava/koala/org/kde/koala/HTMLMenuElement.java +++ /dev/null @@ -1,47 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Menu list. See the - MENU element definition in HTML 4.0. This element is - deprecated in HTML 4.0. - @short Menu list. - -*/ -public class HTMLMenuElement extends HTMLElement { - protected HTMLMenuElement(Class dummy){super((Class) null);} - public HTMLMenuElement() { - super((Class) null); - newHTMLMenuElement(); - } - private native void newHTMLMenuElement(); - public HTMLMenuElement(HTMLMenuElement other) { - super((Class) null); - newHTMLMenuElement(other); - } - private native void newHTMLMenuElement(HTMLMenuElement other); - public HTMLMenuElement(Node other) { - super((Class) null); - newHTMLMenuElement(other); - } - private native void newHTMLMenuElement(Node other); - /** - Reduce spacing between list items. See the - compact attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Reduce spacing between list items. - */ - public native boolean compact(); - /** - see compact - @short see compact - */ - public native void setCompact(boolean arg1); - // DOM::HTMLMenuElement* HTMLMenuElement(DOM::HTMLMenuElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLMetaElement.java b/kdejava/koala/org/kde/koala/HTMLMetaElement.java deleted file mode 100644 index 3a586633..00000000 --- a/kdejava/koala/org/kde/koala/HTMLMetaElement.java +++ /dev/null @@ -1,82 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This contains generic meta-information about the document. See the - - META element definition in HTML 4.0. - @short This contains generic meta-information about the document. - -*/ -public class HTMLMetaElement extends HTMLElement { - protected HTMLMetaElement(Class dummy){super((Class) null);} - public HTMLMetaElement() { - super((Class) null); - newHTMLMetaElement(); - } - private native void newHTMLMetaElement(); - public HTMLMetaElement(HTMLMetaElement other) { - super((Class) null); - newHTMLMetaElement(other); - } - private native void newHTMLMetaElement(HTMLMetaElement other); - public HTMLMetaElement(Node other) { - super((Class) null); - newHTMLMetaElement(other); - } - private native void newHTMLMetaElement(Node other); - /** - Associated information. See the - content attribute definition in HTML 4.0. - @short Associated information. - */ - public native String content(); - /** - see content - @short see content - */ - public native void setContent(String arg1); - /** - HTTP response header name. See the - http-equiv attribute definition in HTML 4.0. - @short HTTP response header name. - */ - public native String httpEquiv(); - /** - see httpEquiv - @short see httpEquiv - */ - public native void setHttpEquiv(String arg1); - /** - Meta information name. See the - name attribute definition in HTML 4.0. - @short Meta information name. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Select form of content. See the - scheme attribute definition in HTML 4.0. - @short Select form of content. - */ - public native String scheme(); - /** - see scheme - @short see scheme - */ - public native void setScheme(String arg1); - // DOM::HTMLMetaElement* HTMLMetaElement(DOM::HTMLMetaElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLModElement.java b/kdejava/koala/org/kde/koala/HTMLModElement.java deleted file mode 100644 index 47a570cf..00000000 --- a/kdejava/koala/org/kde/koala/HTMLModElement.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Notice of modification to part of a document. See the - INS and - DEL element definitions in HTML 4.0. - @short Notice of modification to part of a document. - -*/ -public class HTMLModElement extends HTMLElement { - protected HTMLModElement(Class dummy){super((Class) null);} - public HTMLModElement() { - super((Class) null); - newHTMLModElement(); - } - private native void newHTMLModElement(); - public HTMLModElement(HTMLModElement other) { - super((Class) null); - newHTMLModElement(other); - } - private native void newHTMLModElement(HTMLModElement other); - public HTMLModElement(Node other) { - super((Class) null); - newHTMLModElement(other); - } - private native void newHTMLModElement(Node other); - /** - A URI designating a document that describes the reason for the - change. See the - cite attribute definition in HTML 4.0. - @short A URI designating a document that describes the reason for the change. - */ - public native String cite(); - /** - see cite - @short see cite - */ - public native void setCite(String arg1); - /** - The date and time of the change. See the - datetime attribute definition in HTML 4.0. - @short The date and time of the change. - */ - public native String dateTime(); - /** - see dateTime - @short see dateTime - */ - public native void setDateTime(String arg1); - // DOM::HTMLModElement* HTMLModElement(DOM::HTMLElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLOListElement.java b/kdejava/koala/org/kde/koala/HTMLOListElement.java deleted file mode 100644 index 81650e3b..00000000 --- a/kdejava/koala/org/kde/koala/HTMLOListElement.java +++ /dev/null @@ -1,72 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Ordered list. See the - OL element definition in HTML 4.0. - @short Ordered list. - -*/ -public class HTMLOListElement extends HTMLElement { - protected HTMLOListElement(Class dummy){super((Class) null);} - public HTMLOListElement() { - super((Class) null); - newHTMLOListElement(); - } - private native void newHTMLOListElement(); - public HTMLOListElement(HTMLOListElement other) { - super((Class) null); - newHTMLOListElement(other); - } - private native void newHTMLOListElement(HTMLOListElement other); - public HTMLOListElement(Node other) { - super((Class) null); - newHTMLOListElement(other); - } - private native void newHTMLOListElement(Node other); - /** - Reduce spacing between list items. See the - compact attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Reduce spacing between list items. - */ - public native boolean compact(); - /** - see compact - @short see compact - */ - public native void setCompact(boolean arg1); - /** - Starting sequence number. See the - start attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Starting sequence number. - */ - public native long start(); - /** - see start - @short see start - */ - public native void setStart(long arg1); - /** - Numbering style. See the - type attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Numbering style. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - // DOM::HTMLOListElement* HTMLOListElement(DOM::HTMLOListElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLObjectElement.java b/kdejava/koala/org/kde/koala/HTMLObjectElement.java deleted file mode 100644 index ee1a9505..00000000 --- a/kdejava/koala/org/kde/koala/HTMLObjectElement.java +++ /dev/null @@ -1,269 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Generic embedded object. Note. In principle, all properties on the - object element are read-write but in some environments some - properties may be read-only once the underlying object is - instantiated. See the - OBJECT element definition in HTML 4.0. - @short Generic embedded object. - -*/ -public class HTMLObjectElement extends HTMLElement { - protected HTMLObjectElement(Class dummy){super((Class) null);} - public HTMLObjectElement() { - super((Class) null); - newHTMLObjectElement(); - } - private native void newHTMLObjectElement(); - public HTMLObjectElement(HTMLObjectElement other) { - super((Class) null); - newHTMLObjectElement(other); - } - private native void newHTMLObjectElement(HTMLObjectElement other); - public HTMLObjectElement(Node other) { - super((Class) null); - newHTMLObjectElement(other); - } - private native void newHTMLObjectElement(Node other); - /** - Returns the FORM element containing this - control. Returns null if this control is not within the context - of a form. - @short Returns the FORM element containing this control. - */ - public native HTMLFormElement formElement(); - /** - Applet class file. See the code attribute for - HTMLAppletElement. - @short Applet class file. - */ - public native String code(); - /** - see code - @short see code - */ - public native void setCode(String arg1); - /** - Aligns this object (vertically or horizontally) with respect to - its surrounding text. See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Aligns this object (vertically or horizontally) with respect to its surrounding text. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Space-separated list of archives. See the - archive attribute definition in HTML 4.0. - @short Space-separated list of archives. - */ - public native String archive(); - /** - see archive - @short see archive - */ - public native void setArchive(String arg1); - /** - Width of border around the object. See the - border attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Width of border around the object. - */ - public native String border(); - /** - see border - @short see border - */ - public native void setBorder(String arg1); - /** - Base URI for classid , data , and - archive attributes. See the - codebase attribute definition in HTML 4.0. - @short Base URI for classid , data , and archive attributes. - */ - public native String codeBase(); - /** - see codeBase - @short see codeBase - */ - public native void setCodeBase(String arg1); - /** - Content type for data downloaded via classid - attribute. See the - codetype attribute definition in HTML 4.0. - @short Content type for data downloaded via classid attribute. - */ - public native String codeType(); - /** - see codeType - @short see codeType - */ - public native void setCodeType(String arg1); - /** - A URI specifying the location of the object's data. See the - data attribute definition in HTML 4.0. - @short A URI specifying the location of the object's data. - */ - public native String data(); - /** - see data - @short see data - */ - public native void setData(String arg1); - /** - Declare (for future reference), but do not instantiate, this - object. See the - declare attribute definition in HTML 4.0. - @short Declare (for future reference), but do not instantiate, this object. - */ - public native boolean declare(); - /** - see declare - @short see declare - */ - public native void setDeclare(boolean arg1); - /** - Override height. See the - height attribute definition in HTML 4.0. - @short Override height. - */ - public native String height(); - /** - see height - @short see height - */ - public native void setHeight(String arg1); - /** - Horizontal space, in pixels, to the left and right of this image, applet, - or object. See the - hspace attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal space, in pixels, to the left and right of this image, applet, or object. - */ - public native long getHspace(); - /** - see hspace - @short see hspace - */ - public native void setHspace(long arg1); - /** - Form control or object name when submitted with a form. See the - - name attribute definition in HTML 4.0. - @short Form control or object name when submitted with a form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Message to render while loading the object. See the - standby attribute definition in HTML 4.0. - @short Message to render while loading the object. - */ - public native String standby(); - /** - see standby - @short see standby - */ - public native void setStandby(String arg1); - /** - Index that represents the element's position in the tabbing - order. See the - tabindex attribute definition in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - Content type for data downloaded via data - attribute. See the - type attribute definition in HTML 4.0. - @short Content type for data downloaded via data attribute. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Use client-side image map. See the - usemap attribute definition in HTML 4.0. - @short Use client-side image map. - */ - public native String useMap(); - /** - see useMap - @short see useMap - */ - public native void setUseMap(String arg1); - /** - Vertical space, in pixels, above and below this image, applet, or object. - See the - vspace attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Vertical space, in pixels, above and below this image, applet, or object. - */ - public native long getVspace(); - /** - see vspace - @short see vspace - */ - public native void setVspace(long arg1); - /** - Override width. See the - width attribute definition in HTML 4.0. - @short Override width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - /** - Introduced in DOM Level 2 - Returns the document this iframe contains, if there is any and - it is available, a Null document otherwise. The attribute is - read-only. - @return The content Document if available. - - @short Introduced in DOM Level 2 - */ - public native Document contentDocument(); - // DOM::HTMLObjectElement* HTMLObjectElement(DOM::HTMLObjectElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLOptGroupElement.java b/kdejava/koala/org/kde/koala/HTMLOptGroupElement.java deleted file mode 100644 index 2bdab36f..00000000 --- a/kdejava/koala/org/kde/koala/HTMLOptGroupElement.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Group options together in logical subdivisions. See the - OPTGROUP element definition in HTML 4.0. - @short Group options together in logical subdivisions. - -*/ -public class HTMLOptGroupElement extends HTMLElement { - protected HTMLOptGroupElement(Class dummy){super((Class) null);} - public HTMLOptGroupElement() { - super((Class) null); - newHTMLOptGroupElement(); - } - private native void newHTMLOptGroupElement(); - public HTMLOptGroupElement(HTMLOptGroupElement other) { - super((Class) null); - newHTMLOptGroupElement(other); - } - private native void newHTMLOptGroupElement(HTMLOptGroupElement other); - public HTMLOptGroupElement(Node other) { - super((Class) null); - newHTMLOptGroupElement(other); - } - private native void newHTMLOptGroupElement(Node other); - /** - The control is unavailable in this context. See the - disabled attribute definition in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Assigns a label to this option group. See the - label attribute definition in HTML 4.0. - @short Assigns a label to this option group. - */ - public native String label(); - /** - see label - @short see label - */ - public native void setLabel(String arg1); - // DOM::HTMLOptGroupElement* HTMLOptGroupElement(DOM::HTMLOptGroupElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLOptionElement.java b/kdejava/koala/org/kde/koala/HTMLOptionElement.java deleted file mode 100644 index 7aeb1f77..00000000 --- a/kdejava/koala/org/kde/koala/HTMLOptionElement.java +++ /dev/null @@ -1,115 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A selectable choice. See the - OPTION element definition in HTML 4.0. - @short A selectable choice. - -*/ -public class HTMLOptionElement extends HTMLElement { - protected HTMLOptionElement(Class dummy){super((Class) null);} - public HTMLOptionElement() { - super((Class) null); - newHTMLOptionElement(); - } - private native void newHTMLOptionElement(); - public HTMLOptionElement(HTMLOptionElement other) { - super((Class) null); - newHTMLOptionElement(other); - } - private native void newHTMLOptionElement(HTMLOptionElement other); - public HTMLOptionElement(Node other) { - super((Class) null); - newHTMLOptionElement(other); - } - private native void newHTMLOptionElement(Node other); - /** - ### KDE 4.0: remove - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - Stores the initial value of the selected - attribute. - @short Stores the initial value of the selected attribute. - */ - public native boolean defaultSelected(); - /** - see defaultSelected - @short see defaultSelected - */ - public native void setDefaultSelected(boolean arg1); - /** - The text contained within the option element. - @short The text contained within the option element. - */ - public native String text(); - /** - The index of this OPTION in its parent - SELECT . - @short The index of this OPTION in its parent SELECT . - */ - public native long index(); - /** - see index - This function is obsolete - the index property is actually supposed to be read-only - (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) - @short see index - */ - public native void setIndex(long arg1); - /** - The control is unavailable in this context. See the - disabled attribute definition in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Option label for use in hierarchical menus. See the - label attribute definition in HTML 4.0. - @short Option label for use in hierarchical menus. - */ - public native String label(); - /** - see label - @short see label - */ - public native void setLabel(String arg1); - /** - Means that this option is initially selected. See the - selected attribute definition in HTML 4.0. - @short Means that this option is initially selected. - */ - public native boolean selected(); - /** - see selected - @short see selected - */ - public native void setSelected(boolean arg1); - /** - The current form control value. See the - value attribute definition in HTML 4.0. - @short The current form control value. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - // DOM::HTMLOptionElement* HTMLOptionElement(DOM::HTMLOptionElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLParagraphElement.java b/kdejava/koala/org/kde/koala/HTMLParagraphElement.java deleted file mode 100644 index 5f5358c2..00000000 --- a/kdejava/koala/org/kde/koala/HTMLParagraphElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Paragraphs. See the P - element definition in HTML 4.0. - @short Paragraphs. - -*/ -public class HTMLParagraphElement extends HTMLElement { - protected HTMLParagraphElement(Class dummy){super((Class) null);} - public HTMLParagraphElement() { - super((Class) null); - newHTMLParagraphElement(); - } - private native void newHTMLParagraphElement(); - public HTMLParagraphElement(HTMLParagraphElement other) { - super((Class) null); - newHTMLParagraphElement(other); - } - private native void newHTMLParagraphElement(HTMLParagraphElement other); - public HTMLParagraphElement(Node other) { - super((Class) null); - newHTMLParagraphElement(other); - } - private native void newHTMLParagraphElement(Node other); - /** - Horizontal text alignment. See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Horizontal text alignment. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - // DOM::HTMLParagraphElement* HTMLParagraphElement(DOM::HTMLElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLParamElement.java b/kdejava/koala/org/kde/koala/HTMLParamElement.java deleted file mode 100644 index f72bed39..00000000 --- a/kdejava/koala/org/kde/koala/HTMLParamElement.java +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Parameters fed to the OBJECT element. See the - PARAM element definition in HTML 4.0. - @short Parameters fed to the OBJECT element. - -*/ -public class HTMLParamElement extends HTMLElement { - protected HTMLParamElement(Class dummy){super((Class) null);} - public HTMLParamElement() { - super((Class) null); - newHTMLParamElement(); - } - private native void newHTMLParamElement(); - public HTMLParamElement(HTMLParamElement other) { - super((Class) null); - newHTMLParamElement(other); - } - private native void newHTMLParamElement(HTMLParamElement other); - public HTMLParamElement(Node other) { - super((Class) null); - newHTMLParamElement(other); - } - private native void newHTMLParamElement(Node other); - /** - The name of a run-time parameter. See the - name attribute definition in HTML 4.0. - @short The name of a run-time parameter. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Content type for the value attribute when - valuetype has the value "ref". See the - type attribute definition in HTML 4.0. - @short Content type for the value attribute when valuetype has the value "ref". - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - The value of a run-time parameter. See the - value attribute definition in HTML 4.0. - @short The value of a run-time parameter. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - Information about the meaning of the value - attribute value. See the - valuetype attribute definition in HTML 4.0. - @short Information about the meaning of the value attribute value. - */ - public native String valueType(); - /** - see valueType - @short see valueType - */ - public native void setValueType(String arg1); - // DOM::HTMLParamElement* HTMLParamElement(DOM::HTMLParamElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLPreElement.java b/kdejava/koala/org/kde/koala/HTMLPreElement.java deleted file mode 100644 index fadbe50c..00000000 --- a/kdejava/koala/org/kde/koala/HTMLPreElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Preformatted text. See the - PRE element definition in HTML 4.0. - @short Preformatted text. - -*/ -public class HTMLPreElement extends HTMLElement { - protected HTMLPreElement(Class dummy){super((Class) null);} - public HTMLPreElement() { - super((Class) null); - newHTMLPreElement(); - } - private native void newHTMLPreElement(); - public HTMLPreElement(HTMLPreElement other) { - super((Class) null); - newHTMLPreElement(other); - } - private native void newHTMLPreElement(HTMLPreElement other); - public HTMLPreElement(Node other) { - super((Class) null); - newHTMLPreElement(other); - } - private native void newHTMLPreElement(Node other); - /** - Fixed width for content. See the - width attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Fixed width for content. - */ - public native long width(); - /** - see width - @short see width - */ - public native void setWidth(long arg1); - // DOM::HTMLPreElement* HTMLPreElement(DOM::HTMLPreElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLQuoteElement.java b/kdejava/koala/org/kde/koala/HTMLQuoteElement.java deleted file mode 100644 index 3ea8ef0f..00000000 --- a/kdejava/koala/org/kde/koala/HTMLQuoteElement.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - For the Q and BLOCKTQUOTE elements. - See the Q - element definition in HTML 4.0. - Note: The DOM is not quite consistent here. They also define the - HTMLBlockQuoteElement interface, to represent the BLOCKTQUOTE - element. To resolve ambiquities, we use this one for the Q - element only. - @short For the Q and BLOCKTQUOTE elements. - -*/ -public class HTMLQuoteElement extends HTMLElement { - protected HTMLQuoteElement(Class dummy){super((Class) null);} - public HTMLQuoteElement() { - super((Class) null); - newHTMLQuoteElement(); - } - private native void newHTMLQuoteElement(); - public HTMLQuoteElement(HTMLQuoteElement other) { - super((Class) null); - newHTMLQuoteElement(other); - } - private native void newHTMLQuoteElement(HTMLQuoteElement other); - public HTMLQuoteElement(Node other) { - super((Class) null); - newHTMLQuoteElement(other); - } - private native void newHTMLQuoteElement(Node other); - /** - A URI designating a document that designates a source document - or message. See the - cite attribute definition in HTML 4.0. - @short A URI designating a document that designates a source document or message. - */ - public native String cite(); - /** - see cite - @short see cite - */ - public native void setCite(String arg1); - // DOM::HTMLQuoteElement* HTMLQuoteElement(DOM::HTMLGenericElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLScriptElement.java b/kdejava/koala/org/kde/koala/HTMLScriptElement.java deleted file mode 100644 index 4ad68792..00000000 --- a/kdejava/koala/org/kde/koala/HTMLScriptElement.java +++ /dev/null @@ -1,112 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Script statements. See the - SCRIPT element definition in HTML 4.0. - @short Script statements. - -*/ -public class HTMLScriptElement extends HTMLElement { - protected HTMLScriptElement(Class dummy){super((Class) null);} - public HTMLScriptElement() { - super((Class) null); - newHTMLScriptElement(); - } - private native void newHTMLScriptElement(); - public HTMLScriptElement(HTMLScriptElement other) { - super((Class) null); - newHTMLScriptElement(other); - } - private native void newHTMLScriptElement(HTMLScriptElement other); - public HTMLScriptElement(Node other) { - super((Class) null); - newHTMLScriptElement(other); - } - private native void newHTMLScriptElement(Node other); - /** - The script content of the element. - @short The script content of the element. - */ - public native String text(); - /** - see text - @short see text - */ - public native void setText(String arg1); - /** - Reserved for future use. - @short Reserved for future use. - */ - public native String htmlFor(); - /** - see htmlFor - @short see htmlFor - */ - public native void setHtmlFor(String arg1); - /** - Reserved for future use. - @short Reserved for future use. - */ - public native String event(); - /** - see event - @short see event - */ - public native void setEvent(String arg1); - /** - The character encoding of the linked resource. See the - charset attribute definition in HTML 4.0. - @short The character encoding of the linked resource. - */ - public native String charset(); - /** - see charset - @short see charset - */ - public native void setCharset(String arg1); - /** - Indicates that the user agent can defer processing of the - script. See the - defer attribute definition in HTML 4.0. - @short Indicates that the user agent can defer processing of the script. - */ - public native boolean defer(); - /** - see defer - @short see defer - */ - public native void setDefer(boolean arg1); - /** - URI designating an external script. See the - src attribute definition in HTML 4.0. - @short URI designating an external script. - */ - public native String src(); - /** - see src - @short see src - */ - public native void setSrc(String arg1); - /** - The content type of the script language. See the - type attribute definition in HTML 4.0. - @short The content type of the script language. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - // DOM::HTMLScriptElement* HTMLScriptElement(DOM::HTMLScriptElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLSelectElement.java b/kdejava/koala/org/kde/koala/HTMLSelectElement.java deleted file mode 100644 index f9b11d4e..00000000 --- a/kdejava/koala/org/kde/koala/HTMLSelectElement.java +++ /dev/null @@ -1,168 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The select element allows the selection of an option. The contained - options can be directly accessed through the select element as a - collection. See the - SELECT element definition in HTML 4.0. - @short The select element allows the selection of an option. - -*/ -public class HTMLSelectElement extends HTMLElement { - protected HTMLSelectElement(Class dummy){super((Class) null);} - public HTMLSelectElement() { - super((Class) null); - newHTMLSelectElement(); - } - private native void newHTMLSelectElement(); - public HTMLSelectElement(HTMLSelectElement other) { - super((Class) null); - newHTMLSelectElement(other); - } - private native void newHTMLSelectElement(HTMLSelectElement other); - public HTMLSelectElement(Node other) { - super((Class) null); - newHTMLSelectElement(other); - } - private native void newHTMLSelectElement(Node other); - /** - The type of control created. - @short The type of control created. - */ - public native String type(); - /** - The ordinal index of the selected option. The value -1 is - returned if no element is selected. If multiple options are - selected, the index of the first selected option is returned. - @short The ordinal index of the selected option. - */ - public native long selectedIndex(); - /** - see selectedIndex - @short see selectedIndex - */ - public native void setSelectedIndex(long arg1); - /** - The current form control value. - @short The current form control value. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - The number of options in this SELECT . - @short The number of options in this SELECT . - */ - public native long length(); - /** - ### KDE 4.0: remove. - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - The collection of OPTION elements contained by - this element. - @short The collection of OPTION elements contained by this element. - */ - public native HTMLCollection options(); - /** - The control is unavailable in this context. See the - disabled attribute definition in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - If true, multiple OPTION elements may be - selected in this SELECT . See the - multiple attribute definition in HTML 4.0. - @short If true, multiple OPTION elements may be selected in this SELECT . - */ - public native boolean multiple(); - /** - see multiple - @short see multiple - */ - public native void setMultiple(boolean arg1); - /** - Form control or object name when submitted with a form. See the - - name attribute definition in HTML 4.0. - @short Form control or object name when submitted with a form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - Number of visible rows. See the - size attribute definition in HTML 4.0. - @short Number of visible rows. - */ - public native long size(); - /** - see size - @short see size - */ - public native void setSize(long arg1); - /** - Index that represents the element's position in the tabbing - order. See the - tabindex attribute definition in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - Add a new element to the collection of OPTION - elements for this SELECT . - @param element The element to add. - @param before The element to insert before, or 0 for the - tail of the list. - @short Add a new element to the collection of OPTION elements for this SELECT . - */ - public native void add(HTMLElement element, HTMLElement before); - /** - Remove an element from the collection of OPTION - elements for this SELECT . Does nothing if no - element has the given index. - @param index The index of the item to remove. - @short Remove an element from the collection of OPTION elements for this SELECT . - */ - public native void remove(long index); - /** - Removes keyboard focus from this element. - @short Removes keyboard focus from this element. - */ - public native void blur(); - /** - Gives keyboard focus to this element. - @short Gives keyboard focus to this element. - */ - public native void focus(); - // DOM::HTMLSelectElement* HTMLSelectElement(DOM::HTMLSelectElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLStyleElement.java b/kdejava/koala/org/kde/koala/HTMLStyleElement.java deleted file mode 100644 index 060dd1a1..00000000 --- a/kdejava/koala/org/kde/koala/HTMLStyleElement.java +++ /dev/null @@ -1,75 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Style information. A more detailed style sheet object model is - planned to be defined in a separate document. See the - STYLE element definition in HTML 4.0. - @short Style information. - -*/ -public class HTMLStyleElement extends HTMLElement { - protected HTMLStyleElement(Class dummy){super((Class) null);} - public HTMLStyleElement() { - super((Class) null); - newHTMLStyleElement(); - } - private native void newHTMLStyleElement(); - public HTMLStyleElement(HTMLStyleElement other) { - super((Class) null); - newHTMLStyleElement(other); - } - private native void newHTMLStyleElement(HTMLStyleElement other); - public HTMLStyleElement(Node other) { - super((Class) null); - newHTMLStyleElement(other); - } - private native void newHTMLStyleElement(Node other); - /** - Enables/disables the style sheet. - @short Enables/disables the style sheet. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Designed for use with one or more target media. See the - media attribute definition in HTML 4.0. - @short Designed for use with one or more target media. - */ - public native String media(); - /** - see media - @short see media - */ - public native void setMedia(String arg1); - /** - The style sheet language (Internet media type). See the - type attribute definition in HTML 4.0. - @short The style sheet language (Internet media type). - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - /** - Introduced in DOM Level 2 - This method is from the LinkStyle interface - The style sheet. - @short Introduced in DOM Level 2 This method is from the LinkStyle interface - */ - public native StyleSheet sheet(); - // DOM::HTMLStyleElement* HTMLStyleElement(DOM::HTMLStyleElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableCaptionElement.java b/kdejava/koala/org/kde/koala/HTMLTableCaptionElement.java deleted file mode 100644 index 22460679..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableCaptionElement.java +++ /dev/null @@ -1,46 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Table caption See the - CAPTION element definition in HTML 4.0. - @short Table caption See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Caption alignment with respect to the table. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - // DOM::HTMLTableCaptionElement* HTMLTableCaptionElement(DOM::HTMLTableCaptionElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableCellElement.java b/kdejava/koala/org/kde/koala/HTMLTableCellElement.java deleted file mode 100644 index 3802b597..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableCellElement.java +++ /dev/null @@ -1,219 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The object used to represent the TH and TD - elements. See the - TD element definition in HTML 4.0. - @short The object used to represent the TH and TD elements. - -*/ -public class HTMLTableCellElement extends HTMLElement { - protected HTMLTableCellElement(Class dummy){super((Class) null);} - public HTMLTableCellElement() { - super((Class) null); - newHTMLTableCellElement(); - } - private native void newHTMLTableCellElement(); - public HTMLTableCellElement(HTMLTableCellElement other) { - super((Class) null); - newHTMLTableCellElement(other); - } - private native void newHTMLTableCellElement(HTMLTableCellElement other); - public HTMLTableCellElement(Node other) { - super((Class) null); - newHTMLTableCellElement(other); - } - private native void newHTMLTableCellElement(Node other); - /** - The index of this cell in the row. - @short The index of this cell in the row. - */ - public native long cellIndex(); - /** - see cellIndex - This function is obsolete - the cellIndex property is actually supposed to be read-only - (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) - @short see cellIndex - */ - public native void setCellIndex(long arg1); - /** - Abbreviation for header cells. See the - abbr attribute definition in HTML 4.0. - @short Abbreviation for header cells. - */ - public native String abbr(); - /** - see abbr - @short see abbr - */ - public native void setAbbr(String arg1); - /** - Horizontal alignment of data in cell. See the - align attribute definition in HTML 4.0. - @short Horizontal alignment of data in cell. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Names group of related headers. See the - axis attribute definition in HTML 4.0. - @short Names group of related headers. - */ - public native String axis(); - /** - see axis - @short see axis - */ - public native void setAxis(String arg1); - /** - Cell background color. See the - bgcolor attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Cell background color. - */ - public native String bgColor(); - /** - see bgColor - @short see bgColor - */ - public native void setBgColor(String arg1); - /** - Alignment character for cells in a column. See the - char attribute definition in HTML 4.0. - @short Alignment character for cells in a column. - */ - public native String ch(); - /** - see ch - @short see ch - */ - public native void setCh(String arg1); - /** - Offset of alignment character. See the - charoff attribute definition in HTML 4.0. - @short Offset of alignment character. - */ - public native String chOff(); - /** - see chOff - @short see chOff - */ - public native void setChOff(String arg1); - /** - Number of columns spanned by cell. See the - colspan attribute definition in HTML 4.0. - @short Number of columns spanned by cell. - */ - public native long colSpan(); - /** - see colSpan - @short see colSpan - */ - public native void setColSpan(long arg1); - /** - List of id attribute values for header cells. - See the - headers attribute definition in HTML 4.0. - @short List of id attribute values for header cells. - */ - public native String headers(); - /** - see headers - @short see headers - */ - public native void setHeaders(String arg1); - /** - Cell height. See the - height attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Cell height. - */ - public native String height(); - /** - see height - @short see height - */ - public native void setHeight(String arg1); - /** - Suppress word wrapping. See the - nowrap attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Suppress word wrapping. - */ - public native boolean noWrap(); - /** - see noWrap - @short see noWrap - */ - public native void setNoWrap(boolean arg1); - /** - Number of rows spanned by cell. See the - rowspan attribute definition in HTML 4.0. - @short Number of rows spanned by cell. - */ - public native long rowSpan(); - /** - see rowSpan - @short see rowSpan - */ - public native void setRowSpan(long arg1); - /** - Scope covered by header cells. See the - scope attribute definition in HTML 4.0. - @short Scope covered by header cells. - */ - public native String scope(); - /** - see scope - @short see scope - */ - public native void setScope(String arg1); - /** - Vertical alignment of data in cell. See the - valign attribute definition in HTML 4.0. - @short Vertical alignment of data in cell. - */ - public native String vAlign(); - /** - see vAlign - @short see vAlign - */ - public native void setVAlign(String arg1); - /** - Cell width. See the - width attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Cell width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - // DOM::HTMLTableCellElement* HTMLTableCellElement(DOM::HTMLTableCellElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableColElement.java b/kdejava/koala/org/kde/koala/HTMLTableColElement.java deleted file mode 100644 index d8875248..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableColElement.java +++ /dev/null @@ -1,107 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Regroups the COL and COLGROUP - elements. See the - COL element definition in HTML 4.0. - @short Regroups the COL and COLGROUP elements. - -*/ -public class HTMLTableColElement extends HTMLElement { - protected HTMLTableColElement(Class dummy){super((Class) null);} - public HTMLTableColElement() { - super((Class) null); - newHTMLTableColElement(); - } - private native void newHTMLTableColElement(); - public HTMLTableColElement(HTMLTableColElement other) { - super((Class) null); - newHTMLTableColElement(other); - } - private native void newHTMLTableColElement(HTMLTableColElement other); - public HTMLTableColElement(Node other) { - super((Class) null); - newHTMLTableColElement(other); - } - private native void newHTMLTableColElement(Node other); - /** - Horizontal alignment of cell data in column. See the - align attribute definition in HTML 4.0. - @short Horizontal alignment of cell data in column. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Alignment character for cells in a column. See the - char attribute definition in HTML 4.0. - @short Alignment character for cells in a column. - */ - public native String ch(); - /** - see ch - @short see ch - */ - public native void setCh(String arg1); - /** - Offset of alignment character. See the - charoff attribute definition in HTML 4.0. - @short Offset of alignment character. - */ - public native String chOff(); - /** - see chOff - @short see chOff - */ - public native void setChOff(String arg1); - /** - Indicates the number of columns in a group or affected by a - grouping. See the - span attribute definition in HTML 4.0. - @short Indicates the number of columns in a group or affected by a grouping. - */ - public native long span(); - /** - see span - @short see span - */ - public native void setSpan(long arg1); - /** - Vertical alignment of cell data in column. See the - valign attribute definition in HTML 4.0. - @short Vertical alignment of cell data in column. - */ - public native String vAlign(); - /** - see vAlign - @short see vAlign - */ - public native void setVAlign(String arg1); - /** - Default column width. See the - width attribute definition in HTML 4.0. - @short Default column width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - // DOM::HTMLTableColElement* HTMLTableColElement(DOM::HTMLTableColElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableElement.java b/kdejava/koala/org/kde/koala/HTMLTableElement.java deleted file mode 100644 index dbcadcd0..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableElement.java +++ /dev/null @@ -1,260 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The create and delete methods on the table allow authors to - construct and modify tables. HTML 4.0 specifies that only one of - each of the CAPTION , THEAD , and - TFOOT elements may exist in a table. Therefore, if - one exists, and the createTHead() or createTFoot() method is - called, the method returns the existing THead or TFoot element. See - the - TABLE element definition in HTML 4.0. - @short The create and delete methods on the table allow authors to construct and modify tables. - -*/ -public class HTMLTableElement extends HTMLElement { - protected HTMLTableElement(Class dummy){super((Class) null);} - public HTMLTableElement() { - super((Class) null); - newHTMLTableElement(); - } - private native void newHTMLTableElement(); - public HTMLTableElement(HTMLTableElement other) { - super((Class) null); - newHTMLTableElement(other); - } - private native void newHTMLTableElement(HTMLTableElement other); - public HTMLTableElement(Node other) { - super((Class) null); - newHTMLTableElement(other); - } - private native void newHTMLTableElement(Node other); - /** - Returns the table's CAPTION , or void if none - exists. - @short Returns the table's CAPTION , or void if none exists. - */ - public native HTMLTableCaptionElement caption(); - /** - see caption - @short see caption - */ - public native void setCaption(HTMLTableCaptionElement arg1); - /** - Returns the table's THEAD , or null - if none exists. - @short Returns the table's THEAD , or null if none exists. - */ - public native HTMLTableSectionElement tHead(); - /** - see tHead - @short see tHead - */ - public native void setTHead(HTMLTableSectionElement arg1); - /** - Returns the table's TFOOT , or null - if none exists. - @short Returns the table's TFOOT , or null if none exists. - */ - public native HTMLTableSectionElement tFoot(); - /** - see tFoot - @short see tFoot - */ - public native void setTFoot(HTMLTableSectionElement arg1); - /** - Returns a collection of all the rows in the table, including - all in THEAD , TFOOT , all - TBODY elements. - @short Returns a collection of all the rows in the table, including all in THEAD , TFOOT , all TBODY elements. - */ - public native HTMLCollection rows(); - /** - Returns a collection of the table bodies (including implicit ones). - @short Returns a collection of the table bodies (including implicit ones). - */ - public native HTMLCollection tBodies(); - /** - Specifies the table's position with respect to the rest of the - document. See the - align attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Specifies the table's position with respect to the rest of the document. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Cell background color. See the - bgcolor attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Cell background color. - */ - public native String bgColor(); - /** - see bgColor - @short see bgColor - */ - public native void setBgColor(String arg1); - /** - The width of the border around the table. See the - border attribute definition in HTML 4.0. - @short The width of the border around the table. - */ - public native String border(); - /** - see border - @short see border - */ - public native void setBorder(String arg1); - /** - Specifies the horizontal and vertical space between cell - content and cell borders. See the - cellpadding attribute definition in HTML 4.0. - @short Specifies the horizontal and vertical space between cell content and cell borders. - */ - public native String cellPadding(); - /** - see cellPadding - @short see cellPadding - */ - public native void setCellPadding(String arg1); - /** - Specifies the horizontal and vertical separation between cells. - See the - cellspacing attribute definition in HTML 4.0. - @short Specifies the horizontal and vertical separation between cells. - */ - public native String cellSpacing(); - /** - see cellSpacing - @short see cellSpacing - */ - public native void setCellSpacing(String arg1); - /** - Specifies which external table borders to render. See the - frame attribute definition in HTML 4.0. - @short Specifies which external table borders to render. - */ - public native String frame(); - /** - see frame - @short see frame - */ - public native void setFrame(String arg1); - /** - Specifies which internal table borders to render. See the - rules attribute definition in HTML 4.0. - @short Specifies which internal table borders to render. - */ - public native String rules(); - /** - see rules - @short see rules - */ - public native void setRules(String arg1); - /** - Supplementary description about the purpose or structure of a - table. See the - summary attribute definition in HTML 4.0. - @short Supplementary description about the purpose or structure of a table. - */ - public native String summary(); - /** - see summary - @short see summary - */ - public native void setSummary(String arg1); - /** - Specifies the desired table width. See the - width attribute definition in HTML 4.0. - @short Specifies the desired table width. - */ - public native String width(); - /** - see width - @short see width - */ - public native void setWidth(String arg1); - /** - Create a table header row or return an existing one. - @return A new table header element ( THEAD ). - - @short Create a table header row or return an existing one. - */ - public native HTMLElement createTHead(); - /** - Delete the header from the table, if one exists. - @short Delete the header from the table, if one exists. - */ - public native void deleteTHead(); - /** - Create a table footer row or return an existing one. - @return A footer element ( TFOOT ). - - @short Create a table footer row or return an existing one. - */ - public native HTMLElement createTFoot(); - /** - Delete the footer from the table, if one exists. - @short Delete the footer from the table, if one exists. - */ - public native void deleteTFoot(); - /** - Create a new table caption object or return an existing one. - @return A CAPTION element. - - @short Create a new table caption object or return an existing one. - */ - public native HTMLElement createCaption(); - /** - Delete the table caption, if one exists. - @short Delete the table caption, if one exists. - */ - public native void deleteCaption(); - /** - Insert a new empty row in the table. - The new row is inserted immediately before and in the same section - as the current indexth row in the table. If index is -1 or equal - to the number of rows, the new row is appended. In addition, when - the table is empty the row is inserted into a TBODY which is created - and inserted into the table. - Note. A table row cannot - be empty according to HTML 4.0 Recommendation. - @param index The row number where to insert a new row. - The index starts from 0 and is relative to the logical order - (not document order) of all the rows contained inside the table. - @return The newly created row. - - @short Insert a new empty row in the table. - */ - public native HTMLElement insertRow(long index); - /** - Delete a table row. - @param index The index of the row to be deleted. - This index starts from 0 and is relative to the logical order - (not document order) of all the rows contained inside the table. - If the index is -1 the last row in the table is deleted. - @short Delete a table row. - */ - public native void deleteRow(long index); - // DOM::HTMLTableElement* HTMLTableElement(DOM::HTMLTableElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableRowElement.java b/kdejava/koala/org/kde/koala/HTMLTableRowElement.java deleted file mode 100644 index 1ad81abf..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableRowElement.java +++ /dev/null @@ -1,155 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A row in a table. See the - TR element definition in HTML 4.0. - @short A row in a table. - -*/ -public class HTMLTableRowElement extends HTMLElement { - protected HTMLTableRowElement(Class dummy){super((Class) null);} - public HTMLTableRowElement() { - super((Class) null); - newHTMLTableRowElement(); - } - private native void newHTMLTableRowElement(); - public HTMLTableRowElement(HTMLTableRowElement other) { - super((Class) null); - newHTMLTableRowElement(other); - } - private native void newHTMLTableRowElement(HTMLTableRowElement other); - public HTMLTableRowElement(Node other) { - super((Class) null); - newHTMLTableRowElement(other); - } - private native void newHTMLTableRowElement(Node other); - /** - The index of this row, relative to the entire table. - This is in logical order and not in document order. - The rowIndex does take into account sections - (THEAD, TFOOT or TBODY) within the table, - placing THEAD rows first in the index, followed by - TBODY rows, followed by TFOOT rows. - @short The index of this row, relative to the entire table. - */ - public native long rowIndex(); - /** - see rowIndex - This function is obsolete - the rowIndex property is actually supposed to be read-only - (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) - @short see rowIndex - */ - public native void setRowIndex(long arg1); - /** - The index of this row, relative to the current section ( - THEAD , TFOOT , or TBODY - ). - @short The index of this row, relative to the current section ( THEAD , TFOOT , or TBODY ). - */ - public native long sectionRowIndex(); - /** - see sectionRowIndex - This function is obsolete - the sectionRowIndex property is actually supposed to be read-only - (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) - @short see sectionRowIndex - */ - public native void setSectionRowIndex(long arg1); - /** - The collection of cells in this row. - @short The collection of cells in this row. - */ - public native HTMLCollection cells(); - /** - see cells - This function is obsolete - the cells property is actually supposed to be read-only - (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) - @short see cells - */ - public native void setCells(HTMLCollection arg1); - /** - Horizontal alignment of data within cells of this row. See the - - align attribute definition in HTML 4.0. - @short Horizontal alignment of data within cells of this row. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Background color for rows. See the - bgcolor attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Background color for rows. - */ - public native String bgColor(); - /** - see bgColor - @short see bgColor - */ - public native void setBgColor(String arg1); - /** - Alignment character for cells in a column. See the - char attribute definition in HTML 4.0. - @short Alignment character for cells in a column. - */ - public native String ch(); - /** - see ch - @short see ch - */ - public native void setCh(String arg1); - /** - Offset of alignment character. See the - charoff attribute definition in HTML 4.0. - @short Offset of alignment character. - */ - public native String chOff(); - /** - see chOff - @short see chOff - */ - public native void setChOff(String arg1); - /** - Vertical alignment of data within cells of this row. See the - valign attribute definition in HTML 4.0. - @short Vertical alignment of data within cells of this row. - */ - public native String vAlign(); - /** - see vAlign - @short see vAlign - */ - public native void setVAlign(String arg1); - /** - Insert an empty TD cell into this row. - If index is -1 or equal to the number of cells, the new - cell is appended. - @param index The place to insert the cell. - @return The newly created cell. - - @short Insert an empty TD cell into this row. - */ - public native HTMLElement insertCell(long index); - /** - Delete a cell from the current row. - @param index The index of the cell to delete, starting from 0. - If the index is -1 the last cell in the row is deleted. - @short Delete a cell from the current row. - */ - public native void deleteCell(long index); - // DOM::HTMLTableRowElement* HTMLTableRowElement(DOM::HTMLTableRowElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTableSectionElement.java b/kdejava/koala/org/kde/koala/HTMLTableSectionElement.java deleted file mode 100644 index b697f61b..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTableSectionElement.java +++ /dev/null @@ -1,102 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The THEAD , TFOOT , and TBODY - elements. - @short The THEAD , TFOOT , and TBODY elements. - -*/ -public class HTMLTableSectionElement extends HTMLElement { - protected HTMLTableSectionElement(Class dummy){super((Class) null);} - public HTMLTableSectionElement() { - super((Class) null); - newHTMLTableSectionElement(); - } - private native void newHTMLTableSectionElement(); - public HTMLTableSectionElement(HTMLTableSectionElement other) { - super((Class) null); - newHTMLTableSectionElement(other); - } - private native void newHTMLTableSectionElement(HTMLTableSectionElement other); - public HTMLTableSectionElement(Node other) { - super((Class) null); - newHTMLTableSectionElement(other); - } - private native void newHTMLTableSectionElement(Node other); - /** - Horizontal alignment of data in cells. See the align - attribute for HTMLTheadElement for details. - @short Horizontal alignment of data in cells. - */ - public native String align(); - /** - see align - @short see align - */ - public native void setAlign(String arg1); - /** - Alignment character for cells in a column. See the - char attribute definition in HTML 4.0. - @short Alignment character for cells in a column. - */ - public native String ch(); - /** - see ch - @short see ch - */ - public native void setCh(String arg1); - /** - Offset of alignment character. See the - charoff attribute definition in HTML 4.0. - @short Offset of alignment character. - */ - public native String chOff(); - /** - see chOff - @short see chOff - */ - public native void setChOff(String arg1); - /** - Vertical alignment of data in cells. See the valign - attribute for HTMLTheadElement for details. - @short Vertical alignment of data in cells. - */ - public native String vAlign(); - /** - see vAlign - @short see vAlign - */ - public native void setVAlign(String arg1); - /** - The collection of rows in this table section. - @short The collection of rows in this table section. - */ - public native HTMLCollection rows(); - /** - Insert a row into this section. - The new row is inserted immediately before the current indexth - row in this section. If index is -1 or equal to the number of rows - in this sectino, the new row is appended. - @param index The row number where to insert a new row. - @return The newly created row. - - @short Insert a row into this section. - */ - public native HTMLElement insertRow(long index); - /** - Delete a row from this section. - @param index The index of the row to be deleted, - or -1 to delete the last row. This index starts from 0 and is relative only - to the rows contained inside this section, not all the rows in the table. - @short Delete a row from this section. - */ - public native void deleteRow(long index); - // DOM::HTMLTableSectionElement* HTMLTableSectionElement(DOM::HTMLTableSectionElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTextAreaElement.java b/kdejava/koala/org/kde/koala/HTMLTextAreaElement.java deleted file mode 100644 index 4d8d6d46..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTextAreaElement.java +++ /dev/null @@ -1,168 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Multi-line text field. See the - TEXTAREA element definition in HTML 4.0. - @short Multi-line text field. - -*/ -public class HTMLTextAreaElement extends HTMLElement { - protected HTMLTextAreaElement(Class dummy){super((Class) null);} - public HTMLTextAreaElement() { - super((Class) null); - newHTMLTextAreaElement(); - } - private native void newHTMLTextAreaElement(); - public HTMLTextAreaElement(HTMLTextAreaElement other) { - super((Class) null); - newHTMLTextAreaElement(other); - } - private native void newHTMLTextAreaElement(HTMLTextAreaElement other); - public HTMLTextAreaElement(Node other) { - super((Class) null); - newHTMLTextAreaElement(other); - } - private native void newHTMLTextAreaElement(Node other); - /** - Stores the initial control value (i.e., the initial value of - value ). - @short Stores the initial control value (i. - */ - public native String defaultValue(); - /** - see defaultValue - @short see defaultValue - */ - public native void setDefaultValue(String arg1); - /** - ### KDE 4.0: remove. - @short ### KDE 4. - */ - public native HTMLFormElement formElement(); - /** - A single character access key to give access to the form - control. See the - accesskey attribute definition in HTML 4.0. - @short A single character access key to give access to the form control. - */ - public native String accessKey(); - /** - see accessKey - @short see accessKey - */ - public native void setAccessKey(String arg1); - /** - Width of control (in characters). See the - cols attribute definition in HTML 4.0. - @short Width of control (in characters). - */ - public native long cols(); - /** - see cols - @short see cols - */ - public native void setCols(long arg1); - /** - The control is unavailable in this context. See the - disabled attribute definition in HTML 4.0. - @short The control is unavailable in this context. - */ - public native boolean disabled(); - /** - see disabled - @short see disabled - */ - public native void setDisabled(boolean arg1); - /** - Form control or object name when submitted with a form. See the - - name attribute definition in HTML 4.0. - @short Form control or object name when submitted with a form. - */ - public native String name(); - /** - see name - @short see name - */ - public native void setName(String arg1); - /** - This control is read-only. See the - readonly attribute definition in HTML 4.0. - @short This control is read-only. - */ - public native boolean readOnly(); - /** - see readOnly - @short see readOnly - */ - public native void setReadOnly(boolean arg1); - /** - Number of text rows. See the - rows attribute definition in HTML 4.0. - @short Number of text rows. - */ - public native long rows(); - /** - see rows - @short see rows - */ - public native void setRows(long arg1); - /** - Index that represents the element's position in the tabbing - order. See the - tabindex attribute definition in HTML 4.0. - @short Index that represents the element's position in the tabbing order. - */ - public native long tabIndex(); - /** - see tabIndex - @short see tabIndex - */ - public native void setTabIndex(long arg1); - /** - The type of this form control. - @short The type of this form control. - */ - public native String type(); - /** - The current textual content of the multi-line text field. If - the entirety of the data can not fit into a single wstring, the - implementation may truncate the data. - @short The current textual content of the multi-line text field. - */ - public native String value(); - /** - see value - @short see value - */ - public native void setValue(String arg1); - /** - Removes keyboard focus from this element. - @short Removes keyboard focus from this element. - */ - public native void blur(); - /** - Gives keyboard focus to this element. - @short Gives keyboard focus to this element. - */ - public native void focus(); - /** - Select the contents of the TEXTAREA . - @short Select the contents of the TEXTAREA . - */ - public native void select(); - // DOM::HTMLTextAreaElement* HTMLTextAreaElement(DOM::HTMLTextAreaElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLTitleElement.java b/kdejava/koala/org/kde/koala/HTMLTitleElement.java deleted file mode 100644 index b0ea8a09..00000000 --- a/kdejava/koala/org/kde/koala/HTMLTitleElement.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The document title. See the - TITLE element definition in HTML 4.0. - @short The document title. - -*/ -public class HTMLTitleElement extends HTMLElement { - protected HTMLTitleElement(Class dummy){super((Class) null);} - public HTMLTitleElement() { - super((Class) null); - newHTMLTitleElement(); - } - private native void newHTMLTitleElement(); - public HTMLTitleElement(HTMLTitleElement other) { - super((Class) null); - newHTMLTitleElement(other); - } - private native void newHTMLTitleElement(HTMLTitleElement other); - public HTMLTitleElement(Node other) { - super((Class) null); - newHTMLTitleElement(other); - } - private native void newHTMLTitleElement(Node other); - /** - The specified title as a string. - @short The specified title as a string. - */ - public native String text(); - /** - see text - @short see text - */ - public native void setText(String arg1); - // DOM::HTMLTitleElement* HTMLTitleElement(DOM::HTMLTitleElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HTMLUListElement.java b/kdejava/koala/org/kde/koala/HTMLUListElement.java deleted file mode 100644 index 46dfdec5..00000000 --- a/kdejava/koala/org/kde/koala/HTMLUListElement.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - Unordered list. See the - UL element definition in HTML 4.0. - @short Unordered list. - -*/ -public class HTMLUListElement extends HTMLElement { - protected HTMLUListElement(Class dummy){super((Class) null);} - public HTMLUListElement() { - super((Class) null); - newHTMLUListElement(); - } - private native void newHTMLUListElement(); - public HTMLUListElement(HTMLUListElement other) { - super((Class) null); - newHTMLUListElement(other); - } - private native void newHTMLUListElement(HTMLUListElement other); - public HTMLUListElement(Node other) { - super((Class) null); - newHTMLUListElement(other); - } - private native void newHTMLUListElement(Node other); - /** - Reduce spacing between list items. See the - compact attribute definition in HTML 4.0. This attribute - is deprecated in HTML 4.0. - @short Reduce spacing between list items. - */ - public native boolean compact(); - /** - see compact - @short see compact - */ - public native void setCompact(boolean arg1); - /** - Bullet style. See the - type attribute definition in HTML 4.0. This attribute is - deprecated in HTML 4.0. - @short Bullet style. - */ - public native String type(); - /** - see type - @short see type - */ - public native void setType(String arg1); - // DOM::HTMLUListElement* HTMLUListElement(DOM::HTMLUListElementImpl* arg1); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/HistoryProvider.java b/kdejava/koala/org/kde/koala/HistoryProvider.java deleted file mode 100644 index 5f101526..00000000 --- a/kdejava/koala/org/kde/koala/HistoryProvider.java +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - Basic class to manage a history of "items". This class is only meant - for fast lookup, if an item is in the history or not. - May be subclassed to implement a persistent history for example. - For usage with tdehtml, just create your provider and call the - HistoryProvider constructor _before_ you do any tdehtml stuff. That way, - tdehtml, using the self()-method, will use your subclassed provider. - See {@link HistoryProviderSignals} for signals emitted by HistoryProvider - @author Carsten Pfeiffer - - @short Basic class to manage a history of "items". - -*/ -public class HistoryProvider extends TQObject { - protected HistoryProvider(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a KHistoryProvider with an optional parent and name - @short Creates a KHistoryProvider with an optional parent and name - */ - public HistoryProvider(TQObject parent, String name) { - super((Class) null); - newHistoryProvider(parent,name); - } - private native void newHistoryProvider(TQObject parent, String name); - public HistoryProvider(TQObject parent) { - super((Class) null); - newHistoryProvider(parent); - } - private native void newHistoryProvider(TQObject parent); - public HistoryProvider() { - super((Class) null); - newHistoryProvider(); - } - private native void newHistoryProvider(); - /** - @return true if item is present in the history. - - @short - */ - public native boolean contains(String item); - /** - Inserts item into the history. - @short Inserts item into the history. - */ - public native void insert(String item); - /** - Removes item from the history. - @short Removes item from the history. - */ - public native void remove(String item); - /** - Clears the history. The cleared() signal is emitted after clearing. - @short Clears the history. - */ - public native void clear(); - public static native HistoryProvider self(); -} diff --git a/kdejava/koala/org/kde/koala/HistoryProviderSignals.java b/kdejava/koala/org/kde/koala/HistoryProviderSignals.java deleted file mode 100644 index ea00a409..00000000 --- a/kdejava/koala/org/kde/koala/HistoryProviderSignals.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface HistoryProviderSignals { - /** - Emitted after the history has been cleared. - @short Emitted after the history has been cleared. - */ - void cleared(); - /** - This signal is never emitted from this class, it is only meant as an - interface for subclasses. Emit this signal to notify others that the - history has changed. Put those items that were added or removed from the - history into items. - @short This signal is never emitted from this class, it is only meant as an interface for subclasses. - */ - void updated(String[] items); -} diff --git a/kdejava/koala/org/kde/koala/Invocation.java b/kdejava/koala/org/kde/koala/Invocation.java deleted file mode 100644 index a3814ef2..00000000 --- a/kdejava/koala/org/kde/koala/Invocation.java +++ /dev/null @@ -1,69 +0,0 @@ -/*************************************************************************** - Invocation.java - description - ------------------- - begin : Tue Oct 31 06:12:14 2000 - copyright : (C) Gert-Jan van der Heiden. All rights reserved. - written by : Gert-Jan van der Heiden. - ***************************************************************************/ - -/*************************************************************************** - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU Library General Public License as published by* - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - ***************************************************************************/ - -package org.kde.koala; - -import java.util.*; -import java.lang.reflect.*; -import org.kde.qt.qtjava; - -/** A utility class for creating a closure to invoke later -*/ -class Invocation{ -public static ArrayList invokeInterfaces(long qtObject){ - return invokeArrayOperation(qtObject, "interfaces"); - } - public static ArrayList invokeFunctions(long qtObject){ - return invokeArrayOperation(qtObject, "functions"); - } - public static ArrayList invokeArrayOperation(long qtObject, String operationName){ - try{ - Object onThis = qtjava.objectForQtKey(qtObject, "java.lang.object", true); - if(onThis != null){ - Object[] arguments = new Object[0]; - Class[] objectTypes = new Class[0]; - Method method = onThis.getClass().getMethod(operationName, objectTypes); - return (ArrayList) method.invoke(onThis,arguments); - }else { - System.out.println("Invocation.invokeArrayOperation() : object not found!"); - } - }catch(Exception e){ - e.printStackTrace(); - } - return new ArrayList(); - } - public static DCOPAnswer invokeProcess(long qtObject, String fun, byte[] data){ - try{ - Object onThis = qtjava.objectForQtKey(qtObject, "java.lang.object", true); - if(onThis != null){ - Object[] arguments = {fun, data}; - Class[] objectTypes = { String.class, - data.getClass()}; - - Method method = onThis.getClass().getMethod("javaProcess", objectTypes); - return (DCOPAnswer) method.invoke(onThis,arguments); - }else { - System.out.println("Invocation.invokeArrayOperation() : object not found!"); - } - }catch(Exception e){ - e.printStackTrace(); - } - DCOPAnswer answer = new DCOPAnswer(); - answer.setSucces(false); - return answer; - } -} diff --git a/kdejava/koala/org/kde/koala/Job.java b/kdejava/koala/org/kde/koala/Job.java deleted file mode 100644 index 1336702c..00000000 --- a/kdejava/koala/org/kde/koala/Job.java +++ /dev/null @@ -1,368 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - The base class for all jobs. - For all jobs created in an application, the code looks like -
      -   TDEIO.Job  job = TDEIO.someoperation( some parameters );
      -   connect( job, SIGNAL("result( TDEIO.Job  )"),
      -            this, SLOT("slotResult( TDEIO.Job  )") );
      - 
      - (other connects, specific to the job) - And slotResult is usually at least: -
      -  if ( job.error() )
      -      job.showErrorDialog( this or null  );
      - 
      - See {@link JobSignals} for signals emitted by Job - @short The base class for all jobs. - @see Scheduler - @see Slave - -*/ -public class Job extends TQObject { - protected Job(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Abort this job. - This kills all subjobs and deletes the job. - @param quietly if false, Job will emit signal result - and ask tdeio_uiserver to close the progress window. - quietly is set to true for subjobs. Whether applications - should call with true or false depends on whether they rely - on result being emitted or not. - @short Abort this job. - */ - public native void kill(boolean quietly); - public native void kill(); - /** - Returns the error code, if there has been an error. - Only call this method from the slot connected to result(). - @return the error code for this job, 0 if no error. - Error codes are defined in TDEIO.Error. - - @short Returns the error code, if there has been an error. - */ - public native int error(); - /** - Returns the progress id for this job. - @return the progress id for this job, as returned by uiserver - - @short Returns the progress id for this job. - */ - public native int progressId(); - /** - Returns the error text if there has been an error. - Only call if error is not 0. - This is really internal, better use errorString() or errorDialog(). - @return a string to help understand the error, usually the url - related to the error. Only valid if error() is not 0. - - @short Returns the error text if there has been an error. - */ - public native String errorText(); - /** - Converts an error code and a non-i18n error message into an - error message in the current language. The low level (non-i18n) - error message (usually a url) is put into the translated error - message using %1. - Example for errid == ERR_CANNOT_OPEN_FOR_READING: -
      -		   i18n( "Could not read\n%1" ).arg( errortext );
      -		 
      - Use this to display the error yourself, but for a dialog box - use Job.showErrorDialog. Do not call it if error() - is not 0. - @return the error message and if there is no error, a message - telling the user that the app is broken, so check with - error() whether there is an error - - @short Converts an error code and a non-i18n error message into an error message in the current language. - */ - public native String errorString(); - /** - Converts an error code and a non-i18n error message into i18n - strings suitable for presentation in a detailed error message box. - @param reqUrl the request URL that generated this error message - @param method the method that generated this error message - (unimplemented) - @return the following strings: caption, error + description, - causes+solutions - - @short Converts an error code and a non-i18n error message into i18n strings suitable for presentation in a detailed error message box. - */ - public native ArrayList detailedErrorStrings(KURL reqUrl, int method); - public native ArrayList detailedErrorStrings(KURL reqUrl); - public native ArrayList detailedErrorStrings(); - /** - Display a dialog box to inform the user of the error given by - this job. - Only call if error is not 0, and only in the slot connected - to result. - @param parent the parent widget for the dialog box, can be 0 for - top-level - @short Display a dialog box to inform the user of the error given by this job. - */ - public native void showErrorDialog(TQWidget parent); - public native void showErrorDialog(); - /** - Enable or disable the automatic error handling. When automatic - error handling is enabled and an error occurs, then showErrorDialog() - is called with the specified parentWidget (if supplied) , right before - the emission of the result signal. - The default is false. - @param enable enable or disable automatic error handling - @param parentWidget the parent widget, passed to showErrorDialog. - Can be 0 for top-level - @short Enable or disable the automatic error handling. - @see #isAutoErrorHandlingEnabled - @see #showErrorDialog - */ - public native void setAutoErrorHandlingEnabled(boolean enable, TQWidget parentWidget); - public native void setAutoErrorHandlingEnabled(boolean enable); - /** - Returns whether automatic error handling is enabled or disabled. - @return true if automatic error handling is enabled - - @short Returns whether automatic error handling is enabled or disabled. - @see #setAutoErrorHandlingEnabled - */ - public native boolean isAutoErrorHandlingEnabled(); - /** - Enable or disable the automatic warning handling. When automatic - warning handling is enabled and an error occurs, then a message box - is displayed with the warning message - The default is true. - See also isAutoWarningHandlingEnabled , showErrorDialog - @param enable enable or disable automatic warning handling - @short Enable or disable the automatic warning handling. - @see #isAutoWarningHandlingEnabled - */ - public native void setAutoWarningHandlingEnabled(boolean enable); - /** - Returns whether automatic warning handling is enabled or disabled. - See also setAutoWarningHandlingEnabled . - @return true if automatic warning handling is enabled - - @short Returns whether automatic warning handling is enabled or disabled. - @see #setAutoWarningHandlingEnabled - */ - public native boolean isAutoWarningHandlingEnabled(); - /** - Enable or disable the message display from the job. - The default is true. - @param enable enable or disable message display - @short Enable or disable the message display from the job. - */ - public native void setInteractive(boolean enable); - /** - Returns whether message display is enabled or disabled. - @return true if message display is enabled - - @short Returns whether message display is enabled or disabled. - @see #setInteractive - */ - public native boolean isInteractive(); - /** - Associate this job with a window given by window. - @param window the window to associate to - @short Associate this job with a window given by window. - @see #window - */ - public native void setWindow(TQWidget window); - /** - Returns the window this job is associated with. - @return the associated window - - @short Returns the window this job is associated with. - @see #setWindow - */ - public native TQWidget window(); - /** - Set the parent Job. - One example use of this is when FileCopyJob calls open_RenameDlg, - it must pass the correct progress ID of the parent CopyJob - (to hide the progress dialog). - You can set the parent job only once. By default a job does not - have a parent job. - @param parentJob the new parent job - @short Set the parent Job. - */ - public native void setParentJob(Job parentJob); - /** - Returns the parent job, if there is one. - @return the parent job, or 0 if there is none - - @short Returns the parent job, if there is one. - @see #setParentJob - */ - public native Job parentJob(); - /** - Set meta data to be sent to the slave, replacing existing - meta data. - @param metaData the meta data to set - @short Set meta data to be sent to the slave, replacing existing meta data. - @see #addMetaData - @see #mergeMetaData - */ - // void setMetaData(const TDEIO::MetaData& arg1); >>>> NOT CONVERTED - /** - Add key/value pair to the meta data that is sent to the slave. - @param key the key of the meta data - @param value the value of the meta data - @short Add key/value pair to the meta data that is sent to the slave. - @see #setMetaData - @see #mergeMetaData - */ - public native void addMetaData(String key, String value); - /** - Add key/value pairs to the meta data that is sent to the slave. - If a certain key already existed, it will be overridden. - @param values the meta data to add - @short Add key/value pairs to the meta data that is sent to the slave. - @see #setMetaData - @see #mergeMetaData - */ - // void addMetaData(const TQMap& arg1); >>>> NOT CONVERTED - /** - Add key/value pairs to the meta data that is sent to the slave. - If a certain key already existed, it will remain unchanged. - @param values the meta data to merge - @short Add key/value pairs to the meta data that is sent to the slave. - @see #setMetaData - @see #addMetaData - */ - // void mergeMetaData(const TQMap& arg1); >>>> NOT CONVERTED - /** - @short - */ - // TDEIO::MetaData outgoingMetaData(); >>>> NOT CONVERTED - /** - Get meta data received from the slave. - (Valid when first data is received and/or slave is finished) - @return the job's meta data - - @short Get meta data received from the slave. - */ - // TDEIO::MetaData metaData(); >>>> NOT CONVERTED - /** - Query meta data received from the slave. - (Valid when first data is received and/or slave is finished) - @param key the key of the meta data to retrieve - @return the value of the meta data, or null if the - key does not exist - - @short Query meta data received from the slave. - */ - public native String queryMetaData(String key); - /** - Returns the processed size for this job. - @short Returns the processed size for this job. - @see #processedSize - */ - public native long getProcessedSize(); - public Job(boolean showProgressInfo) { - super((Class) null); - newJob(showProgressInfo); - } - private native void newJob(boolean showProgressInfo); - /** - Add a job that has to be finished before a result - is emitted. This has obviously to be called before - the finish signal is emitted by the slave. - @param job the subjob to add - @param inheritMetaData if true, the subjob will - inherit the meta data from this job. - @short Add a job that has to be finished before a result is emitted. - */ - protected native void addSubjob(Job job, boolean inheritMetaData); - protected native void addSubjob(Job job); - /** - Mark a sub job as being done. If it's the last to - wait on the job will emit a result - jobs with - two steps might want to override slotResult - in order to avoid calling this method. - @param job the subjob to add - @short Mark a sub job as being done. - */ - protected native void removeSubjob(Job job); - /** - Overloaded version of removeSubjob - @param job the subjob to remove - @param mergeMetaData if set, the metadata received by the subjob is - merged into this job. - @param emitResultIfLast if this was the last subjob, emit result, - i.e. terminate this job. - @short Overloaded version of removeSubjob - */ - protected native void removeSubjob(Job job, boolean mergeMetaData, boolean emitResultIfLast); - /** - Utility function for inherited jobs. - Emits the percent signal if bigger than m_percent, - after calculating it from the parameters. - @param processedSize the processed size in bytes - @param totalSize the total size in bytes - @short Utility function for inherited jobs. - */ - protected native void emitPercent(long processedSize, long totalSize); - /** - Utility function for inherited jobs. - Emits the speed signal and starts the timer for removing that info - @param speed the speed in bytes/s - @short Utility function for inherited jobs. - */ - protected native void emitSpeed(long speed); - /** - Utility function to emit the result signal, and suicide this job. - It first tells the observer to hide the progress dialog for this job. - @short Utility function to emit the result signal, and suicide this job. - */ - protected native void emitResult(); - /** - Set the processed size, does not emit processedSize - @short Set the processed size, does not emit processedSize - */ - protected native void setProcessedSize(long size); - protected native int extraFlags(); - /** - Called whenever a subjob finishes. - Default implementation checks for errors and propagates - to parent job, then calls removeSubjob. - Override if you don't want subjobs errors to be propagated. - @param job the subjob - @short Called whenever a subjob finishes. - @see #result - */ - protected native void slotResult(Job job); - /** - Forward signal from subjob. - @param job the subjob - @param speed the speed in bytes/s - @short Forward signal from subjob. - @see #speed - */ - protected native void slotSpeed(Job job, long speed); - /** - Forward signal from subjob. - @param job the subjob - @param msg the info message - @short Forward signal from subjob. - @see #infoMessage - */ - protected native void slotInfoMessage(Job job, String msg); - /** - Remove speed information. - @short Remove speed information. - */ - protected native void slotSpeedTimeout(); -} diff --git a/kdejava/koala/org/kde/koala/JobSignals.java b/kdejava/koala/org/kde/koala/JobSignals.java deleted file mode 100644 index 4f499f13..00000000 --- a/kdejava/koala/org/kde/koala/JobSignals.java +++ /dev/null @@ -1,73 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface JobSignals { - /** - Emitted when the job is finished, in any case (completed, canceled, - failed...). Use error to know the result. - @param job the job that emitted this signal - @short Emitted when the job is finished, in any case (completed, canceled, failed. - */ - void result(Job job); - /** - Emitted to display information about this job, as sent by the slave. - Examples of message are "Resolving host", "Connecting to host...", etc. - @param job the job that emitted this signal - @param msg the info message - @short Emitted to display information about this job, as sent by the slave. - */ - void infoMessage(Job job, String msg); - /** - Emitted to display a warning about this job, as sent by the slave. - @param job the job that emitted this signal - @param msg the info message - @short Emitted to display a warning about this job, as sent by the slave. - */ - void warning(Job job, String msg); - /** - Emitted when the slave successfully connected to the host. - There is no guarantee the slave will send this, and this is - currently unused (in the applications). - @param job the job that emitted this signal - @short Emitted when the slave successfully connected to the host. - */ - void connected(Job job); - /** - Progress signal showing the overall progress of the job - This is valid for any kind of job, and allows using a - a progress bar very easily. (see KProgress). - Note that this signal is not emitted for finished jobs. - @param job the job that emitted this signal - @param percent the percentage - @short Progress signal showing the overall progress of the job This is valid for any kind of job, and allows using a a progress bar very easily. - */ - void percent(Job job, long percent); - /** - Emitted when we know the size of this job (data size for transfers, - number of entries for listings). - @param job the job that emitted this signal - @param size the total size in bytes - @short Emitted when we know the size of this job (data size for transfers, number of entries for listings). - */ - void totalSize(Job job, long size); - /** - Regularly emitted to show the progress of this job - (current data size for transfers, entries listed). - @param job the job that emitted this signal - @param size the processed size in bytes - @short Regularly emitted to show the progress of this job (current data size for transfers, entries listed). - */ - void processedSize(Job job, long size); - /** - Emitted to display information about the speed of this job. - @param job the job that emitted this signal - @param speed the speed in bytes/s - @short Emitted to display information about the speed of this job. - */ - void speed(Job job, long speed); -} diff --git a/kdejava/koala/org/kde/koala/KActiveLabel.java b/kdejava/koala/org/kde/koala/KActiveLabel.java deleted file mode 100644 index 10d90efa..00000000 --- a/kdejava/koala/org/kde/koala/KActiveLabel.java +++ /dev/null @@ -1,82 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQTextBrowser; - -/** - - Label with support for selection and clickable links. - openLink() the actions that will be taken when the user - clicks on a link. - @author Waldo Bastian (bastian@kde.org) - - @version $Id$ - - @short Label with support for selection and clickable links. - -*/ -public class KActiveLabel extends TQTextBrowser { - protected KActiveLabel(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - It connects the "linkClicked(String)" signal to the - "openLink(String)" slot. You will need to disconnect - this if you want to process linkClicked() yourself. - @short Constructor. - */ - public KActiveLabel(TQWidget parent, String name) { - super((Class) null); - newKActiveLabel(parent,name); - } - private native void newKActiveLabel(TQWidget parent, String name); - public KActiveLabel(TQWidget parent) { - super((Class) null); - newKActiveLabel(parent); - } - private native void newKActiveLabel(TQWidget parent); - /** - Constructor. - It connects the "linkClicked(String)" signal to the - "openLink(String)" slot. You will need to disconnect - this if you want to process linkClicked() yourself. - @short Constructor. - */ - public KActiveLabel(String text, TQWidget parent, String name) { - super((Class) null); - newKActiveLabel(text,parent,name); - } - private native void newKActiveLabel(String text, TQWidget parent, String name); - public KActiveLabel(String text, TQWidget parent) { - super((Class) null); - newKActiveLabel(text,parent); - } - private native void newKActiveLabel(String text, TQWidget parent); - public native TQSize minimumSizeHint(); - public native TQSize sizeHint(); - /** - Opens link in the default browser. - If link starts with the text "whatsthis:" a TQWhatsThis - box will appear and then display the rest of the text. The WhatsThis - functionality is available since KDE 3.2. - @short Opens link in the default browser. - */ - public native void openLink(String link); - protected native void focusInEvent(TQFocusEvent fe); - protected native void focusOutEvent(TQFocusEvent fe); - protected native void keyPressEvent(TQKeyEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KAnimWidget.java b/kdejava/koala/org/kde/koala/KAnimWidget.java deleted file mode 100644 index 9307c46e..00000000 --- a/kdejava/koala/org/kde/koala/KAnimWidget.java +++ /dev/null @@ -1,126 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFrame; - -/** - - This is a widget used to display animation using multiple - individual pixmaps. This widget allows you to deal with variable - size icons (e.g., ones that will change based on a global setting) - as it loads the icons internally. All you need to do is pass along - a list of icon names and their size and everything else is taken - care of. - This widget also emits a 'clicked()' signal when it received a - mouse press event. - A quick example: -
      - KAnimWidget anim = new KAnimWidget("kde", 0, this);
      - anim.start();
      - 
      - That example will search for the pixmaps "one.png", "two.png", and - "three.png" in the share/icons/small/ directories as well as the - app's pics directory. - See {@link KAnimWidgetSignals} for signals emitted by KAnimWidget - @author Kurt Granroth - - @short Standard "About KDE" dialog box. - -*/ -public class KAnimWidget extends TQFrame { - protected KAnimWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - This is the most common constructor. Pass along the name of the - animated icons to use (e.g., "kde") for the animation and an - optional size to load and you're set. If you omit the size, the - default size will be used. - @param icons The icons name (e.g., "kde") to use for the animation - @param size The size to load - You don't have to set it if the parent is a - TDEToolBar; in this case it will use the toolbar's - size. - @param parent The standard parent - @param name The standard internal name - @short This is the most common constructor. - */ - public KAnimWidget(String icons, int size, TQWidget parent, String name) { - super((Class) null); - newKAnimWidget(icons,size,parent,name); - } - private native void newKAnimWidget(String icons, int size, TQWidget parent, String name); - public KAnimWidget(String icons, int size, TQWidget parent) { - super((Class) null); - newKAnimWidget(icons,size,parent); - } - private native void newKAnimWidget(String icons, int size, TQWidget parent); - public KAnimWidget(String icons, int size) { - super((Class) null); - newKAnimWidget(icons,size); - } - private native void newKAnimWidget(String icons, int size); - public KAnimWidget(String icons) { - super((Class) null); - newKAnimWidget(icons); - } - private native void newKAnimWidget(String icons); - /** - Sets the size of the icons. - @param size The size of the icons - @short Sets the size of the icons. - */ - public native void setSize(int size); - /** - Returns the current size. - @short Returns the current size. - */ - public native int iconSize(); - /** - Returns the current icons - since 3.4 - @short Returns the current icons since 3. - */ - public native String icons(); - /** - Sets the name of the animated icons to load. This will use the - TDEIconLoader.loadAnimated method for the actual loading. - @param icons The name of the icons to use for the animation - @short Sets the name of the animated icons to load. - */ - public native void setIcons(String icons); - /** - Starts the animation from frame 1 - @short Starts the animation from frame 1 - */ - public native void start(); - /** - Stops the animation. This will also reset the widget to frame 1. - @short Stops the animation. - */ - public native void stop(); - protected native void drawContents(TQPainter p); - protected native void leaveEvent(TQEvent e); - protected native void enterEvent(TQEvent e); - protected native void hideEvent(TQHideEvent e); - public native void showEvent(TQShowEvent e); - protected native void mousePressEvent(TQMouseEvent e); - protected native void mouseReleaseEvent(TQMouseEvent e); - protected native void slotTimerUpdate(); - protected native void updateIcons(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KAnimWidgetSignals.java b/kdejava/koala/org/kde/koala/KAnimWidgetSignals.java deleted file mode 100644 index 62c0bfd5..00000000 --- a/kdejava/koala/org/kde/koala/KAnimWidgetSignals.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface KAnimWidgetSignals { - void clicked(); -} diff --git a/kdejava/koala/org/kde/koala/KAr.java b/kdejava/koala/org/kde/koala/KAr.java deleted file mode 100644 index 5f8e9c0b..00000000 --- a/kdejava/koala/org/kde/koala/KAr.java +++ /dev/null @@ -1,65 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -/** - - KAr is a class for reading archives in ar format. Writing - is not supported. - @author Laurence Anderson - - @short A class for reading ar archives. - -*/ -public class KAr extends KArchive { - protected KAr(Class dummy){super((Class) null);} - /** - Creates an instance that operates on the given filename. - @param filename is a local path (e.g. "/home/holger/myfile.ar") - @short Creates an instance that operates on the given filename. - */ - public KAr(String filename) { - super((Class) null); - newKAr(filename); - } - private native void newKAr(String filename); - /** - Creates an instance that operates on the given device. - The device can be compressed (KFilterDev) or not (TQFile, etc.). - @param dev the device to read from - @short Creates an instance that operates on the given device. - */ - public KAr(TQIODeviceInterface dev) { - super((Class) null); - newKAr(dev); - } - private native void newKAr(TQIODeviceInterface dev); - /** - The name of the ar file, as passed to the constructor. - @return the filename. Null if you used the TQIODevice constructor - - @short The name of the ar file, as passed to the constructor. - */ - public native String fileName(); - public native boolean prepareWriting(String name, String user, String group, int size); - public native boolean doneWriting(int size); - public native boolean writeDir(String name, String user, String group); - /** - Opens the archive for reading. - Parses the directory listing of the archive - and creates the KArchiveDirectory/KArchiveFile entries. - @short Opens the archive for reading. - */ - protected native boolean openArchive(int mode); - protected native boolean closeArchive(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KArchive.java b/kdejava/koala/org/kde/koala/KArchive.java deleted file mode 100644 index 5c5db0a4..00000000 --- a/kdejava/koala/org/kde/koala/KArchive.java +++ /dev/null @@ -1,229 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -/** - - KArchive is a base class for reading and writing archives. - @author David Faure - - @short generic class for reading/writing archives. - -*/ -public class KArchive implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KArchive(Class dummy){} - - public static final int VIRTUAL_WRITE_DATA = 1; - public static final int VIRTUAL_WRITE_SYMLINK = 2; - public static final int VIRTUAL_WRITE_DIR = 3; - public static final int VIRTUAL_WRITE_FILE = 4; - public static final int VIRTUAL_PREPARE_WRITING = 5; - - /** - Opens the archive for reading or writing. - Inherited classes might want to reimplement openArchive instead. - @param mode may be IO_ReadOnly or IO_WriteOnly - @short Opens the archive for reading or writing. - @see #close - */ - public native boolean open(int mode); - /** - Closes the archive. - Inherited classes might want to reimplement closeArchive instead. - @short Closes the archive. - @see #open - */ - public native void close(); - /** - Use to check if close had any problem - @return true if close succeded without problems - - @short Use to check if close had any problem - */ - public native boolean closeSucceeded(); - /** - Checks whether the archive is open. - @return true if the archive is opened - - @short Checks whether the archive is open. - */ - public native boolean isOpened(); - /** - Returns the mode in which the archive was opened - @return the mode in which the archive was opened (IO_ReadOnly or IO_WriteOnly) - - @short Returns the mode in which the archive was opened - @see #open - */ - public native int mode(); - /** - The underlying device. - @return the underlying device. - - @short The underlying device. - */ - public native TQIODeviceInterface device(); - /** - If an archive is opened for reading, then the contents - of the archive can be accessed via this function. - @return the directory of the archive - - @short If an archive is opened for reading, then the contents of the archive can be accessed via this function. - */ - public native KArchiveDirectory directory(); - /** - Writes a local file into the archive. The main difference with writeFile, - is that this method minimizes memory usage, by not loading the whole file - into memory in one go. - If fileName is a symbolic link, it will be written as is, i. e. - it will not be resolved before. - @param fileName full path to an existing local file, to be added to the archive. - @param destName the resulting name (or relative path) of the file in the archive. - @short Writes a local file into the archive. - */ - public native boolean addLocalFile(String fileName, String destName); - /** - Writes a local directory into the archive, including all its contents, recursively. - Calls addLocalFile for each file to be added. - Since KDE 3.2 it will also add a path that is a symbolic link to a - directory. The symbolic link will be dereferenced and the content of the - directory it is pointing to added recursively. However, symbolic links - under path will be stored as is. - @param path full path to an existing local directory, to be added to the archive. - @param destName the resulting name (or relative path) of the file in the archive. - @short Writes a local directory into the archive, including all its contents, recursively. - */ - public native boolean addLocalDirectory(String path, String destName); - /** - If an archive is opened for writing then you can add new directories - using this function. KArchive won't write one directory twice. - @param name the name of the directory - @param user the user that owns the directory - @param group the group that owns the directory - @todo TODO(BIC): make this a thin wrapper around - writeDir(name,user,group,perm,atime,mtime,ctime) - or eliminate it - @short If an archive is opened for writing then you can add new directories using this function. - */ - public native boolean writeDir(String name, String user, String group); - /** - If an archive is opened for writing then you can add new directories - using this function. KArchive won't write one directory twice. - This method also allows some file metadata to be - set. However, depending on the archive type not all metadata might be - regarded. - @param name the name of the directory - @param user the user that owns the directory - @param group the group that owns the directory - @param perm permissions of the directory - @param atime time the file was last accessed - @param mtime modification time of the file - @param ctime creation time of the file - @short If an archive is opened for writing then you can add new directories using this function. - */ - public native boolean writeDir(String name, String user, String group, long perm, int atime, int mtime, int ctime); - /** - Writes a symbolic link to the archive if the archive must be opened for - writing. - @param name name of symbolic link - @param target target of symbolic link - @param user the user that owns the directory - @param group the group that owns the directory - @param perm permissions of the directory - @param atime time the file was last accessed - @param mtime modification time of the file - @param ctime creation time of the file - @short Writes a symbolic link to the archive if the archive must be opened for writing. - */ - public native boolean writeSymLink(String name, String target, String user, String group, long perm, int atime, int mtime, int ctime); - /** - If an archive is opened for writing then you can add a new file - using this function. If the file name is for example "mydir/test1" then - the directory "mydir" is automatically appended first if that did not - happen yet. - @param name the name of the file - @param user the user that owns the file - @param group the group that owns the file - @param size the size of the file - @param data the data to write (size bytes) - @todo TODO(BIC): make this a thin non-wrapper around - writeFile(name,user,group,size,perm,atime,mtime,ctime,data) - @short If an archive is opened for writing then you can add a new file using this function. - */ - public native boolean writeFile(String name, String user, String group, int size, String data); - /** - If an archive is opened for writing then you can add a new file - using this function. If the file name is for example "mydir/test1" then - the directory "mydir" is automatically appended first if that did not - happen yet. - This method also allows some file metadata to be - set. However, depending on the archive type not all metadata might be - regarded. - @param name the name of the file - @param user the user that owns the file - @param group the group that owns the file - @param size the size of the file - @param perm permissions of the file - @param atime time the file was last accessed - @param mtime modification time of the file - @param ctime creation time of the file - @param data the data to write (size bytes) - @short If an archive is opened for writing then you can add a new file using this function. - */ - public native boolean writeFile(String name, String user, String group, int size, long perm, int atime, int mtime, int ctime, String data); - /** - Here's another way of writing a file into an archive: - Call prepareWriting, then call writeData() - as many times as wanted then call doneWriting( totalSize ). - For tar.gz files, you need to know the size before hand, since it is needed in the header. - For zip files, size isn't used. - @param name the name of the file - @param user the user that owns the file - @param group the group that owns the file - @param size the size of the file - @todo TODO(BIC): make this a thin non-wrapper around - prepareWriting(name,user,group,size,perm,atime,mtime,ctime) - or eliminate it. - @short Here's another way of writing a file into an archive: Call prepareWriting, then call writeData() as many times as wanted then call doneWriting( totalSize ). - */ - public native boolean prepareWriting(String name, String user, String group, int size); - /** - Here's another way of writing a file into an archive: - Call prepareWriting, then call writeData() - as many times as wanted then call doneWriting( totalSize ). - For tar.gz files, you need to know the size before hand, it is needed in the header! - For zip files, size isn't used. - This method also allows some file metadata to be - set. However, depending on the archive type not all metadata might be - regarded. - @param name the name of the file - @param user the user that owns the file - @param group the group that owns the file - @param size the size of the file - @param perm permissions of the file - @param atime time the file was last accessed - @param mtime modification time of the file - @param ctime creation time of the file - @short Here's another way of writing a file into an archive: Call prepareWriting, then call writeData() as many times as wanted then call doneWriting( totalSize ). - */ - public native boolean prepareWriting(String name, String user, String group, int size, long perm, int atime, int mtime, int ctime); - /** - Write data into the current file - to be called after calling prepareWriting - @todo TODO(BIC) make virtual. For now virtual_hook allows reimplementing it. - @short Write data into the current file - to be called after calling prepareWriting @todo TODO(BIC) make virtual. - */ - public native boolean writeData(String data, int size); - /** - Call doneWriting after writing the data. - @param size the size of the file - @short Call doneWriting after writing the data. - @see #prepareWriting - */ - public native boolean doneWriting(int size); -} diff --git a/kdejava/koala/org/kde/koala/KArchiveDirectory.java b/kdejava/koala/org/kde/koala/KArchiveDirectory.java deleted file mode 100644 index 26e2a784..00000000 --- a/kdejava/koala/org/kde/koala/KArchiveDirectory.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Represents a directory entry in a KArchive. - @short A directory in an archive. - @see KArchive - @see KArchiveFile - -*/ -public class KArchiveDirectory extends KArchiveEntry { - protected KArchiveDirectory(Class dummy){super((Class) null);} - /** - Creates a new directory entry. - @param archive the entries archive - @param name the name of the entry - @param access the permissions in unix format - @param date the date (in seconds since 1970) - @param user the user that owns the entry - @param group the group that owns the entry - @param symlink the symlink, or null - @short Creates a new directory entry. - */ - public KArchiveDirectory(KArchive archive, String name, int access, int date, String user, String group, String symlink) { - super((Class) null); - newKArchiveDirectory(archive,name,access,date,user,group,symlink); - } - private native void newKArchiveDirectory(KArchive archive, String name, int access, int date, String user, String group, String symlink); - /** - Returns a list of sub-entries. - @return the names of all entries in this directory (filenames, no path). - - @short Returns a list of sub-entries. - */ - public native ArrayList entries(); - /** - Returns the entry with the given name. - @param name may be "test1", "mydir/test3", "mydir/mysubdir/test3", etc. - @return a pointer to the entry in the directory. - - @short Returns the entry with the given name. - */ - public native KArchiveEntry entry(String name); - /** - Adds a new entry to the directory. - @short - */ - public native void addEntry(KArchiveEntry arg1); - /** - Checks whether this entry is a directory. - @return true, since this entry is a directory - - @short Checks whether this entry is a directory. - */ - public native boolean isDirectory(); - /** - Extracts all entries in this archive directory to the directory - dest. - @param dest the directory to extract to - @param recursive if set to true, subdirectories are extracted as well - @short Extracts all entries in this archive directory to the directory dest. - */ - public native void copyTo(String dest, boolean recursive); - public native void copyTo(String dest); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KArchiveEntry.java b/kdejava/koala/org/kde/koala/KArchiveEntry.java deleted file mode 100644 index cf824a3a..00000000 --- a/kdejava/koala/org/kde/koala/KArchiveEntry.java +++ /dev/null @@ -1,107 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.Calendar; - -/** - - A base class for entries in an KArchive. - @short Base class for the archive-file's directory structure. - @see KArchiveFile - @see KArchiveDirectory - -*/ -public class KArchiveEntry implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KArchiveEntry(Class dummy){} - - /** - Creates a new entry. - @param archive the entries archive - @param name the name of the entry - @param access the permissions in unix format - @param date the date (in seconds since 1970) - @param user the user that owns the entry - @param group the group that owns the entry - @param symlink the symlink, or null - @short Creates a new entry. - */ - public KArchiveEntry(KArchive archive, String name, int access, int date, String user, String group, String symlink) { - newKArchiveEntry(archive,name,access,date,user,group,symlink); - } - private native void newKArchiveEntry(KArchive archive, String name, int access, int date, String user, String group, String symlink); - /** - Creation date of the file. - @return the creation date - - @short Creation date of the file. - */ - public native Calendar datetime(); - /** - Creation date of the file. - @return the creation date in seconds since 1970 - - @short Creation date of the file. - */ - public native int date(); - /** - Name of the file without path. - @return the file name without path - - @short Name of the file without path. - */ - public native String name(); - /** - The permissions and mode flags as returned by the stat() function - in st_mode. - @return the permissions - - @short The permissions and mode flags as returned by the stat() function in st_mode. - */ - public native long permissions(); - /** - User who created the file. - @return the owner of the file - - @short User who created the file. - */ - public native String user(); - /** - Group of the user who created the file. - @return the group of the file - - @short Group of the user who created the file. - */ - public native String group(); - /** - Symlink if there is one. - @return the symlink, or null - - @short Symlink if there is one. - */ - public native String symlink(); - /** - Checks whether the entry is a file. - @return true if this entry is a file - - @short Checks whether the entry is a file. - */ - public native boolean isFile(); - /** - Checks whether the entry is a directory. - @return true if this entry is a directory - - @short Checks whether the entry is a directory. - */ - public native boolean isDirectory(); - protected native KArchive archive(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KArchiveFile.java b/kdejava/koala/org/kde/koala/KArchiveFile.java deleted file mode 100644 index 9436f263..00000000 --- a/kdejava/koala/org/kde/koala/KArchiveFile.java +++ /dev/null @@ -1,95 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -/** - - Represents a file entry in a KArchive. - @short A file in an archive. - @see KArchive - @see KArchiveDirectory - -*/ -public class KArchiveFile extends KArchiveEntry { - protected KArchiveFile(Class dummy){super((Class) null);} - /** - Creates a new file entry. - @param archive the entries archive - @param name the name of the entry - @param access the permissions in unix format - @param date the date (in seconds since 1970) - @param user the user that owns the entry - @param group the group that owns the entry - @param symlink the symlink, or null - @param pos the position of the file in the directory - @param size the size of the file - @short Creates a new file entry. - */ - public KArchiveFile(KArchive archive, String name, int access, int date, String user, String group, String symlink, int pos, int size) { - super((Class) null); - newKArchiveFile(archive,name,access,date,user,group,symlink,pos,size); - } - private native void newKArchiveFile(KArchive archive, String name, int access, int date, String user, String group, String symlink, int pos, int size); - /** - Position of the data in the [uncompressed] archive. - @return the position of the file - - @short Position of the data in the [uncompressed] archive. - */ - public native int position(); - /** - Size of the data. - @return the size of the file - - @short Size of the data. - */ - public native int size(); - /** - Set size of data, usually after writing the file. - @param s the new size of the file - @short Set size of data, usually after writing the file. - */ - public native void setSize(int s); - /** - Returns the data of the file. - Call data() with care (only once per file), this data isn't cached. - @return the content of this file. - - @short Returns the data of the file. - */ - public native byte[] data(); - /** - This method returns TQIODevice (internal class: KLimitedIODevice) - on top of the underlying TQIODevice. This is obviously for reading only. - Note that the ownership of the device is being transferred to the caller, - who will have to delete it. - The returned device auto-opens (in readonly mode), no need to open it. - @return the TQIODevice of the file - - @short This method returns TQIODevice (internal class: KLimitedIODevice) on top of the underlying TQIODevice. - */ - public native TQIODeviceInterface device(); - /** - Checks whether this entry is a file. - @return true, since this entry is a file - - @short Checks whether this entry is a file. - */ - public native boolean isFile(); - /** - Extracts the file to the directory dest - @param dest the directory to extract to - @short Extracts the file to the directory dest - */ - public native void copyTo(String dest); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KArrowButton.java b/kdejava/koala/org/kde/koala/KArrowButton.java deleted file mode 100644 index 81e593ef..00000000 --- a/kdejava/koala/org/kde/koala/KArrowButton.java +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPushButton; - -/** - - Draws a button which shows an arrow pointing into a certain direction. The - arrow's alignment on the button depends on the direction it's pointing to, - e.g. a left arrow is aligned at the left border, a upwards arrow at the top - border. This class honors the currently configured TDEStyle when drawing - the arrow. - @author Frerich Raabe - - @short Draws a button with an arrow. - -*/ -public class KArrowButton extends TQPushButton { - protected KArrowButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs an arrow button. - @param parent This button's parent - @param arrow The direction the arrrow should be pointing in - @param name An internal name for this widget - @short Constructs an arrow button. - */ - public KArrowButton(TQWidget parent, int arrow, String name) { - super((Class) null); - newKArrowButton(parent,arrow,name); - } - private native void newKArrowButton(TQWidget parent, int arrow, String name); - public KArrowButton(TQWidget parent, int arrow) { - super((Class) null); - newKArrowButton(parent,arrow); - } - private native void newKArrowButton(TQWidget parent, int arrow); - public KArrowButton(TQWidget parent) { - super((Class) null); - newKArrowButton(parent); - } - private native void newKArrowButton(TQWidget parent); - public KArrowButton() { - super((Class) null); - newKArrowButton(); - } - private native void newKArrowButton(); - /** - Reimplemented from TQPushButton. - @short Reimplemented from TQPushButton. - */ - public native TQSize sizeHint(); - /** - Returns the arrow type - @short Returns the arrow type - */ - public native int arrowType(); - public native int arrowTp(); - public native void setArrowTp(int tp); - /** - Defines in what direction the arrow is pointing to. Will repaint the - button if necessary. - @param a The direction this arrow should be pointing in - @short Defines in what direction the arrow is pointing to. - */ - public native void setArrowType(int a); - /** - Reimplemented from TQPushButton. - @short Reimplemented from TQPushButton. - */ - protected native void drawButton(TQPainter arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KAsyncIO.java b/kdejava/koala/org/kde/koala/KAsyncIO.java deleted file mode 100644 index a54995bc..00000000 --- a/kdejava/koala/org/kde/koala/KAsyncIO.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; -import org.kde.qt.TQObject; - -/** - - Asynchronous I/O Support - This abstract class provides basic functionality for asynchronous I/O - support on top of TQIODevice. - See {@link KAsyncIOSignals} for signals emitted by KAsyncIO - @author Thiago Macieira - - @short Asynchronous I/O support. - -*/ -public class KAsyncIO extends TQObject implements TQIODeviceInterface { - protected KAsyncIO(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Toggles the emission of the readyRead() signal whenever the device - is ready for reading. This is useful if you want to know the first time - the device is ready for reading and you don't want to read it now. - @param enable true to enable, false to disable the readyRead() signal - @short Toggles the emission of the readyRead() signal whenever the device is ready for reading. - */ - public native void enableRead(boolean enable); - /** - Toggles the emission of the readyWrite() signal whenever the device - is ready for writing. This is useful if you want to know the first time - the device is ready for writing and you don't want to write to it now. - @param enable true to enable, false to disable the readyWrite() signal - @short Toggles the emission of the readyWrite() signal whenever the device is ready for writing. - */ - public native void enableWrite(boolean enable); - public native int flags(); - public native int mode(); - public native int state(); - public native boolean isDirectAccess(); - public native boolean isSequentialAccess(); - public native boolean isCombinedAccess(); - public native boolean isBuffered(); - public native boolean isRaw(); - public native boolean isSynchronous(); - public native boolean isAsynchronous(); - public native boolean isTranslated(); - public native boolean isReadable(); - public native boolean isWritable(); - public native boolean isReadWrite(); - public native boolean isInactive(); - public native boolean isOpen(); - public native int status(); - public native void resetStatus(); - public native boolean open(int mode); - public native void close(); - public native void flush(); - public native long size(); - public native long at(); - public native boolean at(long arg1); - public native boolean atEnd(); - public native boolean reset(); - public native long readBlock(StringBuffer data, long maxlen); - public native long writeBlock(String data, long len); - public native long readLine(String data, long maxlen); - public native long writeBlock(byte[] data); - public native byte[] readAll(); - public native int getch(); - public native int putch(int arg1); - public native int ungetch(int arg1); -} diff --git a/kdejava/koala/org/kde/koala/KAsyncIOSignals.java b/kdejava/koala/org/kde/koala/KAsyncIOSignals.java deleted file mode 100644 index d4cf0829..00000000 --- a/kdejava/koala/org/kde/koala/KAsyncIOSignals.java +++ /dev/null @@ -1,20 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQIODevice; -import org.kde.qt.TQIODeviceInterface; - -public interface KAsyncIOSignals { - /** - This signal gets sent when the device is ready for reading. - @short This signal gets sent when the device is ready for reading. - */ - void readyRead(); - /** - This signal gets sent when the device is ready for writing. - @short This signal gets sent when the device is ready for writing. - */ - void readyWrite(); -} diff --git a/kdejava/koala/org/kde/koala/KAudioPlayer.java b/kdejava/koala/org/kde/koala/KAudioPlayer.java deleted file mode 100644 index 5e9369b5..00000000 --- a/kdejava/koala/org/kde/koala/KAudioPlayer.java +++ /dev/null @@ -1,76 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - This class provides one-shot-and-forget audio playing. You will never - know if what you wanted to play really got played. - It doesn't require linking any special libraries, as it operates over - DCOP. In the current implementation, it only indirectly communicates - with the aRts soundserver, using knotify as DCOP . MCOP bridge. - Due to that fact, if you need "fast" response times, more control or - feedback, use the MCOP interfaces rather than this. - An example of using this class is: -
      -   KAudioPlayer.play("/var/share/foo.wav");
      - 
      - If you want to use signals & slots, you can do something like: -
      -   KAudioPlayer player("/var/share/foo.wav");
      -   connect(&button, SIGNAL("clicked()"), &player, SLOT("play()"));
      - 
      - @short This class provides one-shot-and-forget audio playing. - -*/ -public class KAudioPlayer extends TQObject { - protected KAudioPlayer(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - @param filename Absolute path to the filename of the sound file to play - @param parent A parent TQObject for this KAudioPlayer - @param name An internal name for this KAudioPlayer - @short Constructor. - */ - public KAudioPlayer(String filename, TQObject parent, String name) { - super((Class) null); - newKAudioPlayer(filename,parent,name); - } - private native void newKAudioPlayer(String filename, TQObject parent, String name); - public KAudioPlayer(String filename, TQObject parent) { - super((Class) null); - newKAudioPlayer(filename,parent); - } - private native void newKAudioPlayer(String filename, TQObject parent); - public KAudioPlayer(String filename) { - super((Class) null); - newKAudioPlayer(filename); - } - private native void newKAudioPlayer(String filename); - /** - Play function as slot. - Plays the soundfile given to the constructor. - @short Play function as slot. - */ - public native void play(); - /** - Static play function. - @param filename Absolute path to the filename of the sound file to play. - if not absolute, goes off TDEDIR/share/sounds/ (preferred) - @short Static play function. - */ - public static native void play(String filename); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KAuthIcon.java b/kdejava/koala/org/kde/koala/KAuthIcon.java deleted file mode 100644 index bd859eda..00000000 --- a/kdejava/koala/org/kde/koala/KAuthIcon.java +++ /dev/null @@ -1,48 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - This is the base class from which different authorization icon widget - which actually do something should be derived. You can use these - widgets to show that the user has (or doesn't have) the ability to do - something, and why that is. - One of the most useful things you can do with this is connect - authChanged(boolean) to setEnabled(boolean) for a widget to turn it on and - off depending on the status of whatever it is you are monitoring. - See {@link KAuthIconSignals} for signals emitted by KAuthIcon - @author Preston Brown - - @short A base class for authorization icon widgets. - @see KRootPermsIcon - @see KWritePermsIcon - -*/ -public class KAuthIcon extends TQWidget { - protected KAuthIcon(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - @short Constructor. - */ - public native TQSize sizeHint(); - /** - return the status of whatever is being monitored. - @short return the status of whatever is being monitored. - */ - public native boolean status(); - /** - Re-implement this method if you want the icon to update itself - when something external has changed (i.e. a file on disk, uid/gid). - @short Re-implement this method if you want the icon to update itself when something external has changed (i. - */ - public native void updateStatus(); -} diff --git a/kdejava/koala/org/kde/koala/KAuthIconSignals.java b/kdejava/koala/org/kde/koala/KAuthIconSignals.java deleted file mode 100644 index 87b74e2d..00000000 --- a/kdejava/koala/org/kde/koala/KAuthIconSignals.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; - -public interface KAuthIconSignals { - /** - this signal is emitted when authorization has changed from - its previous state. - @param authorized will be true if the type of authorization - described by the icon is true, otherwise it will be false. - @short this signal is emitted when authorization has changed from its previous state. - */ - void authChanged(boolean authorized); -} diff --git a/kdejava/koala/org/kde/koala/KBugReport.java b/kdejava/koala/org/kde/koala/KBugReport.java deleted file mode 100644 index 24d4513a..00000000 --- a/kdejava/koala/org/kde/koala/KBugReport.java +++ /dev/null @@ -1,103 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - All the information needed by the dialog box - (program name, version, bug-report address, etc.) - comes from the TDEAboutData class. - Make sure you create an instance of TDEAboutData and pass it - to TDECmdLineArgs. - @author David Faure - - @short A dialog box for sending bug reports. - -*/ -public class KBugReport extends KDialogBase { - protected KBugReport(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a bug-report dialog. - Note that you shouldn't have to do this manually, - since KHelpMenu takes care of the menu item - for "Report Bug..." and of creating a KBugReport dialog. - @short Creates a bug-report dialog. - */ - public KBugReport(TQWidget parent, boolean modal, TDEAboutData aboutData) { - super((Class) null); - newKBugReport(parent,modal,aboutData); - } - private native void newKBugReport(TQWidget parent, boolean modal, TDEAboutData aboutData); - public KBugReport(TQWidget parent, boolean modal) { - super((Class) null); - newKBugReport(parent,modal); - } - private native void newKBugReport(TQWidget parent, boolean modal); - public KBugReport(TQWidget parent) { - super((Class) null); - newKBugReport(parent); - } - private native void newKBugReport(TQWidget parent); - public KBugReport() { - super((Class) null); - newKBugReport(); - } - private native void newKBugReport(); - /** - A complete copy of the bug report - @return String copy of the bug report. - - @short A complete copy of the bug report - */ - protected native String text(); - /** - Attempt to e-mail the bug report. - @return true on success - - @short Attempt to e-mail the bug report. - */ - protected native boolean sendBugReport(); - /** - "Configure email" has been clicked - this calls tdecmshell System/email - @short "Configure email" has been clicked - this calls tdecmshell System/email - */ - protected native void slotConfigureEmail(); - /** - Sets the "From" field from the e-mail configuration - Called at creation time, but also after "Configure email" is closed. - @short Sets the "From" field from the e-mail configuration Called at creation time, but also after "Configure email" is closed. - */ - protected native void slotSetFrom(); - /** - OK has been clicked - @short OK has been clicked - */ - protected native void slotOk(); - /** - Cancel has been clicked - @short Cancel has been clicked - */ - protected native void slotCancel(); - /** - Application combo selection changed (and was activated) - @short Application combo selection changed (and was activated) - */ - protected native void appChanged(int arg1); - /** - Update the url to match the current os, compiler, selected app, etc - @short Update the url to match the current os, compiler, selected app, etc - */ - protected native void updateURL(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KButtonBox.java b/kdejava/koala/org/kde/koala/KButtonBox.java deleted file mode 100644 index 48df7c9e..00000000 --- a/kdejava/koala/org/kde/koala/KButtonBox.java +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import org.kde.qt.TQSizePolicy; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWidget; - -/** - - Container widget for buttons. - This class uses Qt layout control to place the buttons; can handle - both vertical and horizontal button placement. The default border - is now 0 (making it easier to deal with layouts). The space - between buttons is now more Motif compliant. - @author Mario Weilguni - - @version $Id$ - - @short Container widget for buttons. - -*/ -public class KButtonBox extends TQWidget { - protected KButtonBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create an empty container for buttons. - If _orientation is Vertical, the buttons inserted with - addButton() are laid out from top to bottom, otherwise they - are laid out from left to right. - @short Create an empty container for buttons. - */ - public KButtonBox(TQWidget parent, int _orientation, int border, int _autoborder) { - super((Class) null); - newKButtonBox(parent,_orientation,border,_autoborder); - } - private native void newKButtonBox(TQWidget parent, int _orientation, int border, int _autoborder); - public KButtonBox(TQWidget parent, int _orientation, int border) { - super((Class) null); - newKButtonBox(parent,_orientation,border); - } - private native void newKButtonBox(TQWidget parent, int _orientation, int border); - public KButtonBox(TQWidget parent, int _orientation) { - super((Class) null); - newKButtonBox(parent,_orientation); - } - private native void newKButtonBox(TQWidget parent, int _orientation); - public KButtonBox(TQWidget parent) { - super((Class) null); - newKButtonBox(parent); - } - private native void newKButtonBox(TQWidget parent); - /** - This size is - calculated by the width/height of all buttons plus border/autoborder. - @return The minimum size needed to fit all buttons. - - @short - */ - public native TQSize sizeHint(); - public native TQSizePolicy sizePolicy(); - public native void resizeEvent(TQResizeEvent arg1); - /** - Add a new TQPushButton. - @param text the text of the button to add - @param noexpand If noexpand is false, the width - of the button is adjusted to fit the other buttons (the maximum - of all buttons is taken). If noexpand is true, the width of this - button will be set to the minimum width needed for the given text). - @return A pointer to the new button. - - @short Add a new TQPushButton. - */ - public native TQPushButton addButton(String text, boolean noexpand); - public native TQPushButton addButton(String text); - /** - Add a new TQPushButton. - @param text the text of the button to add. - @param receiver An object to connect to. - @param slot A Qt slot to connect the 'clicked()' signal to. - @param noexpand If noexpand is false, the width - of the button is adjusted to fit the other buttons (the maximum - of all buttons is taken). If noexpand true, the width of this - button will be set to the minimum width needed for the given text). - @return A pointer to the new button. - - @short Add a new TQPushButton. - */ - public native TQPushButton addButton(String text, TQObject receiver, String slot, boolean noexpand); - public native TQPushButton addButton(String text, TQObject receiver, String slot); - /** - Add a new TQPushButton. - @param guiitem text and icon on the button - @param noexpand If noexpand is false, the width - of the button is adjusted to fit the other buttons (the maximum - of all buttons is taken). If noexpand is true, the width of this - button will be set to the minimum width needed for the given text). - @return A pointer to the new button. - - @short Add a new TQPushButton. - */ - public native TQPushButton addButton(KGuiItem guiitem, boolean noexpand); - public native TQPushButton addButton(KGuiItem guiitem); - /** - Add a new TQPushButton. - @param guiitem text and icon on the button - @param receiver An object to connect to. - @param slot A Qt slot to connect the 'clicked()' signal to. - @param noexpand If noexpand is false, the width - of the button is adjusted to fit the other buttons (the maximum - of all buttons is taken). If noexpand true, the width of this - button will be set to the minimum width needed for the given text). - @return A pointer to the new button. - - @short Add a new TQPushButton. - */ - public native TQPushButton addButton(KGuiItem guiitem, TQObject receiver, String slot, boolean noexpand); - public native TQPushButton addButton(KGuiItem guiitem, TQObject receiver, String slot); - /** - Add a stretch to the buttonbox. - Can be used to separate buttons. That is, if you add the - buttons OK and Cancel, add a stretch, and then add the button Help, - the buttons OK and Cancel will be left-aligned (or top-aligned - for vertical) whereas Help will be right-aligned (or - bottom-aligned for vertical). - @short Add a stretch to the buttonbox. - @see org.kde.qt.TQBoxLayout - */ - public native void addStretch(int scale); - public native void addStretch(); - /** - This function must be called once after all buttons have been - inserted. - It will start layout control. - @short This function must be called @em once after all buttons have been inserted. - */ - public native void updateLayout(); - /** - @return the best size for a button. Checks all buttons and takes - the maximum width/height. - - @short - */ - protected native TQSize bestButtonSize(); - protected native void placeButtons(); - protected native TQSize buttonSizeHint(TQPushButton arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCMultiDialog.java b/kdejava/koala/org/kde/koala/KCMultiDialog.java deleted file mode 100644 index 356bcb99..00000000 --- a/kdejava/koala/org/kde/koala/KCMultiDialog.java +++ /dev/null @@ -1,161 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - See {@link KCMultiDialogSignals} for signals emitted by KCMultiDialog - @author Matthias Elter , Daniel Molkentin - - @short A method that offers a KDialogBase containing arbitrary KControl Modules. - -*/ -public class KCMultiDialog extends KDialogBase { - protected KCMultiDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a new KCMultiDialog - @param parent The parent widget - @param name The widget name - @param modal If you pass true here, the dialog will be modal - @short Constructs a new KCMultiDialog - */ - public KCMultiDialog(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKCMultiDialog(parent,name,modal); - } - private native void newKCMultiDialog(TQWidget parent, String name, boolean modal); - public KCMultiDialog(TQWidget parent, String name) { - super((Class) null); - newKCMultiDialog(parent,name); - } - private native void newKCMultiDialog(TQWidget parent, String name); - public KCMultiDialog(TQWidget parent) { - super((Class) null); - newKCMultiDialog(parent); - } - private native void newKCMultiDialog(TQWidget parent); - public KCMultiDialog() { - super((Class) null); - newKCMultiDialog(); - } - private native void newKCMultiDialog(); - /** - Construct a personalized KCMultiDialog. - @param dialogFace You can use TreeList, Tabbed, Plain, Swallow or - IconList. - @param caption The dialog caption. Do not specify the application name - here. The class will take care of that. - @param parent Parent of the dialog. - @param name Dialog name (for internal use only). - @param modal Controls dialog modality. If false, the rest of the - program interface (example: other dialogs) is accessible while - the dialog is open. - @short Construct a personalized KCMultiDialog. - */ - public KCMultiDialog(int dialogFace, String caption, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKCMultiDialog(dialogFace,caption,parent,name,modal); - } - private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent, String name, boolean modal); - public KCMultiDialog(int dialogFace, String caption, TQWidget parent, String name) { - super((Class) null); - newKCMultiDialog(dialogFace,caption,parent,name); - } - private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent, String name); - public KCMultiDialog(int dialogFace, String caption, TQWidget parent) { - super((Class) null); - newKCMultiDialog(dialogFace,caption,parent); - } - private native void newKCMultiDialog(int dialogFace, String caption, TQWidget parent); - public KCMultiDialog(int dialogFace, String caption) { - super((Class) null); - newKCMultiDialog(dialogFace,caption); - } - private native void newKCMultiDialog(int dialogFace, String caption); - /** - Add a module. - @param module Specify the name of the module that is to be added - to the list of modules the dialog will show. - @param withfallback Try harder to load the module. Might result - in the module appearing outside the dialog. - @short Add a module. - */ - public native void addModule(String module, boolean withfallback); - public native void addModule(String module); - /** - Add a module. - @param moduleinfo Pass a TDECModuleInfo object which will be - used for creating the module. It will be added - to the list of modules the dialog will show. - @param parentmodulenames The names of the modules that should appear as - parents in the TreeList. Look at the - KDialogBase.addPage documentation for more info - on this. - @param withfallback Try harder to load the module. Might result - in the module appearing outside the dialog. - @short Add a module. - */ - public native void addModule(TDECModuleInfo moduleinfo, String[] parentmodulenames, boolean withfallback); - public native void addModule(TDECModuleInfo moduleinfo, String[] parentmodulenames); - public native void addModule(TDECModuleInfo moduleinfo); - /** - Remove all modules from the dialog. - @short Remove all modules from the dialog. - */ - public native void removeAllModules(); - /** - Re-implemented for internal reasons. - @short - */ - public native void show(); - /** - This slot is called when the user presses the "Default" Button. - You can reimplement it if needed. - @note Make sure you call the original implementation. - @short This slot is called when the user presses the "Default" Button. - */ - protected native void slotDefault(); - /** - This slot is called when the user presses the "Reset" Button. - You can reimplement it if needed. - @note Make sure you call the original implementation. - @short This slot is called when the user presses the "Reset" Button. - */ - protected native void slotUser1(); - /** - This slot is called when the user presses the "Apply" Button. - You can reimplement it if needed. - @note Make sure you call the original implementation. - @short This slot is called when the user presses the "Apply" Button. - */ - protected native void slotApply(); - /** - This slot is called when the user presses the "OK" Button. - You can reimplement it if needed. - @note Make sure you call the original implementation. - @short This slot is called when the user presses the "OK" Button. - */ - protected native void slotOk(); - /** - This slot is called when the user presses the "Help" Button. - It reads the DocPath field of the currently selected KControl - module's .desktop file to find the path to the documentation, - which it then attempts to load. - You can reimplement this slot if needed. - @note Make sure you call the original implementation. - @short This slot is called when the user presses the "Help" Button. - */ - protected native void slotHelp(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCMultiDialogSignals.java b/kdejava/koala/org/kde/koala/KCMultiDialogSignals.java deleted file mode 100644 index 1f0e628a..00000000 --- a/kdejava/koala/org/kde/koala/KCMultiDialogSignals.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KCMultiDialogSignals { - /** - Emitted after all TDECModules have been told to save their configuration. - The applyClicked and okClicked signals are emitted before the - configuration is saved. - @short Emitted after all TDECModules have been told to save their configuration. - */ - void configCommitted(); - /** - Emitted after the TDECModules have been told to save their configuration. - It is emitted once for every instance the KCMs that were changed belong - to. - You can make use of this if you have more than one component in your - application. instanceName tells you the instance that has to reload its - configuration. - The applyClicked and okClicked signals are emitted before the - configuration is saved. - @param instanceName The name of the instance that needs to reload its - configuration. - @short Emitted after the TDECModules have been told to save their configuration. - */ - void configCommitted(String instanceName); -} diff --git a/kdejava/koala/org/kde/koala/KCPUInfo.java b/kdejava/koala/org/kde/koala/KCPUInfo.java deleted file mode 100644 index bfd33d28..00000000 --- a/kdejava/koala/org/kde/koala/KCPUInfo.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This class provides a means for applications to obtain information at - runtime about processor support for certain architecture extensions, - such as MMX, SSE, 3DNow and AltiVec. - @short This class provides a means for applications to obtain information at runtime about processor support for certain architecture extensions, such as MMX, SSE, 3DNow and AltiVec. - -*/ -public class KCPUInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCPUInfo(Class dummy){} - - /** - This enum contains the list of architecture extensions you - can query. - @short This enum contains the list of architecture extensions you can query. - */ - public static final int IntelMMX = 1<<0; - public static final int IntelSSE = 1<<1; - public static final int IntelSSE2 = 1<<2; - public static final int AMD3DNOW = 1<<3; - public static final int AltiVec = 1<<4; - - public KCPUInfo() { - newKCPUInfo(); - } - private native void newKCPUInfo(); - /** - Returns true if the processor supports extension, - and false otherwise. - @param extension the feature to query. - @return If true, the processor supports extension. - - @short Returns true if the processor supports extension, and false otherwise. - @see Extensions - */ - public static native boolean haveExtension(int extension); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCalendarSystem.java b/kdejava/koala/org/kde/koala/KCalendarSystem.java deleted file mode 100644 index ff0cb6ea..00000000 --- a/kdejava/koala/org/kde/koala/KCalendarSystem.java +++ /dev/null @@ -1,323 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.Calendar; - -/** - - CalendarSystem abstract class, default derived kde gregorian class and - factory class. Provides support for different calendar types for kde - calendar widget and related stuff. - Derived classes must be created through KCalendarFactory class - @author Carlos Moro - - @short CalendarSystem abstract class, default derived kde gregorian class and factory class. - -*/ -public class KCalendarSystem implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCalendarSystem(Class dummy){} - - /** - Constructor of abstract calendar class. This will be called by the derived classes. - @param locale It will use this locale for translations, 0 means global. - @short Constructor of abstract calendar class. - */ - /** - Gets specific calendar type year for a given gregorian date - @param date gregorian date - @return year - - @short Gets specific calendar type year for a given gregorian date - */ - public native int year(Calendar date); - /** - Converts a date into a year literal - @param pDate The date to convert - @param bShort If the short version of should be used - @return The year literal of the date - - @short Converts a date into a year literal - */ - public native String yearString(Calendar pDate, boolean bShort); - /** - Converts a year literal of a part of a string into a integer starting at the beginning of the string - @param sNum The string to parse - @param iLength The number of chars used, and 0 if no valid symbols was found in the string - @return An integer corresponding to the year - - @short Converts a year literal of a part of a string into a integer starting at the beginning of the string - */ - public native int yearStringToInteger(String sNum, int[] iLength); - /** - Gets specific calendar type month for a given gregorian date - @param date gregorian date - @return month number - - @short Gets specific calendar type month for a given gregorian date - */ - public native int month(Calendar date); - /** - Converts a date into a month literal - @param pDate The date to convert - @param bShort If the short version of should be used - @return The month literal of the date - - @short Converts a date into a month literal - */ - public native String monthString(Calendar pDate, boolean bShort); - /** - Converts a month literal of a part of a string into a integer starting at the beginning of the string - @param sNum The string to parse - @param iLength The number of chars used, and 0 if no valid symbols was found in the string - @return An integer corresponding to the month - - @short Converts a month literal of a part of a string into a integer starting at the beginning of the string - */ - public native int monthStringToInteger(String sNum, int[] iLength); - /** - Gets specific calendar type day number of month for a given date - @param date gregorian date equivalent to the specific one - @return day of the month - - @short Gets specific calendar type day number of month for a given date - */ - public native int day(Calendar date); - /** - Converts a date into a day literal - @param pDate The date to convert - @param bShort If the short version of should be used - @return The day literal of the date - - @short Converts a date into a day literal - */ - public native String dayString(Calendar pDate, boolean bShort); - /** - Converts a day literal of a part of a string into a integer starting at the beginning of the string - @param sNum The string to parse - @param iLength The number of chars used, and 0 if no valid symbols was found in the string - @return An integer corresponding to the day - - @short Converts a day literal of a part of a string into a integer starting at the beginning of the string - */ - public native int dayStringToInteger(String sNum, int[] iLength); - /** - Gets specific calendar type number of day of week number for a given - date - @param date gregorian date - @return day of week - - @short Gets specific calendar type number of day of week number for a given date - */ - public native int dayOfWeek(Calendar date); - /** - Gets specific calendar type day number of year for a given date - @param date gregorian date equivalent to the specific one - @return day number - - @short Gets specific calendar type day number of year for a given date - */ - public native int dayOfYear(Calendar date); - /** - Changes the date's year, month and day. The range of the year, month - and day depends on which calendar is being used. - @param date Date to change - @param y Year - @param m Month number - @param d Day of month - @return true if the date is valid; otherwise returns false. - - @short Changes the date's year, month and day. - */ - public native boolean setYMD(Calendar date, int y, int m, int d); - /** - Returns a Calendar object containing a date nyears later. - @param date The old date - @param nyears The number of years to add - @return The new date - - @short Returns a TQDate object containing a date nyears later. - */ - public native Calendar addYears(Calendar date, int nyears); - /** - Returns a Calendar object containing a date nmonths later. - @param date The old date - @param nmonths The number of months to add - @return The new date - - @short Returns a TQDate object containing a date nmonths later. - */ - public native Calendar addMonths(Calendar date, int nmonths); - /** - Returns a Calendar object containing a date ndays later. - @param date The old date - @param ndays The number of days to add - @return The new date - - @short Returns a TQDate object containing a date ndays later. - */ - public native Calendar addDays(Calendar date, int ndays); - /** - Gets specific calendar type number of month for a given year - @param date The date whose year to use - @return The number of months in that year - - @short Gets specific calendar type number of month for a given year - */ - public native int monthsInYear(Calendar date); - /** - Gets the number of days in date whose years specified. - @param date Gregorian date equivalent to the specific one - @return The number of days in year - - @short Gets the number of days in date whose years specified. - */ - public native int daysInYear(Calendar date); - /** - Gets specific calendar type number of days in month for a given date - @param date gregorian date - @return number of days for month in date - - @short Gets specific calendar type number of days in month for a given date - */ - public native int daysInMonth(Calendar date); - /** - Gets the number of weeks in a specified year - @param year the year - @return number of weeks in year - - @short Gets the number of weeks in a specified year - */ - public native int weeksInYear(int year); - /** - Gets specific calendar type week number for a given date - @param date gregorian date - @param yearNum The year the date belongs to - @return week number - - @short Gets specific calendar type week number for a given date - */ - public native int weekNumber(Calendar date, int[] yearNum); - public native int weekNumber(Calendar date); - /** - Gets specific calendar type month name for a given month number - If an invalid month is specified, null is returned. - @param month The month number - @param year The year the month belongs to - @param shortName Specifies if the short month name should be used - @return The name of the month - - @short Gets specific calendar type month name for a given month number If an invalid month is specified, String.null is returned. - */ - public native String monthName(int month, int year, boolean shortName); - public native String monthName(int month, int year); - /** - Gets specific calendar type month name for a given gregorian date - @param date Gregorian date - @param shortName Specifies if the short month name should be used - @return The name of the month - - @short Gets specific calendar type month name for a given gregorian date - */ - public native String monthName(Calendar date, boolean shortName); - public native String monthName(Calendar date); - /** - Returns a string containing the possessive form of the month name. - ("of January", "of February", etc.) - It's needed in long format dates in some languages. - If an invalid month is specified, null is returned. - @param month The month number - @param year The year the month belongs to - @param shortName Specifies if the short month name should be used - @return The possessive form of the name of the month - - @short Returns a string containing the possessive form of the month name. - */ - public native String monthNamePossessive(int month, int year, boolean shortName); - public native String monthNamePossessive(int month, int year); - /** - Returns a string containing the possessive form of the month name. - ("of January", "of February", etc.) - It's needed in long format dates in some languages. - @param date Gregorian date - @param shortName Specifies if the short month name should be used - @return The possessive form of the name of the month - - @short Returns a string containing the possessive form of the month name. - */ - public native String monthNamePossessive(Calendar date, boolean shortName); - public native String monthNamePossessive(Calendar date); - /** - Gets specific calendar type week day name - If an invalid week day is specified, null is returned. - @param weekDay number of day in week (1 . Monday) - @param shortName short or complete day name - @return day name - - @short Gets specific calendar type week day name If an invalid week day is specified, String.null is returned. - */ - public native String weekDayName(int weekDay, boolean shortName); - public native String weekDayName(int weekDay); - /** - Gets specific calendar type week day name - @param date the date - @param shortName short or complete day name - @return day name - - @short Gets specific calendar type week day name - */ - public native String weekDayName(Calendar date, boolean shortName); - public native String weekDayName(Calendar date); - /** - Gets the first year value supported by specific calendar type - algorithms. - @return first year supported - - @short Gets the first year value supported by specific calendar type algorithms. - */ - public native int minValidYear(); - /** - Gets the maximum year value supported by specific calendar type - algorithms (Calendar, 8000) - @return maximum year supported - - @short Gets the maximum year value supported by specific calendar type algorithms (TQDate, 8000) - */ - public native int maxValidYear(); - /** - Gets the day of the week traditionaly associated with pray - @return day number - - @short Gets the day of the week traditionaly associated with pray - */ - public native int weekDayOfPray(); - /** - Gets the string representing the calendar - @short Gets the string representing the calendar - */ - public native String calendarName(); - /** - Gets if the calendar is lunar based - @return if the calendar is lunar based - - @short Gets if the calendar is lunar based - */ - public native boolean isLunar(); - /** - Gets if the calendar is lunisolar based - @return if the calendar is lunisolar based - - @short Gets if the calendar is lunisolar based - */ - public native boolean isLunisolar(); - /** - Gets if the calendar is solar based - @return if the calendar is solar based - - @short Gets if the calendar is solar based - */ - public native boolean isSolar(); -} diff --git a/kdejava/koala/org/kde/koala/KCalendarSystemFactory.java b/kdejava/koala/org/kde/koala/KCalendarSystemFactory.java deleted file mode 100644 index f538facf..00000000 --- a/kdejava/koala/org/kde/koala/KCalendarSystemFactory.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Factory class for calendar types - @author Carlos Moro - - @short Factory class for calendar types - -*/ -public class KCalendarSystemFactory implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCalendarSystemFactory(Class dummy){} - - public KCalendarSystemFactory() { - newKCalendarSystemFactory(); - } - private native void newKCalendarSystemFactory(); - /** - Gets specific calendar type number of days in previous month for a - given date - @param calType string identification of the specific calendar type - to be constructed - @param locale Locale used for translations. Use the global locale when - 0 is specified. - @return a KCalendarSystem object - - @short Gets specific calendar type number of days in previous month for a given date - */ - public static native KCalendarSystem create(String calType, TDELocale locale); - public static native KCalendarSystem create(String calType); - public static native KCalendarSystem create(); - /** - Gets list of names of supported calendar systems - @return An ArrayList object - - @short Gets list of names of supported calendar systems - */ - public static native ArrayList calendarSystems(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCatalogue.java b/kdejava/koala/org/kde/koala/KCatalogue.java deleted file mode 100644 index 3825c524..00000000 --- a/kdejava/koala/org/kde/koala/KCatalogue.java +++ /dev/null @@ -1,91 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - This class abstracts a gettext message catalog. It will take care of - opening the file and reading the catalog. - @short This class abstracts a gettext message catalog. - @see TDELocale - -*/ -public class KCatalogue implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCatalogue(Class dummy){} - - /** - Constructor. - @param name The name of the catalog - @param language The language of this catalog - @short Constructor. - */ - public KCatalogue(String name, String language) { - newKCatalogue(name,language); - } - private native void newKCatalogue(String name, String language); - public KCatalogue(String name) { - newKCatalogue(name); - } - private native void newKCatalogue(String name); - public KCatalogue() { - newKCatalogue(); - } - private native void newKCatalogue(); - /** - Copy constructor. - @short Copy constructor. - */ - public KCatalogue(KCatalogue rhs) { - newKCatalogue(rhs); - } - private native void newKCatalogue(KCatalogue rhs); - /** - Returns the name of the catalog. - @return The name of the catalog - - @short Returns the name of the catalog. - */ - public native String name(); - /** - Returns the language of the catalog. - @return The language of the catalog - - @short Returns the language of the catalog. - */ - public native String language(); - /** - Returns the plural type for the catalog. This type is based on the language of the catalog - and is cached for performance. - @return The plural type for the catalog - - @short Returns the plural type for the catalog. - */ - public native int pluralType(); - /** - Sets the plural type for the catalog. The caller has probably looked it up in a tdelibs.mo-catalog - for the appropriate language - @return The plural type for the catalog - - @short Sets the plural type for the catalog. - */ - public native void setPluralType(int pluralType); - /** - Retrieves a translation of the specified message id. - Do not pass 0 or "" strings as message ids. - @param msgid The message id - @return The translated message, in utf8 encoding, or 0 if not found - - @short Retrieves a translation of the specified message id. - */ - public native String translate(String msgid); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCharSelect.java b/kdejava/koala/org/kde/koala/KCharSelect.java deleted file mode 100644 index 79ac0db3..00000000 --- a/kdejava/koala/org/kde/koala/KCharSelect.java +++ /dev/null @@ -1,151 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFontDatabase; -import org.kde.qt.TQVBox; - -/** - - This widget allows the user to select a character of a - specified font in a table - \image html kcharselect.png "Character Selection Widget" - You can specify the font whose characters should be displayed via - setFont() or in the constructor. Using enableFontCombo() you can allow the - user to choose the font from a combob-box. As only 256 characters - are displayed at once in the table, using the spinbox on the top - the user can choose starting from which character the table - displays them. This spinbox also can be enabled or disabled using - enableTableSpinBox(). - KCharSelect supports keyboard and mouse navigation. Click+Move - always selects the character below the mouse cursor. Using the - arrow keys moves the focus mark around and pressing RETURN - or SPACE selects the cell which contains the focus mark. - To get the current selected character, use the chr() - method. You can set the character which should be displayed with - setChar() and the table number which should be displayed with - setTableNum(). - See {@link KCharSelectSignals} for signals emitted by KCharSelect - @author Reginald Stadlbauer - - @short Character selection widget. - -*/ -public class KCharSelect extends TQVBox { - protected KCharSelect(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. font specifies which font should be displayed, chr which character should be selected and tableNum specifies - the number of the table which should be displayed. - @short Constructor. - */ - public KCharSelect(TQWidget parent, String name, String font, char chr, int tableNum) { - super((Class) null); - newKCharSelect(parent,name,font,chr,tableNum); - } - private native void newKCharSelect(TQWidget parent, String name, String font, char chr, int tableNum); - public KCharSelect(TQWidget parent, String name, String font, char chr) { - super((Class) null); - newKCharSelect(parent,name,font,chr); - } - private native void newKCharSelect(TQWidget parent, String name, String font, char chr); - public KCharSelect(TQWidget parent, String name, String font) { - super((Class) null); - newKCharSelect(parent,name,font); - } - private native void newKCharSelect(TQWidget parent, String name, String font); - public KCharSelect(TQWidget parent, String name) { - super((Class) null); - newKCharSelect(parent,name); - } - private native void newKCharSelect(TQWidget parent, String name); - /** - Reimplemented. - @short Reimplemented. - */ - public native TQSize sizeHint(); - /** - Sets the font which is displayed to font - @short Sets the font which is displayed to font - */ - public native void setFont(String font); - /** - Sets the currently selected character to chr. - @short Sets the currently selected character to chr. - */ - public native void setChar(char chr); - /** - Sets the currently displayed table to tableNum. - @short Sets the currently displayed table to tableNum. - */ - public native void setTableNum(int tableNum); - /** - Returns the currently selected character. - @short Returns the currently selected character. - */ - public native char chr(); - /** - Returns the currently displayed font. - @short Returns the currently displayed font. - */ - public native String fontName(); - /** - Returns the currently displayed table - @short Returns the currently displayed table - */ - public native int tableNum(); - /** - If e is set to true, the combobox which allows the user to - select the font which should be displayed is enabled, else - disabled. - @short If e is set to true, the combobox which allows the user to select the font which should be displayed is enabled, else disabled. - */ - public native void enableFontCombo(boolean e); - /** - If e is set to true, the spinbox which allows the user to - specify which characters of the font should be displayed, is - enabled, else disabled. - @short - */ - public native void enableTableSpinBox(boolean e); - /** - Returns wether the font combobox on the top is enabled or - disabled. - @short Returns wether the font combobox on the top is enabled or disabled. - @see #enableFontCombo - */ - public native boolean isFontComboEnabled(); - /** - Returns wether the table spinbox on the top is enabled or - disabled. - @short Returns wether the table spinbox on the top is enabled or disabled. - @see #enableTableSpinBox - */ - public native boolean isTableSpinBoxEnabled(); - protected native void fillFontCombo(); - protected native void fontSelected(String _font); - protected native void tableChanged(int _value); - protected native void charHighlighted(char c); - protected native void charHighlighted(); - protected native void charActivated(char c); - protected native void charActivated(); - protected native void charFocusItemChanged(); - protected native void charFocusItemChanged(char c); - protected native void charTableUp(); - protected native void charTableDown(); - protected native void slotDoubleClicked(); - protected native void slotUnicodeEntered(); - protected native void slotUpdateUnicode(char c); - protected static native void cleanupFontDatabase(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCharSelectSignals.java b/kdejava/koala/org/kde/koala/KCharSelectSignals.java deleted file mode 100644 index 69f345a8..00000000 --- a/kdejava/koala/org/kde/koala/KCharSelectSignals.java +++ /dev/null @@ -1,19 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFontDatabase; - -public interface KCharSelectSignals { - void highlighted(char c); - void highlighted(); - void activated(char c); - void activated(); - void fontChanged(String _font); - void focusItemChanged(); - void focusItemChanged(char c); - void doubleClicked(); -} diff --git a/kdejava/koala/org/kde/koala/KCharSelectTable.java b/kdejava/koala/org/kde/koala/KCharSelectTable.java deleted file mode 100644 index 8d169ca6..00000000 --- a/kdejava/koala/org/kde/koala/KCharSelectTable.java +++ /dev/null @@ -1,55 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQGridView; - -/** - - A table widget which displays the characters of a font. Internally - used by KCharSelect. See the KCharSelect documentation for further - details. - See {@link KCharSelectTableSignals} for signals emitted by KCharSelectTable - @author Reginald Stadlbauer - - @short Character selection table. - -*/ -public class KCharSelectTable extends TQGridView { - protected KCharSelectTable(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KCharSelectTable(TQWidget parent, String name, String _font, char _chr, int _tableNum) { - super((Class) null); - newKCharSelectTable(parent,name,_font,_chr,_tableNum); - } - private native void newKCharSelectTable(TQWidget parent, String name, String _font, char _chr, int _tableNum); - public native TQSize sizeHint(); - public native void resizeEvent(TQResizeEvent arg1); - public native void setFont(String _font); - public native void setChar(char _chr); - public native void setTableNum(int _tableNum); - public native char chr(); - protected native void mousePressEvent(TQMouseEvent e); - protected native void mouseDoubleClickEvent(TQMouseEvent e); - protected native void mouseReleaseEvent(TQMouseEvent e); - protected native void mouseMoveEvent(TQMouseEvent e); - protected native void keyPressEvent(TQKeyEvent e); - protected native void gotoLeft(); - protected native void gotoRight(); - protected native void gotoUp(); - protected native void gotoDown(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCharSelectTableSignals.java b/kdejava/koala/org/kde/koala/KCharSelectTableSignals.java deleted file mode 100644 index 65fbdd21..00000000 --- a/kdejava/koala/org/kde/koala/KCharSelectTableSignals.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KCharSelectTableSignals { - void highlighted(char c); - void highlighted(); - void activated(char c); - void activated(); - void focusItemChanged(); - void focusItemChanged(char c); - void tableUp(); - void tableDown(); - void doubleClicked(); -} diff --git a/kdejava/koala/org/kde/koala/KCharsets.java b/kdejava/koala/org/kde/koala/KCharsets.java deleted file mode 100644 index efe9a7f1..00000000 --- a/kdejava/koala/org/kde/koala/KCharsets.java +++ /dev/null @@ -1,128 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQTextCodec; - -/** - - Charset font and encoder/decoder handling. - This is needed, because Qt's font matching algorithm gives the font - family a higher priority than the charset. For many applications - this is not acceptable, since it can totally obscure the output, - in languages which use non iso-8859-1 charsets. - @author Lars Knoll - - @short Charset font and encoder/decoder handling. - -*/ -public class KCharsets implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCharsets(Class dummy){} - - /** - Provided for compatibility. - @param name the name of the codec - @return the TQTextCodec. If the desired codec could not be found, - it returns a default (Latin-1) codec - - @short Provided for compatibility. - */ - public native TQTextCodec codecForName(String name); - /** - Tries to find a TQTextCodec to convert the given encoding from and to - Unicode. If no codec could be found the latin1 codec will be returned an - ok will be set to false. - @return the TQTextCodec. If the desired codec could not be found, - it returns a default (Latin-1) codec - - @short Tries to find a TQTextCodec to convert the given encoding from and to Unicode. - */ - public native TQTextCodec codecForName(String n, boolean ok); - /** - Lists all available encodings as names. - @return the list of all encodings - - @short Lists all available encodings as names. - */ - public native ArrayList availableEncodingNames(); - /** - Lists the available encoding names together with a more descriptive language. - @return the list of descriptive encoding names - - @short Lists the available encoding names together with a more descriptive language. - */ - public native ArrayList descriptiveEncodingNames(); - /** - Returns the language the encoding is used for. - @param encoding the encoding for the language - @return the language of the encoding - - @short Returns the language the encoding is used for. - */ - public native String languageForEncoding(String encoding); - /** - Returns the encoding for a string obtained with descriptiveEncodingNames(). - @param descriptiveName the descriptive name for the encoding - @return the name of the encoding - - @short Returns the encoding for a string obtained with descriptiveEncodingNames(). - */ - public native String encodingForName(String descriptiveName); - /** - Converts an entity to a character. The string must contain only the - entity without the trailing ';'. - @param str the entity - @return char.null if the entity could not be decoded. - - @short Converts an entity to a character. - */ - public static native char fromEntity(String str); - /** - Overloaded member function. Tries to find an entity in the - String str. - @param str the string containing entified - @param len is a return value, that gives the length of the decoded - entity. - @return a decoded entity if one could be found, char.null - otherwise - - @short Overloaded member function. - */ - public static native char fromEntity(String str, int[] len); - /** - Converts a char to an entity. The returned string does already - contain the leading '&' and the trailing ';'. - @param ch the char to convert - @return the entity - - @short Converts a char to an entity. - */ - public static native String toEntity(char ch); - /** - Scans the given string for entities (like &amp;) and resolves them - using fromEntity. - @param text the string containing the entities - @return the clean string - - @short Scans the given string for entities (like &amp;) and resolves them using fromEntity. - */ - public static native String resolveEntities(String text); - /** Protected constructor. If you need the kcharsets object, use - TDEGlobal.charsets() instead. - @short Protected constructor. - */ - public KCharsets() { - newKCharsets(); - } - private native void newKCharsets(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCodecs.java b/kdejava/koala/org/kde/koala/KCodecs.java deleted file mode 100644 index 7efa057c..00000000 --- a/kdejava/koala/org/kde/koala/KCodecs.java +++ /dev/null @@ -1,272 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A wrapper class for the most commonly used encoding and - decoding algorithms. Currently there is support for encoding - and decoding input using base64, uu and the quoted-printable - specifications. - sage: -
      - String input = "Aladdin:open sesame";
      - String result = KCodecs.base64Encode(input);
      - cout << "Result: " << result.data() << endl;
      - 
      -
      - Output should be
      - Result: TQWxhZGRpbjpvcGVuIHNlc2FtZQ==
      - 
      - The above example makes use of the convenience functions - (ones that accept/return null-terminated strings) to encode/decode - a string. If what you need is to encode or decode binary data, then - it is highly recommended that you use the functions that take an input - and output byte[] as arguments. These functions are specifically - tailored for encoding and decoding binary data. - @author Rik Hemsley - - @short A collection of commonly used encoding and decoding algorithms. - -*/ -public class KCodecs implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCodecs(Class dummy){} - - /** - Encodes the given data using the quoted-printable algorithm. - @param in data to be encoded. - @param useCRLF if true the input data is expected to have - CRLF line breaks and the output will have CRLF line - breaks, too. - @return quoted-printable encoded string. - - @short Encodes the given data using the quoted-printable algorithm. - */ - public static native String quotedPrintableEncode(byte[] in, boolean useCRLF); - public static native String quotedPrintableEncode(byte[] in); - /** - @overload - Same as above except it accepts a null terminated - string instead an array. - @param str string to be encoded. - @param useCRLF if true the input data is expected to have - CRLF line breaks and the output will have CRLF line - breaks, too. - @return quoted-printable encoded string. - - @short @overload - */ - public static native String quotedPrintableEncode(String str, boolean useCRLF); - public static native String quotedPrintableEncode(String str); - /** - Encodes the given data using the quoted-printable algorithm. - Use this function if you want the result of the encoding - to be placed in another array which cuts down the number - of copy operation that have to be performed in the process. - This is also the preferred method for encoding binary data. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be encoded. - @param out encoded data. - @param useCRLF if true the input data is expected to have - CRLF line breaks and the output will have CRLF line - breaks, too. - @short Encodes the given data using the quoted-printable algorithm. - */ - public static native void quotedPrintableEncode(byte[] in, byte[] out, boolean useCRLF); - /** - Decodes a quoted-printable encoded data. - Accepts data with CRLF or standard unix line breaks. - @param in data to be decoded. - @return decoded string. - - @short Decodes a quoted-printable encoded data. - */ - public static native String quotedPrintableDecode(byte[] in); - /** - @overload - Same as above except it accepts a null terminated - string instead an array. - @param str string to be decoded. - @return decoded string. - - @short @overload - */ - public static native String quotedPrintableDecode(String str); - /** - Decodes a quoted-printable encoded data. - Accepts data with CRLF or standard unix line breaks. - Use this function if you want the result of the decoding - to be placed in another array which cuts down the number - of copy operation that have to be performed in the process. - This is also the preferred method for decoding an encoded - binary data. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be decoded. - @param out decoded data. - @short Decodes a quoted-printable encoded data. - */ - public static native void quotedPrintableDecode(byte[] in, byte[] out); - /** - Encodes the given data using the uuencode algorithm. - The output is split into lines starting with the number of - encoded octets in the line and ending with a newline. No - line is longer than 45 octets (60 characters), excluding the - line terminator. - @param in data to be uuencoded - @return uuencoded string. - - @short Encodes the given data using the uuencode algorithm. - */ - public static native String uuencode(byte[] in); - /** - @overload - Same as the above functions except it accepts - a null terminated string instead an array. - @param str string to be uuencoded. - @return encoded string. - - @short @overload - */ - public static native String uuencode(String str); - /** - Encodes the given data using the uuencode algorithm. - Use this function if you want the result of the encoding - to be placed in another array and cut down the number of - copy operation that have to be performed in the process. - This is the preffered method for encoding binary data. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be uuencoded. - @param out uudecoded data. - @short Encodes the given data using the uuencode algorithm. - */ - public static native void uuencode(byte[] in, byte[] out); - /** - Decodes the given data using the uudecode algorithm. - Any 'begin' and 'end' lines like those generated by - the utilities in unix and unix-like OS will be - automatically ignored. - @param in data to be decoded. - @return decoded string. - - @short Decodes the given data using the uudecode algorithm. - */ - public static native String uudecode(byte[] in); - /** - @overload - Same as the above functions except it accepts - a null terminated string instead an array. - @param str string to be decoded. - @return uudecoded string. - - @short @overload - */ - public static native String uudecode(String str); - /** - Decodes the given data using the uudecode algorithm. - Use this function if you want the result of the decoding - to be placed in another array which cuts down the number - of copy operation that have to be performed in the process. - This is the preferred method for decoding binary data. - Any 'begin' and 'end' lines like those generated by - the utilities in unix and unix-like OS will be - automatically ignored. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be decoded. - @param out uudecoded data. - @short Decodes the given data using the uudecode algorithm. - */ - public static native void uudecode(byte[] in, byte[] out); - /** - Encodes the given data using the base64 algorithm. - The booleanean argument determines if the encoded data is - going to be restricted to 76 characters or less per line - as specified by RFC 2045. If insertLFs is true, then - there will be 76 characters or less per line. - @param in data to be encoded. - @param insertLFs limit the number of characters per line. - @return base64 encoded string. - - @short Encodes the given data using the base64 algorithm. - */ - public static native String base64Encode(byte[] in, boolean insertLFs); - public static native String base64Encode(byte[] in); - /** - @overload - Same as the above functions except it accepts - a null terminated string instead an array. - @param str string to be encoded. - @param insertLFs limit the number of characters per line. - @return decoded string. - - @short @overload - */ - public static native String base64Encode(String str, boolean insertLFs); - public static native String base64Encode(String str); - /** - Encodes the given data using the base64 algorithm. - Use this function if you want the result of the encoding - to be placed in another array which cuts down the number - of copy operation that have to be performed in the process. - This is also the preferred method for encoding binary data. - The booleanean argument determines if the encoded data is going - to be restricted to 76 characters or less per line as specified - by RFC 2045. If insertLFs is true, then there will be 76 - characters or less per line. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be encoded. - @param out encoded data. - @param insertLFs limit the number of characters per line. - @short Encodes the given data using the base64 algorithm. - */ - public static native void base64Encode(byte[] in, byte[] out, boolean insertLFs); - public static native void base64Encode(byte[] in, byte[] out); - /** - Decodes the given data that was encoded using the - base64 algorithm. - @param in data to be decoded. - @return decoded string. - - @short Decodes the given data that was encoded using the base64 algorithm. - */ - public static native String base64Decode(byte[] in); - /** - @overload - Same as the above functions except it accepts - a null terminated string instead an array. - @param str string to be decoded. - @return decoded string. - - @short @overload - */ - public static native String base64Decode(String str); - /** - Decodes the given data that was encoded with the base64 - algorithm. - Use this function if you want the result of the decoding - to be placed in another array which cuts down the number - of copy operation that have to be performed in the process. - This is also the preferred method for decoding an encoded - binary data. - NOTE: the output array is first reset and then resized - appropriately before use, hence, all data stored in the - output array will be lost. - @param in data to be decoded. - @param out decoded data. - @short Decodes the given data that was encoded with the base64 algorithm. - */ - public static native void base64Decode(byte[] in, byte[] out); -} diff --git a/kdejava/koala/org/kde/koala/KColor.java b/kdejava/koala/org/kde/koala/KColor.java deleted file mode 100644 index b39c9f38..00000000 --- a/kdejava/koala/org/kde/koala/KColor.java +++ /dev/null @@ -1,49 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.QtSupport; -import org.kde.qt.TQColor; - -/** - - A color class that preserves both RGB and HSV values. - This is - unlike TQColor which only preserves RGB values and recalculates HSV - values. The TQColor behavior leads to an accumulation of rounding - errors when working in the HSV color space. - @author Waldo Bastian - - @short A color class that preserves both RGB and HSV values. - -*/ -public class KColor extends TQColor { - protected KColor(Class dummy){super((Class) null);} - public KColor() { - super((Class) null); - newKColor(); - } - private native void newKColor(); - public KColor(KColor col) { - super((Class) null); - newKColor(col); - } - private native void newKColor(KColor col); - public KColor(TQColor col) { - super((Class) null); - newKColor(col); - } - private native void newKColor(TQColor col); - public native boolean op_equals(KColor col); - public native void setHsv(int _h, int _s, int _v); - public native void setRgb(int _r, int _g, int _b); - public native void rgb(int[] _r, int[] _g, int[] _b); - public native void hsv(int[] _h, int[] _s, int[] _v); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorButton.java b/kdejava/koala/org/kde/koala/KColorButton.java deleted file mode 100644 index 4fd1bb18..00000000 --- a/kdejava/koala/org/kde/koala/KColorButton.java +++ /dev/null @@ -1,103 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQPushButton; - -/** - - This widget can be used to display or allow user selection of a color. - \image html kcolorbutton.png "KDE Color Button" - See {@link KColorButtonSignals} for signals emitted by KColorButton - @short A pushbutton to display or allow user selection of a color. - @see KColorDialog - -*/ -public class KColorButton extends TQPushButton { - protected KColorButton(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a color button. - @short Creates a color button. - */ - public KColorButton(TQWidget parent, String name) { - super((Class) null); - newKColorButton(parent,name); - } - private native void newKColorButton(TQWidget parent, String name); - public KColorButton(TQWidget parent) { - super((Class) null); - newKColorButton(parent); - } - private native void newKColorButton(TQWidget parent); - /** - Creates a color button with an initial color c. - @short Creates a color button with an initial color c. - */ - public KColorButton(TQColor c, TQWidget parent, String name) { - super((Class) null); - newKColorButton(c,parent,name); - } - private native void newKColorButton(TQColor c, TQWidget parent, String name); - public KColorButton(TQColor c, TQWidget parent) { - super((Class) null); - newKColorButton(c,parent); - } - private native void newKColorButton(TQColor c, TQWidget parent); - public KColorButton(TQColor c, TQColor defaultColor, TQWidget parent, String name) { - super((Class) null); - newKColorButton(c,defaultColor,parent,name); - } - private native void newKColorButton(TQColor c, TQColor defaultColor, TQWidget parent, String name); - public KColorButton(TQColor c, TQColor defaultColor, TQWidget parent) { - super((Class) null); - newKColorButton(c,defaultColor,parent); - } - private native void newKColorButton(TQColor c, TQColor defaultColor, TQWidget parent); - /** - Returns the currently chosen color. - @short Returns the currently chosen color. - */ - public native TQColor color(); - /** - Sets the current color to c. - @short Sets the current color to c. - */ - public native void setColor(TQColor c); - /** - Returns the default color or an invalid color - if no default color is set. - @short Returns the default color or an invalid color if no default color is set. - */ - public native TQColor defaultColor(); - /** - Sets the default color to c. - @short Sets the default color to c. - */ - public native void setDefaultColor(TQColor c); - public native TQSize sizeHint(); - protected native void drawButtonLabel(TQPainter p); - protected native void dragEnterEvent(TQDragEnterEvent arg1); - protected native void dropEvent(TQDropEvent arg1); - protected native void mousePressEvent(TQMouseEvent e); - protected native void mouseMoveEvent(TQMouseEvent e); - protected native void keyPressEvent(TQKeyEvent e); - protected native void chooseColor(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorButtonSignals.java b/kdejava/koala/org/kde/koala/KColorButtonSignals.java deleted file mode 100644 index a0a4d56a..00000000 --- a/kdejava/koala/org/kde/koala/KColorButtonSignals.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQPainter; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; - -public interface KColorButtonSignals { - /** - Emitted when the color of the widget - is changed, either with setColor() or via user selection. - @short Emitted when the color of the widget is changed, either with setColor() or via user selection. - */ - void changed(TQColor newColor); -} diff --git a/kdejava/koala/org/kde/koala/KColorCells.java b/kdejava/koala/org/kde/koala/KColorCells.java deleted file mode 100644 index eda369de..00000000 --- a/kdejava/koala/org/kde/koala/KColorCells.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQGridView; - -/** - - A table of editable color cells. - See {@link KColorCellsSignals} for signals emitted by KColorCells - @author Martin Jones - - @short A table of editable color cells. - -*/ -public class KColorCells extends TQGridView { - protected KColorCells(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KColorCells(TQWidget parent, int rows, int cols) { - super((Class) null); - newKColorCells(parent,rows,cols); - } - private native void newKColorCells(TQWidget parent, int rows, int cols); - public native void setColor(int colNum, TQColor col); - public native TQColor color(int indx); - public native int numCells(); - public native void setShading(boolean _shade); - public native void setAcceptDrags(boolean _acceptDrags); - public native int getSelected(); - public native void paintCell(TQPainter painter, int row, int col); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void dragEnterEvent(TQDragEnterEvent arg1); - protected native void dropEvent(TQDropEvent arg1); - protected native void mouseDoubleClickEvent(TQMouseEvent arg1); - protected native int posToCell(TQPoint pos, boolean ignoreBorders); - protected native int posToCell(TQPoint pos); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorCellsSignals.java b/kdejava/koala/org/kde/koala/KColorCellsSignals.java deleted file mode 100644 index 4b3a8c3c..00000000 --- a/kdejava/koala/org/kde/koala/KColorCellsSignals.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KColorCellsSignals { - void colorSelected(int col); - void colorDoubleClicked(int col); -} diff --git a/kdejava/koala/org/kde/koala/KColorCombo.java b/kdejava/koala/org/kde/koala/KColorCombo.java deleted file mode 100644 index 52a7e20b..00000000 --- a/kdejava/koala/org/kde/koala/KColorCombo.java +++ /dev/null @@ -1,59 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQComboBox; - -/** - - Combobox for colors. - See {@link KColorComboSignals} for signals emitted by KColorCombo - @short Combobox for colors. - -*/ -public class KColorCombo extends TQComboBox { - protected KColorCombo(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a color combo box. - @short Constructs a color combo box. - */ - public KColorCombo(TQWidget parent, String name) { - super((Class) null); - newKColorCombo(parent,name); - } - private native void newKColorCombo(TQWidget parent, String name); - public KColorCombo(TQWidget parent) { - super((Class) null); - newKColorCombo(parent); - } - private native void newKColorCombo(TQWidget parent); - /** - Selects the color col. - @short Selects the color col. - */ - public native void setColor(TQColor col); - /** - Returns the currently selected color. - @short Returns the currently selected color. - */ - public native TQColor color(); - /** - Clear the color list and don't show it, till the next setColor() call - @short Clear the color list and don't show it, till the next setColor() call - */ - public native void showEmptyList(); - protected native void resizeEvent(TQResizeEvent re); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorComboSignals.java b/kdejava/koala/org/kde/koala/KColorComboSignals.java deleted file mode 100644 index 67a363d7..00000000 --- a/kdejava/koala/org/kde/koala/KColorComboSignals.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KColorComboSignals { - /** - Emitted when a new color box has been selected. - @short Emitted when a new color box has been selected. - */ - void activated(TQColor col); - /** - Emitted when a new item has been highlighted. - @short Emitted when a new item has been highlighted. - */ - void highlighted(TQColor col); -} diff --git a/kdejava/koala/org/kde/koala/KColorDialog.java b/kdejava/koala/org/kde/koala/KColorDialog.java deleted file mode 100644 index 32a95471..00000000 --- a/kdejava/koala/org/kde/koala/KColorDialog.java +++ /dev/null @@ -1,145 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPoint; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -/** - -
    • Features:
    • - -
    • - Color selection from a wide range of palettes. -
    • - -
    • - Color selection from a palette of H vs S and V selectors. -
    • - -
    • - Direct input of HSV or RGB values. -
    • - -
    • - Saving of custom colors -
    • - In most cases, you will want to use the static method KColorDialog.getColor(). - This pops up the dialog (with an initial selection provided by you), lets the - user choose a color, and returns. - Example: -
      - 	TQColor myColor;
      - 	int result = KColorDialog.getColor( myColor );
      -         if ( result == KColorDialog.Accepted )
      -            ...
      - 
      - The color dialog is really a collection of several widgets which can - you can also use separately: the quadratic plane in the top left of - the dialog is a KXYSelector. Right next to it is a KHSSelector - for choosing hue/saturation. - On the right side of the dialog you see a KPaletteTable showing - up to 40 colors with a combo box which offers several predefined - palettes or a palette configured by the user. The small field showing - the currently selected color is a KColorPatch. - See {@link KColorDialogSignals} for signals emitted by KColorDialog - @short A color selection dialog. - -*/ -public class KColorDialog extends KDialogBase { - protected KColorDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a color selection dialog. - @short Constructs a color selection dialog. - */ - public KColorDialog(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKColorDialog(parent,name,modal); - } - private native void newKColorDialog(TQWidget parent, String name, boolean modal); - public KColorDialog(TQWidget parent, String name) { - super((Class) null); - newKColorDialog(parent,name); - } - private native void newKColorDialog(TQWidget parent, String name); - public KColorDialog(TQWidget parent) { - super((Class) null); - newKColorDialog(parent); - } - private native void newKColorDialog(TQWidget parent); - public KColorDialog() { - super((Class) null); - newKColorDialog(); - } - private native void newKColorDialog(); - /** - Returns the currently selected color. - @short Returns the currently selected color. - */ - public native TQColor color(); - /** - Call this to make the dialog show a "Default Color" checkbox. - If this checkbox is selected, the dialog will return an "invalid" color (TQColor()). - This can be used to mean "the default text color", for instance, - the one with the KDE text color on screen, but black when printing. - @short Call this to make the dialog show a "Default Color" checkbox. - */ - public native void setDefaultColor(TQColor defaultCol); - /** - @return the value passed to setDefaultColor - - @short - */ - public native TQColor defaultColor(); - /** - Preselects a color. - @short Preselects a color. - */ - public native void setColor(TQColor col); - /** - Creates a modal color dialog, let the user choose a - color, and returns when the dialog is closed. - The selected color is returned in the argument theColor. - @return TQDialog.result(). - - @short Creates a modal color dialog, let the user choose a color, and returns when the dialog is closed. - */ - public static native int getColor(TQColor theColor, TQWidget parent); - public static native int getColor(TQColor theColor); - /** - Creates a modal color dialog, lets the user choose a - color, and returns when the dialog is closed. - The selected color is returned in the argument theColor. - This version takes a defaultColor argument, which sets the color - selected by the "default color" checkbox. When this checkbox is checked, - the invalid color (TQColor()) is returned into theColor. - @return TQDialog.result(). - - @short Creates a modal color dialog, lets the user choose a color, and returns when the dialog is closed. - */ - public static native int getColor(TQColor theColor, TQColor defaultColor, TQWidget parent); - public static native int getColor(TQColor theColor, TQColor defaultColor); - /** - Gets the color from the pixel at point p on the screen. - @short Gets the color from the pixel at point p on the screen. - */ - public static native TQColor grabColor(TQPoint p); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - public native boolean eventFilter(TQObject arg1, TQEvent ev); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorDialogSignals.java b/kdejava/koala/org/kde/koala/KColorDialogSignals.java deleted file mode 100644 index 89b79475..00000000 --- a/kdejava/koala/org/kde/koala/KColorDialogSignals.java +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPoint; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface KColorDialogSignals { - /** - Emitted when a color is selected. - Connect to this to monitor the color as it as selected if you are - not running modal. - @short Emitted when a color is selected. - */ - void colorSelected(TQColor col); -} diff --git a/kdejava/koala/org/kde/koala/KColorDrag.java b/kdejava/koala/org/kde/koala/KColorDrag.java deleted file mode 100644 index 71597526..00000000 --- a/kdejava/koala/org/kde/koala/KColorDrag.java +++ /dev/null @@ -1,86 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMimeSourceInterface; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQMimeSource; -import org.kde.qt.TQWidget; -import org.kde.qt.TQStoredDrag; - -/** - - A drag-and-drop object for colors. The according MIME type - is set to application/x-color. - See the Qt drag'n'drop documentation. - @short A drag-and-drop object for colors. - -*/ -public class KColorDrag extends TQStoredDrag { - protected KColorDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a color drag with a white color. - @short Constructs a color drag with a white color. - */ - public KColorDrag(TQWidget dragsource, String name) { - super((Class) null); - newKColorDrag(dragsource,name); - } - private native void newKColorDrag(TQWidget dragsource, String name); - public KColorDrag(TQWidget dragsource) { - super((Class) null); - newKColorDrag(dragsource); - } - private native void newKColorDrag(TQWidget dragsource); - public KColorDrag() { - super((Class) null); - newKColorDrag(); - } - private native void newKColorDrag(); - /** - Constructs a color drag with the color col. - @short Constructs a color drag with the color col. - */ - public KColorDrag(TQColor col, TQWidget dragsource, String name) { - super((Class) null); - newKColorDrag(col,dragsource,name); - } - private native void newKColorDrag(TQColor col, TQWidget dragsource, String name); - public KColorDrag(TQColor col, TQWidget dragsource) { - super((Class) null); - newKColorDrag(col,dragsource); - } - private native void newKColorDrag(TQColor col, TQWidget dragsource); - public KColorDrag(TQColor col) { - super((Class) null); - newKColorDrag(col); - } - private native void newKColorDrag(TQColor col); - public native String format(int i); - public native byte[] encodedData(String m); - /** - Sets the color of the drag to col. - @short Sets the color of the drag to col. - */ - public native void setColor(TQColor col); - /** - Returns true if the MIME source e contains a color object. - @short Returns true if the MIME source e contains a color object. - */ - public static native boolean canDecode(TQMimeSourceInterface e); - /** - Decodes the MIME source e and puts the resulting color into col. - @short Decodes the MIME source e and puts the resulting color into col. - */ - public static native boolean decode(TQMimeSourceInterface e, TQColor col); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorPatch.java b/kdejava/koala/org/kde/koala/KColorPatch.java deleted file mode 100644 index 7b140a6c..00000000 --- a/kdejava/koala/org/kde/koala/KColorPatch.java +++ /dev/null @@ -1,44 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQFrame; - -/** - - The KColorPatch widget is a (usually small) widget showing - a selected color e. g. in the KColorDialog. It - automatically handles drag and drop from and on the widget. - See {@link KColorPatchSignals} for signals emitted by KColorPatch - @short A color displayer. - -*/ -public class KColorPatch extends TQFrame { - protected KColorPatch(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KColorPatch(TQWidget parent) { - super((Class) null); - newKColorPatch(parent); - } - private native void newKColorPatch(TQWidget parent); - public native void setColor(TQColor col); - protected native void drawContents(TQPainter painter); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void dragEnterEvent(TQDragEnterEvent arg1); - protected native void dropEvent(TQDropEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KColorPatchSignals.java b/kdejava/koala/org/kde/koala/KColorPatchSignals.java deleted file mode 100644 index 83568d4f..00000000 --- a/kdejava/koala/org/kde/koala/KColorPatchSignals.java +++ /dev/null @@ -1,15 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; - -public interface KColorPatchSignals { - void colorChanged(TQColor arg1); -} diff --git a/kdejava/koala/org/kde/koala/KCombiView.java b/kdejava/koala/org/kde/koala/KCombiView.java deleted file mode 100644 index 81b0e318..00000000 --- a/kdejava/koala/org/kde/koala/KCombiView.java +++ /dev/null @@ -1,218 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQSplitter; - -/** - - This view is designed to combine two KFileViews into one widget, to show - directories on the left side and files on the right side. - Methods like selectedItems() to query status _only_ work on the right side, - i.e. on the files. - After creating the KCombiView, you need to supply the view shown in the - right, (see setRight()). Available KFileView implementations are - KFileIconView and KFileDetailView. - Most of the below methods are just implementations of the baseclass - KFileView, so look there for documentation. - @short This view is designed to combine two KFileViews into one widget, to show directories on the left side and files on the right side. - @see KFileView - @see KFileIconView - @see KFileDetailView - @see KDirOperator - -*/ -public class KCombiView extends TQSplitter implements KFileViewInterface { - protected KCombiView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KCombiView(TQWidget parent, String name) { - super((Class) null); - newKCombiView(parent,name); - } - private native void newKCombiView(TQWidget parent, String name); - public native TQWidget widget(); - public native void clearView(); - public native void updateView(boolean arg1); - public native void updateView(KFileItem arg1); - public native void removeItem(KFileItem arg1); - public native void listingCompleted(); - /** - Sets the view to be shown in the right. You need to call this before - doing anything else with this widget. - @short Sets the view to be shown in the right. - */ - public native void setRight(KFileViewInterface view); - public native void setSelectionMode(int sm); - public native void setSelected(KFileItem arg1, boolean arg2); - public native boolean isSelected(KFileItem arg1); - public native void clearSelection(); - public native void selectAll(); - public native void invertSelection(); - public native void setCurrentItem(KFileItem arg1); - public native KFileItem currentFileItem(); - public native KFileItem firstFileItem(); - public native KFileItem nextItem(KFileItem arg1); - public native KFileItem prevItem(KFileItem arg1); - public native void insertItem(KFileItem i); - public native void clear(); - public native void setSorting(int sort); - public native void readConfig(TDEConfig arg1, String group); - public native void readConfig(TDEConfig arg1); - public native void writeConfig(TDEConfig arg1, String group); - public native void writeConfig(TDEConfig arg1); - public native void ensureItemVisible(KFileItem arg1); - public native TDEActionCollection actionCollection(); - public native void setAcceptDrops(boolean b); - public native boolean eventFilter(TQObject o, TQEvent e); - protected native void setDropOptions_impl(int options); - protected native void slotSortingChanged(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - inserts a list of items. - @short inserts a list of items. - */ - public native void addItemList(ArrayList list); - /** - Sets filename the current item in the view, if available. - @short Sets filename the current item in the view, if available. - */ - public native void setCurrentItem(String filename); - public native void updateView(); - /** - Returns the sorting order of the internal list. Newly added files - are added through this sorting. - @short Returns the sorting order of the internal list. - */ - public native int sorting(); - /** - Tells whether the current items are in reversed order (shortcut to - sorting() & TQDir.Reversed). - @short Tells whether the current items are in reversed order (shortcut to sorting() & TQDir.Reversed). - */ - public native boolean isReversed(); - public native void sortReversed(); - /** - @return the number of dirs and files - - @short - */ - public native int count(); - /** - @return the number of files. - - @short - */ - public native int numFiles(); - /** - @return the number of directories - - @short - */ - public native int numDirs(); - public native void setViewMode(int vm); - public native int viewMode(); - /** - @return the localized name of the view, which could be displayed - somewhere, e.g. in a menu, where the user can choose between views. - - @short - @see #setViewName - */ - public native String viewName(); - /** - Sets the name of the view, which could be displayed somewhere. - E.g. "Image Preview". - @short Sets the name of the view, which could be displayed somewhere. - */ - public native void setViewName(String name); - public native void setParentView(KFileViewInterface parent); - /** - @return all currently highlighted items. - - @short - */ - public native ArrayList selectedItems(); - /** - @return all items currently available in the current sort-order - - @short - */ - public native ArrayList items(); - /** - This is a KFileDialog specific hack: we want to select directories with - single click, but not files. But as a generic class, we have to be able - to select files on single click as well. - This gives us the opportunity to do both. - Every view has to decide when to call select( item ) when a file was - single-clicked, based on onlyDoubleClickSelectsFiles(). - @short This is a KFileDialog specific hack: we want to select directories with single click, but not files. - */ - public native void setOnlyDoubleClickSelectsFiles(boolean enable); - /** - @return whether files (not directories) should only be select()ed by - double-clicks. - - @short - @see #setOnlyDoubleClickSelectsFiles - */ - public native boolean onlyDoubleClickSelectsFiles(); - /** - increases the number of dirs and files. - @return true if the item fits the view mode - - @short increases the number of dirs and files. - */ - public native boolean updateNumbers(KFileItem i); - public native KFileViewSignaler signaler(); - /** - Specify DND options. See DropOptions for details. - All options are disabled by default. - @short Specify DND options. - */ - public native void setDropOptions(int options); - /** - Returns the DND options in effect. - See DropOptions for details. - @short Returns the DND options in effect. - */ - public native int dropOptions(); - /** - This method calculates a String from the given parameters, that is - suitable for sorting with e.g. TQIconView or TQListView. Their - Item-classes usually have a setKey( String ) method or a virtual - method String key() that is used for sorting. - @param value Any string that should be used as sort criterion - @param isDir Tells whether the key is computed for an item representing - a directory (directories are usually sorted before files) - @param sortSpec An ORed combination of TQDir.SortSpec flags. - Currently, the values IgnoreCase, Reversed and - DirsFirst are taken into account. - @short This method calculates a String from the given parameters, that is suitable for sorting with e. - */ - public static native String sortingKey(String value, boolean isDir, int sortSpec); - /** - An overloaded method that takes not a String, but a number as sort - criterion. You can use this for file-sizes or dates/times for example. - If you use a time_t, you need to cast that to TDEIO.filesize_t because - of ambiguity problems. - @short An overloaded method that takes not a String, but a number as sort criterion. - */ - public static native String sortingKey(long value, boolean isDir, int sortSpec); - /** - delay before auto opening a directory - @short - */ - public static native int autoOpenDelay(); -} diff --git a/kdejava/koala/org/kde/koala/KComboBox.java b/kdejava/koala/org/kde/koala/KComboBox.java deleted file mode 100644 index b2deb671..00000000 --- a/kdejava/koala/org/kde/koala/KComboBox.java +++ /dev/null @@ -1,626 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQLineEdit; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQComboBox; - -/** - - A combined button, line-edit and a popup list widget. -
    • Detail
    • - This widget inherits from TQComboBox and implements the following - additional functionalities: a completion object that provides both automatic - and manual text completion as well as text rotation features, configurable - key-bindings to activate these features, and a popup-menu item that can be - used to allow the user to change the text completion mode on the fly. - To support these new features KComboBox emits a few additional signals - such as completion( String ) and textRotation( KeyBindgingType ). - The completion signal can be connected to a slot that will assist the user in - filling out the remaining text while the rotation signal can be used to traverse - through all possible matches whenever text completion results in multiple matches. - Additionally, a returnPressed() and a returnPressed( String ) - signals are emitted when the user presses the Enter/Return key. - KCombobox by default creates a completion object when you invoke the - completionObject( boolean ) member function for the first time or - explicitly use setCompletionObject( TDECompletion, boolean ) to assign your - own completion object. Additionally, to make this widget more functional, - KComboBox will by default handle text rotation and completion events - internally whenever a completion object is created through either one of the - methods mentioned above. If you do not need this functionality, simply use - TDECompletionBase.setHandleSignals(boolean) or alternatively set the booleanean - parameter in the setCompletionObject call to false. - Beware: The completion object can be deleted on you, especially if a call - such as setEditable(false) is made. Store the pointer at your own risk, - and consider using TQGuardedPtr. - The default key-bindings for completion and rotation is determined from the - global settings in TDEStdAccel. These values, however, can be overridden - locally by invoking TDECompletionBase.setKeyBinding(). The values can - easily be reverted back to the default setting, by simply calling - useGlobalSettings(). An alternate method would be to default individual - key-bindings by usning setKeyBinding() with the default second argument. - A non-editable combobox only has one completion mode, CompletionAuto. - Unlike an editable combobox the CompletionAuto mode, works by matching - any typed key with the first letter of entries in the combobox. Please note - that if you call setEditable( false ) to change an editable combobox to a - non-editable one, the text completion object associated with the combobox will - no longer exist unless you created the completion object yourself and assigned - it to this widget or you called setAutoDeleteCompletionObject( false ). In other - words do not do the following: -
      - KComboBox combo = new TDECompletionBox(true, this, "mywidget");
      - TDECompletion comp = combo.completionObject();
      - combo.setEditable( false );
      - comp.clear(); // CRASH: completion object does not exist anymore.
      - 
      - A read-only KComboBox will have the same background color as a - disabled KComboBox, but its foreground color will be the one used for - the read-write mode. This differs from TQComboBox's implementation - and is done to give visual distinction between the three different modes: - disabled, read-only, and read-write. -
    • Usage
    • - To enable the basic completion feature: -
      - KComboBox combo = new KComboBox( true, this, "mywidget" );
      - TDECompletion comp = combo.completionObject();
      - // Connect to the return pressed signal - optional
      - connect(combo,SIGNAL("returnPressed(String)"),comp,SLOT("addItem(String)"));
      - // Provide the to be completed strings. Note that those are separate from the combo's
      - // contents.
      - comp.insertItems( someArrayList );
      - 
      - To use your own completion object: -
      - KComboBox combo = new KComboBox( this,"mywidget" );
      - KURLCompletion comp = new KURLCompletion();
      - combo.setCompletionObject( comp );
      - // Connect to the return pressed signal - optional
      - connect(combo,SIGNAL("returnPressed(String)"),comp,SLOT("addItem(String)"));
      - 
      - Note that you have to either delete the allocated completion object - when you don't need it anymore, or call - setAutoDeleteCompletionObject( true ); - Miscellaneous function calls: -
      - // Tell the widget not to handle completion and rotation
      - combo.setHandleSignals( false );
      - // Set your own completion key for manual completions.
      - combo.setKeyBinding( TDECompletionBase.TextCompletion, Qt.End );
      - // Hide the context (popup) menu
      - combo.setContextMenuEnabled( false );
      - 
      - See {@link KComboBoxSignals} for signals emitted by KComboBox - @author Dawit Alemayehu - - @short An enhanced combo box. - -*/ -public class KComboBox extends TQComboBox implements TDECompletionBaseInterface { - protected KComboBox(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a read-only or rather select-only combo box with a - parent object and a name. - @param parent The parent object of this widget - @param name The name of this widget - @short Constructs a read-only or rather select-only combo box with a parent object and a name. - */ - public KComboBox(TQWidget parent, String name) { - super((Class) null); - newKComboBox(parent,name); - } - private native void newKComboBox(TQWidget parent, String name); - public KComboBox(TQWidget parent) { - super((Class) null); - newKComboBox(parent); - } - private native void newKComboBox(TQWidget parent); - public KComboBox() { - super((Class) null); - newKComboBox(); - } - private native void newKComboBox(); - /** - Constructs a "read-write" or "read-only" combo box depending on - the value of the first argument( rw ) with a parent, a - name. - @param rw When true, widget will be editable. - @param parent The parent object of this widget. - @param name The name of this widget. - @short Constructs a "read-write" or "read-only" combo box depending on the value of the first argument( rw ) with a parent, a name. - */ - public KComboBox(boolean rw, TQWidget parent, String name) { - super((Class) null); - newKComboBox(rw,parent,name); - } - private native void newKComboBox(boolean rw, TQWidget parent, String name); - public KComboBox(boolean rw, TQWidget parent) { - super((Class) null); - newKComboBox(rw,parent); - } - private native void newKComboBox(boolean rw, TQWidget parent); - public KComboBox(boolean rw) { - super((Class) null); - newKComboBox(rw); - } - private native void newKComboBox(boolean rw); - /** - Sets url into the edit field of the combobox. It uses - KURL.prettyURL() so that the url is properly decoded for - displaying. - @short Sets url into the edit field of the combobox. - */ - public native void setEditURL(KURL url); - /** - Inserts url at position index into the combobox. The item will - be appended if index is negative. KURL.prettyURL() is used - so that the url is properly decoded for displaying. - @short Inserts url at position index into the combobox. - */ - public native void insertURL(KURL url, int index); - public native void insertURL(KURL url); - /** - Inserts url with the pixmap &p pixmap at position index into - the combobox. The item will be appended if index is negative. - KURL.prettyURL() is used so that the url is properly decoded - for displaying. - @short Inserts url with the pixmap &p pixmap at position index into the combobox. - */ - public native void insertURL(TQPixmap pixmap, KURL url, int index); - public native void insertURL(TQPixmap pixmap, KURL url); - /** - Replaces the item at position index with url. - KURL.prettyURL() is used so that the url is properly decoded - for displaying. - @short Replaces the item at position index with url. - */ - public native void changeURL(KURL url, int index); - /** - Replaces the item at position index with url and pixmap pixmap. - KURL.prettyURL() is used so that the url is properly decoded - for displaying. - @short Replaces the item at position index with url and pixmap pixmap. - */ - public native void changeURL(TQPixmap pixmap, KURL url, int index); - /** - Returns the current cursor position. - This method always returns a -1 if the combo-box is not - editable (read-write). - @return Current cursor position. - - @short Returns the current cursor position. - */ - public native int cursorPosition(); - /** - Re-implemented from TQComboBox. - If true, the completion mode will be set to automatic. - Otherwise, it is defaulted to the global setting. This - method has been replaced by the more comprehensive - setCompletionMode(). - @param autocomplete Flag to enable/disable automatic completion mode. - @short Re-implemented from TQComboBox. - */ - public native void setAutoCompletion(boolean autocomplete); - /** - Re-implemented from TQComboBox. - Returns true if the current completion mode is set - to automatic. See its more comprehensive replacement - completionMode(). - @return true when completion mode is automatic. - - @short Re-implemented from TQComboBox. - */ - public native boolean autoCompletion(); - /** - Enables or disable the popup (context) menu. - This method only works if this widget is editable, i.e. - read-write and allows you to enable/disable the context - menu. It does nothing if invoked for a none-editable - combo-box. Note that by default the mode changer item - is made visiable whenever the context menu is enabled. - Use hideModechanger() if you want to hide this - item. Also by default, the context menu is created if - this widget is editable. Call this function with the - argument set to false to disable the popup menu. - @param showMenu If true, show the context menu. - @short Enables or disable the popup (context) menu. - */ - public native void setContextMenuEnabled(boolean showMenu); - /** - Returns true when the context menu is enabled. - @short Returns true when the context menu is enabled. - */ - public native boolean isContextMenuEnabled(); - /** - Enables/Disables handling of URL drops. If enabled and the user - drops an URL, the decoded URL will be inserted. Otherwise the default - behavior of TQComboBox is used, which inserts the encoded URL. - @param enable If true, insert decoded URLs - @short Enables/Disables handling of URL drops. - */ - public native void setURLDropsEnabled(boolean enable); - /** - Returns true when decoded URL drops are enabled - @short Returns true when decoded URL drops are enabled - */ - public native boolean isURLDropsEnabled(); - /** - Convenience method which iterates over all items and checks if - any of them is equal to text. - If text is an empty string, false - is returned. - @return true if an item with the string text is in the combobox. - - @short Convenience method which iterates over all items and checks if any of them is equal to text. - */ - public native boolean contains(String text); - /** - By default, KComboBox recognizes Key_Return and Key_Enter - and emits the returnPressed() signals, but it also lets the - event pass, for example causing a dialog's default-button to - be called. - Call this method with trap equal to true to make KComboBox - stop these events. The signals will still be emitted of course. - Only affects read-writable comboboxes. - @short By default, KComboBox recognizes Key_Return and Key_Enter and emits the returnPressed() signals, but it also lets the event pass, for example causing a dialog's default-button to be called. - @see #setTrapReturnKey - */ - public native void setTrapReturnKey(boolean trap); - /** - @return true if keyevents of Key_Return or Key_Enter will - be stopped or if they will be propagated. - - @short - @see #setTrapReturnKey - */ - public native boolean trapReturnKey(); - /** - Re-implemented for internal reasons. API not affected. - @short Re-implemented for internal reasons. - */ - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - /** - @param create Set this to false if you don't want the box to be created - i.e. to test if it is available. - @return the completion-box, that is used in completion mode - TDEGlobalSettings.CompletionPopup and TDEGlobalSettings.CompletionPopupAuto. - This method will create a completion-box by calling - KLineEdit.completionBox, if none is there, yet. - - @short - */ - public native TDECompletionBox completionBox(boolean create); - public native TDECompletionBox completionBox(); - /** - Re-implemented for internal reasons. API remains unaffected. - NOTE: Only editable comboboxes can have a line editor. As such - any attempt to assign a line-edit to a non-editable combobox will - simply be ignored. - @short Re-implemented for internal reasons. - */ - public native void setLineEdit(TQLineEdit arg1); - /** - Iterates through all possible matches of the completed text - or the history list. - Depending on the value of the argument, this function either - iterates through the history list of this widget or the all - possible matches in whenever multiple matches result from a - text completion request. Note that the all-possible-match - iteration will not work if there are no previous matches, i.e. - no text has been completed and the nix shell history list - rotation is only available if the insertion policy for this - widget is set either TQComobBox.AtTop or TQComboBox.AtBottom. - For other insertion modes whatever has been typed by the user - when the rotation event was initiated will be lost. - @param type The key-binding invoked. - @short Iterates through all possible matches of the completed text or the history list. - */ - public native void rotateText(int type); - /** - Sets the completed text in the line-edit appropriately. - This function is an implementation for - TDECompletionBase.setCompletedText. - @short Sets the completed text in the line-edit appropriately. - */ - public native void setCompletedText(String arg1); - /** - Sets items into the completion-box if completionMode() is - CompletionPopup. The popup will be shown immediately. - @short Sets items into the completion-box if completionMode() is CompletionPopup. - */ - public native void setCompletedItems(String[] items); - /** - Selects the first item that matches item. If there is no such item, - it is inserted at position index if insert is true. Otherwise, - no item is selected. - @short Selects the first item that matches item. - */ - public native void setCurrentItem(String item, boolean insert, int index); - public native void setCurrentItem(String item, boolean insert); - public native void setCurrentItem(String item); - /** - Simply calls TQComboBox' implementation. Only here to not become - shadowed. - @short Simply calls TQComboBox' implementation. - */ - public native void setCurrentItem(int index); - protected native void setCompletedText(String arg1, boolean arg2); - /** - Reimplemented for internal reasons, the API is not affected. - @short Reimplemented for internal reasons, the API is not affected. - */ - protected native void create(long arg1, boolean initializeWindow, boolean destroyOldWindow); - protected native void create(long arg1, boolean initializeWindow); - protected native void create(long arg1); - protected native void create(); - protected native void wheelEvent(TQWheelEvent ev); - /** - Completes text according to the completion mode. - Note: this method is not invoked if the completion mode is - set to CompletionNone. Also if the mode is set to CompletionShell - and multiple matches are found, this method will complete the - text to the first match with a beep to inidicate that there are - more matches. Then any successive completion key event iterates - through the remaining matches. This way the rotation functionality - is left to iterate through the list as usual. - @short Completes text according to the completion mode. - */ - protected native void makeCompletion(String arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - Returns a pointer to the current completion object. - If the completion object does not exist, it is automatically created and - by default handles all the completion signals internally unless hsig - is set to false. It is also automatically destroyed when the destructor - is called. You can change this default behavior using the - {@link #setAutoDeleteCompletionObject} and {@link #setHandleSignals} member - functions. - See also {@link #compObj}. - @param hsig if true, handles completion signals internally. - @return a pointer the completion object. - - @short Returns a pointer to the current completion object. - */ - public native TDECompletion completionObject(boolean hsig); - public native TDECompletion completionObject(); - /** - Sets up the completion object to be used. - This method assigns the completion object and sets it up to automatically - handle the completion and rotation signals internally. You should use - this function if you want to share one completion object among your - widgets or need to use a customized completion object. - The object assigned through this method is not deleted when this object's - destructor is invoked unless you explicitly call {@link #setAutoDeleteCompletionObject} - after calling this method. Be sure to set the boolean argument to false, if - you want to handle the completion signals yourself. - @param compObj a TDECompletion() or a derived child object. - @param hsig if true, handles completion signals internally. - @short Sets up the completion object to be used. - */ - public native void setCompletionObject(TDECompletion compObj, boolean hsig); - public native void setCompletionObject(TDECompletion compObj); - /** - Enables this object to handle completion and rotation - events internally. - This function simply assigns a booleanean value that - indicates whether it should handle rotation and - completion events or not. Note that this does not - stop the object from emitting signals when these - events occur. - @param handle if true, handle completion & rotation internally. - @short Enables this object to handle completion and rotation events internally. - */ - public native void setHandleSignals(boolean handle); - /** - Returns true if the completion object is deleted - upon this widget's destruction. - See setCompletionObject() and enableCompletion() - for details. - @return true if the completion object will be deleted - automatically - - @short Returns true if the completion object is deleted upon this widget's destruction. - */ - public native boolean isCompletionObjectAutoDeleted(); - /** - Sets the completion object when this widget's destructor - is called. - If the argument is set to true, the completion object - is deleted when this widget's destructor is called. - @param autoDelete if true, delete completion object on destruction. - @short Sets the completion object when this widget's destructor is called. - */ - public native void setAutoDeleteCompletionObject(boolean autoDelete); - /** - Sets the widget's ability to emit text completion and - rotation signals. - Invoking this function with enable set to false will - cause the completion & rotation signals not to be emitted. - However, unlike setting the completion object to NULL - using setCompletionObject, disabling the emition of - the signals through this method does not affect the current - completion object. - There is no need to invoke this function by default. When a - completion object is created through completionObject or - setCompletionObject, these signals are set to emit - automatically. Also note that disabling this signals will not - necessarily interfere with the objects ability to handle these - events internally. See setHandleSignals. - @param enable if false, disables the emition of completion & rotation signals. - @short Sets the widget's ability to emit text completion and rotation signals. - */ - public native void setEnableSignals(boolean enable); - /** - Returns true if the object handles the signals. - @return true if this signals are handled internally. - - @short Returns true if the object handles the signals. - */ - public native boolean handleSignals(); - /** - Returns true if the object emits the signals. - @return true if signals are emitted - - @short Returns true if the object emits the signals. - */ - public native boolean emitSignals(); - /** - Sets the type of completion to be used. - The completion modes supported are those defined in - TDEGlobalSettings(). See below. - @param mode Completion type: - -
    • - CompletionNone: Disables completion feature. -
    • - -
    • - CompletionAuto: Attempts to find a match & - fills-in the remaining text. -
    • - -
    • - CompletionMan: Acts the same as the above - except the action has to be - manually triggered through - pre-defined completion key. -
    • - -
    • - CompletionShell: Mimics the completion feature - found in typical nix shell - environments. -
    • - -
    • - CompletionPopup: Shows all available completions at once, - in a listbox popping up. - -
    • @short Sets the type of completion to be used. - */ - public native void setCompletionMode(int mode); - /** - Returns the current completion mode. - The return values are of type TDEGlobalSettings.Completion. - See setCompletionMode() for details. - @return the completion mode. - - @short Returns the current completion mode. - */ - public native int completionMode(); - /** - Sets the key-binding to be used for manual text - completion, text rotation in a history list as - well as a completion list. - When the keys set by this function are pressed, a - signal defined by the inheriting widget will be activated. - If the default value or 0 is specified by the second - parameter, then the key-binding as defined in the global - setting should be used. This method returns false value - for key is negative or the supplied key-binding conflicts - with the ones set for one of the other features. - NOTE: To use a modifier key (Shift, Ctrl, Alt) as part of - the key-binding simply simply sum up the values of the - modifier and the actual key. For example, to use CTRL+E as - a key binding for one of the items, you would simply supply - "Qt.CtrlButton + Qt.Key_E" as the second argument to this - function. - @param item the feature whose key-binding needs to be set: - -
    • - TextCompletion the manual completion key-binding. -
    • - -
    • - PrevCompletionMatch the previous match key for multiple completion. -
    • - -
    • - NextCompletionMatch the next match key for for multiple completion. -
    • - -
    • - SubstringCompletion the key for substring completion -
    • - @param key key-binding used to rotate down in a list. - @return true if key-binding can successfully be set. - - @short Sets the key-binding to be used for manual text completion, text rotation in a history list as well as a completion list. - @see #getKeyBinding - */ - public native boolean setKeyBinding(int item, TDEShortcut key); - /** - Returns the key-binding used for the specified item. - This methods returns the key-binding used to activate - the feature feature given by item. If the binding - contains modifier key(s), the SUM of the modifier key - and the actual key code are returned. - @param item the item to check - @return the key-binding used for the feature given by item. - - @short Returns the key-binding used for the specified item. - @see #setKeyBinding - */ - public native TDEShortcut getKeyBinding(int item); - /** - Sets this object to use global values for key-bindings. - This method changes the values of the key bindings for - rotation and completion features to the default values - provided in TDEGlobalSettings. - NOTE: By default inheriting widgets should uses the - global key-bindings so that there will be no need to - call this method. - @short Sets this object to use global values for key-bindings. - */ - public native void useGlobalKeyBindings(); - /** - Returns a pointer to the completion object. - This method is only different from completionObject() - in that it does not create a new TDECompletion object even if - the internal pointer is NULL. Use this method to get the - pointer to a completion object when inheriting so that you - won't inadvertently create it!! - @return the completion object or NULL if one does not exist. - - @short Returns a pointer to the completion object. - */ - public native TDECompletion compObj(); - /** - Returns a key-binding map. - This method is the same as getKeyBinding() except it - returns the whole keymap containing the key-bindings. - @return the key-binding used for the feature given by item. - - @short Returns a key-binding map. - */ - // TDECompletionBase::KeyBindingMap getKeyBindings(); >>>> NOT CONVERTED - /** - Sets or removes the delegation object. If a delegation object is - set, all function calls will be forwarded to the delegation object. - @param delegate the delegation object, or 0 to remove it - @short Sets or removes the delegation object. - */ - protected native void setDelegate(TDECompletionBaseInterface delegate); - /** - Returns the delegation object. - @return the delegation object, or 0 if there is none - - @short Returns the delegation object. - @see #setDelegate - */ - protected native TDECompletionBaseInterface delegate(); -} diff --git a/kdejava/koala/org/kde/koala/KComboBoxSignals.java b/kdejava/koala/org/kde/koala/KComboBoxSignals.java deleted file mode 100644 index 49b69b6d..00000000 --- a/kdejava/koala/org/kde/koala/KComboBoxSignals.java +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQLineEdit; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWheelEvent; - -public interface KComboBoxSignals { - /** - Emitted when the user presses the Enter key. - Note that this signal is only emitted when the widget is editable. - @short Emitted when the user presses the Enter key. - */ - void returnPressed(); - /** - Emitted when the user presses the Enter key. - The argument is the current text being edited. This signal is just like - returnPressed() except it contains the current text as its argument. - Note that this signal is only emitted when the - widget is editable. - @short Emitted when the user presses the Enter key. - */ - void returnPressed(String arg1); - /** - Emitted when the completion key is pressed. - The argument is the current text being edited. - Note that this signal is not available when the widget is non-editable - or the completion mode is set to TDEGlobalSettings.CompletionNone. - @short Emitted when the completion key is pressed. - */ - void completion(String arg1); - /** - Emitted when the shortcut for substring completion is pressed. - @short Emitted when the shortcut for substring completion is pressed. - */ - void substringCompletion(String arg1); - /** - Emitted when the text rotation key-bindings are pressed. - The argument indicates which key-binding was pressed. In this case this - can be either one of four values: PrevCompletionMatch, - NextCompletionMatch, RotateUp or RotateDown. See - TDECompletionBase.setKeyBinding() for details. - Note that this signal is NOT emitted if the completion - mode is set to CompletionNone. - @short Emitted when the text rotation key-bindings are pressed. - */ - void textRotation(int arg1); - /** - Emitted whenever the completion mode is changed by the user - through the context menu. - @short Emitted whenever the completion mode is changed by the user through the context menu. - */ - void completionModeChanged(int arg1); - /** - Emitted before the context menu is displayed. - The signal allows you to add your own entries into the context menu. - Note that you MUST NOT store the pointer to the TQPopupMenu since it is - created and deleted on demand. Otherwise, you can crash your app. - @param p the context menu about to be displayed - @short Emitted before the context menu is displayed. - */ - void aboutToShowContextMenu(TQPopupMenu p); -} diff --git a/kdejava/koala/org/kde/koala/KCommand.java b/kdejava/koala/org/kde/koala/KCommand.java deleted file mode 100644 index 2c33f28d..00000000 --- a/kdejava/koala/org/kde/koala/KCommand.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The abstract base class for all Commands. Commands are used to - store information needed for Undo/Redo functionality... - @short The abstract base class for all Commands. - -*/ -public class KCommand implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KCommand(Class dummy){} - - /** - The main method: executes this command. - Implement here what this command is about, and remember to - record any information that will be helpful for #unexecute. - @short The main method: executes this command. - */ - public native void execute(); - /** - Unexecutes (undo) this command. - Implement here the steps to take for undoing the command. - If your application uses actions for everything (it should), - and if you implement unexecute correctly, the application is in the same - state after unexecute as it was before execute. This means, the next - call to execute will do the same thing as it did the first time. - @short Unexecutes (undo) this command. - */ - public native void unexecute(); - /** - @return the name of this command, translated, since it will appear - in the menus. - - @short - */ - public native String name(); -} diff --git a/kdejava/koala/org/kde/koala/KCommandHistory.java b/kdejava/koala/org/kde/koala/KCommandHistory.java deleted file mode 100644 index 0e97f583..00000000 --- a/kdejava/koala/org/kde/koala/KCommandHistory.java +++ /dev/null @@ -1,136 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - The command history stores a (user) configurable amount of - Commands. It keeps track of its size and deletes commands - if it gets too large. The user can set a maximum undo and - a maximum redo limit (e.g. max. 50 undo / 30 redo commands). - The KCommandHistory keeps track of the "borders" and deletes - commands, if appropriate. It also activates/deactivates the - undo/redo actions in the menu and changes the text according - to the name of the command. - See {@link KCommandHistorySignals} for signals emitted by KCommandHistory - @short The command history stores a (user) configurable amount of Commands. - -*/ -public class KCommandHistory extends TQObject { - protected KCommandHistory(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Creates a command history, to store commands. - This constructor doesn't create actions, so you need to call - #undo and #redo yourself. - @short Creates a command history, to store commands. - */ - public KCommandHistory() { - super((Class) null); - newKCommandHistory(); - } - private native void newKCommandHistory(); - /** - Creates a command history, to store commands. - This also creates an undo and a redo action, in the actionCollection, - using the standard names ("edit_undo" and "edit_redo"). - @param withMenus if true, the actions will display a menu when plugged - into a toolbar. - @param actionCollection the parent collection - @short Creates a command history, to store commands. - */ - public KCommandHistory(TDEActionCollection actionCollection, boolean withMenus) { - super((Class) null); - newKCommandHistory(actionCollection,withMenus); - } - private native void newKCommandHistory(TDEActionCollection actionCollection, boolean withMenus); - public KCommandHistory(TDEActionCollection actionCollection) { - super((Class) null); - newKCommandHistory(actionCollection); - } - private native void newKCommandHistory(TDEActionCollection actionCollection); - /** - Erases all the undo/redo history. - Use this when reloading the data, for instance, since this invalidates - all the commands. - @short Erases all the undo/redo history. - */ - public native void clear(); - /** - Adds a command to the history. Call this for each command you create. - Unless you set execute to false, this will also execute the command. - This means, most of the application's code will look like - MyCommand cmd = new MyCommand(i18n("Capitalized Name"), parameters); - m_historyCommand.addCommand( cmd ); - @short Adds a command to the history. - */ - public native void addCommand(KCommand command, boolean execute); - public native void addCommand(KCommand command); - /** - @return the maximum number of items in the undo history - - @short - */ - public native int undoLimit(); - /** - Sets the maximum number of items in the undo history. - @short Sets the maximum number of items in the undo history. - */ - public native void setUndoLimit(int limit); - /** - @return the maximum number of items in the redo history - - @short - */ - public native int redoLimit(); - /** - Sets the maximum number of items in the redo history. - @short Sets the maximum number of items in the redo history. - */ - public native void setRedoLimit(int limit); - /** - Enable or disable the undo and redo actions. - This isn't usually necessary, but this method can be useful if - you disable all actions (to go to a "readonly" state), and then - want to come back to a readwrite mode. - @short Enable or disable the undo and redo actions. - */ - public native void updateActions(); - /** - Undoes the last action. - Call this if you don't use the builtin TDEActions. - @short Undoes the last action. - */ - public native void undo(); - /** - Redoes the last undone action. - Call this if you don't use the builtin TDEActions. - @short Redoes the last undone action. - */ - public native void redo(); - /** - Remembers when you saved the document. - Call this right after saving the document. As soon as - the history reaches the current index again (via some - undo/redo operations) it will emit documentRestored - If you implemented undo/redo properly the document is - the same you saved before. - @short Remembers when you saved the document. - */ - public native void documentSaved(); - protected native void slotUndoAboutToShow(); - protected native void slotUndoActivated(int arg1); - protected native void slotRedoAboutToShow(); - protected native void slotRedoActivated(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCommandHistorySignals.java b/kdejava/koala/org/kde/koala/KCommandHistorySignals.java deleted file mode 100644 index 1bc45380..00000000 --- a/kdejava/koala/org/kde/koala/KCommandHistorySignals.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -public interface KCommandHistorySignals { - /** - Emitted every time a command is executed - (whether by addCommand, undo or redo). - You can use this to update the GUI, for instance. - KDE4 TODO: remove - @short Emitted every time a command is executed (whether by addCommand, undo or redo). - */ - void commandExecuted(); - /** - Emitted every time a command is executed - (whether by addCommand, undo or redo). - You can use this to update the GUI, for instance. - @param command was executed - @short Emitted every time a command is executed (whether by addCommand, undo or redo). - */ - void commandExecuted(KCommand command); - /** - Emitted every time we reach the index where you - saved the document for the last time. See documentSaved - @short Emitted every time we reach the index where you saved the document for the last time. - */ - void documentRestored(); -} diff --git a/kdejava/koala/org/kde/koala/KContextMenuManager.java b/kdejava/koala/org/kde/koala/KContextMenuManager.java deleted file mode 100644 index 42880108..00000000 --- a/kdejava/koala/org/kde/koala/KContextMenuManager.java +++ /dev/null @@ -1,69 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - -KContextMenuManager manages configurable context popup menus. Instead -of reimplementing TQWidget.mousePressEvent() or - TQWidget.mouseReleaseEvent() and/or TQWidget.keyPressEvent(), simply -create the popup menu and insert it into the context menu manager with -the static function insert(). -Example: -
      -   KContextMenuManager.insert( myWidget, myPopupMenu );
      -
      -Context menus are invoked with either a special shortcut key (usually -the menu key) or the right mouse button. -Menus are configurable in the [ContextMenus] group of the application's -configuration file, usually in kdeglobals: -
      -    [ContextMenus]
      -    ShowOnPress=true|false
      -
      -ShowOnPress defines whether the menu shall be shown on mouse -press or on mouse release. -The shortcut key to invoke the context menu is defined in the standard -[Keys] section of the application configuration: -
      -   [Keys]
      -   ...
      -   PopupContextMenu=Menu
      -   ...
      -
      -The key can be configured with the standard keys module in the KDE control center. -If the popup menu is invoked with the keyboard shortcut, it's shown at -the position of the micro focus hint of the widget ( TQWidget.microFocusHint() ). - @author Matthias Ettrich - - @short Convenience class to mangage context menus. - -*/ -public class KContextMenuManager extends TQObject { - protected KContextMenuManager(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Makes popup a context popup menu for widget widget. - Ownership of the popup menu is not transferred to the context - menu manager. - @short Makes popup a context popup menu for widget widget. - */ - public static native void insert(TQWidget widget, TQPopupMenu popup); - /** - Use this method to get information about when a popup menu - should be activated. This can be useful if the popup menu is - to be activated from a listview. - @return true if the menu should be made visible on a button press - or false after a button press-release sequence. - - @short Use this method to get information about when a popup menu should be activated. - */ - public static native boolean showOnButtonPress(); -} diff --git a/kdejava/koala/org/kde/koala/KCursor.java b/kdejava/koala/org/kde/koala/KCursor.java deleted file mode 100644 index f6bf3f28..00000000 --- a/kdejava/koala/org/kde/koala/KCursor.java +++ /dev/null @@ -1,200 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQCursor; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.Qt; - -/** - - A wrapper around TQCursor that allows for "themed" cursors. - Currently, the only themed cursor is a hand shaped cursor. - A typical usage would be -
      - setCursor(KCursor.handCursor());
      - 
      - @author Kurt Granroth - - @short A TQCursor wrapper allowing "themed" cursors and auto-hiding cursors. - -*/ -public class KCursor extends Qt { - protected KCursor(Class dummy){super((Class) null);} - /** - Constructor. - Does not do anything so far. - @short Constructor. - */ - public KCursor() { - super((Class) null); - newKCursor(); - } - private native void newKCursor(); - /** - Returns the proper hand cursor according to - the current GUI style (static function). - @short Returns the proper hand cursor according to the current GUI style (static function). - */ - public static native TQCursor handCursor(); - /** - Returns the proper arrow+hourglass cursor according to - the current GUI style (static function). - @short Returns the proper arrow+hourglass cursor according to the current GUI style (static function). - */ - public static native TQCursor workingCursor(); - /** - Returns the proper arrow cursor according to - the current GUI style (static function). - @short Returns the proper arrow cursor according to the current GUI style (static function). - */ - public static native TQCursor arrowCursor(); - /** - Returns the proper up arrow cursor according to - the current GUI style (static function). - @short Returns the proper up arrow cursor according to the current GUI style (static function). - */ - public static native TQCursor upArrowCursor(); - /** - Returns the proper cross-hair cursor according to - the current GUI style (static function). - @short Returns the proper cross-hair cursor according to the current GUI style (static function). - */ - public static native TQCursor crossCursor(); - /** - Returns the proper hourglass cursor according to - the current GUI style (static function). - @short Returns the proper hourglass cursor according to the current GUI style (static function). - */ - public static native TQCursor waitCursor(); - /** - Returns the proper text cursor according to - the current GUI style (static function). - @short Returns the proper text cursor according to the current GUI style (static function). - */ - public static native TQCursor ibeamCursor(); - /** - Returns the proper vertical resize cursor - according to the current GUI style (static function). - @short Returns the proper vertical resize cursor according to the current GUI style (static function). - */ - public static native TQCursor sizeVerCursor(); - /** - Returns the proper horizontal resize cursor - according to the current GUI style (static function). - @short Returns the proper horizontal resize cursor according to the current GUI style (static function). - */ - public static native TQCursor sizeHorCursor(); - /** - Returns the proper diagonal resize (/) cursor - according to the current GUI style (static function). - @short Returns the proper diagonal resize (/) cursor according to the current GUI style (static function). - */ - public static native TQCursor sizeBDiagCursor(); - /** - Returns the proper diagonal resize (\) cursor - according to the current GUI style (static function). - @short Returns the proper diagonal resize (\) cursor according to the current GUI style (static function). - */ - public static native TQCursor sizeFDiagCursor(); - /** - Returns the proper all-directions resize cursor - according to the current GUI style (static function). - @short Returns the proper all-directions resize cursor according to the current GUI style (static function). - */ - public static native TQCursor sizeAllCursor(); - /** - Returns a blank or invisible cursor (static function). - @short Returns a blank or invisible cursor (static function). - */ - public static native TQCursor blankCursor(); - /** - Returns a WhatsThis cursor (static function). - @short Returns a WhatsThis cursor (static function). - */ - public static native TQCursor whatsThisCursor(); - /** - Sets auto-hiding the cursor for widget w. Enabling it will result in - the cursor being hidden when - -
    • - a key-event happens -
    • - -
    • - there are no key-events for a configured time-frame (see - setHideCursorDelay()) -
    • - The cursor will be shown again when the focus is lost or a mouse-event - happens. - Side effect: when enabling auto-hide, mouseTracking is enabled for the - specified widget, because it's needed to get mouse-move-events. So - don't disable mouseTracking for a widget while using auto-hide for it. - When disabling auto-hide, mouseTracking will be disabled, so if you need - mouseTracking after disabling auto-hide, you have to reenable - mouseTracking. - If you want to use auto-hiding for widgets that don't take focus, e.g. - a TQCanvasView, then you have to pass all key-events that should trigger - auto-hiding to autoHideEventFilter(). - @short Sets auto-hiding the cursor for widget w. - */ - public static native void setAutoHideCursor(TQWidget w, boolean enable); - /** - Overloaded method for the case where you have an event-filter installed - on the widget you want to enable auto-cursor-hiding. - In this case set customEventFilter to true and call - autoHideEventFilter() from the beginning of your eventFilter(). - @short Overloaded method for the case where you have an event-filter installed on the widget you want to enable auto-cursor-hiding. - @see #autoHideEventFilter - */ - public static native void setAutoHideCursor(TQWidget w, boolean enable, boolean customEventFilter); - /** - Sets the delay time in milliseconds for auto-hiding. When no keyboard - events arrive for that time-frame, the cursor will be hidden. - Default is 5000, i.e. 5 seconds. - @short Sets the delay time in milliseconds for auto-hiding. - */ - public static native void setHideCursorDelay(int ms); - /** - Default is 5000, i.e. 5 seconds. - @return the current auto-hide delay time. - - @short - */ - public static native int hideCursorDelay(); - /** - KCursor has to install an eventFilter over the widget you want to - auto-hide. If you have an own eventFilter() on that widget and stop - some events by returning true, you might break auto-hiding, because - KCursor doesn't get those events. - In this case, you need to call setAutoHideCursor( widget, true, true ); - to tell KCursor not to install an eventFilter. Then you call this method - from the beginning of your eventFilter, for example: -
      -		 edit = new KEdit( this, "some edit widget" );
      -		 edit.installEventFilter( this );
      -		 KCursor.setAutoHideCursor( edit, true, true );
      -			 [...]
      -			 boolean YourClass.eventFilter( TQObject o, TQEvent e )
      -		 {
      -		     if ( o == edit ) // only that widget where you enabled auto-hide!
      -		         KCursor.autoHideEventFilter( o, e );
      -			     // now you can do your own event-processing
      -		     [...]
      -		 }
      -		 
      - Note that you must not call KCursor.autoHideEventFilter() when you - didn't enable or after disabling auto-hiding. - @short KCursor has to install an eventFilter over the widget you want to auto-hide. - */ - public static native void autoHideEventFilter(TQObject arg1, TQEvent arg2); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KCustomMenuEditor.java b/kdejava/koala/org/kde/koala/KCustomMenuEditor.java deleted file mode 100644 index d985dbca..00000000 --- a/kdejava/koala/org/kde/koala/KCustomMenuEditor.java +++ /dev/null @@ -1,45 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** -*/ -public class KCustomMenuEditor extends KDialogBase { - protected KCustomMenuEditor(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a dialog for editing a custom menu - @short Create a dialog for editing a custom menu - */ - public KCustomMenuEditor(TQWidget parent) { - super((Class) null); - newKCustomMenuEditor(parent); - } - private native void newKCustomMenuEditor(TQWidget parent); - /** - load the custom menu - @short load the custom menu - */ - public native void load(TDEConfigBase arg1); - /** - save the custom menu - @short save the custom menu - */ - public native void save(TDEConfigBase arg1); - public native void slotNewItem(); - public native void slotRemoveItem(); - public native void slotMoveUp(); - public native void slotMoveDown(); - public native void refreshButton(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDCOPActionProxy.java b/kdejava/koala/org/kde/koala/KDCOPActionProxy.java deleted file mode 100644 index 5f3ae2b2..00000000 --- a/kdejava/koala/org/kde/koala/KDCOPActionProxy.java +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - The KDCOPActionProxy class provides an easy way to publish a collection of TDEAction objects - through DCOP. For the DCOP client the exported actions behave like full-fledged DCOP objects, - providing full access to the TDEAction object functionality in the server. - This class can generate DCOP object ids for given action objects, which it automatically - processes, as being a DCOPObjectProxy . - @short A proxy class publishing a DCOP interface for actions. - -*/ -public class KDCOPActionProxy extends DCOPObjectProxy { - protected KDCOPActionProxy(Class dummy){super((Class) null);} - /** - Constructs a dcop action proxy, being able to export the actions of the provided - TDEActionCollection through DCOP, using the parent DCOPObject's object id to - generate unique object ids for the actions. - @short Constructs a dcop action proxy, being able to export the actions of the provided TDEActionCollection through DCOP, using the parent DCOPObject's object id to generate unique object ids for the actions. - */ - public KDCOPActionProxy(TDEActionCollection actionCollection, DCOPObjectInterface parent) { - super((Class) null); - newKDCOPActionProxy(actionCollection,parent); - } - private native void newKDCOPActionProxy(TDEActionCollection actionCollection, DCOPObjectInterface parent); - /** - Use this constructor if do not want to provide the exportable actions through a - TDEActionCollection . You have to reimplement the actions() and - action() methods if you use this constructor. - @short Use this constructor if do not want to provide the exportable actions through a TDEActionCollection . - */ - public KDCOPActionProxy(DCOPObjectInterface parent) { - super((Class) null); - newKDCOPActionProxy(parent); - } - private native void newKDCOPActionProxy(DCOPObjectInterface parent); - /** - Returns an action object with the given name. The default implementation queries the action object - from the TDEActionCollection, if the first constructor has been used. - @short Returns an action object with the given name. - */ - public native TDEAction action(String name); - /** - Use this method to retrieve a DCOP object id for an action with the given name. - This class automatically takes care of processing DCOP object requests for the returned - object id. - You can construct a global DCOP object referenence using DCOPRef. For example like - DCOPRef( kapp.dcopClient().appId, actionProxy.actionObjectId( actionName ) ); - The action with the given name has to be available through the #action method. - @short Use this method to retrieve a DCOP object id for an action with the given name. - */ - public native String actionObjectId(String name); - /** - Returns a map of all exported actions, with the action name as keys and a global DCOP reference - as data entries. - The appId argument is used to specify the appid component of the DCOP reference. By default the - global application id is used ( kapp.dcopClient().appId() ) . - @short Returns a map of all exported actions, with the action name as keys and a global DCOP reference as data entries. - */ - // TQMap actionMap(const TQCString& arg1); >>>> NOT CONVERTED - // TQMap actionMap(); >>>> NOT CONVERTED - /** - Internal reimplementation of DCOPObjectProxy.process . - @short Internal reimplementation of DCOPObjectProxy.process . - */ - public native boolean process(String arg1, String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - Called by the #process method and takes care of processing the object request for an - action object. - @short Called by the #process method and takes care of processing the object request for an action object. - */ - public native boolean processAction(String arg1, String fun, byte[] data, StringBuffer replyType, byte[] replyData, TDEAction action); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java b/kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java deleted file mode 100644 index 67f3e041..00000000 --- a/kdejava/koala/org/kde/koala/KDCOPPropertyProxy.java +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a - TQObject through DCOP. - The class provides DCOP equivalents for the Qt property methods setProperty() , - property() and propertyNames() and also provides automatic set/get methods for - the properties of a TQObject. That means for example if your object provides a - String property called foo , then KDCOPPropertyProxy translates DCOP calls - "setFoo( String )" and "String foo()" automatically into the corresponding - setProperty/property calls. - @short The KDCOPPropertyProxy class provides an easy way to publish Qt properties of a TQObject through DCOP. - -*/ -public class KDCOPPropertyProxy implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KDCOPPropertyProxy(Class dummy){} - - /** - Convenience constructor. Use it if you want to use this class as object, in contrary - to using the static methods of this class and providing a TQObject argument for each - call. - @short Convenience constructor. - */ - public KDCOPPropertyProxy(TQObject object) { - newKDCOPPropertyProxy(object); - } - private native void newKDCOPPropertyProxy(TQObject object); - /** - Convenience method, when using this class as object. See documentation of the constructor and - static isPropertyRequest method. - @short Convenience method, when using this class as object. - */ - public native boolean isPropertyRequest(String fun); - /** - Convenience method, when using this class as object. See documentation of the constructor and - static processPropertyRequest method. - @short Convenience method, when using this class as object. - */ - public native boolean processPropertyRequest(String fun, byte[] data, StringBuffer replyType, byte[] replyData); - /** - Convenience method, when using this class as object. See documentation of the constructor and - static functions method. - @short Convenience method, when using this class as object. - */ - // TQValueList functions(); >>>> NOT CONVERTED - /** - Returns a semicolon-separated list of functions understood by the PropertyProxy for the given - TQObject argument. - Returns "property(String);setProperty(String,TQVariant);propertyNames();" plus set/get - methods for the properties of the given object argument. - @short Returns a semicolon-separated list of functions understood by the PropertyProxy for the given TQObject argument. - @see DCOPObject#functions - */ - // TQValueList functions(TQObject* arg1); >>>> NOT CONVERTED - /** - Returns true if the method request in the fun argument matches the signature of the three standard - property methods or set/get methods for the properties of the object argument. - Use this method in your own DCOPObject dispatcher to check if the DCOP request is a property - request which can be handled by this class. - @short Returns true if the method request in the fun argument matches the signature of the three standard property methods or set/get methods for the properties of the object argument. - */ - public static native boolean isPropertyRequest(String fun, TQObject object); - /** - Processes the given DCOP method request by translating the request into a setProperty/property call - on the given TQObject argument. - @short Processes the given DCOP method request by translating the request into a setProperty/property call on the given TQObject argument. - */ - public static native boolean processPropertyRequest(String fun, byte[] data, StringBuffer replyType, byte[] replyData, TQObject object); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDCOPServiceStarter.java b/kdejava/koala/org/kde/koala/KDCOPServiceStarter.java deleted file mode 100644 index d03530af..00000000 --- a/kdejava/koala/org/kde/koala/KDCOPServiceStarter.java +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; - -/** - - A generic DCOP service starter, using TDETrader. - The default implementation starts new processes, but this interface can - also be reimplemented by specific applications to provide dlopened in-process DCOP objects. - @author David Faure - - @short A generic DCOP service starter, using TDETrader. - -*/ -public class KDCOPServiceStarter implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KDCOPServiceStarter(Class dummy){} - - /** - Check if a given DCOP interface is available - from the serviceType it's supposed to implement. - The trader is queried to find the preferred application for this serviceType, - with the constraint that its X-DCOP-ServiceName property must be defined. - Then the DCOP server is checked. If the service is not available, - this method will call startServiceFor to start it. - @param serviceType the type of service we're looking for - @param constraint see TDETrader - @param preferences see TDETrader - @param error On failure, error contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param dcopService On success, dcopService contains the DCOP name - under which this service is available. If the pointer is 0 the argument - will be ignored - @param flags for future extensions (currently unused) - @return an error code indicating success (== 0) or failure (> 0). - - @short Check if a given DCOP interface is available - from the serviceType it's supposed to implement. - */ - public native int findServiceFor(String serviceType, String constraint, String preferences, StringBuffer error, StringBuffer dcopService, int flags); - public native int findServiceFor(String serviceType, String constraint, String preferences, StringBuffer error, StringBuffer dcopService); - public native int findServiceFor(String serviceType, String constraint, String preferences, StringBuffer error); - public native int findServiceFor(String serviceType, String constraint, String preferences); - public native int findServiceFor(String serviceType, String constraint); - public native int findServiceFor(String serviceType); - /** - Find an implementation of the given serviceType, - and start it, to use its DCOP interface. - The default implementation uses TDETrader to find the preferred Application, - and then starts it using kapp.startService... - However applications (like kontact) can reimplement this method, to provide - an in-process way of loading the implementation for this service type. - @param serviceType the type of service we're looking for - @param constraint see TDETrader - @param preferences see TDETrader - @param error On failure, error contains a description of the error - that occurred. If the pointer is 0, the argument will be - ignored - @param dcopService On success, dcopService contains the DCOP name - under which this service is available. If the pointer is 0 the argument - will be ignored - @param flags for future extensions (currently unused) - @return an error code indicating success (== 0) or failure (> 0). - - @short Find an implementation of the given serviceType, and start it, to use its DCOP interface. - */ - public native int startServiceFor(String serviceType, String constraint, String preferences, StringBuffer error, StringBuffer dcopService, int flags); - public native int startServiceFor(String serviceType, String constraint, String preferences, StringBuffer error, StringBuffer dcopService); - public native int startServiceFor(String serviceType, String constraint, String preferences, StringBuffer error); - public native int startServiceFor(String serviceType, String constraint, String preferences); - public native int startServiceFor(String serviceType, String constraint); - public native int startServiceFor(String serviceType); - public static native KDCOPServiceStarter self(); - public KDCOPServiceStarter() { - newKDCOPServiceStarter(); - } - private native void newKDCOPServiceStarter(); -} diff --git a/kdejava/koala/org/kde/koala/KDE.java b/kdejava/koala/org/kde/koala/KDE.java deleted file mode 100644 index 2fef39a7..00000000 --- a/kdejava/koala/org/kde/koala/KDE.java +++ /dev/null @@ -1,536 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQRegion; -import org.kde.qt.TQPixmap; -import java.util.Calendar; -import org.kde.qt.TQPainter; -import org.kde.qt.TQBitmap; -import org.kde.qt.TQIconSet; -import org.kde.qt.TQBrush; -import org.kde.qt.TQColorGroup; - -/** - - Namespace for general KDE functions. - @short Namespace for general KDE functions. - -*/ -public class KDE { - /** - Returns the encoded number of KDE's version, see the TDE_VERSION macro. - In contrary to that macro this function returns the number of the actully - installed KDE version, not the number of the KDE version that was - installed when the program was compiled. - @return the version number, encoded in a single uint - - @short Returns the encoded number of KDE's version, see the TDE_VERSION macro. - */ - public static native int version(); - /** - Returns the major number of KDE's version, e.g. - 3 for KDE 3.1.2. - @return the major version number - - @short Returns the major number of KDE's version, e. - */ - public static native int versionMajor(); - /** - Returns the minor number of KDE's version, e.g. - 1 for KDE 3.1.2. - @return the minor version number - - @short Returns the minor number of KDE's version, e. - */ - public static native int versionMinor(); - /** - Returns the release of KDE's version, e.g. - 2 for KDE 3.1.2. - @return the release number - - @short Returns the release of KDE's version, e. - */ - public static native int versionRelease(); - /** - Returns the KDE version as string, e.g. "3.1.2". - @return the KDE version. You can keep the string forever - - @short Returns the KDE version as string, e. - */ - public static native String versionString(); - // int KSSLPemCallback(char* arg1,int arg2,int arg3,void* arg4); >>>> NOT CONVERTED - /** - {@link TDELocale} - i18n is the function that does everything you need to translate - a string. You just wrap around every user visible string a i18n - call to get a String with the string in the user's preferred - language. - The argument must be an UTF-8 encoded string (If you only use - characters that are in US-ASCII, you're on the safe side. But - for e.g. German umlauts or French accents should be recoded to - UTF-8) - @short {@link TDELocale} i18n is the function that does everything you need to translate a string. - */ - public static native String i18n(String text); - /** - {@link TDELocale} - If the string is too ambiguous to be translated well to a non-english - language, use this form of i18n to separate lookup string and english - text. - @short {@link TDELocale} If the string is too ambiguous to be translated well to a non-english language, use this form of i18n to separate lookup string and english text. - @see #translate - */ - public static native String i18n(String comment, String text); - /** - {@link TDELocale} - If you want to handle plural forms, use this form of i18n. - @param singular the singular form of the word, for example "file". - @param plural the plural form of the word. Must contain a "%n" that will - be replaced by the number n, for example "%n files" - @param n the number - @return the correct singular or plural for the selected language, - depending on n - - @short {@link TDELocale} If you want to handle plural forms, use this form of i18n. - @see #translate - */ - public static native String i18n(String singular, String plural, long n); - /** - {@link TDELocale} - Qt3's uic generates i18n( "msg", "comment" ) calls which conflict - with our i18n method. We use uic -tr tr2i18n to redirect - to the right i18n() function - @short {@link TDELocale} Qt3's uic generates i18n( "msg", "comment" ) calls which conflict with our i18n method. - */ - public static native String tr2i18n(String message, String arg2); - public static native String tr2i18n(String message); - public static native TQDataStream op_write(TQDataStream s, KFileItem a); - public static native TQDataStream op_read(TQDataStream s, KFileItem a); - public static native int pageNameToPageSize(String name); - public static native String pageSizeToPageName(int s); - /** - {@link KURL} - Compares URLs. They are parsed, split and compared. - Two malformed URLs with the same string representation - are nevertheless considered to be unequal. - That means no malformed URL equals anything else. - @short {@link KURL} Compares URLs. - */ - public static native boolean urlcmp(String _url1, String _url2); - /** - {@link KURL} - Compares URLs. They are parsed, split and compared. - Two malformed URLs with the same string representation - are nevertheless considered to be unequal. - That means no malformed URL equals anything else. - @param _url1 A reference URL - @param _url2 A URL that will be compared with the reference URL - @param _ignore_trailing Described in KURL.cmp - @param _ignore_ref If true, disables comparison of HTML-style references. - @short {@link KURL} Compares URLs. - */ - public static native boolean urlcmp(String _url1, String _url2, boolean _ignore_trailing, boolean _ignore_ref); - public static native TQDataStream op_write(TQDataStream s, KURL a); - public static native TQDataStream op_read(TQDataStream s, KURL a); - /** - Locale-independent tqstricmp. Use this for comparing ascii keywords - in a case-insensitive way. - tqstricmp fails with e.g. the Turkish locale where 'I'.lower() != 'i' - @short Locale-independent tqstricmp. - */ - public static native int kasciistricmp(String str1, String str2); - public static native TQDataStream op_write(TQDataStream s, KSSLCertificate r); - public static native TQDataStream op_read(TQDataStream s, KSSLCertificate r); - public static native int op_equals(KSSLCertificate x, KSSLCertificate y); - public static native int op_not_equals(KSSLCertificate x, KSSLCertificate y); - // TQDataStream& op_read(TQDataStream& arg1,KProtocolInfo::ExtraField& arg2); >>>> NOT CONVERTED - // TQDataStream& op_write(TQDataStream& arg1,const KProtocolInfo::ExtraField& arg2); >>>> NOT CONVERTED - /** - {@link TDEGlobal} - Check, if a file may be accessed in a given mode. - This is a wrapper around the access() system call. - checkAccess() calls access() with the given parameters. - If this is OK, checkAccess() returns true. If not, and W_OK - is part of mode, it is checked if there is write access to - the directory. If yes, checkAccess() returns true. - In all other cases checkAccess() returns false. - Other than access() this function EXPLICITLY ignores non-existant - files if checking for write access. - @param pathname The full path of the file you want to test - @param mode The access mode, as in the access() system call. - @return Whether the access is allowed, true = Access allowed - - @short {@link TDEGlobal} Check, if a file may be accessed in a given mode. - */ - public static native boolean checkAccess(String pathname, int mode); - public static native TQDataStream op_write(TQDataStream s, KSSLCertDlgRet r); - public static native TQDataStream op_read(TQDataStream s, KSSLCertDlgRet r); - public static native TQDataStream op_write(TQDataStream str, boolean b); - public static native TQDataStream op_read(TQDataStream str, boolean b); - public static native TQDataStream op_write(TQDataStream str, long ll); - // TQDataStream& op_read(TQDataStream& arg1,long long int& arg2); >>>> NOT CONVERTED - // TQDataStream& op_read(TQDataStream& arg1,unsigned long long int& arg2); >>>> NOT CONVERTED - /** - Convert an ASN1 UTCTIME value to a string. Uses TDELocale settings. - @param tm the OpenSSL ASN1_UTCTIME pointer - @return the date formatted in a String - - @short Convert an ASN1 UTCTIME value to a string. - @see ASN1_UTCTIME_QDateTime - */ - // TQString ASN1_UTCTIME_QString(ASN1_UTCTIME* arg1); >>>> NOT CONVERTED - /** - Convert an ASN1 UTCTIME value to a Calendar. Uses TDELocale settings. - @param tm the OpenSSL ASN1_UTCTIME pointer - @param isGmt set to 1 if the date is set to GMT - @return the date formatted in a TQDateTime - - @short Convert an ASN1 UTCTIME value to a TQDateTime. - */ - // TQDateTime ASN1_UTCTIME_QDateTime(ASN1_UTCTIME* arg1,int* arg2); >>>> NOT CONVERTED - /** - Convert an ASN1 INTEGER value to a string. - @param aint the OpenSSL ASN1_INTEGER pointer - @return the number formatted in a String - - @short Convert an ASN1 INTEGER value to a string. - */ - // TQString ASN1_INTEGER_QString(ASN1_INTEGER* arg1); >>>> NOT CONVERTED - /** - {@link TDEIconLoader} - Load a desktop icon. - @short {@link TDEIconLoader} Load a desktop icon. - */ - public static native TQPixmap DesktopIcon(String name, int size, int state, TDEInstanceInterface instance); - public static native TQPixmap DesktopIcon(String name, int size, int state); - public static native TQPixmap DesktopIcon(String name, int size); - public static native TQPixmap DesktopIcon(String name); - /** - {@link TDEIconLoader} - Load a desktop icon. - @short {@link TDEIconLoader} Load a desktop icon. - */ - public static native TQPixmap DesktopIcon(String name, TDEInstanceInterface instance); - /** - {@link TDEIconLoader} - Load a desktop icon, and apply the necessary effects to get an IconSet. - @short {@link TDEIconLoader} Load a desktop icon, and apply the necessary effects to get an IconSet. - */ - public static native TQIconSet DesktopIconSet(String name, int size, TDEInstanceInterface instance); - public static native TQIconSet DesktopIconSet(String name, int size); - public static native TQIconSet DesktopIconSet(String name); - /** - {@link TDEIconLoader} - Load a toolbar icon. - @short {@link TDEIconLoader} Load a toolbar icon. - */ - public static native TQPixmap BarIcon(String name, int size, int state, TDEInstanceInterface instance); - public static native TQPixmap BarIcon(String name, int size, int state); - public static native TQPixmap BarIcon(String name, int size); - public static native TQPixmap BarIcon(String name); - /** - {@link TDEIconLoader} - Load a toolbar icon. - @short {@link TDEIconLoader} Load a toolbar icon. - */ - public static native TQPixmap BarIcon(String name, TDEInstanceInterface instance); - /** - {@link TDEIconLoader} - Load a toolbar icon, and apply the necessary effects to get an IconSet. - @short {@link TDEIconLoader} Load a toolbar icon, and apply the necessary effects to get an IconSet. - */ - public static native TQIconSet BarIconSet(String name, int size, TDEInstanceInterface instance); - public static native TQIconSet BarIconSet(String name, int size); - public static native TQIconSet BarIconSet(String name); - /** - {@link TDEIconLoader} - Load a small icon. - @short {@link TDEIconLoader} Load a small icon. - */ - public static native TQPixmap SmallIcon(String name, int size, int state, TDEInstanceInterface instance); - public static native TQPixmap SmallIcon(String name, int size, int state); - public static native TQPixmap SmallIcon(String name, int size); - public static native TQPixmap SmallIcon(String name); - /** - {@link TDEIconLoader} - Load a small icon. - @short {@link TDEIconLoader} Load a small icon. - */ - public static native TQPixmap SmallIcon(String name, TDEInstanceInterface instance); - /** - {@link TDEIconLoader} - Load a small icon, and apply the necessary effects to get an IconSet. - @short {@link TDEIconLoader} Load a small icon, and apply the necessary effects to get an IconSet. - */ - public static native TQIconSet SmallIconSet(String name, int size, TDEInstanceInterface instance); - public static native TQIconSet SmallIconSet(String name, int size); - public static native TQIconSet SmallIconSet(String name); - /** - {@link TDEIconLoader} - Load a main toolbar icon. - @short {@link TDEIconLoader} Load a main toolbar icon. - */ - public static native TQPixmap MainBarIcon(String name, int size, int state, TDEInstanceInterface instance); - public static native TQPixmap MainBarIcon(String name, int size, int state); - public static native TQPixmap MainBarIcon(String name, int size); - public static native TQPixmap MainBarIcon(String name); - /** - {@link TDEIconLoader} - Load a main toolbar icon. - @short {@link TDEIconLoader} Load a main toolbar icon. - */ - public static native TQPixmap MainBarIcon(String name, TDEInstanceInterface instance); - /** - {@link TDEIconLoader} - Load a main toolbar icon, and apply the effects to get an IconSet. - @short {@link TDEIconLoader} Load a main toolbar icon, and apply the effects to get an IconSet. - */ - public static native TQIconSet MainBarIconSet(String name, int size, TDEInstanceInterface instance); - public static native TQIconSet MainBarIconSet(String name, int size); - public static native TQIconSet MainBarIconSet(String name); - /** - {@link TDEIconLoader} - Load a user icon. User icons are searched in $appdir/pics. - @short {@link TDEIconLoader} Load a user icon. - */ - public static native TQPixmap UserIcon(String name, int state, TDEInstanceInterface instance); - public static native TQPixmap UserIcon(String name, int state); - public static native TQPixmap UserIcon(String name); - /** - {@link TDEIconLoader} - Load a user icon. User icons are searched in $appdir/pics. - @short {@link TDEIconLoader} Load a user icon. - */ - public static native TQPixmap UserIcon(String name, TDEInstanceInterface instance); - /** - {@link TDEIconLoader} - Load a user icon, and apply the effects to get an IconSet. - @short {@link TDEIconLoader} Load a user icon, and apply the effects to get an IconSet. - */ - public static native TQIconSet UserIconSet(String name, TDEInstanceInterface instance); - public static native TQIconSet UserIconSet(String name); - /** - {@link TDEIconLoader} - Returns the current icon size for a specific group. - @short {@link TDEIconLoader} Returns the current icon size for a specific group. - */ - public static native int IconSize(int group, TDEInstanceInterface instance); - public static native int IconSize(int group); - /** - \addtogroup locates Locate Functions - @{ - On The Usage Of 'locate' and 'locateLocal' - Typical KDE applications use resource files in one out of - three ways: - 1) A resource file is read but is never written. A system - default is supplied but the user can override this - default in his local .kde directory: -
      -		    // Code example
      -		    myFile = locate("appdata", "groups.lst");
      -		    myData =  myReadGroups(myFile); // myFile may be null
      -		    
      - 2) A resource file is read and written. If the user has no - local version of the file the system default is used. - The resource file is always written to the users local - .kde directory. -
      -		    // Code example
      -		    myFile = locate("appdata", "groups.lst")
      -		    myData =  myReadGroups(myFile);
      -		    ...
      -		    doSomething(myData);
      -		    ...
      -		    myFile = locateLocal("appdata", "groups.lst");
      -		    myWriteGroups(myFile, myData);
      -		    
      - 3) A resource file is read and written. No system default - is used if the user has no local version of the file. - The resource file is always written to the users local - .kde directory. -
      -		    // Code example
      -		    myFile = locateLocal("appdata", "groups.lst");
      -		    myData =  myReadGroups(myFile);
      -		    ...
      -		    doSomething(myData);
      -		    ...
      -		    myFile = locateLocal("appdata", "groups.lst");
      -		    myWriteGroups(myFile, myData);
      -		    
      - @short \addtogroup locates Locate Functions @{ On The Usage Of 'locate' and 'locateLocal' - */ - public static native String locate(String type, String filename, TDEInstanceInterface instance); - public static native String locate(String type, String filename); - public static native String locateLocal(String type, String filename, TDEInstanceInterface instance); - public static native String locateLocal(String type, String filename); - public static native String locateLocal(String type, String filename, boolean createDir, TDEInstanceInterface instance); - public static native String locateLocal(String type, String filename, boolean createDir); - public static native int op_incr(int group); - public static native int op_incr(int group, int arg2); - public static native TQDataStream op_write(TQDataStream s, int p); - public static native TQDataStream op_read(TQDataStream s, int p); - /** - {@link TDEStyle} - #include <kdrawutil.h> - Draws a Next-style button (solid black shadow with light and midlight highlight). - @param p The painter to use for drawing the button. - @param r Specifies the rect in which to draw the button. - @param g Specifies the shading colors. - @param sunken Whether to draw the button as sunken (pressed) or not. - @param fill The brush to use for filling the interior of the button. - Pass null to prevent the button from being filled. - @short {@link TDEStyle} @c \#include @c #include <kdrawutil.h> - Draws a Be-style button. - @param p The painter to use for drawing the button. - @param r Specifies the rect in which to draw the button. - @param g Specifies the shading colors. - @param sunken Whether to draw the button as sunken (pressed) or not. - @param fill The brush to use for filling the interior of the button. - Pass null to prevent the button from being filled. - @short {@link TDEStyle} @c \#include @c #include <kdrawutil.h> - @overload - @short {@link TDEStyle} @c \#include @c #include <kdrawutil.h> - Draws a rounded oval button. This function doesn't fill the button. - See kRoundMaskRegion() for setting masks for fills. - @param p The painter to use for drawing the button. - @param r Specifies the rect in which to draw the button. - @param g Specifies the shading colors. - @param sunken Whether to draw the button as sunken (pressed) or not. - @short {@link TDEStyle} @c \#include @c #include <kdrawutil.h> - Sets a region to the pixels covered by a round button of the given - size. You can use this to set clipping regions. - @param r Reference to the region to set. - @param x The X coordinate of the button. - @param y The Y coordinate of the button. - @param w The width of the button. - @param h The height of the button. - @short {@link TDEStyle} @c \#include @c #include <kdrawutil.h> - Paints the pixels covered by a round button of the given size with - Qt.color1. This function is useful in TQStyle.drawControlMask(). - @param p The painter to use for drawing the button. - @param x The X coordinate of the button. - @param y The Y coordinate of the button. - @param w The width of the button. - @param h The height of the button. - @param clear Whether to clear the rectangle specified by (x, y, w, h) to - Qt.color0 before drawing the mask. - @short {@link TDEStyle} @c \#include @c #include <kdrawutil.h> - Paints the provided bitmaps in the painter, using the supplied colorgroup for - the foreground colors. There's one bitmap for each color. If you want to skip - a color, pass null for the corresponding bitmap. - @note The bitmaps will be self-masked automatically if not masked - prior to calling this routine. - @param p The painter to use for drawing the bitmaps. - @param g Specifies the shading colors. - @param x The X coordinate at which to draw the bitmaps. - @param y The Y coordinate at which to draw the bitmaps. - @param lightColor The bitmap to use for the light part. - @param midColor The bitmap to use for the mid part. - @param midlightColor The bitmap to use for the midlight part. - @param darkColor The bitmap to use for the dark part. - @param blackColor The bitmap to use for the black part. - @param whiteColor The bitmap to use for the white part. - @short {@link TDEStyle} @c \#include @c #include <kdrawutil.h> - @overload - @short {@link TDEStyle} @c \#include @c >>> NOT CONVERTED - // TQDataStream& op_write(TQDataStream& arg1,const DCOPArg& arg2); >>>> NOT CONVERTED - // TQDataStream& op_write(TQDataStream& arg1,const DCOPRef& arg2); >>>> NOT CONVERTED - // TQDataStream& op_read(TQDataStream& arg1,DCOPRef& arg2); >>>> NOT CONVERTED - public static native TQDataStream op_write(TQDataStream s, KFileMetaInfoItem arg2); - public static native TQDataStream op_read(TQDataStream s, KFileMetaInfoItem arg2); - public static native TQDataStream op_write(TQDataStream s, KFileMetaInfoGroup arg2); - public static native TQDataStream op_read(TQDataStream s, KFileMetaInfoGroup arg2); - public static native TQDataStream op_write(TQDataStream s, KFileMetaInfo arg2); - public static native TQDataStream op_read(TQDataStream s, KFileMetaInfo arg2); - // TQDataStream& op_read(TQDataStream& arg1,TDEIO::UDSAtom& arg2); >>>> NOT CONVERTED - // TQDataStream& op_write(TQDataStream& arg1,const TDEIO::UDSAtom& arg2); >>>> NOT CONVERTED - // TQDataStream& op_write(TQDataStream& arg1,const TDEIO::UDSEntry& arg2); >>>> NOT CONVERTED - // TQDataStream& op_read(TQDataStream& arg1,TDEIO::UDSEntry& arg2); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/KDEDesktopMimeType.java b/kdejava/koala/org/kde/koala/KDEDesktopMimeType.java deleted file mode 100644 index 2f0e3935..00000000 --- a/kdejava/koala/org/kde/koala/KDEDesktopMimeType.java +++ /dev/null @@ -1,116 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQPixmap; -import java.util.ArrayList; - -/** - - Mime type for desktop files. - Handles mount/umount icon, and user-defined properties. - @short Mimetype for a .desktop file. - -*/ -public class KDEDesktopMimeType extends KMimeType { - protected KDEDesktopMimeType(Class dummy){super((Class) null);} - public static final int ST_MOUNT = 0; - public static final int ST_UNMOUNT = 1; - public static final int ST_USER_DEFINED = 2; - - /** - Construct a desktop mimetype and take all information from a desktop file. - @param config the desktop configuration file that describes the mime type - @short Construct a desktop mimetype and take all information from a desktop file. - */ - public KDEDesktopMimeType(KDesktopFile config) { - super((Class) null); - newKDEDesktopMimeType(config); - } - private native void newKDEDesktopMimeType(KDesktopFile config); - /** \internal @short \internal - */ - public KDEDesktopMimeType(TQDataStream _str, int offset) { - super((Class) null); - newKDEDesktopMimeType(_str,offset); - } - private native void newKDEDesktopMimeType(TQDataStream _str, int offset); - public native String icon(String _url, boolean _is_local); - public native String icon(KURL _url, boolean _is_local); - public native TQPixmap pixmap(KURL _url, int _group, int _force_size, int _state, StringBuffer _path); - public native TQPixmap pixmap(KURL _url, int _group, int _force_size, int _state); - public native TQPixmap pixmap(KURL _url, int _group, int _force_size); - public native TQPixmap pixmap(KURL _url, int _group); - public native String comment(String _url, boolean _is_local); - public native String comment(KURL _url, boolean _is_local); - /** - Returns a list of services for the given .desktop file that are handled - by tdeio itself. Namely mount/unmount for FSDevice files. - @return the list of services - - @short Returns a list of services for the given . - */ - // TQValueList builtinServices(const KURL& arg1); >>>> NOT CONVERTED - /** - Returns a list of services defined by the user as possible actions - on the given .desktop file. May include empty actions which represent where - visual separators should appear in user-visible representations of those actions, - such as separators in a menu. - @param path the path to the desktop file describing the services - @param bLocalFiles true if those services are to be applied to local files only - (if false, services that don't have %u or %U in the Exec line won't be taken into account). - @return the list of user deviced actions - - @short Returns a list of services defined by the user as possible actions on the given . - */ - // TQValueList userDefinedServices(const TQString& arg1,bool arg2); >>>> NOT CONVERTED - /** - Overload of userDefinedServices for speed purposes: it takes a TDEConfig so that - the caller can check things in the file without having it parsed twice. - @short Overload of userDefinedServices for speed purposes: it takes a TDEConfig so that the caller can check things in the file without having it parsed twice. - */ - // TQValueList userDefinedServices(const TQString& arg1,TDEConfig& arg2,bool arg3); >>>> NOT CONVERTED - /** - Overload of userDefinedServices but also allows you to pass a list of urls for this file. - This allows for the menu to be changed depending on the exact files via - the X-TDE-GetActionMenu extension. - @short Overload of userDefinedServices but also allows you to pass a list of urls for this file. - */ - // TQValueList userDefinedServices(const TQString& arg1,TDEConfig& arg2,bool arg3,const KURL::List& arg4); >>>> NOT CONVERTED - /** - Execute service on the list of urls. - @param urls the list of urls - @param service the service to execute - @short Execute service on the list of urls. - */ - // void executeService(const KURL::List& arg1,KDEDesktopMimeType::Service& arg2); >>>> NOT CONVERTED - /** - Invokes the default action for the desktop entry. If the desktop - entry is not local, then only false is returned. Otherwise we - would create a security problem. Only types Link and Mimetype - could be followed. - @param _url the url to run - @param _is_local true if the URL is local, false otherwise - @return true on success and false on failure. - - @short Invokes the default action for the desktop entry. - @see KRun#runURL - */ - public static native int run(KURL _url, boolean _is_local); - public native TQPixmap pixmap(int group, int force_size, int state, StringBuffer path); - public native TQPixmap pixmap(int group, int force_size, int state); - public native TQPixmap pixmap(int group, int force_size); - public native TQPixmap pixmap(int group); - protected static native int runFSDevice(KURL _url, KSimpleConfig cfg); - protected static native int runApplication(KURL _url, String _serviceFile); - protected static native int runLink(KURL _url, KSimpleConfig cfg); - protected static native int runMimeType(KURL _url, KSimpleConfig cfg); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDataTool.java b/kdejava/koala/org/kde/koala/KDataTool.java deleted file mode 100644 index d56a95c4..00000000 --- a/kdejava/koala/org/kde/koala/KDataTool.java +++ /dev/null @@ -1,74 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - A generic tool that processes data. - A data-tool is a "plugin" for an application, that acts (reads/modifies) - on a portion of the data present in the document (e.g. a text document, - a single word or paragraph, a KSpread cell, an image, etc.) - The application has some generic code for presenting the tools in a popupmenu - @short A generic tool that processes data. - @see KDataToolAction - @see #for - @see #activating - @see #a - @see #tool - @see #passing - @see #it - @see #the - @see #data - @see (and - @see #possibly - @see #getting - @see #modified - @see #data - @see #from - @see #it)# - -*/ -public class KDataTool extends TQObject { - protected KDataTool(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor - The data-tool is only created when a menu-item, that relates to it, is activated. - @param parent the parent of the TQObject (or 0 for parent-less KDataTools) - @param name the name of the TQObject, can be 0 - @short Constructor The data-tool is only created when a menu-item, that relates to it, is activated. - */ - /** - @short - */ - public native void setInstance(TDEInstanceInterface instance); - /** - Returns the instance of the part that created this tool. - Usually used if the tool wants to read its configuration in the app's config file. - @return the instance of the part that created this tool. - - @short Returns the instance of the part that created this tool. - */ - public native TDEInstanceInterface instance(); - /** - Interface for 'running' this tool. - This is the method that the data-tool must implement. - @param command is the command that was selected (see KDataToolInfo.commands()) - @param data the data provided by the application, on which to run the tool. - The application is responsible for setting that data before running the tool, - and for getting it back and updating itself with it, after the tool ran. - @param datatype defines the type of data. - @param mimetype defines the mimetype of the data (for instance datatype may be - String, but the mimetype can be text/plain, text/html etc.) - @return true if successful, false otherwise - - @short Interface for 'running' this tool. - */ - // bool run(const TQString& arg1,void* arg2,const TQString& arg3,const TQString& arg4); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/KDataToolAction.java b/kdejava/koala/org/kde/koala/KDataToolAction.java deleted file mode 100644 index c47a06e3..00000000 --- a/kdejava/koala/org/kde/koala/KDataToolAction.java +++ /dev/null @@ -1,78 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** - - This class helps applications implement support for KDataTool. - The steps to follow are simple: - -
    • - query for the available tools using KDataToolInfo.query -
    • - -
    • - pass the result to KDataToolAction.dataToolActionList (with a slot) -
    • - -
    • - plug the resulting actions, either using KXMLGUIClient.plugActionList, or by hand. -
    • - The slot defined for step 2 is called when the action is activated, and - that's where the tool should be created and run. - See {@link KDataToolActionSignals} for signals emitted by KDataToolAction - @short This class helps applications implement support for KDataTool. - -*/ -public class KDataToolAction extends TDEAction { - protected KDataToolAction(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a new KDataToolAction. - @param text The text that will be displayed. - @param info the corresponding KDataToolInfo - @param command the command of the action - @param parent This action's parent. - @param name An internal name for this action. - @short Constructs a new KDataToolAction. - */ - public KDataToolAction(String text, KDataToolInfo info, String command, TQObject parent, String name) { - super((Class) null); - newKDataToolAction(text,info,command,parent,name); - } - private native void newKDataToolAction(String text, KDataToolInfo info, String command, TQObject parent, String name); - public KDataToolAction(String text, KDataToolInfo info, String command, TQObject parent) { - super((Class) null); - newKDataToolAction(text,info,command,parent); - } - private native void newKDataToolAction(String text, KDataToolInfo info, String command, TQObject parent); - public KDataToolAction(String text, KDataToolInfo info, String command) { - super((Class) null); - newKDataToolAction(text,info,command); - } - private native void newKDataToolAction(String text, KDataToolInfo info, String command); - /** - Creates a list of actions from a list of information about data-tools. - The slot must have a signature corresponding to the toolActivated signal. - Note that it's the caller's responsibility to delete the actions when they're not needed anymore. - @param tools the list of data tool descriptions - @param receiver the receiver for toolActivated() signals - @param slot the slot that will receive the toolActivated() signals - @return the TDEActions - - @short Creates a list of actions from a list of information about data-tools. - */ - // TQPtrList dataToolActionList(const TQValueList& arg1,const TQObject* arg2,const char* arg3); >>>> NOT CONVERTED - protected native void slotActivated(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDataToolActionSignals.java b/kdejava/koala/org/kde/koala/KDataToolActionSignals.java deleted file mode 100644 index b30496bf..00000000 --- a/kdejava/koala/org/kde/koala/KDataToolActionSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface KDataToolActionSignals { - /** - Emitted when a tool has been activated. - @param info a description of the activated tools - @param command the command for the tool - @short Emitted when a tool has been activated. - */ - void toolActivated(KDataToolInfo info, String command); -} diff --git a/kdejava/koala/org/kde/koala/KDataToolInfo.java b/kdejava/koala/org/kde/koala/KDataToolInfo.java deleted file mode 100644 index a02d5565..00000000 --- a/kdejava/koala/org/kde/koala/KDataToolInfo.java +++ /dev/null @@ -1,160 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.ArrayList; - -/** - - This is a convenience class for KService. You can use it if you have - a KService describing a KDataTool. In this case the KDataToolInfo class - is more convenient to work with. - Especially useful is the method createTool which creates the datatool - described by the service. - @short This is a convenience class for KService. - @see KDataTool - -*/ -public class KDataToolInfo implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KDataToolInfo(Class dummy){} - - /** - Create an invalid KDataToolInfo. - @short Create an invalid KDataToolInfo. - */ - public KDataToolInfo() { - newKDataToolInfo(); - } - private native void newKDataToolInfo(); - /** - Create a valid KDataToolInfo. - @param service the corresponding service - @param instance the instance to use - @short Create a valid KDataToolInfo. - */ - // KDataToolInfo* KDataToolInfo(const KService::Ptr& arg1,TDEInstance* arg2); >>>> NOT CONVERTED - /** - Copy constructor. - @short Copy constructor. - */ - public KDataToolInfo(KDataToolInfo info) { - newKDataToolInfo(info); - } - private native void newKDataToolInfo(KDataToolInfo info); - /** - Returns the data type that the DataTool can accept. - @return the C++ data type that this DataTool accepts. - For example "String" or "TQImage" or something more - complicated. - - @short Returns the data type that the DataTool can accept. - */ - public native String dataType(); - /** - Returns a list of mime type that will be accepted by the DataTool. - The mimetypes are only used if the dataType can be used to store - different mimetypes. For example in a "String" you could save "text/plain" - or "text/html" or "text/xml". - @return the mime types accepted by this DataTool. For example - "image/gif" or "text/plain". In some cases the dataType - determines the accepted type of data perfectly. In this cases - this list may be empty. - - @short Returns a list of mime type that will be accepted by the DataTool. - */ - public native ArrayList mimeTypes(); - /** - Checks whether the DataTool is read-only. - @return true if the DataTool does not modify the data passed to it by KDataTool.run. - - @short Checks whether the DataTool is read-only. - */ - public native boolean isReadOnly(); - /** - Returns the icon name for this DataTool. - @return the name of the icon for the DataTool - - @short Returns the icon name for this DataTool. - */ - public native String iconName(); - /** - Returns a list of strings that you can put in a TQPopupMenu item, for example to - offer the DataTools services to the user. The returned value - is usually something like "Spell checking", "Shrink Image", "Rotate Image" - or something like that. - This list comes from the Comment field of the tool's desktop file - (so that it can be translated). - Each of the strings returned corresponds to a string in the list returned by - commands. - @return a list of strings that you can put in a TQPopupMenu item - - @short Returns a list of strings that you can put in a TQPopupMenu item, for example to offer the DataTools services to the user. - */ - public native ArrayList userCommands(); - /** - Returns the list of commands the DataTool can execute. The application - passes the command to the KDataTool.run method. - This list comes from the Commands field of the tool's desktop file. - Each of the strings returned corresponds to a string in the list returned by - userCommands. - @return the list of commands the DataTool can execute, suitable for - the KDataTool.run method. - - @short Returns the list of commands the DataTool can execute. - */ - public native ArrayList commands(); - /** - Creates the data tool described by this KDataToolInfo. - @param parent the parent of the TQObject (or 0 for parent-less KDataTools) - @param name the name of the TQObject, can be 0 - @return a pointer to the created data tool or 0 on error. - - @short Creates the data tool described by this KDataToolInfo. - */ - public native KDataTool createTool(TQObject parent, String name); - public native KDataTool createTool(TQObject parent); - public native KDataTool createTool(); - /** - The KDataToolInfo's service that is represented by this class. - @return the service - - @short The KDataToolInfo's service that is represented by this class. - */ - // KService::Ptr service(); >>>> NOT CONVERTED - /** - The instance of the service. - @return the instance - - @short The instance of the service. - */ - public native TDEInstanceInterface instance(); - /** - A DataToolInfo may be invalid if the KService passed to its constructor does - not feature the service type "KDataTool". - @return true if valid, false otherwise - - @short A DataToolInfo may be invalid if the KService passed to its constructor does not feature the service type "KDataTool". - */ - public native boolean isValid(); - /** - Queries the TDETrader about installed KDataTool implementations. - @param datatype a type that the application can 'export' to the tools (e.g. String) - @param mimetype the mimetype of the data (e.g. text/plain) - @param instance the application (or the part)'s instance (to check if a tool is excluded from this part, - and also used if the tool wants to read its configuration in the app's config file). - @return the list of results - - @short Queries the TDETrader about installed KDataTool implementations. - */ - // TQValueList query(const TQString& arg1,const TQString& arg2,TDEInstance* arg3); >>>> NOT CONVERTED - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDatePicker.java b/kdejava/koala/org/kde/koala/KDatePicker.java deleted file mode 100644 index a3711a08..00000000 --- a/kdejava/koala/org/kde/koala/KDatePicker.java +++ /dev/null @@ -1,176 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import java.util.Calendar; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQFrame; - -/** - - Provides a widget for calendar date input. - Different from the - previous versions, it now emits two types of signals, either - dateSelected() or dateEntered() (see documentation for both - signals). - A line edit has been added in the newer versions to allow the user - to select a date directly by entering numbers like 19990101 - or 990101. - \image html kdatepicker.png "KDE Date Widget" - See {@link KDatePickerSignals} for signals emitted by KDatePicker - @author Tim Gilman, Mirko Boehm - - @version $Id$ - - @short A date selection widget. - -*/ -public class KDatePicker extends TQFrame { - protected KDatePicker(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** The usual constructor. The given date will be displayed - initially. - @short The usual constructor. - */ - public KDatePicker(TQWidget parent, Calendar arg2, String name) { - super((Class) null); - newKDatePicker(parent,arg2,name); - } - private native void newKDatePicker(TQWidget parent, Calendar arg2, String name); - public KDatePicker(TQWidget parent, Calendar arg2) { - super((Class) null); - newKDatePicker(parent,arg2); - } - private native void newKDatePicker(TQWidget parent, Calendar arg2); - public KDatePicker(TQWidget parent) { - super((Class) null); - newKDatePicker(parent); - } - private native void newKDatePicker(TQWidget parent); - public KDatePicker() { - super((Class) null); - newKDatePicker(); - } - private native void newKDatePicker(); - /** The usual constructor. The given date will be displayed - initially. - @short The usual constructor. - */ - public KDatePicker(TQWidget parent, Calendar arg2, String name, int f) { - super((Class) null); - newKDatePicker(parent,arg2,name,f); - } - private native void newKDatePicker(TQWidget parent, Calendar arg2, String name, int f); - /** - Standard qt widget constructor. The initial date will be the - current date. - @short Standard qt widget constructor. - */ - public KDatePicker(TQWidget parent, String name) { - super((Class) null); - newKDatePicker(parent,name); - } - private native void newKDatePicker(TQWidget parent, String name); - /** The size hint for date pickers. The size hint recommends the - minimum size of the widget so that all elements may be placed - without clipping. This sometimes looks ugly, so when using the - size hint, try adding 28 to each of the reported numbers of - pixels. - @short The size hint for date pickers. - */ - public native TQSize sizeHint(); - /** - Sets the date. - @return false and does not change anything - if the date given is invalid. - - @short Sets the date. - */ - public native boolean setDate(Calendar arg1); - /** - @return the selected date. - - @short - */ - public native Calendar date(); - /** - Enables or disables the widget. - @short Enables or disables the widget. - */ - public native void setEnabled(boolean arg1); - /** - @return the KDateTable widget child of this KDatePicker - widget. - - @short - */ - public native KDateTable dateTable(); - /** - Sets the font size of the widgets elements. - @short Sets the font size of the widgets elements. - */ - public native void setFontSize(int arg1); - /** - Returns the font size of the widget elements. - @short Returns the font size of the widget elements. - */ - public native int fontSize(); - /** - By calling this method with enable = true, KDatePicker will show - a little close-button in the upper button-row. Clicking the - close-button will cause the KDatePicker's topLevelWidget()'s close() - method being called. This is mostly useful for toplevel datepickers - without a window manager decoration. - @short By calling this method with enable = true, KDatePicker will show a little close-button in the upper button-row. - @see #hasCloseButton - */ - public native void setCloseButton(boolean enable); - /** - @return true if a KDatePicker shows a close-button. - - @short - @see #setCloseButton - */ - public native boolean hasCloseButton(); - public native boolean eventFilter(TQObject o, TQEvent e); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void dateChangedSlot(Calendar arg1); - protected native void tableClickedSlot(); - protected native void monthForwardClicked(); - protected native void monthBackwardClicked(); - protected native void yearForwardClicked(); - protected native void yearBackwardClicked(); - /** - @short - */ - protected native void selectMonthClicked(); - /** - @short - */ - protected native void selectYearClicked(); - /** - @short - */ - protected native void lineEnterPressed(); - /** - @short - */ - protected native void todayButtonClicked(); - /** - @short - */ - protected native void weekSelected(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDatePickerSignals.java b/kdejava/koala/org/kde/koala/KDatePickerSignals.java deleted file mode 100644 index 637413da..00000000 --- a/kdejava/koala/org/kde/koala/KDatePickerSignals.java +++ /dev/null @@ -1,41 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import java.util.Calendar; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KDatePickerSignals { - /** This signal is emitted each time the selected date is changed. - Usually, this does not mean that the date has been entered, - since the date also changes, for example, when another month is - selected. - @short This signal is emitted each time the selected date is changed. - @see #dateSelected - */ - void dateChanged(Calendar arg1); - /** This signal is emitted each time a day has been selected by - clicking on the table (hitting a day in the current month). It - has the same meaning as dateSelected() in older versions of - KDatePicker. - @short This signal is emitted each time a day has been selected by clicking on the table (hitting a day in the current month). - */ - void dateSelected(Calendar arg1); - /** This signal is emitted when enter is pressed and a VALID date - has been entered before into the line edit. Connect to both - dateEntered() and dateSelected() to receive all events where the - user really enters a date. - @short This signal is emitted when enter is pressed and a VALID date has been entered before into the line edit. - */ - void dateEntered(Calendar arg1); - /** This signal is emitted when the day has been selected by - clicking on it in the table. - @short This signal is emitted when the day has been selected by clicking on it in the table. - */ - void tableClicked(); -} diff --git a/kdejava/koala/org/kde/koala/KDateTable.java b/kdejava/koala/org/kde/koala/KDateTable.java deleted file mode 100644 index d5ca30b9..00000000 --- a/kdejava/koala/org/kde/koala/KDateTable.java +++ /dev/null @@ -1,167 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import java.util.Calendar; -import org.kde.qt.TQPainter; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQGridView; - -/** - - Date selection table. - This is a support class for the KDatePicker class. It just - draws the calender table without titles, but could theoretically - be used as a standalone. - When a date is selected by the user, it emits a signal: - dateSelected(Calendar) - See {@link KDateTableSignals} for signals emitted by KDateTable - @author Tim Gilman, Mirko Boehm - - @version $Id$ - - @short Date selection table. - -*/ -public class KDateTable extends TQGridView { - protected KDateTable(Class dummy){super((Class) null);} - public static final int NoBgMode = 0; - public static final int RectangleMode = 1; - public static final int CircleMode = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - The constructor. - @short The constructor. - */ - public KDateTable(TQWidget parent, Calendar date, String name, int f) { - super((Class) null); - newKDateTable(parent,date,name,f); - } - private native void newKDateTable(TQWidget parent, Calendar date, String name, int f); - public KDateTable(TQWidget parent, Calendar date, String name) { - super((Class) null); - newKDateTable(parent,date,name); - } - private native void newKDateTable(TQWidget parent, Calendar date, String name); - public KDateTable(TQWidget parent, Calendar date) { - super((Class) null); - newKDateTable(parent,date); - } - private native void newKDateTable(TQWidget parent, Calendar date); - public KDateTable(TQWidget parent) { - super((Class) null); - newKDateTable(parent); - } - private native void newKDateTable(TQWidget parent); - public KDateTable() { - super((Class) null); - newKDateTable(); - } - private native void newKDateTable(); - /** - The constructor. - @short The constructor. - */ - public KDateTable(TQWidget parent, String name, int f) { - super((Class) null); - newKDateTable(parent,name,f); - } - private native void newKDateTable(TQWidget parent, String name, int f); - public KDateTable(TQWidget parent, String name) { - super((Class) null); - newKDateTable(parent,name); - } - private native void newKDateTable(TQWidget parent, String name); - /** - Returns a recommended size for the widget. - To save some time, the size of the largest used cell content is - calculated in each paintCell() call, since all calculations have - to be done there anyway. The size is stored in maxCell. The - sizeHint() simply returns a multiple of maxCell. - @short Returns a recommended size for the widget. - */ - public native TQSize sizeHint(); - /** - Set the font size of the date table. - @short Set the font size of the date table. - */ - public native void setFontSize(int size); - /** - Select and display this date. - @short Select and display this date. - */ - public native boolean setDate(Calendar arg1); - public native Calendar getDate(); - /** - Enables a popup menu when right clicking on a date. - When it's enabled, this object emits a aboutToShowContextMenu signal - where you can fill in the menu items. - @short Enables a popup menu when right clicking on a date. - */ - public native void setPopupMenuEnabled(boolean enable); - /** - Returns if the popup menu is enabled or not - @short Returns if the popup menu is enabled or not - */ - public native boolean popupMenuEnabled(); - /** - Makes a given date be painted with a given foregroundColor, and background - (a rectangle, or a circle/ellipse) in a given color. - @short Makes a given date be painted with a given foregroundColor, and background (a rectangle, or a circle/ellipse) in a given color. - */ - public native void setCustomDatePainting(Calendar date, TQColor fgColor, int bgMode, TQColor bgColor); - public native void setCustomDatePainting(Calendar date, TQColor fgColor, int bgMode); - public native void setCustomDatePainting(Calendar date, TQColor fgColor); - /** - Unsets the custom painting of a date so that the date is painted as usual. - @short Unsets the custom painting of a date so that the date is painted as usual. - */ - public native void unsetCustomDatePainting(Calendar date); - /** - calculate the position of the cell in the matrix for the given date. The result is the 0-based index. - @short calculate the position of the cell in the matrix for the given date. - */ - protected native int posFromDate(Calendar date); - /** - calculate the date that is displayed at a given cell in the matrix. pos is the - 0-based index in the matrix. Inverse function to posForDate(). - @short calculate the date that is displayed at a given cell in the matrix. - */ - protected native Calendar dateFromPos(int pos); - /** - Paint a cell. - @short Paint a cell. - */ - public native void paintCell(TQPainter arg1, int arg2, int arg3); - /** - Handle the resize events. - @short Handle the resize events. - */ - protected native void viewportResizeEvent(TQResizeEvent arg1); - /** - React on mouse clicks that select a date. - @short React on mouse clicks that select a date. - */ - protected native void contentsMousePressEvent(TQMouseEvent arg1); - protected native void wheelEvent(TQWheelEvent e); - protected native void keyPressEvent(TQKeyEvent e); - protected native void focusInEvent(TQFocusEvent e); - protected native void focusOutEvent(TQFocusEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDateTableSignals.java b/kdejava/koala/org/kde/koala/KDateTableSignals.java deleted file mode 100644 index 3317097f..00000000 --- a/kdejava/koala/org/kde/koala/KDateTableSignals.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQSize; -import java.util.Calendar; -import org.kde.qt.TQPainter; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWheelEvent; - -public interface KDateTableSignals { - /** - The selected date changed. - @short The selected date changed. - */ - void dateChanged(Calendar arg1); - /** - This function behaves essentially like the one above. - The selected date changed. - @param cur The current date - @param old The date before the date was changed - @short This function behaves essentially like the one above. - */ - void dateChanged(Calendar cur, Calendar old); - /** - A date has been selected by clicking on the table. - @short A date has been selected by clicking on the table. - */ - void tableClicked(); - /** - A popup menu for a given date is about to be shown (as when the user - right clicks on that date and the popup menu is enabled). Connect - the slot where you fill the menu to this signal. - @short A popup menu for a given date is about to be shown (as when the user right clicks on that date and the popup menu is enabled). - */ - void aboutToShowContextMenu(TDEPopupMenu menu, Calendar date); -} diff --git a/kdejava/koala/org/kde/koala/KDateTimeWidget.java b/kdejava/koala/org/kde/koala/KDateTimeWidget.java deleted file mode 100644 index d97e39fd..00000000 --- a/kdejava/koala/org/kde/koala/KDateTimeWidget.java +++ /dev/null @@ -1,83 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - This widget can be used to display or allow user selection of date and time. - \image html kdatetimewidget.png "KDE Date Time Widget" - See {@link KDateTimeWidgetSignals} for signals emitted by KDateTimeWidget - @author Hans Petter Bieker - - @version $Id$ - - @short A combination of a date and a time selection widget. - @see KDateWidget - -*/ -public class KDateTimeWidget extends TQWidget { - protected KDateTimeWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a date and time selection widget. - @short Constructs a date and time selection widget. - */ - public KDateTimeWidget(TQWidget parent, String name) { - super((Class) null); - newKDateTimeWidget(parent,name); - } - private native void newKDateTimeWidget(TQWidget parent, String name); - public KDateTimeWidget(TQWidget parent) { - super((Class) null); - newKDateTimeWidget(parent); - } - private native void newKDateTimeWidget(TQWidget parent); - public KDateTimeWidget() { - super((Class) null); - newKDateTimeWidget(); - } - private native void newKDateTimeWidget(); - /** - Constructs a date and time selection widget with the initial date and - time set to datetime. - @short Constructs a date and time selection widget with the initial date and time set to datetime. - */ - public KDateTimeWidget(Calendar datetime, TQWidget parent, String name) { - super((Class) null); - newKDateTimeWidget(datetime,parent,name); - } - private native void newKDateTimeWidget(Calendar datetime, TQWidget parent, String name); - public KDateTimeWidget(Calendar datetime, TQWidget parent) { - super((Class) null); - newKDateTimeWidget(datetime,parent); - } - private native void newKDateTimeWidget(Calendar datetime, TQWidget parent); - public KDateTimeWidget(Calendar datetime) { - super((Class) null); - newKDateTimeWidget(datetime); - } - private native void newKDateTimeWidget(Calendar datetime); - /** - Returns the currently selected date and time. - @short Returns the currently selected date and time. - */ - public native Calendar dateTime(); - /** - Changes the selected date and time to datetime. - @short Changes the selected date and time to datetime. - */ - public native void setDateTime(Calendar datetime); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDateTimeWidgetSignals.java b/kdejava/koala/org/kde/koala/KDateTimeWidgetSignals.java deleted file mode 100644 index f4d6b581..00000000 --- a/kdejava/koala/org/kde/koala/KDateTimeWidgetSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import org.kde.qt.TQWidget; - -public interface KDateTimeWidgetSignals { - /** - Emitted whenever the date or time of the widget - is changed, either with setDateTime() or via user selection. - @short Emitted whenever the date or time of the widget is changed, either with setDateTime() or via user selection. - */ - void valueChanged(Calendar datetime); -} diff --git a/kdejava/koala/org/kde/koala/KDateValidator.java b/kdejava/koala/org/kde/koala/KDateValidator.java deleted file mode 100644 index 8740e296..00000000 --- a/kdejava/koala/org/kde/koala/KDateValidator.java +++ /dev/null @@ -1,42 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import org.kde.qt.TQWidget; -import org.kde.qt.TQValidator; - -/** - - Validates user-entered dates. - @short Validates user-entered dates. - -*/ -public class KDateValidator extends TQValidator { - protected KDateValidator(Class dummy){super((Class) null);} - public KDateValidator(TQWidget parent, String name) { - super((Class) null); - newKDateValidator(parent,name); - } - private native void newKDateValidator(TQWidget parent, String name); - public KDateValidator(TQWidget parent) { - super((Class) null); - newKDateValidator(parent); - } - private native void newKDateValidator(TQWidget parent); - public KDateValidator() { - super((Class) null); - newKDateValidator(); - } - private native void newKDateValidator(); - public native int validate(StringBuffer arg1, int[] arg2); - public native void fixup(StringBuffer input); - public native int date(String arg1, Calendar arg2); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDateWidget.java b/kdejava/koala/org/kde/koala/KDateWidget.java deleted file mode 100644 index eda48f53..00000000 --- a/kdejava/koala/org/kde/koala/KDateWidget.java +++ /dev/null @@ -1,82 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - This widget can be used to display or allow user selection of a date. - See {@link KDateWidgetSignals} for signals emitted by KDateWidget - @version $Id$ - - @short A pushbutton to display or allow user selection of a date. - @see KDatePicker - -*/ -public class KDateWidget extends TQWidget { - protected KDateWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a date selection widget. - @short Constructs a date selection widget. - */ - public KDateWidget(TQWidget parent, String name) { - super((Class) null); - newKDateWidget(parent,name); - } - private native void newKDateWidget(TQWidget parent, String name); - public KDateWidget(TQWidget parent) { - super((Class) null); - newKDateWidget(parent); - } - private native void newKDateWidget(TQWidget parent); - public KDateWidget() { - super((Class) null); - newKDateWidget(); - } - private native void newKDateWidget(); - /** - Constructs a date selection widget with the initial date set to date. - @short Constructs a date selection widget with the initial date set to date. - */ - public KDateWidget(Calendar date, TQWidget parent, String name) { - super((Class) null); - newKDateWidget(date,parent,name); - } - private native void newKDateWidget(Calendar date, TQWidget parent, String name); - public KDateWidget(Calendar date, TQWidget parent) { - super((Class) null); - newKDateWidget(date,parent); - } - private native void newKDateWidget(Calendar date, TQWidget parent); - public KDateWidget(Calendar date) { - super((Class) null); - newKDateWidget(date); - } - private native void newKDateWidget(Calendar date); - /** - Returns the currently selected date. - @short Returns the currently selected date. - */ - public native Calendar date(); - /** - Changes the selected date to date. - @short Changes the selected date to date. - */ - public native void setDate(Calendar date); - protected native void init(); - protected native void init(Calendar arg1); - protected native void slotDateChanged(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDateWidgetSignals.java b/kdejava/koala/org/kde/koala/KDateWidgetSignals.java deleted file mode 100644 index 2fa8d91c..00000000 --- a/kdejava/koala/org/kde/koala/KDateWidgetSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.Calendar; -import org.kde.qt.TQWidget; - -public interface KDateWidgetSignals { - /** - Emitted whenever the date of the widget - is changed, either with setDate() or via user selection. - @short Emitted whenever the date of the widget is changed, either with setDate() or via user selection. - */ - void changed(Calendar arg1); -} diff --git a/kdejava/koala/org/kde/koala/KDesktopFile.java b/kdejava/koala/org/kde/koala/KDesktopFile.java deleted file mode 100644 index 44099eff..00000000 --- a/kdejava/koala/org/kde/koala/KDesktopFile.java +++ /dev/null @@ -1,237 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - KDE Desktop File Management. - @author Pietro Iglio - - @short KDE Desktop File Management class. - @see TDEConfigBase - @see TDEConfig - -*/ -public class KDesktopFile extends TDEConfig { - protected KDesktopFile(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KDesktopFile object and make it either read-write - or read-only. - @param fileName The name or path of the desktop file. If it - is not absolute, it will be located - using the resource type resType. - @param readOnly Whether the object should be read-only. - @param resType Allows you to change what sort of resource - to search for if fileName is not absolute. For - instance, you might want to specify "config". - @short Constructs a KDesktopFile object and make it either read-write or read-only. - */ - public KDesktopFile(String fileName, boolean readOnly, String resType) { - super((Class) null); - newKDesktopFile(fileName,readOnly,resType); - } - private native void newKDesktopFile(String fileName, boolean readOnly, String resType); - public KDesktopFile(String fileName, boolean readOnly) { - super((Class) null); - newKDesktopFile(fileName,readOnly); - } - private native void newKDesktopFile(String fileName, boolean readOnly); - public KDesktopFile(String fileName) { - super((Class) null); - newKDesktopFile(fileName); - } - private native void newKDesktopFile(String fileName); - /** - Returns the value of the "Type=" entry. - @return the type or null if not specified - - @short Returns the value of the "Type=" entry. - */ - public native String readType(); - /** - Returns the value of the "Icon=" entry. - @return the icon or null if not specified - - @short Returns the value of the "Icon=" entry. - */ - public native String readIcon(); - /** - Returns the value of the "Name=" entry. - @return the name or null if not specified - - @short Returns the value of the "Name=" entry. - */ - public native String readName(); - /** - Returns the value of the "Comment=" entry. - @return the comment or null if not specified - - @short Returns the value of the "Comment=" entry. - */ - public native String readComment(); - /** - Returns the value of the "GenericName=" entry. - @return the generic name or null if not specified - - @short Returns the value of the "GenericName=" entry. - */ - public native String readGenericName(); - /** - Returns the value of the "Path=" entry. - @return the path or null if not specified - - @short Returns the value of the "Path=" entry. - */ - public native String readPath(); - /** - Returns the value of the "Dev=" entry. - @return the device or null if not specified - - @short Returns the value of the "Dev=" entry. - */ - public native String readDevice(); - /** - Returns the value of the "URL=" entry. - @return the URL or null if not specified - - @short Returns the value of the "URL=" entry. - */ - public native String readURL(); - /** - Returns a list of the "Actions=" entries. - @return the list of actions - - @short Returns a list of the "Actions=" entries. - */ - public native ArrayList readActions(); - /** - Sets the desktop action group. - @param group the new action group - @short Sets the desktop action group. - */ - public native void setActionGroup(String group); - /** - Returns true if the action group exists, false otherwise - @param group the action group to test - @return true if the action group exists - - @short Returns true if the action group exists, false otherwise - */ - public native boolean hasActionGroup(String group); - /** - Checks whether there is a "Type=Link" entry. - The link points to the "URL=" entry. - @return true if there is a "Type=Link" entry - - @short Checks whether there is a "Type=Link" entry. - */ - public native boolean hasLinkType(); - /** - Checks whether there is an entry "Type=Application". - @return true if there is a "Type=Application" entry - - @short Checks whether there is an entry "Type=Application". - */ - public native boolean hasApplicationType(); - /** - Checks whether there is an entry "Type=MimeType". - @return true if there is a "Type=MimeType" entry - - @short Checks whether there is an entry "Type=MimeType". - */ - public native boolean hasMimeTypeType(); - /** - Checks whether there is an entry "Type=FSDev". - @return true if there is a "Type=FSDev" entry - - @short Checks whether there is an entry "Type=FSDev". - */ - public native boolean hasDeviceType(); - /** - Checks whether the TryExec field contains a binary - which is found on the local system. - @return true if TryExec contains an existing binary - - @short Checks whether the TryExec field contains a binary which is found on the local system. - */ - public native boolean tryExec(); - /** - Returns the file name. - @return The filename as passed to the constructor. - - @short Returns the file name. - */ - public native String fileName(); - /** - Returns the resource. - @return The resource type as passed to the constructor. - - @short Returns the resource. - */ - public native String resource(); - /** - Returns the value of the "X-DocPath=" Or "DocPath=" entry. - X-DocPath should be used and DocPath is depreciated and will - one day be not supported. - @return The value of the "X-DocPath=" Or "DocPath=" entry. - - @short Returns the value of the "X-DocPath=" Or "DocPath=" entry. - */ - public native String readDocPath(); - /** - Returns the entry of the "SortOrder=" entry. - @return the value of the "SortOrder=" entry. - - @short Returns the entry of the "SortOrder=" entry. - */ - public native ArrayList sortOrder(); - /** - Copies all entries from this config object to a new - KDesktopFile object that will save itself to file. - Actual saving to file happens when the returned object is - destructed or when sync() is called upon it. - @param file the new KDesktopFile object it will save itself to. - @short Copies all entries from this config object to a new KDesktopFile object that will save itself to file. - */ - public native TDEConfig copyTo(String file); - /** - Checks whether this is really a desktop file. - The check is performed looking at the file extension (the file is not - opened). - Currently, valid extensions are ".kdelnk" and ".desktop". - @param path the path of the file to check - @return true if the file appears to be a desktop file. - - @short Checks whether this is really a desktop file. - */ - public static native boolean isDesktopFile(String path); - /** - Checks whether the user is authorized to run this desktop file. - By default users are authorized to run all desktop files but - the KIOSK framework can be used to activate certain restrictions. - See README.kiosk for more information. - @param path the file to check - @return true if the user is authorized to run the file - - @short Checks whether the user is authorized to run this desktop file. - */ - public static native boolean isAuthorizedDesktopFile(String path); - /** - Returns the location where changes for the .desktop file path - should be written to. - @short Returns the location where changes for the . - */ - public static native String locateLocal(String path); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDialog.java b/kdejava/koala/org/kde/koala/KDialog.java deleted file mode 100644 index cb3b1d79..00000000 --- a/kdejava/koala/org/kde/koala/KDialog.java +++ /dev/null @@ -1,154 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQLayoutItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQLayoutItemInterface; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDialog; - -/** - - Dialog with extended non-modal support and methods for %KDE standard - compliance. - Generally, you should not use this class directly, but KDialogBase - which inherits KDialog. - If the dialog is non-modal and has a parent, the default keybindings - (escape = reject(), enter = accept(), etc.) are disabled. - The marginHint() and spacingHint() sizes shall be used - whenever you layout the interior of a dialog. One special note. If - you make your own action buttons (OK, Cancel etc), the space - beteween the buttons shall be spacingHint(), whereas the space - above, below, to the right and to the left shall be marginHint(). - If you add a separator line above the buttons, there shall be a - marginHint() between the buttons and the separator and a - marginHint() above the separator as well. - See {@link KDialogSignals} for signals emitted by KDialog - @author Thomas Tanghus , Espen Sand - - @short Dialog with extended non-modal support and methods for %KDE standard compliance. - @see KDialogBase - -*/ -public class KDialog extends TQDialog { - protected KDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - Takes the same arguments as TQDialog. - @short Constructor. - */ - public KDialog(TQWidget parent, String name, boolean modal, int f) { - super((Class) null); - newKDialog(parent,name,modal,f); - } - private native void newKDialog(TQWidget parent, String name, boolean modal, int f); - public KDialog(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDialog(parent,name,modal); - } - private native void newKDialog(TQWidget parent, String name, boolean modal); - public KDialog(TQWidget parent, String name) { - super((Class) null); - newKDialog(parent,name); - } - private native void newKDialog(TQWidget parent, String name); - public KDialog(TQWidget parent) { - super((Class) null); - newKDialog(parent); - } - private native void newKDialog(TQWidget parent); - public KDialog() { - super((Class) null); - newKDialog(); - } - private native void newKDialog(); - /** - If the dialog starts with focus in a TQLineEdit child, - then call selectAll() on the child. - @short If the dialog starts with focus in a TQLineEdit child, then call selectAll() on the child. - */ - public native void polish(); - /** - Make a KDE compliant caption. - @param caption Your caption. Do not include the application name - in this string. It will be added automatically according to the KDE - standard. - @short Make a KDE compliant caption. - */ - public native void setCaption(String caption); - /** - Make a plain caption without any modifications. - @param caption Your caption. This is the string that will be - displayed in the window title. - @short Make a plain caption without any modifications. - */ - public native void setPlainCaption(String caption); - /** - Return the number of pixels you shall use between a - dialog edge and the outermost widget(s) according to the KDE standard. - @short Return the number of pixels you shall use between a dialog edge and the outermost widget(s) according to the KDE standard. - */ - public static native int marginHint(); - /** - Return the number of pixels you shall use between - widgets inside a dialog according to the KDE standard. - @short Return the number of pixels you shall use between widgets inside a dialog according to the KDE standard. - */ - public static native int spacingHint(); - /** - Resize every layout manager used in widget and its nested children. - @param widget The widget used. - @param margin The new layout margin. - @param spacing The new layout spacing. - @short Resize every layout manager used in widget and its nested children. - */ - public static native void resizeLayout(TQWidget widget, int margin, int spacing); - /** - Resize every layout associated with lay and its children. - @param lay layout to be resized - @param margin The new layout margin - @param spacing The new layout spacing - @short Resize every layout associated with lay and its children. - */ - public static native void resizeLayout(TQLayoutItemInterface lay, int margin, int spacing); - /** - Centers widget on the desktop, taking multi-head setups into - account. If screen is -1, widget will be centered on its - current screen (if it was shown already) or on the primary screen. - If screen is -3, widget will be centered on the screen that - currently contains the mouse pointer. - screen will be ignored if a merged display (like Xinerama) is not - in use, or merged display placement is not enabled in kdeglobals. - @short Centers widget on the desktop, taking multi-head setups into account. - */ - public static native void centerOnScreen(TQWidget widget, int screen); - public static native void centerOnScreen(TQWidget widget); - /** - Places widget so that it doesn't cover a certain area of the screen. - This is typically used by the "find dialog" so that the match it finds can - be read. - For screen, see centerOnScreen - @return true on success (widget doesn't cover area anymore, or never did), - false on failure (not enough space found) - - @short Places widget so that it doesn't cover a certain area of the screen. - */ - public static native boolean avoidArea(TQWidget widget, TQRect area, int screen); - public static native boolean avoidArea(TQWidget widget, TQRect area); - /** - @short - */ - protected native void keyPressEvent(TQKeyEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDialogBase.java b/kdejava/koala/org/kde/koala/KDialogBase.java deleted file mode 100644 index 4e3a9c83..00000000 --- a/kdejava/koala/org/kde/koala/KDialogBase.java +++ /dev/null @@ -1,1338 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQGrid; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; -import org.kde.qt.TQVBox; -import org.kde.qt.TQFrame; -import org.kde.qt.TQHBox; - -/** - - Provides basic functionality needed by nearly all dialogs. - It offers the standard action buttons you'd expect to find in a - dialog as well as the capability to define at most three configurable - buttons. You can define a main widget that contains your specific - dialog layout or you can use a predefined layout. Currently, TreeList/Paged, Tabbed, Plain, Swallow and IconList - mode layouts (faces) are available. - The class takes care of the geometry management. You only need to define - a minimum size for the widget you want to use as the main widget. - You can set a background tile (pixmap) for parts of the dialog. The - tile you select is shared by all instances of this class in your - application so that they all get the same look and feel. - There is a tutorial available on http://developer.kde.org/ (NOT YET) - that contains - copy/paste examples as well a screenshots on how to use this class. -
    • Standard buttons (action buttons):
    • - You select which buttons should be displayed, but you do not choose the - order in which they are displayed. This ensures a standard interface in - KDE. The button order can be changed, but this ability is only available - for a central KDE control tool. The following buttons are available: - OK, Cancel/Close, Apply/Try, Default, Help and three user definable - buttons: User1, User2 and User3. You must specify the text of the UserN - buttons. Each button has a slot so you can overload the method - when required. The default slots emit a signal as well, so you can choose - to connect a signal instead of overriding the slot. - The default implementation of slotHelp() will automatically enable - the help system if you have provided a path to the help text. - slotCancel() and slotClose() will run TQDialog.reject() - while slotOk() will run TQDialog.accept(). You define a default - button in the constructor. - If you don't want any buttons at all because your dialog is special - in some way, then set the buttonMask argument in the constructor to zero - (0). The optional button box separator line should not be enabled - in this case. Note that the KDialogBase will animate a button press - when the user press Escape. The button that is enabled is either Cancel, - Close or the button that is defined by setEscapeButton() The - animation will not take place when the buttonMask is zero. Your - custom dialog code should reimplement the keyPressEvent and - animate the cancel button so that the dialog behaves like regular - dialogs. NOTE: None of the regular slots (like slotOk() ) or - signals that are related to the standard action buttons will be used - when you don't use these buttons. -
    • Dialog shapes:
    • - You can either use one of the prebuilt, easy to use, faces or - define your own main widget. The dialog provides ready to use - TreeList, Tabbed, Plain, Swallow and IconList faces. KDialogBase uses - the KJanusWidget class internally to accomplish this. If you - use TreeList, Tabbed or IconList mode, then add pages with addPage(). - Pages that have been added can be removed again by simply deleting - the page. - If you want complete control of how the dialog contents should look, - then you can define a main widget by using setMainWidget(). You - only need to set the minimum size of that widget and the dialog will - resize itself to fit this minimum size. The dialog is resizeable, but - cannot be made smaller than its minimum size. -
    • Layout:
    • - The dialog consists of a help area on top (becomes visible if you define - a help path and use enableLinkedHelp()), the main area which is - the built-in dialog face or your own widget in the middle and by default - a button box at the bottom. The button box can also be placed at the - right edge (to the right of the main widget). Use - setButtonBoxOrientation() to control this behavior. A separator - can be placed above the button box (or to the left when the button box - is at the right edge). Normally you specify that you want a separator - in the constructor, but you can use enableButtonSeparator() as well. -
    • Standard compliance:
    • - The class is derived from KDialog, so you get automatic access to - the KDialog.marginHint(), KDialog.spacingHint() and the - extended KDialog.setCaption() method. NOTE: The main widget you - use will be positioned inside the dialog using a margin (or border) - equal to KDialog.marginHint(). You should not add a margin yourself, - since one will be added automatically. - The example below (from kedit) shows how you use the top level widget - and its layout. The second argument (the border) to TQVBoxLayout - is 0. This situation is valid for addPage , addVBoxPage , - addHBoxPage , addGridPage , makeMainWidget , - makeVBoxMainWidget , makeHBoxMainWidget and - makeGridMainWidget as well. - Example: -
      - UrlDlg.UrlDlg( TQWidget parent, String caption,
      -                 String urltext)
      - {
      -   TQWidget page = new TQWidget( this );
      -   setMainWidget(page);
      -   TQVBoxLayout topLayout = new TQVBoxLayout( page, 0, spacingHint() );
      -   TQLabel label = new TQLabel( caption, page, "caption" );
      -   topLayout.addWidget( label );
      -   lineedit = new TQLineEdit( urltext, page, "lineedit" );
      -   lineedit.setMinimumWidth(fontMetrics().maxWidth()*20);
      -   topLayout.addWidget( lineedit );
      -   topLayout.addStretch(10);
      - }
      - 
      - If you use makeVBoxMainWidget(), then the dialog above can be made - simpler but you lose the ability to add a stretchable area: -
      - UrlDlg.UrlDlg( TQWidget parent, String caption,
      -                 String urltext)
      - {
      -   TQVBox page = makeVBoxMainWidget();
      -   TQLabel label = new TQLabel( caption, page, "caption" );
      -   lineedit = new TQLineEdit( urltext, page, "lineedit" );
      -   lineedit.setMinimumWidth(fontMetrics().maxWidth()*20);
      - }
      - 
      - This class can be used in many ways. Note that most KDE ui widgets - and many of KDE core applications use the KDialogBase so for more - inspiration you should study the code for these. - See {@link KDialogBaseSignals} for signals emitted by KDialogBase - @author Mirko Boehm (mirko@kde.org) and Espen Sand (espen@kde.org) - - @short A dialog base class with standard buttons and predefined layouts. - -*/ -public class KDialogBase extends KDialog { - protected KDialogBase(Class dummy){super((Class) null);} - public static final int Help = 0x00000001; - public static final int Default = 0x00000002; - public static final int Ok = 0x00000004; - public static final int Apply = 0x00000008; - public static final int Try = 0x00000010; - public static final int Cancel = 0x00000020; - public static final int Close = 0x00000040; - public static final int User1 = 0x00000080; - public static final int User2 = 0x00000100; - public static final int User3 = 0x00000200; - public static final int No = 0x00000080; - public static final int Yes = 0x00000100; - public static final int Details = 0x00000400; - public static final int Filler = 0x40000000; - public static final int Stretch = 0x80000000; - public static final int NoDefault = 0; - - public static final int ActionStyle0 = 0; - public static final int ActionStyle1 = 1; - public static final int ActionStyle2 = 2; - public static final int ActionStyle3 = 3; - public static final int ActionStyle4 = 4; - public static final int ActionStyleMAX = 5; - - /** - -
    • - TreeList - A dialog with a tree on the left side and a - representation of the contents on the right side. -
    • - -
    • - Tabbed - A dialog using a TQTabWidget. -
    • - -
    • - Plain - A normal dialog. Use plainPage() as parent for widgets. -
    • - -
    • - Swallow - Simplifes the usage of existing widgets. You specify - the widget to be displayed by setMainWidget(). -
    • - -
    • - IconList - A dialog with an iconlist on the left side and a - representation of the contents on the right side. - -
    • @short - */ - public static final int TreeList = KJanusWidget.TreeList; - public static final int Tabbed = KJanusWidget.Tabbed; - public static final int Plain = KJanusWidget.Plain; - public static final int Swallow = KJanusWidget.Swallow; - public static final int IconList = KJanusWidget.IconList; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor for the standard mode where you must specify the main - widget with setMainWidget() . - @param parent Parent of the dialog. - @param name Dialog name (for internal use only) - @param modal Controls dialog modality. If false, the rest of the - program interface (example: other dialogs) is accessible while - the dialog is open. - @param caption The dialog caption. Do not specify the application name - here. The class will take care of that. - @param buttonMask Specifies which buttons will be visible. If zero - (0) no button box will be made. - @param defaultButton Specifies which button will be marked as - the default. Use ButtonCode.NoDefault to indicate that no button - should be marked as the default button. - @param separator If true, a separator line is drawn between the - action buttons and the main widget. - @param user1 User button1 item. - @param user2 User button2 item. - @param user3 User button3 item. - @short Constructor for the standard mode where you must specify the main widget with setMainWidget() . - */ - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2,user3); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator,user1); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton,separator); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask,defaultButton); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask) { - super((Class) null); - newKDialogBase(parent,name,modal,caption,buttonMask); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption, int buttonMask); - public KDialogBase(TQWidget parent, String name, boolean modal, String caption) { - super((Class) null); - newKDialogBase(parent,name,modal,caption); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal, String caption); - public KDialogBase(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDialogBase(parent,name,modal); - } - private native void newKDialogBase(TQWidget parent, String name, boolean modal); - public KDialogBase(TQWidget parent, String name) { - super((Class) null); - newKDialogBase(parent,name); - } - private native void newKDialogBase(TQWidget parent, String name); - public KDialogBase(TQWidget parent) { - super((Class) null); - newKDialogBase(parent); - } - private native void newKDialogBase(TQWidget parent); - public KDialogBase() { - super((Class) null); - newKDialogBase(); - } - private native void newKDialogBase(); - /** - In KDE4 a WFlag paramater should be added after modal and next - function can be removed. - Constructor for the predefined layout mode where you specify the - kind of layout (face). - @param dialogFace You can use TreeList, Tabbed, Plain, Swallow or - IconList. - @param caption The dialog caption. Do not specify the application name - here. The class will take care of that. - @param buttonMask Specifies which buttons will be visible. If zero - (0) no button box will be made. - @param defaultButton Specifies which button will be marked as - the default. Use ButtonCode.NoDefault to indicate that no button - should be marked as the default button. - @param parent Parent of the dialog. - @param name Dialog name (for internal use only). - @param modal Controls dialog modality. If false, the rest of the - program interface (example: other dialogs) is accessible while - the dialog is open. - @param separator If true, a separator line is drawn between the - action buttons and the main widget. - @param user1 User button1 text item. - @param user2 User button2 text item. - @param user3 User button3 text item. - @short In KDE4 a WFlag paramater should be added after modal and next function can be removed. - */ - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2,user3); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator,user1,user2); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1, KGuiItem user2); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator,user1); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem user1); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal,separator); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal, boolean separator); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name,modal); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name, boolean modal); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent,name); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent, String name); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton,parent); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton, TQWidget parent); - public KDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton) { - super((Class) null); - newKDialogBase(dialogFace,caption,buttonMask,defaultButton); - } - private native void newKDialogBase(int dialogFace, String caption, int buttonMask, int defaultButton); - /** - Constructor for the predefined layout mode where you specify the - kind of layout (face). - @param dialogFace You can use TreeList, Tabbed, Plain, Swallow or - IconList. - @param f widget flags, by default it is just set to WStyle_DialogBorder. - @param caption The dialog caption. Do not specify the application name - here. The class will take care of that. - @param parent Parent of the dialog. - @param name Dialog name (for internal use only). - @param modal Controls dialog modality. If false, the rest of the - program interface (example: other dialogs) is accessible while - the dialog is open. - @param buttonMask Specifies which buttons will be visible. If zero - (0) no button box will be made. - @param defaultButton Specifies which button will be marked as - the default. Use ButtonCode.NoDefault to indicate that no button - should be marked as the default button. - @param separator If true, a separator line is drawn between the - action buttons and the main widget. - @param user1 User button1 text item. - @param user2 User button2 text item. - @param user3 User button3 text item. - @short Constructor for the predefined layout mode where you specify the kind of layout (face). - */ - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2,user3); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2, KGuiItem user3); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator,user1,user2); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1, KGuiItem user2); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator,user1); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator, KGuiItem user1); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton,separator); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton, boolean separator); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask,defaultButton); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask, int defaultButton); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption,buttonMask); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption, int buttonMask); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal,caption); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal, String caption); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name,modal); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name, boolean modal); - public KDialogBase(int dialogFace, int f, TQWidget parent, String name) { - super((Class) null); - newKDialogBase(dialogFace,f,parent,name); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent, String name); - public KDialogBase(int dialogFace, int f, TQWidget parent) { - super((Class) null); - newKDialogBase(dialogFace,f,parent); - } - private native void newKDialogBase(int dialogFace, int f, TQWidget parent); - public KDialogBase(int dialogFace, int f) { - super((Class) null); - newKDialogBase(dialogFace,f); - } - private native void newKDialogBase(int dialogFace, int f); - /** - Constructor for a message box mode where the buttonMask can only - contain Yes, No, or Cancel. - If you need other names you can rename - the buttons with setButtonText(). The dialog box is not resizable - by default but this can be changed by setInitialSize(). If you - select 'modal' to be true, the dialog will return Yes, No, or Cancel - when closed otherwise you can use the signals yesClicked(), - noClicked(), or cancelClicked() to determine the state. - @param caption The dialog caption. Do not specify the application name - here. The class will take care of that. - @param buttonMask Specifies which buttons will be visible. If zero - (0) no button box will be made. - @param defaultButton Specifies which button will be marked as - the default. Use ButtonCode.NoDefault to indicate that no button - should be marked as the default button. - @param escapeButton Specifies which button will be activated by - when the dialog receives a Key_Escape keypress. - @param parent Parent of the dialog. - @param name Dialog name (for internal use only). - @param modal Controls dialog modality. If false, the rest of the - program interface (example: other dialogs) is accessible - while the dialog is open. - @param separator If true, a separator line is drawn between the - action buttons and the main widget. - @param yes Text to use for the first button (defaults to i18n("Yes")) - @param no Text to use for the second button (defaults to i18n("No")) - @param cancel Text to use for the third button (defaults to i18n("Cancel")) - @short Constructor for a message box mode where the buttonMask can only contain Yes, No, or Cancel. - */ - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no, KGuiItem cancel) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator,yes,no,cancel); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no, KGuiItem cancel); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator,yes,no); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes, KGuiItem no); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator,yes); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator, KGuiItem yes); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal,separator); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal, boolean separator); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name,modal); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name, boolean modal); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent,name); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent, String name); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton,parent); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton, TQWidget parent); - public KDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton,escapeButton); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton, int escapeButton); - public KDialogBase(String caption, int buttonMask, int defaultButton) { - super((Class) null); - newKDialogBase(caption,buttonMask,defaultButton); - } - private native void newKDialogBase(String caption, int buttonMask, int defaultButton); - public KDialogBase(String caption, int buttonMask) { - super((Class) null); - newKDialogBase(caption,buttonMask); - } - private native void newKDialogBase(String caption, int buttonMask); - public KDialogBase(String caption) { - super((Class) null); - newKDialogBase(caption); - } - private native void newKDialogBase(String caption); - /** - Sets the orientation of the button box. - It can be Vertical or Horizontal. If Horizontal - (default), the button box is positioned at the bottom of the - dialog. If Vertical it will be placed at the right edge of the - dialog. - @param orientation The button box orientation. - @short Sets the orientation of the button box. - */ - public native void setButtonBoxOrientation(int orientation); - /** - Sets the button that will be activated when the Escape key - is pressed. - Normally you should not use this function. By default, - the Escape key is mapped to either the Cancel or the Close button - if one of these buttons are defined. The user expects that Escape will - cancel an operation so use this function with caution. - @param id The button code. - @short Sets the button that will be activated when the Escape key is pressed. - */ - public native void setEscapeButton(int id); - /** - Adjust the size of the dialog to fit the contents just before - TQDialog.exec() or TQDialog.show() is called. - This method will not be called if the dialog has been explicitly - resized before showing it. - @short Adjust the size of the dialog to fit the contents just before TQDialog.exec() or TQDialog.show() is called. - */ - public native void adjustSize(); - public native TQSize sizeHint(); - public native TQSize minimumSizeHint(); - /** - Retrieve the empty page when the predefined layout is used in Plain - mode. - This widget must be used as the toplevel widget of your dialog - code. - @return The widget or 0 if the predefined layout mode is not Plain - or if you don't use any predefined layout. - - @short Retrieve the empty page when the predefined layout is used in Plain mode. - */ - public native TQFrame plainPage(); - /** - Add a page to the dialog when the class is used in TreeList , - IconList or Tabbed mode. - The returned widget must be used as the - toplevel widget for this particular page. - Note: The returned frame widget has no - layout manager associated with it. In order to use it you must - create a layout yourself as the example below illustrates: -
      -		 TQFrame page = addPage( i18n("Layout") );
      -		 TQVBoxLayout topLayout = new TQVBoxLayout( page, 0, KDialog.spacingHint() );
      -		 TQLabel label = new TQLabel( i18n("Layout type"), page );
      -		 topLayout.addWidget( label );
      -		 ..
      -		 
      - @param itemName String used in the list or as tab item name. - @param header Header text use in the list modes. Ignored in Tabbed - mode. If empty, the item text is used instead. - @param pixmap Used in IconList mode. You should prefer a pixmap - with size 32x32 pixels. - @return The page widget which must be used as the toplevel widget for - the page. - - @short Add a page to the dialog when the class is used in TreeList , IconList or Tabbed mode. - */ - public native TQFrame addPage(String itemName, String header, TQPixmap pixmap); - public native TQFrame addPage(String itemName, String header); - public native TQFrame addPage(String itemName); - /** - This is like addPage() just above, with the difference that the first - element is a list of strings. - These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the TreeList face. Later this may - be added for the IconList face too. In other faces than the - TreeList, all the strings except the last one is ignored. - @short This is like addPage() just above, with the difference that the first element is a list of strings. - */ - public native TQFrame addPage(String[] items, String header, TQPixmap pixmap); - public native TQFrame addPage(String[] items, String header); - public native TQFrame addPage(String[] items); - /** - Add a page to the dialog when the class is used in TreeList, - IconList or Tabbed mode. - The returned widget must be used as the toplevel widget for - this particular page. The widget contains a TQVBoxLayout - layout so the widget children are lined up vertically. You can - use it as follows: -
      -		 TQVBox page = addVBoxPage( i18n("Layout") );
      -		 TQLabel label = new TQLabel( i18n("Layout type"), page );
      -		 ..
      -		 
      - @param itemName String used in the list or as tab item name. - @param header Header text use in the list modes. Ignored in Tabbed - mode. If empty, the item text is used instead. - @param pixmap Used in IconList mode. You should prefer a pixmap - with size 32x32 pixels. - @return The page widget which must be used as the toplevel widget for - the page. - - @short Add a page to the dialog when the class is used in TreeList, IconList or Tabbed mode. - */ - public native TQVBox addVBoxPage(String itemName, String header, TQPixmap pixmap); - public native TQVBox addVBoxPage(String itemName, String header); - public native TQVBox addVBoxPage(String itemName); - /** - This is like addVBoxPage() just above, with the difference - that the first element is a list of strings. - These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the TreeList face. Later this may - be added for the IconList face too. In other faces than the - TreeList, all the strings except the last one is ignored. - @short This is like addVBoxPage() just above, with the difference that the first element is a list of strings. - */ - public native TQVBox addVBoxPage(String[] items, String header, TQPixmap pixmap); - public native TQVBox addVBoxPage(String[] items, String header); - public native TQVBox addVBoxPage(String[] items); - /** - Add a page to the dialog when the class is used in TreeList, - IconList or Tabbed mode. - The returned widget must be used as the - toplevel widget for this particular page. The widget contains a - TQHBoxLayout layout so the widget children are lined up horizontally. - You can use it as follows: - @param itemName String used in the list or as tab item name. - @param header Header text use in the list modes. Ignored in Tabbed - mode. If empty, the item text is used instead. - @param pixmap Used in IconList mode. You should prefer a pixmap - with size 32x32 pixels. - @return The page widget which must be used as the toplevel widget for - the page. - - @short Add a page to the dialog when the class is used in TreeList, IconList or Tabbed mode. - */ - public native TQHBox addHBoxPage(String itemName, String header, TQPixmap pixmap); - public native TQHBox addHBoxPage(String itemName, String header); - public native TQHBox addHBoxPage(String itemName); - /** - This is like addHBoxPage() just above, with the - difference that the first element is a list of strings. - These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the TreeList face. Later this may - be added for the IconList face too. In other faces than the - TreeList, all the strings except the last one is ignored. - @short This is like addHBoxPage() just above, with the difference that the first element is a list of strings. - */ - public native TQHBox addHBoxPage(String[] items, String header, TQPixmap pixmap); - public native TQHBox addHBoxPage(String[] items, String header); - public native TQHBox addHBoxPage(String[] items); - /** - Add a page to the dialog when the class is used in TreeList, - IconList or Tabbed mode. - The returned widget must be used as the - toplevel widget for this particular page. The widget contains a - TQGridLayout layout so the widget children are positioned in a grid. - @param n Specifies the number of columns if dir is Qt.Horizontal - or the number of rows if dir is Qt.Vertical. - @param dir Can be Qt.Horizontal or Qt.Vertical. - @param itemName String used in the list or as tab item name. - @param header Header text use in the list modes Ignored in Tabbed - mode. If empty, the item text is used instead. - @param pixmap Used in IconList mode. You should prefer a pixmap - with size 32x32 pixels. - @return The page widget which must be used as the toplevel widget for - the page. - - @short Add a page to the dialog when the class is used in TreeList, IconList or Tabbed mode. - */ - public native TQGrid addGridPage(int n, int dir, String itemName, String header, TQPixmap pixmap); - public native TQGrid addGridPage(int n, int dir, String itemName, String header); - public native TQGrid addGridPage(int n, int dir, String itemName); - /** - This is like addGridPage() just above, with the difference - that the first element is a list of strings. - These strings are used to form a path - of folders down to the given page. The initial elements are names - for the folders, while the last element is the name of the page. - Note: This does yet only work for the TreeList face. Later this may - be added for the IconList face too. In other faces than the - TreeList, all the strings except the last one is ignored. - @short This is like addGridPage() just above, with the difference that the first element is a list of strings. - */ - public native TQGrid addGridPage(int n, int dir, String[] items, String header, TQPixmap pixmap); - public native TQGrid addGridPage(int n, int dir, String[] items, String header); - public native TQGrid addGridPage(int n, int dir, String[] items); - /** - Sets the icon used in TreeList Mode for the given path. - @param path The path for which this icon should be shown. - @param pixmap The icon used. - @short Sets the icon used in TreeList Mode for the given path. - */ - public native void setFolderIcon(String[] path, TQPixmap pixmap); - /** - Make a main widget. - The function will make a TQFrame widget - and use setMainWidget() to register it. You can not use this - function more than once, not if you have already defined a - main widget with setMainWidget() and not if you have used the - constructor where you define the face (Plain, Swallow, Tabbed, - TreeList). - @return The main widget or 0 if any of the rules described above - were broken. - - @short Make a main widget. - */ - public native TQFrame makeMainWidget(); - /** - Make a main widget. - The function will make a TQVBox widget - and use setMainWidget() to register it. You can use this - function more than once, but not if you have already defined a - main widget with setMainWidget() and not if you have used the - constructor where you define the face (Plain, Swallow, Tabbed, - TreeList, IconList). - @return The main widget or 0 if any of the rules described above - were broken. - - @short Make a main widget. - */ - public native TQVBox makeVBoxMainWidget(); - /** - Make a main widget. - The function will make a TQHBox widget - and use setMainWidget() to register it. You can not use this - function more than once, not if you have already defined a - main widget with setMainWidget() and not if you have used the - constructor where you define the face (Plain, Swallow, Tabbed, - TreeList, IconList). - @return The main widget or 0 if any of the rules described above - were broken. - - @short Make a main widget. - */ - public native TQHBox makeHBoxMainWidget(); - /** - Make a main widget. - The function will make a TQGrid widget - and use setMainWidget() to register it. You can not use this - function more than once, not if you have already defined a - main widget with setMainWidget and not if you have used the - constructor where you define the face (Plain, Swallow, Tabbed, - TreeList, IconList). - @param n Specifies the number of columns if 'dir' is Qt.Horizontal - or the number of rows if 'dir' is Qt.Vertical. - @param dir Can be Qt.Horizontal or Qt.Vertical. - @return The main widget or 0 if any of the rules described above - were broken. - - @short Make a main widget. - */ - public native TQGrid makeGridMainWidget(int n, int dir); - /** - Hide or display the a separator line drawn between the action - buttons an the main widget. - @short Hide or display the a separator line drawn between the action buttons an the main widget. - */ - public native void enableButtonSeparator(boolean state); - /** - Hide or display a general action button. - Only buttons that have - been created in the constructor can be displayed. This method will - not create a new button. - @param id Button identifier. - @param state true display the button(s). - @short Hide or display a general action button. - */ - public native void showButton(int id, boolean state); - /** - Hide or display the OK button. - The OK button must have - been created in the constructor to be displayed. - @param state If true, display the button(s). - @short Hide or display the OK button. - */ - public native void showButtonOK(boolean state); - /** - Hide or display the Apply button. - The Apply button must have - been created in the constructor to be displayed. - @param state true display the button(s). - @short Hide or display the Apply button. - */ - public native void showButtonApply(boolean state); - /** - Hide or display the Cancel button. The Cancel button must have - been created in the constructor to be displayed. - @param state true display the button(s). - @short Hide or display the Cancel button. - */ - public native void showButtonCancel(boolean state); - /** - Sets the page with index to be displayed. - This method will only - work when the dialog is using the predefined shape of TreeList, - IconList or Tabbed. - @param index Index of the page to be shown. - @return true if the page is shown, false otherwise. - - @short Sets the page with index to be displayed. - */ - public native boolean showPage(int index); - /** - Returns the index of the active page. - This method will only work when the dialog is using the - predefined shape of Tabbed, TreeList or IconList. - @return The page index or -1 if there is no active page. - - @short Returns the index of the active page. - */ - public native int activePageIndex(); - /** - Returns the index of a page created with addPage(), - addVBoxPage(), addHBoxPage() or addGridPage(). - You can can compare this index with the value returned from - activePageIndex() if you need to do some page specific actions - in your code. - The returned index will never change so you can safely use this - function once and save the value. - @param widget The widget returned by addPage(), addVBoxPage(), - addHBoxPage() or addGridPage(). - @return The index or -1 if the face is not Tabbed, TreeList or - IconList - - @short Returns the index of a page created with addPage(), addVBoxPage(), addHBoxPage() or addGridPage(). - */ - public native int pageIndex(TQWidget widget); - /** - Sets the main user definable widget. - If the dialog is using the predefined Swallow mode, the widget will - be reparented to the internal swallow control widget. If the dialog - is being used in the standard mode then the widget must have the - dialog as parent. - @param widget The widget to be displayed as main widget. If it - is 0, then the dialog will show an empty space of 100x100 pixels - instead. - @short Sets the main user definable widget. - */ - public native void setMainWidget(TQWidget widget); - /** - Returns the main widget if any. - @return The current main widget. Can be 0 if no widget has been defined. - - @short Returns the main widget if any. - */ - public native TQWidget mainWidget(); - /** - Convenience method. - Freezes the dialog size using the minimum size - of the dialog. This method should only be called right before - show() or exec(). - @short Convenience method. - */ - public native void disableResize(); - /** - Convenience method. Sets the initial dialog size. - This method should - only be called right before show() or exec(). The initial - size will be - ignored if smaller than the dialog's minimum size. - @param s Startup size. - @param noResize If true the dialog cannot be resized. - @short Convenience method. - */ - public native void setInitialSize(TQSize s, boolean noResize); - public native void setInitialSize(TQSize s); - /** - Convenience method. Add a size to the default minimum size of a - dialog. - This method should only be called right before show() or - exec(). - @param s Size added to minimum size. - @param noResize If true the dialog cannot be resized. - @short Convenience method. - */ - public native void incInitialSize(TQSize s, boolean noResize); - public native void incInitialSize(TQSize s); - /** - read the dialogs size from the configuration according to the screen size. - If no size is saved for one dimension of the screen, sizeHint() is returned. - @param groupName Name of the group to read from. The old group - of TDEGlobal.config is preserved. - @short read the dialogs size from the configuration according to the screen size. - */ - public native TQSize configDialogSize(String groupName); - /** - read the dialogs size from the configuration according to the screen size. - If no size is saved for one dimension of the screen, sizeHint() is returned. - @param config The TDEConfig object to read from - @param groupName Name of the group to read from. The old group - of TDEGlobal.config is preserved. - @short read the dialogs size from the configuration according to the screen size. - */ - public native TQSize configDialogSize(TDEConfig config, String groupName); - /** - save the dialogs size dependant on the screen dimension either to the - global or application config file. - @param groupName The group to which the dialogs size is saved. See configDialogSize - to read the size. - @param global Set to true if the entry should go to the global config rather - than to the applications config. Default is false. - @short save the dialogs size dependant on the screen dimension either to the global or application config file. - */ - public native void saveDialogSize(String groupName, boolean global); - public native void saveDialogSize(String groupName); - /** - save the dialogs size dependant on the screen dimension. - @param config The TDEConfig object to write to. - @param groupName The group to which the dialogs size is saved. See - configDialogSize to read the size. - @param global Set to true if the entry should go to the global config. - Default is false. - @short save the dialogs size dependant on the screen dimension. - */ - public native void saveDialogSize(TDEConfig config, String groupName, boolean global); - public native void saveDialogSize(TDEConfig config, String groupName); - /** - Sets the appearance of the OK button. - If the default parameters are used - (that is, if no KGuiItem is given) KStdGuiItem.ok() is used. - @param item KGuiItem. - @short Sets the appearance of the OK button. - */ - public native void setButtonOK(KGuiItem item); - public native void setButtonOK(); - /** - Sets the appearance of the Apply button. - If the default parameters are used - (that is, if no KGuiItem is given) KStdGuiItem.apply() is used. - @param item KGuiItem. - @short Sets the appearance of the Apply button. - */ - public native void setButtonApply(KGuiItem item); - public native void setButtonApply(); - /** - Sets the appearance of the Cancel button. - If the default parameters are used - (that is, if no KGuiItem is given) KStdGuiItem.cancel() is used. - @param item KGuiItem. - @short Sets the appearance of the Cancel button. - */ - public native void setButtonCancel(KGuiItem item); - public native void setButtonCancel(); - /** - Sets the text of any button. - @param id The button identifier. - @param text Button text. - @short Sets the text of any button. - */ - public native void setButtonText(int id, String text); - /** - Sets the tooltip text of any button. - @param id The button identifier. - @param text Button text. - @short Sets the tooltip text of any button. - */ - public native void setButtonTip(int id, String text); - /** - Sets the "What's this?" text of any button. - @param id The button identifier. - @param text Button text. - @short Sets the "What's this?" text of any button. - */ - public native void setButtonWhatsThis(int id, String text); - /** - Sets the KGuiItem directly for the button instead of using 3 methods to - set the text, tooltip and whatsthis strings. This also allows to set an - icon for the button which is otherwise not possible for the extra - buttons beside Ok, Cancel and Apply. - @param id The button identifier. - @param item The KGuiItem for the button. - @short Sets the KGuiItem directly for the button instead of using 3 methods to set the text, tooltip and whatsthis strings. - */ - public native void setButtonGuiItem(int id, KGuiItem item); - /** - This function has only effect in TreeList mode. - Defines how the tree list widget is resized when the dialog is - resized horizontally. By default the tree list keeps its width - when the dialog becomes wider. - @param state The resize mode. If false (default) the tree list keeps - its current width when the dialog becomes wider. - @short This function has only effect in TreeList mode. - */ - public native void setTreeListAutoResize(boolean state); - /** - This function has only effect in TreeList mode. - This tells the widgets whether the icons given in the addPage, - addVBoxPage, addHBoxPage, or addGridPage methods should - be shown in the TreeList. - Note: This method must be called before calling any of the methods - which add icons to the page. - @param state If true the icons are shown. - @short This function has only effect in TreeList mode. - */ - public native void setShowIconsInTreeList(boolean state); - /** - This function has only effect in TreeList mode. - This tells the widgets whether the root should be decorated. - For details see TQListView.setRootIsDecorated - @param state Root will be decorated if true. - @short This function has only effect in TreeList mode. - */ - public native void setRootIsDecorated(boolean state); - /** - This function has only effect in TreeList mode. - This tells the TreeList to unfold the whole tree so that all entries - are visible. - If the list is empty when you call this method newly created entries - will not automatically be opened. If the persist flag is set opened - entries cannot be closed again, though. - @param persist If true the tree always stays unfolded. - @short This function has only effect in TreeList mode. - */ - public native void unfoldTreeList(boolean persist); - public native void unfoldTreeList(); - /** - Add a widget at the bottom of the TreeList/IconList. - @param widget The widget to be added. It will be reparented into the - KJanusWidget, therefor it will be deleted with the - KJanusWidget, too. To be on the save side just don't keep - the pointer to this widget. - @short Add a widget at the bottom of the TreeList/IconList. - */ - public native void addWidgetBelowList(TQWidget widget); - /** - Add a button at the bottom of the TreeList/IconList. - @param text The text on the PushButton. - @param recv The object that is to receive the signal when the button - is clicked. - @param slot The slot to connect to the clicked signal of the button. - @short Add a button at the bottom of the TreeList/IconList. - */ - public native void addButtonBelowList(String text, TQObject recv, String slot); - /** - The same as the above function, but with a KGuiItem providing the text - and icon for the button at the bottom of the TreeList/IconList. - @param guiitem The text and icon on the PushButton. - @param recv The object that is to receive the signal when the button - is clicked. - @param slot The slot to connect to the clicked signal of the button. - @short The same as the above function, but with a KGuiItem providing the text and icon for the button at the bottom of the TreeList/IconList. - */ - public native void addButtonBelowList(KGuiItem guiitem, TQObject recv, String slot); - /** - This function has only effect in IconList mode. - Defines how the icon list widget is displayed. By default it is - the widgets in the dialog pages that decide the minimum height - of the dialog. A vertical scrollbar can be used in the icon list - area. - @param state The visibility mode. If true, the minimum height is - adjusted so that every icon in the list is visible at the - same time. The vertical scrollbar will never be visible. - @short This function has only effect in IconList mode. - */ - public native void setIconListAllVisible(boolean state); - /** - Enable hiding of the background tile (if any). - @param state true will make the tile visible. - @short Enable hiding of the background tile (if any). - */ - public native void showTile(boolean state); - /** - Calculate the size hint for the dialog. - With this method it is easy to calculate a size hint for a - dialog derived from KDialogBase if you know the width and height of - the elements you add to the widget. The rectangle returned is - calculated so that all elements exactly fit into it. Thus, you may - set it as a minimum size for the resulting dialog. - You should not need to use this method and never if you use one of - the predefined shapes. - @param w The width of you special widget. - @param h The height of you special widget. - @return The minimum width and height of the dialog using w and h - as the size of the main widget. - - @short Calculate the size hint for the dialog. - */ - public native TQSize calculateSize(int w, int h); - /** - Returns the help link text. - If no text has been defined, - "Get help..." (internationalized) is returned. - @return The help link text. - - @short Returns the help link text. - */ - public native String helpLinkText(); - /** - Returns the action button that corresponds to the id. - Normally - you should not use this function. Never delete the object returned - by this function. See also enableButton(), showButton(), - setButtonTip(), setButtonWhatsThis(), and setButtonText(). - @param id Integer identifier of the button. - FIXME KDE 4: Return the actual KPushButton instead of TQPushButton (Martijn) - @return The action button or 0 if the button does not exists. - - @short Returns the action button that corresponds to the id. - */ - public native TQPushButton actionButton(int id); - /** - Enable or disable (gray out) a general action button. - @param id Button identifier. - @param state true enables the button(s). - @short Enable or disable (gray out) a general action button. - */ - public native void enableButton(int id, boolean state); - /** - Enable or disable (gray out) the OK button. - @param state true enables the button. - @short Enable or disable (gray out) the OK button. - */ - public native void enableButtonOK(boolean state); - /** - Enable or disable (gray out) the Apply button. - @param state true enables the button. - @short Enable or disable (gray out) the Apply button. - */ - public native void enableButtonApply(boolean state); - /** - Enable or disable (gray out) the Cancel button. - @param state true enables the button. - @short Enable or disable (gray out) the Cancel button. - */ - public native void enableButtonCancel(boolean state); - /** - Display or hide the help link area on the top of the dialog. - @param state true will display the area. - @short Display or hide the help link area on the top of the dialog. - */ - public native void enableLinkedHelp(boolean state); - /** - Destruct the Dialog delayed. - You can call this function from - slots like closeClicked() and hidden(). - You should not use the dialog any more after - calling this function. - @short Destruct the Dialog delayed. - */ - public native void delayedDestruct(); - /** - Sets the text that is shown as the linked text. - If text is empty, - the text "Get help..." (internationalized) is used instead. - @param text The link text. - @short Sets the text that is shown as the linked text. - */ - public native void setHelpLinkText(String text); - /** - Sets the help path and topic. - @param anchor Defined anchor in your docbook sources - @param appname Defines the appname the help belongs to - If empty it's the current one - @note The help button works differently for the class - KCMultiDialog, so it does not make sense to call this - function for Dialogs of that type. See - KCMultiDialog.slotHelp() for more information. - @short Sets the help path and topic. - */ - public native void setHelp(String anchor, String appname); - public native void setHelp(String anchor); - /** - Connected to help link label. - @short Connected to help link label. - */ - public native void helpClickedSlot(String arg1); - /** - Sets the status of the Details button. - @short Sets the status of the Details button. - */ - public native void setDetails(boolean showDetails); - /** - Sets the widget that gets shown when "Details" is enabled. - The dialog takes over ownership of the widget. - Any previously set widget gets deleted. - @short Sets the widget that gets shown when "Details" is enabled. - */ - public native void setDetailsWidget(TQWidget detailsWidget); - /** - This method is called automatically whenever the background has - changed. You do not need to use this method. - @short This method is called automatically whenever the background has changed. - */ - public native void updateBackground(); - /** - Force closing the dialog, setting its result code to the one Esc would set. - You shouldn't use this, generally (let the user make his choice!) - but it can be useful when you need to make a choice after a timeout - has happened, or when the parent widget has to go somewhere else - (e.g. html redirections). - @short Force closing the dialog, setting its result code to the one Esc would set. - */ - public native void cancel(); - /** - Check whether the background tile is set or not. - @return true if there is defined a background tile. - - @short Check whether the background tile is set or not. - */ - public static native boolean haveBackgroundTile(); - /** - Returns a pointer to the background tile if there is one. - @return The tile pointer or 0 if no tile is defined. - - @short Returns a pointer to the background tile if there is one. - */ - public static native TQPixmap backgroundTile(); - /** - Sets the background tile. - If it is Null (0), the background image is deleted. - @param pix The background tile. - @short Sets the background tile. - */ - public static native void setBackgroundTile(TQPixmap pix); - /** - Maps some keys to the actions buttons. F1 is mapped to the Help - button if present and Escape to the Cancel or Close if present. The - button action event is animated. - @short Maps some keys to the actions buttons. - */ - protected native void keyPressEvent(TQKeyEvent e); - /** - Emits the #hidden signal. You can connect to that signal to - detect when a dialog has been closed. - @short Emits the #hidden signal. - */ - protected native void hideEvent(TQHideEvent arg1); - /** - Detects when a dialog is being closed from the window manager - controls. If the Cancel or Close button is present then the button - is activated. Otherwise standard TQDialog behavior - will take place. - @short Detects when a dialog is being closed from the window manager controls. - */ - protected native void closeEvent(TQCloseEvent e); - /** - Activated when the Help button has been clicked. If a help - text has been defined, the help system will be activated. - @short Activated when the Help button has been clicked. - */ - protected native void slotHelp(); - /** - Activated when the Default button has been clicked. - @short Activated when the Default button has been clicked. - */ - protected native void slotDefault(); - /** - Activated when the Details button has been clicked. - @short Activated when the Details button has been clicked. - @see #detailsClicked(boolean) - */ - protected native void slotDetails(); - /** - Activated when the User3 button has been clicked. - @short Activated when the User3 button has been clicked. - */ - protected native void slotUser3(); - /** - Activated when the User2 button has been clicked. - @short Activated when the User2 button has been clicked. - */ - protected native void slotUser2(); - /** - Activated when the User1 button has been clicked. - @short Activated when the User1 button has been clicked. - */ - protected native void slotUser1(); - /** - Activated when the Ok button has been clicked. The - TQDialog.accept() is activated. - @short Activated when the Ok button has been clicked. - */ - protected native void slotOk(); - /** - Activated when the Apply button has been clicked. - @short Activated when the Apply button has been clicked. - */ - protected native void slotApply(); - /** - Activated when the Try button has been clicked. - @short Activated when the Try button has been clicked. - */ - protected native void slotTry(); - /** - Activated when the Yes button has been clicked. The - TQDialog.done( Yes ) is activated. - @short Activated when the Yes button has been clicked. - */ - protected native void slotYes(); - /** - Activated when the Yes button has been clicked. The - TQDialog.done( No ) is activated. - @short Activated when the Yes button has been clicked. - */ - protected native void slotNo(); - /** - Activated when the Cancel button has been clicked. The - TQDialog.reject() is activated in regular mode and - TQDialog.done( Cancel ) when in message box mode. - @short Activated when the Cancel button has been clicked. - */ - protected native void slotCancel(); - /** - Activated when the Close button has been clicked. The - TQDialog.reject() is activated. - @short Activated when the Close button has been clicked. - */ - protected native void slotClose(); - /** - Updates the margins and spacings. - @short Updates the margins and spacings. - */ - public native void updateGeometry(); - /** - Deletes the dialog immediately. If you want to delete the dialog - delayed use delayedDestruct() or TQObject.deleteLater(). - Attention: Do no use connect this slot to signals from user - actions! - @short Deletes the dialog immediately. - */ - protected native void slotDelayedDestruct(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDialogBaseSignals.java b/kdejava/koala/org/kde/koala/KDialogBaseSignals.java deleted file mode 100644 index 457c9fea..00000000 --- a/kdejava/koala/org/kde/koala/KDialogBaseSignals.java +++ /dev/null @@ -1,129 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQObject; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQSize; -import org.kde.qt.TQGrid; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; -import org.kde.qt.TQVBox; -import org.kde.qt.TQFrame; -import org.kde.qt.TQHBox; - -public interface KDialogBaseSignals { - /** - The Help button was pressed. This signal is only emitted if - slotHelp() is not replaced. - @short The Help button was pressed. - */ - void helpClicked(); - /** - The Default button was pressed. This signal is only emitted if - slotDefault() is not replaced. - @short The Default button was pressed. - */ - void defaultClicked(); - /** - The User3 button was pressed. This signal is only emitted if - slotUser3() is not replaced. - @short The User3 button was pressed. - */ - void user3Clicked(); - /** - The User2 button was pressed. This signal is only emitted if - slotUser2() is not replaced. - @short The User2 button was pressed. - */ - void user2Clicked(); - /** - The User1 button was pressed. This signal is only emitted if - slotUser1() is not replaced. - @short The User1 button was pressed. - */ - void user1Clicked(); - /** - The Apply button was pressed. This signal is only emitted if - slotApply() is not replaced. - @short The Apply button was pressed. - */ - void applyClicked(); - /** - The Try button was pressed. This signal is only emitted if - slotTry() is not replaced. - @short The Try button was pressed. - */ - void tryClicked(); - /** - The OK button was pressed. This signal is only emitted if - slotOk() is not replaced. - @short The OK button was pressed. - */ - void okClicked(); - /** - The Yes button was pressed. This signal is only emitted if - slotYes() is not replaced. - @short The Yes button was pressed. - */ - void yesClicked(); - /** - The No button was pressed. This signal is only emitted if - slotNo() is not replaced. - @short The No button was pressed. - */ - void noClicked(); - /** - The Cancel button was pressed. This signal is only emitted if - slotCancel() is not replaced. - @short The Cancel button was pressed. - */ - void cancelClicked(); - /** - The Close button was pressed. This signal is only emitted if - slotClose() is not replaced. - @short The Close button was pressed. - */ - void closeClicked(); - /** - The background tile has changed. - @short The background tile has changed. - */ - void backgroundChanged(); - /** - The dialog is about to be hidden. - A dialog is hidden after a user clicks a button that ends - the dialog or when the user switches to another desktop or - minimizes the dialog. - @short The dialog is about to be hidden. - */ - void hidden(); - /** - The dialog has finished. - A dialog emits finished after a user clicks a button that ends - the dialog. - This signal is also emitted when you call hide() - If you have stored a pointer to the - dialog do not try to delete the pointer in the slot that is - connected to this signal. - You should use delayedDestruct() instead. - @short The dialog has finished. - */ - void finished(); - /** - The detailsWidget is about to get shown. This is your last chance - to call setDetailsWidget if you haven't done so yet. - @short The detailsWidget is about to get shown. - */ - void aboutToShowDetails(); - /** - A page is about to be shown. This signal is only emitted for the TreeList - and IconList faces. - @short A page is about to be shown. - */ - void aboutToShowPage(TQWidget page); -} diff --git a/kdejava/koala/org/kde/koala/KDialogQueue.java b/kdejava/koala/org/kde/koala/KDialogQueue.java deleted file mode 100644 index 60d1e26e..00000000 --- a/kdejava/koala/org/kde/koala/KDialogQueue.java +++ /dev/null @@ -1,29 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDialog; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -/** -*/ -public class KDialogQueue extends TQObject { - protected KDialogQueue(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public static native void queueDialog(TQDialog arg1); - public KDialogQueue() { - super((Class) null); - newKDialogQueue(); - } - private native void newKDialogQueue(); - protected static native KDialogQueue self(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDialogSignals.java b/kdejava/koala/org/kde/koala/KDialogSignals.java deleted file mode 100644 index 95b646f6..00000000 --- a/kdejava/koala/org/kde/koala/KDialogSignals.java +++ /dev/null @@ -1,21 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQRect; -import org.kde.qt.TQLayoutItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQLayoutItemInterface; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQWidget; - -public interface KDialogSignals { - /** - Emitted when the margin size and/or spacing size - have changed. - Use marginHint() and spacingHint() in your slot - to get the new values. - @short Emitted when the margin size and/or spacing size have changed. - */ - void layoutHintChanged(); -} diff --git a/kdejava/koala/org/kde/koala/KDirLister.java b/kdejava/koala/org/kde/koala/KDirLister.java deleted file mode 100644 index 96679a75..00000000 --- a/kdejava/koala/org/kde/koala/KDirLister.java +++ /dev/null @@ -1,458 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; -import org.kde.qt.TQObject; - -/** - - The dir lister deals with the tdeiojob used to list and update a directory - and has signals for the user of this class (e.g. konqueror view or - kdesktop) to create/destroy its items when asked. - This class is independent from the graphical representation of the dir - (icon container, tree view, ...) and it stores the items (as KFileItems). - Typical usage : - -
    • - Create an instance. -
    • - -
    • - Connect to at least update, clear, newItem, and deleteItem. -
    • - -
    • - Call openURL - the signals will be called. -
    • - -
    • - Reuse the instance when opening a new url (openURL). -
    • - -
    • - Destroy the instance when not needed anymore (usually destructor). -
    • - Advanced usage : call openURL with _keep = true to list directories - without forgetting the ones previously read (e.g. for a tree view) - See {@link KDirListerSignals} for signals emitted by KDirLister - @author Michael Brade - - @short Helper class for the tdeiojob used to list and update a directory. - -*/ -public class KDirLister extends TQObject { - protected KDirLister(Class dummy){super((Class) null);} - /** - Used by items() and itemsForDir() to specify whether you want - all items for a directory or just the filtered ones. - @short Used by items() and itemsForDir() to specify whether you want all items for a directory or just the filtered ones. - */ - public static final int AllItems = 0; - public static final int FilteredItems = 1; - - public static final int NONE = 0; - public static final int NAME_FILTER = 1; - public static final int MIME_FILTER = 2; - public static final int DOT_FILES = 4; - public static final int DIR_ONLY_MODE = 8; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Create a directory lister. - @param _delayedMimeTypes if true, mime types will be fetched on demand. If false, - they will always be fetched immediately - @short Create a directory lister. - */ - public KDirLister(boolean _delayedMimeTypes) { - super((Class) null); - newKDirLister(_delayedMimeTypes); - } - private native void newKDirLister(boolean _delayedMimeTypes); - public KDirLister() { - super((Class) null); - newKDirLister(); - } - private native void newKDirLister(); - /** - Run the directory lister on the given url. - This method causes KDirLister to emit _all_ the items of _url, in any case. - Depending on _keep either clear() or clear(KURL) will be - emitted first. - The newItems() signal may be emitted more than once to supply you - with KFileItems, up until the signal completed() is emitted - (and isFinished() returns true). - @param _url the directory URL. - @param _keep if true the previous directories aren't forgotten - (they are still watched by kdirwatch and their items - are kept for this KDirLister). This is useful for e.g. - a treeview. - @param _reload indicates wether to use the cache (false) or to reread the - directory from the disk. - Use only when opening a dir not yet listed by this lister - without using the cache. Otherwise use updateDirectory. - @return true if successful, - false otherwise (e.g. invalid _url) - - @short Run the directory lister on the given url. - */ - public native boolean openURL(KURL _url, boolean _keep, boolean _reload); - public native boolean openURL(KURL _url, boolean _keep); - public native boolean openURL(KURL _url); - /** - Stop listing all directories currently being listed. - Emits canceled() if there was at least one job running. - Emits canceled( KURL ) for each stopped job if - there are at least two dirctories being watched by KDirLister. - @short Stop listing all directories currently being listed. - */ - public native void stop(); - /** - Stop listing the given directory. - Emits canceled() if the killed job was the last running one. - Emits canceled( KURL ) for the killed job if - there are at least two directories being watched by KDirLister. - No signal is emitted if there was no job running for _url. - @param _url the directory URL - @short Stop listing the given directory. - */ - public native void stop(KURL _url); - /** - Checks whether KDirWatch will automatically update directories. This is - enabled by default. - @return true if KDirWatch is used to automatically update directories. - - @short Checks whether KDirWatch will automatically update directories. - */ - public native boolean autoUpdate(); - /** - Enable/disable automatic directory updating, when a directory changes - (using KDirWatch). - @param enable true to enable, false to disable - @short Enable/disable automatic directory updating, when a directory changes (using KDirWatch). - */ - public native void setAutoUpdate(boolean enable); - /** - Check whether auto error handling is enabled. - If enabled, it will show an error dialog to the user when an - error occurs. It is turned on by default. - @return true if auto error handling is enabled, false otherwise - - @short Check whether auto error handling is enabled. - @see #setAutoErrorHandlingEnabled - */ - public native boolean autoErrorHandlingEnabled(); - /** - Enable or disable auto error handling is enabled. - If enabled, it will show an error dialog to the user when an - error occurs. It is turned on by default. - @param enable true to enable auto error handling, false to disable - @param parent the parent widget for the error dialogs, can be 0 for - top-level - @short Enable or disable auto error handling is enabled. - @see #autoErrorHandlingEnabled - */ - public native void setAutoErrorHandlingEnabled(boolean enable, TQWidget parent); - /** - Checks whether hidden files (files beginning with a dot) will be - shown. - By default this option is disabled (hidden files will be not shown). - @return true if dot files are shown, false otherwise - - @short Checks whether hidden files (files beginning with a dot) will be shown. - @see #setShowingDotFiles - */ - public native boolean showingDotFiles(); - /** - Changes the "is viewing dot files" setting. - Calls updateDirectory() if setting changed. - By default this option is disabled (hidden files will not be shown). - @param _showDotFiles true to enable showing hidden files, false to - disable - @short Changes the "is viewing dot files" setting. - @see #showingDotFiles - */ - public native void setShowingDotFiles(boolean _showDotFiles); - /** - Checks whether the KDirLister only lists directories or all - files. - By default this option is disabled (all files will be shown). - @return true if setDirOnlyMode(true) was called - - @short Checks whether the KDirLister only lists directories or all files. - */ - public native boolean dirOnlyMode(); - /** - Call this to list only directories. - By default this option is disabled (all files will be shown). - @param dirsOnly true to list only directories - @short Call this to list only directories. - */ - public native void setDirOnlyMode(boolean dirsOnly); - /** - Returns the top level URL that is listed by this KDirLister. - It might be different from the one given with openURL() if there was a - redirection. If you called openURL() with _keep == true this is the - first url opened (e.g. in a treeview this is the root). - @return the url used by this instance to list the files. - - @short Returns the top level URL that is listed by this KDirLister. - */ - public native KURL url(); - /** - Returns all URLs that are listed by this KDirLister. This is only - useful if you called openURL() with _keep == true, as it happens in a - treeview, for example. (Note that the base url is included in the list - as well, of course.) - @return the list of all listed URLs - - @short Returns all URLs that are listed by this KDirLister. - */ - public native ArrayList directories(); - /** - Actually emit the changes made with setShowingDotFiles, setDirOnlyMode, - setNameFilter and setMimeFilter. - @short Actually emit the changes made with setShowingDotFiles, setDirOnlyMode, setNameFilter and setMimeFilter. - */ - public native void emitChanges(); - /** - Update the directory _dir. This method causes KDirLister to _only_ emit - the items of _dir that actually changed compared to the current state in the - cache and updates the cache. - The current implementation calls updateDirectory automatically for - local files, using KDirWatch (if autoUpdate() is true), but it might be - useful to force an update manually. - @param _dir the directory URL - @short Update the directory _dir. - */ - public native void updateDirectory(KURL _dir); - /** - Returns true if no io operation is currently in progress. - @return true if finished, false otherwise - - @short Returns true if no io operation is currently in progress. - */ - public native boolean isFinished(); - /** - Returns the file item of the URL. - @return the file item for url() itself (".") - - @short Returns the file item of the URL. - */ - public native KFileItem rootItem(); - /** - Find an item by its URL. - @param _url the item URL - @return the pointer to the KFileItem - - @short Find an item by its URL. - */ - public native KFileItem findByURL(KURL _url); - public native KFileItem find(KURL _url); - /** - Find an item by its name. - @param name the item name - @return the pointer to the KFileItem - - @short Find an item by its name. - */ - public native KFileItem findByName(String name); - /** - Set a name filter to only list items matching this name, e.g. "*.cpp". - You can set more than one filter by separating them with whitespace, e.g - "*.cpp .h". - Note: the direcory is not automatically reloaded. - @param filter the new filter, null to disable filtering - @short Set a name filter to only list items matching this name, e. - @see #matchesFilter - */ - public native void setNameFilter(String filter); - /** - Returns the current name filter, as set via setNameFilter() - @return the current name filter, can be null if filtering - is turned off - - @short Returns the current name filter, as set via setNameFilter() - */ - public native String nameFilter(); - /** - Set mime-based filter to only list items matching the given mimetypes. - NOTE: setting the filter does not automatically reload direcory. - Also calling this function will not affect any named filter already set. - @param mimeList a list of mime-types. - @short Set mime-based filter to only list items matching the given mimetypes. - @see #clearMimeFilter - @see #matchesMimeFilter - */ - public native void setMimeFilter(String[] mimeList); - /** - Filtering should be done with KFileFilter. This will be implemented in a later - revision of KDirLister. This method may be removed then. - Set mime-based exclude filter to only list items not matching the given mimetypes - NOTE: setting the filter does not automatically reload direcory. - Also calling this function will not affect any named filter already set. - @param mimeList a list of mime-types. - @short Filtering should be done with KFileFilter. - @see #clearMimeFilter - @see #matchesMimeFilter - */ - public native void setMimeExcludeFilter(String[] mimeList); - /** - Clears the mime based filter. - @short Clears the mime based filter. - @see #setMimeFilter - */ - public native void clearMimeFilter(); - /** - Returns the list of mime based filters, as set via setMimeFilter(). - @return the list of mime based filters. Empty, when no mime filter is set. - - @short Returns the list of mime based filters, as set via setMimeFilter(). - */ - public native ArrayList mimeFilters(); - /** - Checks whether name matches a filter in the list of name filters. - @return true if name matches a filter in the list, - otherwise false. - - @short Checks whether name matches a filter in the list of name filters. - @see #setNameFilter - */ - public native boolean matchesFilter(String name); - /** - Checks whether mime matches a filter in the list of mime types - @param mime the mimetype to find in the filter list. - @return true if name matches a filter in the list, - otherwise false. - - @short Checks whether mime matches a filter in the list of mime types - @see #setMimeFilter# - */ - public native boolean matchesMimeFilter(String mime); - /** - Pass the main window this object is associated with - this is used for caching authentication data - @param window the window to associate with, 0 to disassociate - @short Pass the main window this object is associated with this is used for caching authentication data - */ - public native void setMainWindow(TQWidget window); - /** - Returns the main window associated with this object. - @return the associated main window, or 0 if there is none - - @short Returns the main window associated with this object. - */ - public native TQWidget mainWindow(); - /** - Returns the items listed for the current url(). - This method will NOT start listing a directory, you should only call - this when receiving the finished() signal. - The items in the KFileItemList are references to the items used - by KDirLister, so e.g. an item gets destroyed when the deleteItem() - signal is emitted. - @param which specifies whether the returned list will contain all entries - or only the ones that passed the nameFilter(), mimeFilter(), - etc. Note that the latter causes iteration over all the - items, filtering them. If this is too slow for you, use the - newItems() signal, sending out filtered items in chunks. - @return the items listed for the current url(). - - @short Returns the items listed for the current url(). - */ - public native ArrayList items(int which); - public native ArrayList items(); - /** - Returns the items listed for the given dir. - This method will NOT start listing dir, you should only call - this when receiving the finished() signal. - The items in the KFileItemList are references to the items used - by KDirLister, so e.g. an item gets destroyed when the deleteItem() - signal is emitted. - @param dir specifies the url for which the items should be returned. This - is only useful if you use KDirLister with multiple URLs - i.e. using boolean keep = true in openURL(). - @param which specifies whether the returned list will contain all entries - or only the ones that passed the nameFilter, mimeFilter, etc. - Note that the latter causes iteration over all the items, - filtering them. If this is too slow for you, use the - newItems() signal, sending out filtered items in chunks. - @return the items listed for dir. - - @short Returns the items listed for the given dir. - */ - public native ArrayList itemsForDir(KURL dir, int which); - public native ArrayList itemsForDir(KURL dir); - /** - Called for every new item before emitting newItems(). - You may reimplement this method in a subclass to implement your own - filtering. - The default implementation filters out ".." and everything not matching - the name filter(s) - @return true if the item is "ok". - false if the item shall not be shown in a view, e.g. - files not matching a pattern *.cpp ( KFileItem.isHidden()) - - @short Called for every new item before emitting newItems(). - @see #matchesFilter - @see #setNameFilter - */ - protected native boolean matchesFilter(KFileItem arg1); - /** - Called for every new item before emitting newItems(). - You may reimplement this method in a subclass to implement your own - filtering. - The default implementation filters out ".." and everything not matching - the name filter(s) - @return true if the item is "ok". - false if the item shall not be shown in a view, e.g. - files not matching a pattern *.cpp ( KFileItem.isHidden()) - - @short Called for every new item before emitting newItems(). - @see #matchesMimeFilter - @see #setMimeFilter - */ - protected native boolean matchesMimeFilter(KFileItem arg1); - /** - Called by the public matchesFilter() to do the - actual filtering. Those methods may be reimplemented to customize - filtering. - @param name the name to filter - @param filters a list of regular expressions for filtering - @short Called by the public matchesFilter() to do the actual filtering. - */ - // bool doNameFilter(const TQString& arg1,const TQPtrList& arg2); >>>> NOT CONVERTED - /** - Called by the public matchesMimeFilter() to do the - actual filtering. Those methods may be reimplemented to customize - filtering. - @param mime the mime type to filter - @param filters the list of mime types to filter - @short Called by the public matchesMimeFilter() to do the actual filtering. - */ - protected native boolean doMimeFilter(String mime, String[] filters); - /** - @short - */ - protected native boolean doMimeExcludeFilter(String mimeExclude, String[] filters); - /** - Checks if an url is malformed or not and displays an error message - if it is and autoErrorHandling is set to true. - @return true if url is valid, otherwise false. - - @short Checks if an url is malformed or not and displays an error message if it is and autoErrorHandling is set to true. - */ - protected native boolean validURL(KURL arg1); - /** Reimplement to customize error handling @short Reimplement to customize error handling - */ - protected native void handleError(Job arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDirListerSignals.java b/kdejava/koala/org/kde/koala/KDirListerSignals.java deleted file mode 100644 index db7ee3ea..00000000 --- a/kdejava/koala/org/kde/koala/KDirListerSignals.java +++ /dev/null @@ -1,135 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQWidget; - -public interface KDirListerSignals { - /** - Tell the view that we started to list _url. NOTE: this does _not_ imply that there - is really a job running! I.e. KDirLister.jobs() may return an empty list. In this case - the items are taken from the cache. - The view knows that openURL should start it, so it might seem useless, - but the view also needs to know when an automatic update happens. - @param _url the URL to list - @short Tell the view that we started to list _url. - */ - void started(KURL _url); - /** - Tell the view that listing is finished. There are no jobs running anymore. - @short Tell the view that listing is finished. - */ - void completed(); - /** - Tell the view that the listing of the directory _url is finished. - There might be other running jobs left. - This signal is only emitted if KDirLister is watching more than one directory. - @param _url the directory URL - @short Tell the view that the listing of the directory _url is finished. - */ - void completed(KURL _url); - /** - Tell the view that the user canceled the listing. No running jobs are left. - @short Tell the view that the user canceled the listing. - */ - void canceled(); - /** - Tell the view that the listing of the directory _url was canceled. - There might be other running jobs left. - This signal is only emitted if KDirLister is watching more than one directory. - @param _url the directory URL - @short Tell the view that the listing of the directory _url was canceled. - */ - void canceled(KURL _url); - /** - Signal a redirection. - Only emitted if there's just one directory to list, i.e. most - probably openURL() has been called with _keep == false. - @param _url the new URL - @short Signal a redirection. - */ - void redirection(KURL _url); - /** - Signal a redirection. - @param oldUrl the original URL - @param newUrl the new URL - @short Signal a redirection. - */ - void redirection(KURL oldUrl, KURL newUrl); - /** - Signal to clear all items. - It must always be connected to this signal to avoid doubled items! - @short Signal to clear all items. - */ - void clear(); - /** - Signal to empty the directory _url. - It is only emitted if the lister is holding more than one directory. - @param _url the directory that will be emptied - @short Signal to empty the directory _url. - */ - void clear(KURL _url); - /** - Signal new items. - @param items a list of new items - @short Signal new items. - */ - void newItems(ArrayList items); - /** - Send a list of items filtered-out by mime-type. - @param items the list of filtered items - @short Send a list of items filtered-out by mime-type. - */ - void itemsFilteredByMime(ArrayList items); - /** - Signal an item to remove. - ATTENTION: if _fileItem == rootItem() the directory this lister - is holding was deleted and you HAVE to release especially the - rootItem() of this lister, otherwise your app will CRASH!! - The clear() signals have been emitted already. - @param _fileItem the fileItem to delete - @short Signal an item to remove. - */ - void deleteItem(KFileItem _fileItem); - /** - Signal an item to refresh (its mimetype/icon/name has changed). - Note: KFileItem.refresh has already been called on those items. - @param items the items to refresh - @short Signal an item to refresh (its mimetype/icon/name has changed). - */ - void refreshItems(ArrayList items); - /** - Emitted to display information about running jobs. - Examples of message are "Resolving host", "Connecting to host...", etc. - @param msg the info message - @short Emitted to display information about running jobs. - */ - void infoMessage(String msg); - /** - Progress signal showing the overall progress of the KDirLister. - This allows using a progress bar very easily. (see KProgress) - @param percent the progress in percent - @short Progress signal showing the overall progress of the KDirLister. - */ - void percent(int percent); - /** - Emitted when we know the size of the jobs. - @param size the total size in bytes - @short Emitted when we know the size of the jobs. - */ - void totalSize(long size); - /** - Regularly emitted to show the progress of this KDirLister. - @param size the processed size in bytes - @short Regularly emitted to show the progress of this KDirLister. - */ - void processedSize(long size); - /** - Emitted to display information about the speed of the jobs. - @param bytes_per_second the speed in bytes/s - @short Emitted to display information about the speed of the jobs. - */ - void speed(int bytes_per_second); -} diff --git a/kdejava/koala/org/kde/koala/KDirNotify.java b/kdejava/koala/org/kde/koala/KDirNotify.java deleted file mode 100644 index 28c97604..00000000 --- a/kdejava/koala/org/kde/koala/KDirNotify.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - An abstract class that receives notifications of added and removed files - in any directory, local or remote. - The information comes from the konqueror/kdesktop instance where the - operation was done, and can interest KDirListers, bookmark handlers, etc. - @short An abstract class that receives notifications of added and removed files in any directory, local or remote. - -*/ -public class KDirNotify extends DCOPObject { - protected KDirNotify(Class dummy){super((Class) null);} - /** - Notify that files have been added in directory - Note: this is ASYNC so that it can be used with a broadcast. - @param directory the directory that contains the new files - @short Notify that files have been added in directory Note: this is ASYNC so that it can be used with a broadcast. - */ - // void FilesAdded(const KURL& arg1); >>>> NOT CONVERTED - /** - Notify that files have been deleted. - Note: this is ASYNC so that it can be used with a broadcast - @param fileList the files that have been deleted - @short Notify that files have been deleted. - */ - // void FilesRemoved(const KURL::List& arg1); >>>> NOT CONVERTED - /** - Notify that files have been changed. - At the moment, this is only used for new icon, but it could be - used for size etc. as well. - Note: this is ASYNC so that it can be used with a broadcast. - @param fileList the list of changed files - @short Notify that files have been changed. - */ - // void FilesChanged(const KURL::List& arg1); >>>> NOT CONVERTED - /** - Notify that a file has been renamed. - Note: this is ASYNC so that it can be used with a broadcast - @param src a list containing original names of the renamed files - @param dst a list of original names of the renamed files - @short Notify that a file has been renamed. - */ - // void FileRenamed(const KURL& arg1,const KURL& arg2); >>>> NOT CONVERTED -} diff --git a/kdejava/koala/org/kde/koala/KDirNotifyInterface.java b/kdejava/koala/org/kde/koala/KDirNotifyInterface.java deleted file mode 100644 index 41e8cde3..00000000 --- a/kdejava/koala/org/kde/koala/KDirNotifyInterface.java +++ /dev/null @@ -1,8 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -public interface KDirNotifyInterface { -} diff --git a/kdejava/koala/org/kde/koala/KDirOperator.java b/kdejava/koala/org/kde/koala/KDirOperator.java deleted file mode 100644 index c422056c..00000000 --- a/kdejava/koala/org/kde/koala/KDirOperator.java +++ /dev/null @@ -1,820 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWidget; - -/** - - This widget works as a network transparent filebrowser. You specify a URL - to display and this url will be loaded via KDirLister. The user can - browse through directories, highlight and select files, delete or rename - files. - It supports different views, e.g. a detailed view (see KFileDetailView), - a simple icon view (see KFileIconView), a combination of two views, - separating directories and files ( KCombiView). - Additionally, a preview view is available (see KFilePreview), which can - show either a simple or detailed view and additionally a preview widget - (see setPreviewWidget()). KImageFilePreview is one implementation - of a preview widget, that displays previews for all supported filetypes - utilizing TDEIO.PreviewJob. - Currently, those classes don't support Drag&Drop out of the box -- there - you have to use your own view-classes. You can use some DnD-aware views - from Bj�n Sahlstr� until they will be integrated - into this library. See http://devel-home.kde.org/~pfeiffer/DnD-classes.tar.gz - This widget is the one used in the KFileDialog. - Basic usage is like this: -
      -   KDirOperator op = new KDirOperator( KURL( "file:/home/gis" ), this );
      -   // some signals you might be interested in
      -   connect(op, SIGNAL("urlEntered(KURL)"),
      -           SLOT("urlEntered(KURL)"));
      -   connect(op, SIGNAL("fileHighlighted(const KFileItem )"),
      -           SLOT("fileHighlighted(const KFileItem )"));
      -   connect(op, SIGNAL("fileSelected(const KFileItem )"),
      -           SLOT("fileSelected(const KFileItem )"));
      -   connect(op, SIGNAL("finishedLoading()"),
      -           SLOT("slotLoadingFinished()"));
      -   op.readConfig( TDEGlobal.config(), "Your KDiroperator ConfigGroup" );
      -   op.setView(KFile.Default);
      - 
      - This will create a childwidget of 'this' showing the directory contents - of /home/gis in the default-view. The view is determined by the readConfig() - call, which will read the KDirOperator settings, the user left your program - with (and which you saved with op.writeConfig()). - See {@link KDirOperatorSignals} for signals emitted by KDirOperator - @author Stephan Kulow , Carsten Pfeiffer - - @short A widget for displaying files and browsing directories. - -*/ -public class KDirOperator extends TQWidget { - protected KDirOperator(Class dummy){super((Class) null);} - /** - The various action types. These values can be or'd together - @short The various action types. - */ - public static final int SortActions = 1; - public static final int ViewActions = 2; - public static final int NavActions = 4; - public static final int FileActions = 8; - public static final int AllActions = 15; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs the KDirOperator with no initial view. As the views are - configurable, call readConfig() to load the user's configuration - and then setView to explicitly set a view. - This constructor doesn't start loading the url, setView will do it. - @short Constructs the KDirOperator with no initial view. - */ - public KDirOperator(KURL urlName, TQWidget parent, String name) { - super((Class) null); - newKDirOperator(urlName,parent,name); - } - private native void newKDirOperator(KURL urlName, TQWidget parent, String name); - public KDirOperator(KURL urlName, TQWidget parent) { - super((Class) null); - newKDirOperator(urlName,parent); - } - private native void newKDirOperator(KURL urlName, TQWidget parent); - public KDirOperator(KURL urlName) { - super((Class) null); - newKDirOperator(urlName); - } - private native void newKDirOperator(KURL urlName); - public KDirOperator() { - super((Class) null); - newKDirOperator(); - } - private native void newKDirOperator(); - /** - Enables/disables showing hidden files. - @short Enables/disables showing hidden files. - */ - public native void setShowHiddenFiles(boolean s); - /** - @return true when hidden files are shown or false otherwise. - - @short - */ - public native boolean showHiddenFiles(); - /** - Stops loading immediately. You don't need to call this, usually. - @short Stops loading immediately. - */ - public native void closeLoading(); - public native boolean close(boolean alsoDelete); - /** - Sets a filter like "*.cpp .h .o". Only files matching that filter - will be shown. Call updateDir() to apply it. - @short Sets a filter like " . - @see KDirLister#setNameFilter - @see #nameFilter - */ - public native void setNameFilter(String filter); - /** - @return the current namefilter. - - @short - @see #setNameFilter - */ - public native String nameFilter(); - /** - Sets a list of mimetypes as filter. Only files of those mimetypes - will be shown. - Example: -
      -		 ArrayList filter;
      -		 filter << "text/html" << "image/png" << "inode/directory";
      -		 dirOperator.setMimefilter( filter );
      -		 
      - Node: Without the mimetype inode/directory, only files would be shown. - Call updateDir() to apply it. - @short Sets a list of mimetypes as filter. - @see KDirLister#setMimeFilter - @see #mimeFilter - */ - public native void setMimeFilter(String[] mimetypes); - /** - @return the current mime filter. - - @short - */ - public native ArrayList mimeFilter(); - /** - Clears both the namefilter and mimetype filter, so that all files and - directories will be shown. Call updateDir() to apply it. - @short Clears both the namefilter and mimetype filter, so that all files and directories will be shown. - @see #setMimeFilter - @see #setNameFilter - */ - public native void clearFilter(); - /** - @return the current url - - @short - */ - public native KURL url(); - /** - Sets a new url to list. - @param clearforward specifies whether the "forward" history should be cleared. - @param url the URL to set - @short Sets a new url to list. - */ - public native void setURL(KURL url, boolean clearforward); - /** - Clears the current selection and attempts to set filename - the current file. filename is just the name, no path or url. - @short Clears the current selection and attempts to set filename the current file. - */ - public native void setCurrentItem(String filename); - /** - Sets a new KFileView to be used for showing and browsing files. - Note: this will read the current url() to fill the view. - @short Sets a new KFileView to be used for showing and browsing files. - @see KFileView - @see KFileIconView - @see KFileDetailView - @see KCombiView - @see #view - */ - public native void setView(KFileViewInterface view); - /** - @return the currently used view. - - @short - @see #setView - */ - public native KFileViewInterface view(); - /** - Returns the widget of the current view. null if there is no view/widget. - (KFileView itself is not a widget.) - @short Returns the widget of the current view. - */ - public native TQWidget viewWidget(); - /** - Sets one of the predefined fileviews - @short Sets one of the predefined fileviews - @see KFile#FileView - */ - public native void setView(int view); - /** - Sets the way to sort files and directories. - @short Sets the way to sort files and directories. - */ - public native void setSorting(int arg1); - /** - @return the current way of sorting files and directories - - @short - */ - public native int sorting(); - /** - @return true if we are displaying the root directory of the current url - - @short - */ - public native boolean isRoot(); - /** - @return the object listing the directory - - @short - */ - public native KDirLister dirLister(); - /** - @return the progress widget, that is shown during directory listing. - You can for example reparent() it to put it into a statusbar. - - @short - */ - public native KProgress progressBar(); - /** - Sets the listing/selection mode for the views, an OR'ed combination of - -
    • - File -
    • - -
    • - Directory -
    • - -
    • - Files -
    • - -
    • - ExistingOnly -
    • - -
    • - LocalOnly -
    • - You cannot mix File and Files of course, as the former means - single-selection mode, the latter multi-selection. - @short Sets the listing/selection mode for the views, an OR'ed combination of - */ - public native void setMode(int m); - /** - @return the listing/selection mode. - - @short - */ - public native int mode(); - /** - Sets a preview-widget to be shown next to the file-view. - The ownership of w is transferred to KDirOperator, so don't - delete it yourself! - @short Sets a preview-widget to be shown next to the file-view. - */ - public native void setPreviewWidget(TQWidget w); - /** - @return a list of all currently selected items. If there is no view, - then 0L is returned. - - @short - */ - public native ArrayList selectedItems(); - /** - @return true if item is currently selected, or false otherwise. - - @short - */ - public native boolean isSelected(KFileItem item); - /** - @return the number of directories in the currently listed url. - Returns 0 if there is no view. - - @short - */ - public native int numDirs(); - /** - @return the number of files in the currently listed url. - Returns 0 if there is no view. - - @short - */ - public native int numFiles(); - /** - @return a TDECompletion object, containing all filenames and - directories of the current directory/URL. - You can use it to insert it into a KLineEdit or KComboBox - Note: it will only contain files, after prepareCompletionObjects() - has been called. It will be implicitly called from makeCompletion() - or makeDirCompletion() - - @short - */ - public native TDECompletion completionObject(); - /** - @return a TDECompletion object, containing only all directories of the - current directory/URL. - You can use it to insert it into a KLineEdit or KComboBox - Note: it will only contain directories, after - prepareCompletionObjects() has been called. It will be implicitly - called from makeCompletion() or makeDirCompletion() - - @short - */ - public native TDECompletion dirCompletionObject(); - /** - an accessor to a collection of all available Actions. The actions - are static, they will be there all the time (no need to connect to - the signals TDEActionCollection.inserted() or removed(). - There are the following actions: - -
    • - popupMenu : an ActionMenu presenting a popupmenu with all actions -
    • - -
    • - up : changes to the parent directory -
    • - -
    • - back : goes back to the previous directory -
    • - -
    • - forward : goes forward in the history -
    • - -
    • - home : changes to the user's home directory -
    • - -
    • - reload : reloads the current directory -
    • - -
    • - separator : a separator -
    • - -
    • - mkdir : opens a dialog box to create a directory -
    • - -
    • - delete : deletes the selected files/directories -
    • - -
    • - sorting menu : an ActionMenu containing all sort-options -
    • - -
    • - by name : sorts by name -
    • - -
    • - by date : sorts by date -
    • - -
    • - by size : sorts by size -
    • - -
    • - reversed : reverses the sort order -
    • - -
    • - dirs first : sorts directories before files -
    • - -
    • - case insensitive : sorts case insensitively -
    • - -
    • - view menu : an ActionMenu containing all actions concerning the view -
    • - -
    • - short view : shows a simple fileview -
    • - -
    • - detailed view : shows a detailed fileview (dates, permissions ,...) -
    • - -
    • - show hidden : shows hidden files -
    • - -
    • - separate dirs : shows directories in a separate pane -
    • - -
    • - preview : shows a preview next to the fileview -
    • - -
    • - single : hides the separate view for directories or the preview -
    • - -
    • - properties : shows a KPropertiesDialog for the selected files -
    • - The short and detailed view are in an exclusive group. The sort-by - actions are in an exclusive group as well. Also the "separate dirs", - "preview" and "single" actions are in an exclusive group. - You can e.g. use -
      -		 actionCollection().action( "up" ).plug( someToolBar );
      -		 
      - to add a button into a toolbar, which makes the dirOperator change to - its parent directory. - @return all available Actions - - @short an accessor to a collection of all available Actions. - */ - public native TDEActionCollection actionCollection(); - /** - Sets the config object and the to be used group in KDirOperator. This - will be used to store the view's configuration via - KFileView.writeConfig() (and for KFileView.readConfig()). - If you don't set this, the views cannot save and restore their - configuration. - Usually you call this right after KDirOperator creation so that the view - instantiation can make use of it already. - Note that KDirOperator does NOT take ownership of that object (typically - it's TDEGlobal.config() anyway. - @short Sets the config object and the to be used group in KDirOperator. - @see #viewConfig - @see #viewConfigGroup - */ - public native void setViewConfig(TDEConfig config, String group); - /** - Returns the TDEConfig object used for saving and restoring view's - configuration. - @return the TDEConfig object used for saving and restoring view's - configuration. - - @short Returns the TDEConfig object used for saving and restoring view's configuration. - */ - public native TDEConfig viewConfig(); - /** - Returns the group name used for saving and restoring view's - configuration. - @return the group name used for saving and restoring view's - configuration. - - @short Returns the group name used for saving and restoring view's configuration. - */ - public native String viewConfigGroup(); - /** - Reads the default settings for a view, i.e. the default KFile.FileView. - Also reads the sorting and whether hidden files should be shown. - Note: the default view will not be set - you have to call -
      -		 setView( KFile.Default )
      -		 
      - to apply it. - @short Reads the default settings for a view, i. - @see #setView - @see #setViewConfig - @see #writeConfig - */ - public native void readConfig(TDEConfig arg1, String group); - public native void readConfig(TDEConfig arg1); - /** - Saves the current settings like sorting, simple or detailed view. - @short Saves the current settings like sorting, simple or detailed view. - @see #readConfig - @see #setViewConfig - */ - public native void writeConfig(TDEConfig arg1, String group); - public native void writeConfig(TDEConfig arg1); - /** - This is a KFileDialog specific hack: we want to select directories with - single click, but not files. But as a generic class, we have to be able - to select files on single click as well. - This gives us the opportunity to do both. - The default is false, set it to true if you don't want files selected - with single click. - @short This is a KFileDialog specific hack: we want to select directories with single click, but not files. - */ - public native void setOnlyDoubleClickSelectsFiles(boolean enable); - /** - @return whether files (not directories) should only be select()ed by - double-clicks. - - @short - @see #setOnlyDoubleClickSelectsFiles - */ - public native boolean onlyDoubleClickSelectsFiles(); - /** - Creates the given directory/url. If it is a relative path, - it will be completed with the current directory. - If enterDirectory is true, the directory will be entered after a - successful operation. If unsuccessful, a messagebox will be presented - to the user. - @return true if the directory could be created. - - @short Creates the given directory/url. - */ - public native boolean mkdir(String directory, boolean enterDirectory); - public native boolean mkdir(String directory); - /** - Starts and returns a TDEIO.DeleteJob to delete the given items. - @param items the list of items to be deleted - @param ask specifies whether a confirmation dialog should be shown - @param showProgress passed to the DeleteJob to show a progress dialog - @short Starts and returns a TDEIO.DeleteJob to delete the given items. - */ - public native DeleteJob del(ArrayList items, boolean ask, boolean showProgress); - public native DeleteJob del(ArrayList items, boolean ask); - public native DeleteJob del(ArrayList items); - /** - Starts and returns a TDEIO.DeleteJob to delete the given items. - @param items the list of items to be deleted - @param parent the parent widget used for the confirmation dialog - @param ask specifies whether a confirmation dialog should be shown - @param showProgress passed to the DeleteJob to show a progress dialog - @short Starts and returns a TDEIO.DeleteJob to delete the given items. - */ - public native DeleteJob del(ArrayList items, TQWidget parent, boolean ask, boolean showProgress); - public native DeleteJob del(ArrayList items, TQWidget parent, boolean ask); - public native DeleteJob del(ArrayList items, TQWidget parent); - /** - Clears the forward and backward history. - @short Clears the forward and backward history. - */ - public native void clearHistory(); - /** - When going up in the directory hierarchy, KDirOperator can highlight - the directory that was just left. - I.e. when you go from /home/gis/src to /home/gis, the item "src" will - be made the current item. - Default is off. - @short When going up in the directory hierarchy, KDirOperator can highlight the directory that was just left. - */ - public native void setEnableDirHighlighting(boolean enable); - /** - Default is false. - @return whether the last directory will be made the current item - when going up in the directory hierarchy. - - @short - */ - public native boolean dirHighlighting(); - /** - @return true if we are in directory-only mode, that is, no files are - shown. - - @short - */ - public native boolean dirOnlyMode(); - /** - Sets up the action menu. - @param whichActions is an value of OR'd ActionTypes that controls which actions to show in the action menu - @short Sets up the action menu. - */ - public native void setupMenu(int whichActions); - /** - Reimplemented - allow dropping of files if b is true - @param b true if the widget should allow dropping of files - @short Reimplemented - allow dropping of files if b is true - */ - public native void setAcceptDrops(boolean b); - /** - Sets the options for dropping files. - @short Sets the options for dropping files. - @see KFileView#DropOptions - */ - public native void setDropOptions(int options); - /** - Starts and returns a TDEIO.CopyJob to trash the given items. - @param items the list of items to be trashed - @param parent the parent widget used for the confirmation dialog - @param ask specifies whether a confirmation dialog should be shown - @param showProgress passed to the CopyJob to show a progress dialog - @short Starts and returns a TDEIO.CopyJob to trash the given items. - */ - public native CopyJob trash(ArrayList items, TQWidget parent, boolean ask, boolean showProgress); - public native CopyJob trash(ArrayList items, TQWidget parent, boolean ask); - public native CopyJob trash(ArrayList items, TQWidget parent); - /** - Goes one step back in the history and opens that url. - @short Goes one step back in the history and opens that url. - */ - public native void back(); - /** - Goes one step forward in the history and opens that url. - @short Goes one step forward in the history and opens that url. - */ - public native void forward(); - /** - Enters the home directory. - @short Enters the home directory. - */ - public native void home(); - /** - Goes one directory up from the current url. - @short Goes one directory up from the current url. - */ - public native void cdUp(); - /** - to update the view after changing the settings - @short to update the view after changing the settings - */ - public native void updateDir(); - /** - Re-reads the current url. - @short Re-reads the current url. - */ - public native void rereadDir(); - /** - Opens a dialog to create a new directory. - @short Opens a dialog to create a new directory. - */ - public native void mkdir(); - /** - Deletes the currently selected files/directories. - @short Deletes the currently selected files/directories. - */ - public native void deleteSelected(); - /** - Enables/disables actions that are selection dependent. Call this e.g. - when you are about to show a popup menu using some of KDirOperators - actions. - @short Enables/disables actions that are selection dependent. - */ - public native void updateSelectionDependentActions(); - /** - Tries to complete the given string (only completes files). - @short Tries to complete the given string (only completes files). - */ - public native String makeCompletion(String arg1); - /** - Tries to complete the given string (only completes directores). - @short Tries to complete the given string (only completes directores). - */ - public native String makeDirCompletion(String arg1); - /** - Trashes the currently selected files/directories. - @short Trashes the currently selected files/directories. - */ - public native void trashSelected(int arg1, int arg2); - public static native boolean dirOnlyMode(int mode); - /** - A view factory for creating predefined fileviews. Called internally by setView - , but you can also call it directly. Reimplement this if you depend on self defined fileviews. - @param parent is the TQWidget to be set as parent - @param view is the predefined view to be set, note: this can be several ones OR:ed together. - @return the created KFileView - - @short A view factory for creating predefined fileviews. - @see KFileView - @see KCombiView - @see KFileDetailView - @see KFileIconView - @see KFilePreview - @see KFile#FileView - @see #setView - */ - protected native KFileViewInterface createView(TQWidget parent, int view); - /** - Sets a custom KDirLister to list directories. - @short Sets a custom KDirLister to list directories. - */ - protected native void setDirLister(KDirLister lister); - protected native void resizeEvent(TQResizeEvent arg1); - /** - Sets up all the actions. Called from the constructor, you usually - better not call this. - @short Sets up all the actions. - */ - protected native void setupActions(); - /** - Updates the sorting-related actions to comply with the current sorting - @short Updates the sorting-related actions to comply with the current sorting - @see #sorting - */ - protected native void updateSortActions(); - /** - Updates the view-related actions to comply with the current - KFile.FileView - @short Updates the view-related actions to comply with the current KFile.FileView - */ - protected native void updateViewActions(); - /** - Sets up the context-menu with all the necessary actions. Called from the - constructor, you usually don't need to call this. - @short Sets up the context-menu with all the necessary actions. - */ - protected native void setupMenu(); - /** - Synchronizes the completion objects with the entries of the - currently listed url. - Automatically called from makeCompletion() and - makeDirCompletion() - @short Synchronizes the completion objects with the entries of the currently listed url. - */ - protected native void prepareCompletionObjects(); - /** - Checks if there support from TDEIO.PreviewJob for the currently - shown files, taking mimeFilter() and nameFilter() into account - Enables/disables the preview-action accordingly. - @short Checks if there support from TDEIO.PreviewJob for the currently shown files, taking mimeFilter() and nameFilter() into account Enables/disables the preview-action accordingly. - */ - protected native boolean checkPreviewSupport(); - /** - Restores the normal cursor after showing the busy-cursor. Also hides - the progressbar. - @short Restores the normal cursor after showing the busy-cursor. - */ - protected native void resetCursor(); - /** - Called after setURL() to load the directory, update the history, - etc. - @short Called after setURL() to load the directory, update the history, etc. - */ - protected native void pathChanged(); - /** - Adds a new list of KFileItems to the view - (coming from KDirLister) - @short Adds a new list of KFileItems to the view (coming from KDirLister) - */ - protected native void insertNewFiles(ArrayList newone); - /** - Removes the given KFileItem item from the view (usually called from - KDirLister). - @short Removes the given KFileItem item from the view (usually called from KDirLister). - */ - protected native void itemDeleted(KFileItem arg1); - /** - Enters the directory specified by the given item. - @short Enters the directory specified by the given item. - */ - protected native void selectDir(KFileItem item); - /** - Emits fileSelected( item ) - @short Emits fileSelected( item ) - */ - protected native void selectFile(KFileItem item); - /** - Emits fileHighlighted( i ) - @short Emits fileHighlighted( i ) - */ - protected native void highlightFile(KFileItem i); - /** - Called upon right-click to activate the popupmenu. - @short Called upon right-click to activate the popupmenu. - */ - protected native void activatedMenu(KFileItem arg1, TQPoint pos); - /** - Changes sorting to sort by name - @short Changes sorting to sort by name - */ - protected native void sortByName(); - /** - Changes sorting to sort by size - @short Changes sorting to sort by size - */ - protected native void sortBySize(); - /** - Changes sorting to sort by date - @short Changes sorting to sort by date - */ - protected native void sortByDate(); - /** - Changes sorting to reverse sorting - @short Changes sorting to reverse sorting - */ - protected native void sortReversed(); - /** - Toggles showing directories first / having them sorted like files. - @short Toggles showing directories first / having them sorted like files. - */ - protected native void toggleDirsFirst(); - /** - Toggles case sensitive / case insensitive sorting - @short Toggles case sensitive / case insensitive sorting - */ - protected native void toggleIgnoreCase(); - /** - Tries to make the given match as current item in the view and emits - completion( match ) - @short Tries to make the given match as current item in the view and emits completion( match ) - */ - protected native void slotCompletionMatch(String match); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDirOperatorSignals.java b/kdejava/koala/org/kde/koala/KDirOperatorSignals.java deleted file mode 100644 index 51d48c97..00000000 --- a/kdejava/koala/org/kde/koala/KDirOperatorSignals.java +++ /dev/null @@ -1,42 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KDirOperatorSignals { - void urlEntered(KURL arg1); - void updateInformation(int files, int dirs); - void completion(String arg1); - void finishedLoading(); - /** - Emitted whenever the current fileview is changed, either by an explicit - call to setView() or by the user selecting a different view thru - the GUI. - @short Emitted whenever the current fileview is changed, either by an explicit call to setView() or by the user selecting a different view thru the GUI. - */ - void viewChanged(KFileViewInterface newView); - /** - Emitted when a file is highlighted or generally the selection changes in - multiselection mode. In the latter case, item is null. You can access - the selected items with selectedItems(). - @short Emitted when a file is highlighted or generally the selection changes in multiselection mode. - */ - void fileHighlighted(KFileItem item); - void dirActivated(KFileItem item); - void fileSelected(KFileItem item); - /** - Emitted when files are dropped. Dropping files is disabled by - default. You need to enable it with setAcceptDrops() - @param item the item on which the drop occurred or 0. - @param event the drop event itself. - @param urls the urls that where dropped. - @short Emitted when files are dropped. - */ - void dropped(KFileItem item, TQDropEvent event, ArrayList urls); -} diff --git a/kdejava/koala/org/kde/koala/KDirSelectDialog.java b/kdejava/koala/org/kde/koala/KDirSelectDialog.java deleted file mode 100644 index d8d38b59..00000000 --- a/kdejava/koala/org/kde/koala/KDirSelectDialog.java +++ /dev/null @@ -1,102 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - A pretty dialog for a KDirSelect control for selecting directories. - @author Michael Jarrett - - @short A pretty dialog for a KDirSelect control for selecting directories. - @see KFileDialog - -*/ -public class KDirSelectDialog extends KDialogBase { - protected KDirSelectDialog(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - The constructor. Creates a dialog to select a directory (url). - @param startDir the directory, initially shown - @param localOnly unused. You can only select paths below the startDir - @param parent the parent for the dialog, usually null - @param name the TQObject.name - @param modal if the dialog is modal or not - @short The constructor. - */ - public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name, boolean modal) { - super((Class) null); - newKDirSelectDialog(startDir,localOnly,parent,name,modal); - } - private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name, boolean modal); - public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name) { - super((Class) null); - newKDirSelectDialog(startDir,localOnly,parent,name); - } - private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent, String name); - public KDirSelectDialog(String startDir, boolean localOnly, TQWidget parent) { - super((Class) null); - newKDirSelectDialog(startDir,localOnly,parent); - } - private native void newKDirSelectDialog(String startDir, boolean localOnly, TQWidget parent); - public KDirSelectDialog(String startDir, boolean localOnly) { - super((Class) null); - newKDirSelectDialog(startDir,localOnly); - } - private native void newKDirSelectDialog(String startDir, boolean localOnly); - public KDirSelectDialog(String startDir) { - super((Class) null); - newKDirSelectDialog(startDir); - } - private native void newKDirSelectDialog(String startDir); - public KDirSelectDialog() { - super((Class) null); - newKDirSelectDialog(); - } - private native void newKDirSelectDialog(); - /** - Returns the currently-selected URL, or a blank URL if none is selected. - @return The currently-selected URL, if one was selected. - - @short Returns the currently-selected URL, or a blank URL if none is selected. - */ - public native KURL url(); - public native KFileTreeView view(); - public native boolean localOnly(); - /** - @return The path for the root node - - @short - */ - public native String startDir(); - public native void setCurrentURL(KURL url); - /** - Creates a KDirSelectDialog, and returns the result. - @param startDir the directory, initially shown - The tree will display this directory and subdirectories of it. - @param localOnly unused. You can only select paths below the startDir - @param parent the parent widget to use for the dialog, or NULL to create a parent-less dialog - @param caption the caption to use for the dialog, or null for the default caption - @return The URL selected, or an empty URL if the user canceled - or no URL was selected. - - @short Creates a KDirSelectDialog, and returns the result. - */ - public static native KURL selectDirectory(String startDir, boolean localOnly, TQWidget parent, String caption); - public static native KURL selectDirectory(String startDir, boolean localOnly, TQWidget parent); - public static native KURL selectDirectory(String startDir, boolean localOnly); - public static native KURL selectDirectory(String startDir); - public static native KURL selectDirectory(); - protected native void accept(); - protected native void slotUser1(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDirSize.java b/kdejava/koala/org/kde/koala/KDirSize.java deleted file mode 100644 index 528cf425..00000000 --- a/kdejava/koala/org/kde/koala/KDirSize.java +++ /dev/null @@ -1,80 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - Computes a directory size (similar to "du", but doesn't give the same results - since we simply sum up the dir and file sizes, whereas du speaks disk blocks) - @short Computes a directory size (similar to "du", but doesn't give the same results since we simply sum up the dir and file sizes, whereas du speaks disk blocks) - -*/ -public class KDirSize extends Job { - protected KDirSize(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - @return the size we found - - @short - */ - public native long totalSize(); - /** - @return the total number of files (counting symlinks to files, sockets - and character devices as files) in this directory and all sub-directories - - @short - */ - public native long totalFiles(); - /** - @return the total number of sub-directories found (not including the - directory the search started from and treating symlinks to directories - as directories) - - @short - */ - public native long totalSubdirs(); - /** - Asynchronous method. Connect to the result signal. - This one lists a single directory. - @short Asynchronous method. - */ - public static native KDirSize dirSizeJob(KURL directory); - /** - Asynchronous method. Connect to the result signal. - This one lists the items from lstItems. - The reason we asks for items instead of just urls, is so that - we directly know if the item is a file or a directory, - and in case of a file, we already have its size. - @short Asynchronous method. - */ - public static native KDirSize dirSizeJob(ArrayList lstItems); - /** - Synchronous method - you get the result as soon as - the call returns. - @short Synchronous method - you get the result as soon as the call returns. - */ - public static native long dirSize(KURL directory); - public KDirSize(KURL directory) { - super((Class) null); - newKDirSize(directory); - } - private native void newKDirSize(KURL directory); - public KDirSize(ArrayList lstItems) { - super((Class) null); - newKDirSize(lstItems); - } - private native void newKDirSize(ArrayList lstItems); - /** - @short - */ - protected native void setSync(); - protected native void startNextJob(KURL url); - protected native void slotResult(Job job); - // void slotEntries(TDEIO::Job* arg1,const TDEIO::UDSEntryList& arg2); >>>> NOT CONVERTED - protected native void processList(); -} diff --git a/kdejava/koala/org/kde/koala/KDirWatch.java b/kdejava/koala/org/kde/koala/KDirWatch.java deleted file mode 100644 index e64c328f..00000000 --- a/kdejava/koala/org/kde/koala/KDirWatch.java +++ /dev/null @@ -1,238 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.Calendar; -import org.kde.qt.TQObject; - -/** - - Watch directories and files for changes. - The watched directories or files don't have to exist yet. - When a watched directory is changed, i.e. when files therein are - created or deleted, KDirWatch will emit the signal dirty(). - When a watched, but previously not existing directory gets created, - KDirWatch will emit the signal created(). - When a watched directory gets deleted, KDirWatch will emit the - signal deleted(). The directory is still watched for new - creation. - When a watched file is changed, i.e. attributes changed or written - to, KDirWatch will emit the signal dirty(). - Scanning of particular directories or files can be stopped temporarily - and restarted. The whole class can be stopped and restarted. - Directories and files can be added/removed from the list in any state. - The implementation uses the FAM service when available; - if FAM is not available, the DNOTIFY functionality is used on LINUX. - As a last resort, a regular polling for change of modification times - is done; the polling interval is a global config option: - DirWatch/PollInterval and DirWatch/NFSPollInterval for NFS mounted - directories. - See {@link KDirWatchSignals} for signals emitted by KDirWatch - @author Sven Radej - - @short Class for watching directory and file changes. - @see #self - -*/ -public class KDirWatch extends TQObject { - protected KDirWatch(Class dummy){super((Class) null);} - public static final int FAM = 0; - public static final int DNotify = 1; - public static final int Stat = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. - Scanning begins immediately when a dir/file watch - is added. - @param parent the parent of the TQObject (or 0 for parent-less KDataTools) - @param name the name of the TQObject, can be 0 - @short Constructor. - */ - public KDirWatch(TQObject parent, String name) { - super((Class) null); - newKDirWatch(parent,name); - } - private native void newKDirWatch(TQObject parent, String name); - public KDirWatch(TQObject parent) { - super((Class) null); - newKDirWatch(parent); - } - private native void newKDirWatch(TQObject parent); - public KDirWatch() { - super((Class) null); - newKDirWatch(); - } - private native void newKDirWatch(); - /** - Adds a directory to be watched. - The directory does not have to exist. When watchFiles is - false (the default), the signals dirty(), created(), deleted() - can be emitted, all for the watched directory. - When watchFiles is true, all files in the watched directory - are watched for changes, too. Thus, the signals dirty(), - created(), deleted() can be emitted. - @param path the path to watch - @param watchFiles if true, the KDirWatch will also watch files - NOT IMPLEMENTED YET - @param recursive if true, all sub directories are also watched - NOT IMPLEMENTED YET - @short Adds a directory to be watched. - */ - public native void addDir(String path, boolean watchFiles, boolean recursive); - public native void addDir(String path, boolean watchFiles); - public native void addDir(String path); - /** - Adds a file to be watched. - @param file the file to watch - @short Adds a file to be watched. - */ - public native void addFile(String file); - /** - Returns the time the directory/file was last changed. - @param path the file to check - @return the date of the last modification - - @short Returns the time the directory/file was last changed. - */ - public native Calendar ctime(String path); - /** - Removes a directory from the list of scanned directories. - If specified path is not in the list this does nothing. - @param path the path of the dir to be removed from the list - @short Removes a directory from the list of scanned directories. - */ - public native void removeDir(String path); - /** - Removes a file from the list of watched files. - If specified path is not in the list this does nothing. - @param file the file to be removed from the list - @short Removes a file from the list of watched files. - */ - public native void removeFile(String file); - /** - Stops scanning the specified path. - The path is not deleted from the interal just, it is just skipped. - Call this function when you perform an huge operation - on this directory (copy/move big files or many files). When finished, - call restartDirScan(path). - @param path the path to skip - @return true if the path is being watched, otherwise false - - @short Stops scanning the specified path. - @see #restartDirScanning - */ - public native boolean stopDirScan(String path); - /** - Restarts scanning for specified path. - Resets ctime. It doesn't notify - the change (by emitted a signal), since the ctime value is reset. - Call it when you are finished with big operations on that path, - and when you have refreshed that path. - @param path the path to restart scanning - @return true if the path is being watched, otherwise false - - @short Restarts scanning for specified path. - @see #stopDirScanning - */ - public native boolean restartDirScan(String path); - /** - Starts scanning of all dirs in list. - @param notify If true, all changed directories (since - stopScan() call) will be notified for refresh. If notify is - false, all ctimes will be reset (except those who are stopped, - but only if skippedToo is false) and changed dirs won't be - notified. You can start scanning even if the list is - empty. First call should be called with false or else all - directories - in list will be notified. - @param skippedToo if true, the skipped directoris (scanning of which was - stopped with stopDirScan() ) will be reset and notified - for change. Otherwise, stopped directories will continue to be - unnotified. - @short Starts scanning of all dirs in list. - */ - public native void startScan(boolean notify, boolean skippedToo); - public native void startScan(boolean notify); - public native void startScan(); - /** - Stops scanning of all directories in internal list. - The timer is stopped, but the list is not cleared. - @short Stops scanning of all directories in internal list. - */ - public native void stopScan(); - /** - Is scanning stopped? - After creation of a KDirWatch instance, this is false. - @return true when scanning stopped - - @short Is scanning stopped? After creation of a KDirWatch instance, this is false. - */ - public native boolean isStopped(); - /** - Check if a directory is being watched by this KDirWatch instance - @param path the directory to check - @return true if the directory is being watched - - @short Check if a directory is being watched by this KDirWatch instance - */ - public native boolean contains(String path); - /** - Emits created(). - @param path the path of the file or directory - @short Emits created(). - */ - public native void setCreated(String path); - /** - Emits dirty(). - @param path the path of the file or directory - @short Emits dirty(). - */ - public native void setDirty(String path); - /** - Emits deleted(). - @param path the path of the file or directory - @short Emits deleted(). - */ - public native void setDeleted(String path); - /** - Returns the preferred internal method to - watch for changes. - @short Returns the preferred internal method to watch for changes. - */ - public native int internalMethod(); - /** - Dump statistic information about all KDirWatch instances. - This checks for consistency, too. - @short Dump statistic information about all KDirWatch instances. - */ - public static native void statistics(); - /** - The KDirWatch instance usually globally used in an application. - It is automatically deleted when the application exits. - However, you can create an arbitrary number of KDirWatch instances - aside from this one - for those you have to take care of memory management. - This function returns an instance of KDirWatch. If there is none, it - will be created. - @return a KDirWatch instance - - @short The KDirWatch instance usually globally used in an application. - */ - public static native KDirWatch self(); - /** - Returns true if there is an instance of KDirWatch. - @return true if there is an instance of KDirWatch. - - @short Returns true if there is an instance of KDirWatch. - @see KDirWatch#self - */ - public static native boolean exists(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDirWatchSignals.java b/kdejava/koala/org/kde/koala/KDirWatchSignals.java deleted file mode 100644 index 7040e642..00000000 --- a/kdejava/koala/org/kde/koala/KDirWatchSignals.java +++ /dev/null @@ -1,36 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import java.util.Calendar; - -public interface KDirWatchSignals { - /** - Emitted when a watched object is changed. - For a directory this signal is emitted when files - therein are created or deleted. - For a file this signal is emitted when its size or attributes change. - When you watch a directory, changes in the size or attributes of - contained files may or may not trigger this signal to be emitted - depending on which backend is used by KDirWatch. - The new ctime is set before the signal is emitted. - @param path the path of the file or directory - @short Emitted when a watched object is changed. - */ - void dirty(String path); - /** - Emitted when a file or directory is created. - @param path the path of the file or directory - @short Emitted when a file or directory is created. - */ - void created(String path); - /** - Emitted when a file or directory is deleted. - The object is still watched for new creation. - @param path the path of the file or directory - @short Emitted when a file or directory is deleted. - */ - void deleted(String path); -} diff --git a/kdejava/koala/org/kde/koala/KDiskFreeSp.java b/kdejava/koala/org/kde/koala/KDiskFreeSp.java deleted file mode 100644 index 4920caa9..00000000 --- a/kdejava/koala/org/kde/koala/KDiskFreeSp.java +++ /dev/null @@ -1,57 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQObject; - -/** - - This class parses the output of "df" to find the disk usage - information for a given partition (mount point). - See {@link KDiskFreeSpSignals} for signals emitted by KDiskFreeSp - @short This class parses the output of "df" to find the disk usage information for a given partition (mount point). - -*/ -public class KDiskFreeSp extends TQObject { - protected KDiskFreeSp(Class dummy){super((Class) null);} - public KDiskFreeSp(TQObject parent, String name) { - super((Class) null); - newKDiskFreeSp(parent,name); - } - private native void newKDiskFreeSp(TQObject parent, String name); - public KDiskFreeSp(TQObject parent) { - super((Class) null); - newKDiskFreeSp(parent); - } - private native void newKDiskFreeSp(TQObject parent); - public KDiskFreeSp() { - super((Class) null); - newKDiskFreeSp(); - } - private native void newKDiskFreeSp(); - /** - Call this to fire a search on the disk usage information - for mountPoint. foundMountPoint will be emitted - if this mount point is found, with the info requested. - done is emitted in any case. - @short Call this to fire a search on the disk usage information for mountPoint. - */ - public native int readDF(String mountPoint); - /** - Call this to fire a search on the disk usage information - for the mount point containing path. - foundMountPoint will be emitted - if this mount point is found, with the info requested. - done is emitted in any case. - @short Call this to fire a search on the disk usage information for the mount point containing path. - */ - public static native KDiskFreeSp findUsageInfo(String path); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDiskFreeSpSignals.java b/kdejava/koala/org/kde/koala/KDiskFreeSpSignals.java deleted file mode 100644 index 47b0b6ed..00000000 --- a/kdejava/koala/org/kde/koala/KDiskFreeSpSignals.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; - -public interface KDiskFreeSpSignals { - void foundMountPoint(String mountPoint, long kBSize, long kBUsed, long kBAvail); - void foundMountPoint(long arg1, long arg2, long arg3, String arg4); - void done(); -} diff --git a/kdejava/koala/org/kde/koala/KDockArea.java b/kdejava/koala/org/kde/koala/KDockArea.java deleted file mode 100644 index c5bdb25e..00000000 --- a/kdejava/koala/org/kde/koala/KDockArea.java +++ /dev/null @@ -1,64 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQDomElement; -import org.kde.qt.TQWidget; - -/** - See {@link KDockAreaSignals} for signals emitted by KDockArea -*/ -public class KDockArea extends TQWidget { - protected KDockArea(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KDockArea(TQWidget parent, String name) { - super((Class) null); - newKDockArea(parent,name); - } - private native void newKDockArea(TQWidget parent, String name); - public KDockArea(TQWidget parent) { - super((Class) null); - newKDockArea(parent); - } - private native void newKDockArea(TQWidget parent); - public KDockArea() { - super((Class) null); - newKDockArea(); - } - private native void newKDockArea(); - public native KDockManager manager(); - public native void setMainDockWidget(KDockWidget arg1); - public native KDockWidget getMainDockWidget(); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap); - public native void writeDockConfig(TQDomElement base); - public native void readDockConfig(TQDomElement base); - public native void writeDockConfig(TDEConfig c, String group); - public native void writeDockConfig(TDEConfig c); - public native void writeDockConfig(); - public native void readDockConfig(TDEConfig c, String group); - public native void readDockConfig(TDEConfig c); - public native void readDockConfig(); - public native void activateDock(); - public native TQPopupMenu dockHideShowMenu(); - public native void makeDockVisible(KDockWidget dock); - public native void makeDockInvisible(KDockWidget dock); - public native void makeWidgetDockVisible(TQWidget widget); - public native void resizeEvent(TQResizeEvent arg1); - protected native void slotDockWidgetUndocked(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockAreaSignals.java b/kdejava/koala/org/kde/koala/KDockAreaSignals.java deleted file mode 100644 index e68c249a..00000000 --- a/kdejava/koala/org/kde/koala/KDockAreaSignals.java +++ /dev/null @@ -1,18 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQDomElement; - -public interface KDockAreaSignals { - /** - Signals a certain dockwidget is undocked now. - @short Signals a certain dockwidget is undocked now. - */ - void dockWidgetHasUndocked(KDockWidget arg1); -} diff --git a/kdejava/koala/org/kde/koala/KDockMainWindow.java b/kdejava/koala/org/kde/koala/KDockMainWindow.java deleted file mode 100644 index e749816e..00000000 --- a/kdejava/koala/org/kde/koala/KDockMainWindow.java +++ /dev/null @@ -1,221 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -/** - - A special kind of TDEMainWindow that is able to have dockwidget child widgets (and member of the dockwidget class set). - The main widget should be a KDockWidget where other KDockWidget can be docked to - the left, right, top, bottom or to the middle. - Note: dock to the middle means to drop on a dockwidget and to unite them to a new widget, a tab control. - Furthermore, the KDockMainWindow has got the KDockManager and some data about the dock states. - If you've got some dockwidgets, you can dock them to the dockmainwindow to initialize a start scene: - Here an example: -
      - DockApplication.DockApplication( String name)
      - {
      -   ...
      -   KDockWidget mainDock;
      -   mainDock = createDockWidget( "Falk's MainDockWidget", mainPixmap, null, "main_dock_widget");
      -   AnyContentsWidget cw = new AnyContentsWidget( mainDock);
      -   mainDock.setWidget( cw);
      -   // allow others to dock to the 4 sides
      -   mainDock.setDockSite(KDockWidget.DockCorner);
      -   // forbit docking abilities of mainDock itself
      -   mainDock.setEnableDocking(KDockWidget.DockNone);
      -   setView( mainDock); // central widget in a KDE mainwindow
      -   setMainDockWidget( mainDock); // master dockwidget
      -   ...
      -   KDockWidget dockLeft;
      -   dockLeft = createDockWidget( "Intially left one", anyOtherPixmap, null, i18n("The left dockwidget"));
      -   AnotherWidget aw = new AnotherWidget( dockLeft);
      -   dockLeft.setWidget( aw);
      -   dockLeft.manualDock( mainDock,              // dock target
      -                         KDockWidget.DockLeft, // dock site
      -                         20 );                  // relation target/this (in percent)
      -   ...
      - 
      - Docking is fully dynamic at runtime. That means you can always move dockwidgets via drag and drop. - And last but not least you can use the popupmenu for showing or hiding any controlled dockwidget - of this class and insert it to your main menu bar or anywhere else. - See {@link KDockMainWindowSignals} for signals emitted by KDockMainWindow - @author Max Judin (documentation: Falk Brettschneider). - - @short A special kind of TDEMainWindow that is able to have dockwidget child widgets (and member of the dockwidget class set). - -*/ -public class KDockMainWindow extends TDEMainWindow { - protected KDockMainWindow(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a dockmainwindow. It calls its base class constructor and does additional things concerning - to the dock stuff: - -
    • - information about the dock state of this' children gets initialized -
    • - -
    • - a dockmanager is created... -
    • - -
    • - ...and gets initialized -
    • - -
    • - the main dockwidget is set to 0 -
    • - @param parent Parent widget for the dock main widget - @param name internal object name - @param f Qt.WidgetFlags widget flags - @short Constructs a dockmainwindow. - */ - public KDockMainWindow(TQWidget parent, String name, int f) { - super((Class) null); - newKDockMainWindow(parent,name,f); - } - private native void newKDockMainWindow(TQWidget parent, String name, int f); - public KDockMainWindow(TQWidget parent, String name) { - super((Class) null); - newKDockMainWindow(parent,name); - } - private native void newKDockMainWindow(TQWidget parent, String name); - public KDockMainWindow(TQWidget parent) { - super((Class) null); - newKDockMainWindow(parent); - } - private native void newKDockMainWindow(TQWidget parent); - public KDockMainWindow() { - super((Class) null); - newKDockMainWindow(); - } - private native void newKDockMainWindow(); - /** - Returns the dockmanager of this. (see KDockManager) - @return pointer to the wanted dockmanager - - @short Returns the dockmanager of this. - */ - public native KDockManager manager(); - /** - Sets a new main dockwidget. - Additionally, the toolbar is re-initialized. - @param dockwidget dockwidget that become the new main dockwidget - @short Sets a new main dockwidget. - */ - public native void setMainDockWidget(KDockWidget dockwidget); - /** - Returns the main dockwidget. - @return pointer to the main dockwidget - - @short Returns the main dockwidget. - */ - public native KDockWidget getMainDockWidget(); - /** - This is one of the most important methods! - The KDockMainWindow creates a new dockwidget object here that usually should encapsulate the user's widget. - The new dockwidget is automatically taken under control by the dockmanager of the dockmainwindow. - @param name TQObject name (default dockwidget caption) - @param pixmap window icon (for instance shown when docked as tabwidget entry) - @param parent parent widget for the new dockwidget - @param strCaption window title (shown when toplevel) - @param strTabPageLabel title of the tab page (visible when in tab page mode), if it is "", only the icon will be shown; if it is null, the label is set to strCaption - @return a pointer to the new created dockwidget - - @short This is one of the most important methods! The KDockMainWindow creates a new dockwidget object here that usually should encapsulate the user's widget. - */ - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent, String strCaption); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap, TQWidget parent); - public native KDockWidget createDockWidget(String name, TQPixmap pixmap); - /** - Saves the current dock window layout into a DOM tree below the given element. - @short Saves the current dock window layout into a DOM tree below the given element. - */ - public native void writeDockConfig(TQDomElement base); - /** - Reads the current dock window layout from a DOM tree below the given element. - @short Reads the current dock window layout from a DOM tree below the given element. - */ - public native void readDockConfig(TQDomElement base); - /** - It writes the current dock state in the given section of TDEConfig. - @param c KDE class for saving configurations - @param group name of section to write to - @short It writes the current dock state in the given section of TDEConfig. - */ - public native void writeDockConfig(TDEConfig c, String group); - public native void writeDockConfig(TDEConfig c); - public native void writeDockConfig(); - /** - It reads the current dock state from the given section of TDEConfig. - @param c KDE class for saving configurations - @param group name of section to read from - @short It reads the current dock state from the given section of TDEConfig. - */ - public native void readDockConfig(TDEConfig c, String group); - public native void readDockConfig(TDEConfig c); - public native void readDockConfig(); - /** - It runs through all dockwidgets which are under control of the dockmanager and calls show() for every - encapsulated widget and show() for the dockwidget itself if it is not in tab mode. - Additionally, if the main dockwidget is not a TQDialog, it will be shown. - @short It runs through all dockwidgets which are under control of the dockmanager and calls show() for every encapsulated widget and show() for the dockwidget itself if it is not in tab mode. - */ - public native void activateDock(); - /** - Returns a popup menu that contains entries for all controlled dockwidgets making hiding and showing - them possible. - @return the wanted popup menu - - @short Returns a popup menu that contains entries for all controlled dockwidgets making hiding and showing them possible. - */ - public native TQPopupMenu dockHideShowMenu(); - /** - This method shows the given dockwidget. - The clue is that it also considers the dockwidget could be a tab page - and must set to be the activate one. - @param dock the dockwidget that is to be shown - @short This method shows the given dockwidget. - */ - public native void makeDockVisible(KDockWidget dock); - /** - This method hides the given dockwidget. - @param dock the dockwidget that is to be shown - @short This method hides the given dockwidget. - */ - public native void makeDockInvisible(KDockWidget dock); - /** - This is an overloaded member function, provided for convenience. - It differs from the above function only in what argument(s) it accepts. - @short This is an overloaded member function, provided for convenience. - */ - public native void makeWidgetDockVisible(TQWidget widget); - /** - This method calls the base class method. - If the given widget inherits KDockWidget, applyToWidget(this) is called. - @param widget any widget that should become the main view - @short This method calls the base class method. - */ - public native void setView(TQWidget widget); - /** - Called whenever one of the dockwidgets of this has been undocked. - @short Called whenever one of the dockwidgets of this has been undocked. - */ - protected native void slotDockWidgetUndocked(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockMainWindowSignals.java b/kdejava/koala/org/kde/koala/KDockMainWindowSignals.java deleted file mode 100644 index 712d4893..00000000 --- a/kdejava/koala/org/kde/koala/KDockMainWindowSignals.java +++ /dev/null @@ -1,17 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -public interface KDockMainWindowSignals { - /** - Signals a certain dockwidget is undocked now. - @short Signals a certain dockwidget is undocked now. - */ - void dockWidgetHasUndocked(KDockWidget arg1); -} diff --git a/kdejava/koala/org/kde/koala/KDockManager.java b/kdejava/koala/org/kde/koala/KDockManager.java deleted file mode 100644 index 7269e0c7..00000000 --- a/kdejava/koala/org/kde/koala/KDockManager.java +++ /dev/null @@ -1,211 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; -import org.kde.qt.TQObject; - -/** - - The manager that knows all dockwidgets and handles the dock process (and member of the dockwidget class set). - More or less a helper class for the KDockWidget class set but of interest for some functionality - that can be called within a KDockMainWindow or a KDockWidget . - An important feature is the ability to read or save the current state of all things concerning to - dockwidgets to TDEConfig . - The dockmanager is also often used when a certain dockwidget or a child of such dockwidget must be found. - See {@link KDockManagerSignals} for signals emitted by KDockManager - @author Max Judin (documentation: Falk Brettschneider). - - @short The manager that knows all dockwidgets and handles the dock process (and member of the dockwidget class set). - -*/ -public class KDockManager extends TQObject { - protected KDockManager(Class dummy){super((Class) null);} - public static final int Unknown = 0; - public static final int WrapExistingWidgetsOnly = 1; - public static final int RestoreAllDockwidgets = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a dockmanager. Some initialization happen: - -
    • - It installs an event filter for the main window, -
    • - -
    • - a control list for dock objects -
    • - -
    • - a control list for menu items concerning to menus provided by the dockmanager -
    • - -
    • - Some state variables are set -
    • - @param mainWindow the main window controlled by this - @param name the internal TQOject name - @short Constructs a dockmanager. - */ - public KDockManager(TQWidget mainWindow, String name) { - super((Class) null); - newKDockManager(mainWindow,name); - } - private native void newKDockManager(TQWidget mainWindow, String name); - public KDockManager(TQWidget mainWindow) { - super((Class) null); - newKDockManager(mainWindow); - } - private native void newKDockManager(TQWidget mainWindow); - public native void dumpDockWidgets(); - /** - Saves the current state of the dockmanager and of all controlled widgets. - State means here to save the geometry, visibility, parents, internal object names, orientation, - separator positions, dockwidget-group information, tab widget states (if it is a tab group) and - last but not least some necessary things for recovering the dockmainwindow state. - @param c the KDE configuration saver - @param group the name of the section in TDEConfig - @short Saves the current state of the dockmanager and of all controlled widgets. - */ - public native void writeConfig(TDEConfig c, String group); - public native void writeConfig(TDEConfig c); - public native void writeConfig(); - /** - Like writeConfig but reads the whole stuff in. - In order to restore a window configuration - from a config file, it looks up widgets by name - (TQObject.name) in the childDock variable of - KDockManager. This list in turn contains all - KDockWidgets (according to the KDockWidget constructor). - So in principle, in order to restore a window layout, - one must first construct all widgets, put each of them in a - KDockWidget and then call readConfig(). And for all that - to work, each widget must have a unique name. - @param c the KDE configuration saver - @param group the name of the section in TDEConfig - @short Like writeConfig but reads the whole stuff in. - */ - public native void readConfig(TDEConfig c, String group); - public native void readConfig(TDEConfig c); - public native void readConfig(); - public native void setMainDockWidget2(KDockWidget arg1); - /** - Saves the current dock window layout into a DOM tree below the given element. - @short Saves the current dock window layout into a DOM tree below the given element. - */ - public native void writeConfig(TQDomElement base); - /** - Reads the current dock window layout from a DOM tree below the given element. - @short Reads the current dock window layout from a DOM tree below the given element. - */ - public native void readConfig(TQDomElement base); - /** - Shows all encapsulated widgets of all controlled dockwidgets and shows all dockwidgets which are - parent of a dockwidget tab group. - @short Shows all encapsulated widgets of all controlled dockwidgets and shows all dockwidgets which are parent of a dockwidget tab group. - */ - public native void activate(); - /** - It's more or less a method that catches several events which are interesting for the dockmanager. - Mainly mouse events during the drag process of a dockwidgets are of interest here. - @param object the object that sends the event - @param event the event - @return the return value of the method call of the base class method - - @short It's more or less a method that catches several events which are interesting for the dockmanager. - */ - public native boolean eventFilter(TQObject object, TQEvent event); - /** - This method finds out what a widgets' dockwidget is. That means the dockmanager has a look at all - dockwidgets it knows and tells you when one of those dockwidgets covers the given widget. - @param w any widget that is supposed to be encapsulated by one of the controlled dockwidgets - @return the dockwidget that encapsulates that widget, otherwise 0 - - @short This method finds out what a widgets' dockwidget is. - */ - public native KDockWidget findWidgetParentDock(TQWidget w); - /** - Works like makeDockVisible() but can be called for widgets that covered by a dockwidget. - @param w the widget that is encapsulated by a dockwidget that turns to visible. - @short Works like makeDockVisible() but can be called for widgets that covered by a dockwidget. - */ - public native void makeWidgetDockVisible(TQWidget w); - /** - @return the popupmenu for showing/hiding dockwidgets - - @short - */ - public native TQPopupMenu dockHideShowMenu(); - /** - @param dockName an internal TQObject name - @return the dockwidget that has got that internal TQObject name - - @short - */ - public native KDockWidget getDockWidgetFromName(String dockName); - /** - Enables opaque resizing. Opaque resizing defaults to TDEGlobalSettings.opaqueResize(). - Call this method before you create any dock widgets! - @short Enables opaque resizing. - */ - public native void setSplitterOpaqueResize(boolean b); - public native void setSplitterOpaqueResize(); - /** - Returns true if opaque resizing is enabled, false otherwise. - @short Returns true if opaque resizing is enabled, false otherwise. - */ - public native boolean splitterOpaqueResize(); - /** - Try to preserve the widget's size. Works like KeepSize resize mode - of TQSplitter. Off by default. - Call this method before you create any dock widgets! - @short Try to preserve the widget's size. - */ - public native void setSplitterKeepSize(boolean b); - public native void setSplitterKeepSize(); - /** - Returns true if the KeepSize is enabled, false otherwise. - @short Returns true if the KeepSize is enabled, false otherwise. - */ - public native boolean splitterKeepSize(); - /** - Operate the splitter with a higher resolution. Off by default. - Call this method before you create any dock widgets! - If high resolution is used all splitter position parameters - are percent*100 instead of percent. - @note Since KDE 3.5 this is ignored. Internally the splitter always - calcualtes in high resolution values. For KDE 4, this will be removed. - @short Operate the splitter with a higher resolution. - */ - public native void setSplitterHighResolution(boolean b); - public native void setSplitterHighResolution(); - /** - Returns true if the splitter uses the high resolution, false otherwise. - @short Returns true if the splitter uses the high resolution, false otherwise. - */ - public native boolean splitterHighResolution(); - /** - @short - */ - public native void setSpecialLeftDockContainer(KDockWidget container); - public native void setSpecialTopDockContainer(KDockWidget container); - public native void setSpecialRightDockContainer(KDockWidget container); - public native void setSpecialBottomDockContainer(KDockWidget container); - public native void removeFromAutoCreateList(KDockWidget pDockWidget); - public native void finishReadDockConfig(); - public native void setReadDockConfigMode(int mode); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockManagerSignals.java b/kdejava/koala/org/kde/koala/KDockManagerSignals.java deleted file mode 100644 index 3cc23e69..00000000 --- a/kdejava/koala/org/kde/koala/KDockManagerSignals.java +++ /dev/null @@ -1,28 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; - -public interface KDockManagerSignals { - /** - Signals changes of the docking state of a dockwidget. Usually the dock-toolbar will be updated then. - @short Signals changes of the docking state of a dockwidget. - */ - void change(); - /** - Signals a dockwidget is replaced with another one. - @short Signals a dockwidget is replaced with another one. - */ - void replaceDock(KDockWidget oldDock, KDockWidget newDock); - /** - Signals a dockwidget without parent (toplevel) is shown. - @short Signals a dockwidget without parent (toplevel) is shown. - */ - void setDockDefaultPos(KDockWidget arg1); -} diff --git a/kdejava/koala/org/kde/koala/KDockTabGroup.java b/kdejava/koala/org/kde/koala/KDockTabGroup.java deleted file mode 100644 index 078c3668..00000000 --- a/kdejava/koala/org/kde/koala/KDockTabGroup.java +++ /dev/null @@ -1,51 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; -import org.kde.qt.TQTabWidget; - -/** - - It just hides the special implementation of a dockwidget tab groups (and is member of the dockwidget class set). - An abstraction what it is currently. - In general it is like TQTabWidget but is more useful for the dockwidget class set. - More or less a minor helper class for the dockwidget class set. - @author Max Judin (documentation: Falk Brettschneider). - - @short It just hides the special implementation of a dockwidget tab groups (and is member of the dockwidget class set). - -*/ -public class KDockTabGroup extends TQTabWidget { - protected KDockTabGroup(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs this. It just calls the method of the base class. - @short Constructs this. - */ - public KDockTabGroup(TQWidget parent, String name) { - super((Class) null); - newKDockTabGroup(parent,name); - } - private native void newKDockTabGroup(TQWidget parent, String name); - public KDockTabGroup(TQWidget parent) { - super((Class) null); - newKDockTabGroup(parent); - } - private native void newKDockTabGroup(TQWidget parent); - public KDockTabGroup() { - super((Class) null); - newKDockTabGroup(); - } - private native void newKDockTabGroup(); - public native TQWidget transientTo(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidget.java b/kdejava/koala/org/kde/koala/KDockWidget.java deleted file mode 100644 index 9202ead6..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidget.java +++ /dev/null @@ -1,406 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - Floatable widget that can be dragged around with the mouse and - encapsulate the actual widgets (and member of the dockwidget class - set). - You just grip the double-lined panel, tear it off its parent - widget, drag it somewhere and let it loose. Depending on the - position where you leave it, the dockwidget becomes a toplevel - window on the desktop (floating mode) or docks to a new widget - (dock mode). Note: A KDockWidget can only be docked to a - KDockWidget. - If you want to use this kind of widget, your main application - window has to be a KDockMainWindow. That is because it has - got several additional dock management features, for instance a - KDockManager that has an overview over all dockwidgets and and - a dockmovemanager (internal class) that handles the dock process. - Usually you create an KDockWidget that covers the actual widget in this way: -
      - ...
      - KDockMainWindow mainWidget;
      - ...
      - KDockWidget dock = null;
      - dock = mainWidget.createDockWidget( "Any window caption", nicePixmap, null, i18n("window caption")); // null==no parent
      - TQWidget actualWidget = new TQWidget( dock);
      - dock.setWidget( actualWidget); // embed it
      - dock.setToolTipString(i18n("That's me")); // available when appearing as tab page
      - ...
      - 
      - See KDockMainWindow how a dockwidget is docked in. - See {@link KDockWidgetSignals} for signals emitted by KDockWidget - @author Max Judin (documentation: Falk Brettschneider). - - @short Floatable widget that can be dragged around with the mouse and encapsulate the actual widgets (and member of the dockwidget class set). - -*/ -public class KDockWidget extends TQWidget { - protected KDockWidget(Class dummy){super((Class) null);} - /** - The possible positions where a dockwidget can dock to another dockwidget - @short The possible positions where a dockwidget can dock to another dockwidget - */ - public static final int DockNone = 0; - public static final int DockTop = 0x0001; - public static final int DockLeft = 0x0002; - public static final int DockRight = 0x0004; - public static final int DockBottom = 0x0008; - public static final int DockCenter = 0x0010; - public static final int DockDesktop = 0x0020; - public static final int DockToSpecialSites = 0x0040; - public static final int DockCorner = DockTop|DockLeft|DockRight|DockBottom; - public static final int DockFullSite = DockCorner|DockCenter; - public static final int DockFullDocking = DockFullSite|DockDesktop; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Construct a dockwidget. - Initially, docking to another and docking to this is allowed for - every DockPosition. It is supposed to be no (tab) group. It will - taken under control of its dockmanager. - @param dockManager The responsible manager (dock helper) - @param name Object instance name - @param pixmap An icon (for instance shown when docked centered) - @param parent Parent widget - @param strCaption Title of the dockwidget window (shown when toplevel) - @param strTabPageLabel The title of the tab page (shown when in tab page mode), if it is "", only the icon will be shown, if it is null, the label is set to strCaption - @param f Qt.WidgetFlags widget flags - @short Construct a dockwidget. - */ - public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel, int f) { - super((Class) null); - newKDockWidget(dockManager,name,pixmap,parent,strCaption,strTabPageLabel,f); - } - private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel, int f); - public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel) { - super((Class) null); - newKDockWidget(dockManager,name,pixmap,parent,strCaption,strTabPageLabel); - } - private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption, String strTabPageLabel); - public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption) { - super((Class) null); - newKDockWidget(dockManager,name,pixmap,parent,strCaption); - } - private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent, String strCaption); - public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent) { - super((Class) null); - newKDockWidget(dockManager,name,pixmap,parent); - } - private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap, TQWidget parent); - public KDockWidget(KDockManager dockManager, String name, TQPixmap pixmap) { - super((Class) null); - newKDockWidget(dockManager,name,pixmap); - } - private native void newKDockWidget(KDockManager dockManager, String name, TQPixmap pixmap); - /** - This is a key method of this class! Use it to dock dockwidgets to - another dockwidget at the right position within its - KDockMainWindow or a toplevel dockwidget. - If the target is null, it will become a toplevel dockwidget at position pos; - Note: Docking to another dockwidget means exactly: - A new parent dockwidget will be created, that replaces the target dockwidget and contains another single helper widget (tab widget or panner) - which contains both dockwidgets, this and the target dockwidget. So consider parent<.child relationships change completely during such actions. - @param target The dockwidget to dock to - @param dockPos One of the DockPositions this is going to dock to - @param spliPos The split relation (in percent, or percent*100 in high resolution) between both dockwidgets, target and this - @param pos The dock position, mainly of interest for docking to the desktop (as toplevel dockwidget) - @param check Only for internal use; - @param tabIndex The position index of the tab widget (when in tab page mode), -1 (default) means append - @note Since KDE 3.5 the splitter position spliPos is always a value between [0..100]. If - the value is > 100, it will be treated like the old code and normalized to a value between - 0 and 100. Example: If the value was 4000, it will be fixed to 40. In short: The old and - the new behavior both work, so it is compatible with older KDE-versions. - @return result The group dockwidget that replaces the target dockwidget and will be grandparent of target and this. - - @short This is a key method of this class! Use it to dock dockwidgets to another dockwidget at the right position within its KDockMainWindow or a toplevel dockwidget. - */ - public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, TQPoint pos, boolean check, int tabIndex); - public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, TQPoint pos, boolean check); - public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos, TQPoint pos); - public native KDockWidget manualDock(KDockWidget target, int dockPos, int spliPos); - public native KDockWidget manualDock(KDockWidget target, int dockPos); - /** - Specify where it is either possible or impossible for this to dock to another dockwidget. - @param pos An OR'ed set of DockPositions - @short Specify where it is either possible or impossible for this to dock to another dockwidget. - */ - public native void setEnableDocking(int pos); - /** - @return Where it is either possible or impossible for this to dock to another dockwidget (an OR'ed set of DockPositions). - - @short - */ - public native int enableDocking(); - /** - Specify where it is either possible or impossible for another dockwidget to dock to this. - @param pos An OR'ed set of DockPositions - @short Specify where it is either possible or impossible for another dockwidget to dock to this. - */ - public native void setDockSite(int pos); - /** - @return There it is either possible or impossible for another dockwidget to dock to this (an OR'ed set of DockPositions). - - @short - */ - public native int dockSite(); - /** - Sets the embedded widget. - A TQLayout takes care about proper resizing, automatically. - @param w The pointer to the dockwidget's child widget. - @short Sets the embedded widget. - */ - public native void setWidget(TQWidget w); - /** - Get the embedded widget. - @return The pointer to the dockwidget's child widget, 0L if there's no such child. - - @short Get the embedded widget. - */ - public native TQWidget getWidget(); - /** - Sets the header of this dockwidget. - A TQLayout takes care about proper resizing, automatically. - The header contains the drag panel, the close button and the stay button. - @param ah A base class pointer to the dockwidget header - @short Sets the header of this dockwidget. - */ - public native void setHeader(KDockWidgetAbstractHeader ah); - /** @since 3.2 - get the pointer to the header widget - @short @since 3. - */ - public native KDockWidgetAbstractHeader getHeader(); - /** - Normally it simply shows the dockwidget. - But additionally, if it is docked to a tab widget (DockCenter), it is set as the active (visible) tab page. - @short Normally it simply shows the dockwidget. - */ - public native void makeDockVisible(); - /** - There are reasons that it's impossible: - -
    • - It is a (tab) group. -
    • - -
    • - It is already invisible ;-) -
    • - -
    • - The parent of this is the KDockMainWindow. -
    • - -
    • - It isn't able to dock to another widget. - -
    • @return If it may be possible to hide this. - - @short - */ - public native boolean mayBeHide(); - /** - -
    • - It is a (tab) group. -
    • - -
    • - It is already visible ;-) -
    • - -
    • - The parent of this is the KDockMainWindow. - -
    • @return If it may be possible to show this. - There are reasons that it's impossible: - - @short - */ - public native boolean mayBeShow(); - /** - @return The dockmanager that is responsible for this. - - @short - */ - public native KDockManager dockManager(); - /** - Stores a string for a tooltip. - That tooltip string has only a meaning when this dockwidget is shown as tab page. - In this case the tooltip is shown when one holds the mouse cursor on the tab page header. - Such tooltip will for instance be useful, if you use only icons there. - Note: Setting an empty string switches the tooltip off. - @param ttStr A string for the tooltip on the tab. - @short Stores a string for a tooltip. - */ - public native void setToolTipString(String ttStr); - /** - @return The tooltip string being shown on the appropriate tab page header when in dock-centered mode. - - @short - */ - public native String toolTipString(); - /** - @return result true, if a dockback is possible, otherwise false. - - @short - */ - public native boolean isDockBackPossible(); - /** - Sets a string that is used for the label of the tab page when in tab page mode - @param label The new tab page label. - @short Sets a string that is used for the label of the tab page when in tab page mode - */ - public native void setTabPageLabel(String label); - /** - @return A string that is used for the label of the tab page when in tab page mode. - - @short - */ - public native String tabPageLabel(); - /** - Catches and processes some TQWidget events that are interesting for dockwidgets. - @short Catches and processes some TQWidget events that are interesting for dockwidgets. - */ - public native boolean event(TQEvent arg1); - /** - Add dockwidget management actions to TQWidget.show. - @short Add dockwidget management actions to TQWidget.show. - */ - public native void show(); - /** - @return the parent widget of this if it inherits class KDockTabGroup - - @short - */ - public native KDockTabGroup parentDockTabGroup(); - public native TQWidget parentDockContainer(); - /** - Sets the type of the dock window - @param windowType is type of dock window - @short Sets the type of the dock window - */ - public native void setDockWindowType(int windowType); - public native void setDockWindowTransient(TQWidget parent, boolean transientEnabled); - /** - Returns the widget this dockwidget is set transient to, otherwise 0 - @short Returns the widget this dockwidget is set transient to, otherwise 0 - */ - public native TQWidget transientTo(); - /** - Lookup the nearest dockwidget docked left/right/top/bottom to this one or return 0 - @param pos is the position the wanted widget is docked to this one - @short Lookup the nearest dockwidget docked left/right/top/bottom to this one or return 0 - */ - public native KDockWidget findNearestDockWidget(int pos); - /** - Allows changing the pixmap which is used for the caption or dock tabs - @param pixmap is the pixmap to set - @short Allows changing the pixmap which is used for the caption or dock tabs - */ - public native void setPixmap(TQPixmap pixmap); - public native void setPixmap(); - /** - Returns the dockwidget's associated caption/dock tab pixmap - @short Returns the dockwidget's associated caption/dock tab pixmap - */ - public native TQPixmap pixmap(); - /** - @return the current dock position. - - @short - */ - public native int currentDockPosition(); - /** - subject to changes. It doesn't completely work yet without small hacks from within the calling application (Perhaps - KDE 3.1.x oder 3.2 - width is in pixel. It only affects a widget, which is placed directly into a horizontal KDockSplitter - @short subject to changes. - */ - public native void setForcedFixedWidth(int arg1); - /** - subject to changes. It doesn't completely work yet without small hacks from within the calling application (Perhaps - KDE 3.1.x oder 3.2 - height is in pixel. It only affects a widget, which is placed directly into a vertical KDockSplitter - @short subject to changes. - */ - public native void setForcedFixedHeight(int arg1); - public native void restoreFromForcedFixedSize(); - public native int forcedFixedWidth(); - public native int forcedFixedHeight(); - /** - Docks a dockwidget back to the dockwidget that was the neighbor - widget before the current dock position. - @short Docks a dockwidget back to the dockwidget that was the neighbor widget before the current dock position. - */ - public native void dockBack(); - /** - Toggles the visibility state of the dockwidget if it is able to be shown or to be hidden. - @short Toggles the visibility state of the dockwidget if it is able to be shown or to be hidden. - */ - public native void changeHideShowState(); - /** - Undocks this. It means it becomes a toplevel widget framed by the system window manager. - A small panel at the top of this undocked widget gives the possibility to drag it into - another dockwidget by mouse (docking). - @short Undocks this. - */ - public native void undock(); - /** - Docks the widget to the desktop (as a toplevel widget) - @short Docks the widget to the desktop (as a toplevel widget) - */ - public native void toDesktop(); - /** - Checks some conditions and shows or hides the dockwidget header (drag panel). - The header is hidden if: - -
    • - the parent widget is the KDockMainWindow -
    • - -
    • - this is a (tab) group dockwidget -
    • - -
    • - it is not able to dock to another dockwidget - -
    • @short Checks some conditions and shows or hides the dockwidget header (drag panel). - */ - protected native void updateHeader(); - protected native void setLatestKDockContainer(TQWidget arg1); - protected native TQWidget latestKDockContainer(); - protected native void setFormerBrotherDockWidget(KDockWidget arg1); - /** Does several things here when it has noticed that the former brother widget (closest neighbor) gets lost. - The former brother widget is needed for a possible dockback action, to speak with the Beatles: - "To get back to where you once belonged" ;-) - @short Does several things here when it has noticed that the former brother widget (closest neighbor) gets lost. - */ - protected native void loseFormerBrotherDockWidget(); - protected native void paintEvent(TQPaintEvent arg1); - protected native void mousePressEvent(TQMouseEvent arg1); - protected native void mouseReleaseEvent(TQMouseEvent arg1); - protected native void mouseMoveEvent(TQMouseEvent arg1); - protected native void leaveEvent(TQEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeader.java b/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeader.java deleted file mode 100644 index 4343e3a8..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeader.java +++ /dev/null @@ -1,60 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQFrame; - -/** - - An abstract base clase for all dockwidget headers (and member of the dockwidget class set). - See the class description of KDockWidgetHeader! - More or less a minor helper class for the dockwidget class set. - @author Max Judin (documentation: Falk Brettschneider). - - @short An abstract base clase for all dockwidget headers (and member of the dockwidget class set). - -*/ -public class KDockWidgetAbstractHeader extends TQFrame { - protected KDockWidgetAbstractHeader(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs this. - @param parent the parent widget (usually a dockwidget) - @param name the object instance name - @short Constructs this. - */ - public KDockWidgetAbstractHeader(KDockWidget parent, String name) { - super((Class) null); - newKDockWidgetAbstractHeader(parent,name); - } - private native void newKDockWidgetAbstractHeader(KDockWidget parent, String name); - public KDockWidgetAbstractHeader(KDockWidget parent) { - super((Class) null); - newKDockWidgetAbstractHeader(parent); - } - private native void newKDockWidgetAbstractHeader(KDockWidget parent); - /** - Provides things concerning to switching to toplevel mode. Must be overridden by an inheriting class. - @short Provides things concerning to switching to toplevel mode. - */ - public native void setTopLevel(boolean arg1); - /** - Provides saving the current configuration. Must be overridden by an inheriting class. - @short Provides saving the current configuration. - */ - public native void saveConfig(TDEConfig arg1); - /** - Provides loading the current configuration. Must be overridden by an inheriting class - @short Provides loading the current configuration. - */ - public native void loadConfig(TDEConfig arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeaderDrag.java b/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeaderDrag.java deleted file mode 100644 index bdd75e63..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidgetAbstractHeaderDrag.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQFrame; - -/** - - An abstract class for all dockwidget drag-panels of a dockwidgets (and member of the dockwidget class set). - See the class description of KDockWidgetHeaderDrag! - More or less a minor helper class for the dockwidget class set. - @author Max Judin (documentation: Falk Brettschneider). - - @short An abstract class for all dockwidget drag-panels of a dockwidgets (and member of the dockwidget class set). - -*/ -public class KDockWidgetAbstractHeaderDrag extends TQFrame { - protected KDockWidgetAbstractHeaderDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs this. - @param parent the parent widget (usually a dockwidget header) - @param dock the dockwidget where it belongs to - @param name the object instance name - @short Constructs this. - */ - public KDockWidgetAbstractHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock, String name) { - super((Class) null); - newKDockWidgetAbstractHeaderDrag(parent,dock,name); - } - private native void newKDockWidgetAbstractHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock, String name); - public KDockWidgetAbstractHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock) { - super((Class) null); - newKDockWidgetAbstractHeaderDrag(parent,dock); - } - private native void newKDockWidgetAbstractHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock); - /** - @return the dockwidget where this belongs to - - @short - */ - public native KDockWidget dockWidget(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidgetHeader.java b/kdejava/koala/org/kde/koala/KDockWidgetHeader.java deleted file mode 100644 index b9deeeee..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidgetHeader.java +++ /dev/null @@ -1,85 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; - -/** - - The header (additional bar) for a KDockWidget s (and member of the dockwidget class set). - It have got the buttons located there. And it is for recording and reading the button states. - More or less a minor helper class for the dockwidget class set. - @author Max Judin (documentation: Falk Brettschneider). - - @short The header (additional bar) for a KDockWidget s (and member of the dockwidget class set). - -*/ -public class KDockWidgetHeader extends KDockWidgetAbstractHeader { - protected KDockWidgetHeader(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs this. - @param parent the parent widget (usually a dockwidget) - @param name the object instance name - @short Constructs this. - */ - public KDockWidgetHeader(KDockWidget parent, String name) { - super((Class) null); - newKDockWidgetHeader(parent,name); - } - private native void newKDockWidgetHeader(KDockWidget parent, String name); - public KDockWidgetHeader(KDockWidget parent) { - super((Class) null); - newKDockWidgetHeader(parent); - } - private native void newKDockWidgetHeader(KDockWidget parent); - /** - Hides the close button and stay button when switching to toplevel or vice versa shows them. - @param t toplevel or not - @short Hides the close button and stay button when switching to toplevel or vice versa shows them. - */ - public native void setTopLevel(boolean t); - /** - Sets the drag panel of this header. - @param nd A pointer to the new drag panel - @short Sets the drag panel of this header. - */ - public native void setDragPanel(KDockWidgetHeaderDrag nd); - /** - Get the drag panel of this header. - @short Get the drag panel of this header. - */ - public native KDockWidgetHeaderDrag dragPanel(); - public native boolean dragEnabled(); - public native void setDragEnabled(boolean b); - public native void showUndockButton(boolean show); - public native void forceCloseButtonHidden(boolean enable); - public native void forceCloseButtonHidden(); - /** - Saves the current button state to a KDE config container object. - @param c the configuration safe - @short Saves the current button state to a KDE config container object. - */ - public native void saveConfig(TDEConfig c); - /** - Loads the current button state from a KDE config container object. - @param c the configuration safe - @short Loads the current button state from a KDE config container object. - */ - public native void loadConfig(TDEConfig c); - // void addButton(KDockButton_Private* arg1); >>>> NOT CONVERTED - // void removeButton(KDockButton_Private* arg1); >>>> NOT CONVERTED - /** - Sets dragging the dockwidget off when the stay button is pressed down and vice versa. - @short Sets dragging the dockwidget off when the stay button is pressed down and vice versa. - */ - protected native void slotStayClicked(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidgetHeaderDrag.java b/kdejava/koala/org/kde/koala/KDockWidgetHeaderDrag.java deleted file mode 100644 index ffb698c5..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidgetHeaderDrag.java +++ /dev/null @@ -1,52 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; - -/** - - This special widget is the panel one can grip with the mouses (and member of the dockwidget class set). - The widget for dragging, so to speak. - Usually it is located in the KDockWidgetHeader. - More or less a minor helper class for the dockwidget class set. - @author Max Judin (documentation: Falk Brettschneider). - - @short This special widget is the panel one can grip with the mouses (and member of the dockwidget class set). - -*/ -public class KDockWidgetHeaderDrag extends KDockWidgetAbstractHeaderDrag { - protected KDockWidgetHeaderDrag(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs this. - @param parent the parent widget (usually a dockwidget header) - @param dock the dockwidget where it belongs to - @param name the object instance name - @short Constructs this. - */ - public KDockWidgetHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock, String name) { - super((Class) null); - newKDockWidgetHeaderDrag(parent,dock,name); - } - private native void newKDockWidgetHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock, String name); - public KDockWidgetHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock) { - super((Class) null); - newKDockWidgetHeaderDrag(parent,dock); - } - private native void newKDockWidgetHeaderDrag(KDockWidgetAbstractHeader parent, KDockWidget dock); - /** - Draws the drag panel (a double line) - @short Draws the drag panel (a double line) - */ - protected native void paintEvent(TQPaintEvent arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDockWidgetSignals.java b/kdejava/koala/org/kde/koala/KDockWidgetSignals.java deleted file mode 100644 index 65a45469..00000000 --- a/kdejava/koala/org/kde/koala/KDockWidgetSignals.java +++ /dev/null @@ -1,50 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPixmap; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; - -public interface KDockWidgetSignals { - /** - @short - */ - void widgetSet(TQWidget arg1); - /** - Emitted when another dock widget is docking to this. - @param dw the dockwidget that is docking to this - @param dp the DockPosition where it wants to dock to - @short Emitted when another dock widget is docking to this. - */ - void docking(KDockWidget dw, int dp); - /** - Signals that the dock default position is set. - @short Signals that the dock default position is set. - */ - void setDockDefaultPos(); - /** - Emitted when the close button of the panel ( KDockWidgetHeader) has been clicked. - @short Emitted when the close button of the panel ( KDockWidgetHeader) has been clicked. - */ - void headerCloseButtonClicked(); - /** - Emitted when the dockback button of the panel ( KDockWidgetHeader) has been clicked. - @short Emitted when the dockback button of the panel ( KDockWidgetHeader) has been clicked. - */ - void headerDockbackButtonClicked(); - /** - Emitted when the widget processes a close event. - @short Emitted when the widget processes a close event. - */ - void iMBeingClosed(); - /** - Emitted when the widget has undocked. - @short Emitted when the widget has undocked. - */ - void hasUndocked(); -} diff --git a/kdejava/koala/org/kde/koala/KDoubleNumInput.java b/kdejava/koala/org/kde/koala/KDoubleNumInput.java deleted file mode 100644 index 4df5264e..00000000 --- a/kdejava/koala/org/kde/koala/KDoubleNumInput.java +++ /dev/null @@ -1,280 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -/** - - KDoubleNumInput combines a TQSpinBox and optionally a TQSlider - with a label to make an easy to use control for setting some float - parameter. This is especially nice for configuration dialogs, - which can have many such combinated controls. - The slider is created only when the user specifies a range - for the control using the setRange function with the slider - parameter set to "true". - A special feature of KDoubleNumInput, designed specifically for - the situation when there are several instances in a column, - is that you can specify what portion of the control is taken by the - TQSpinBox (the remaining portion is used by the slider). This makes - it very simple to have all the sliders in a column be the same size. - It uses the KDoubleValidator validator class. KDoubleNumInput - enforces the value to be in the given range, but see the class - documentation of KDoubleSpinBox for the tricky - interrelationship of precision and values. All of what is said - there applies here, too. - See {@link KDoubleNumInputSignals} for signals emitted by KDoubleNumInput - @short An input control for real numbers, consisting of a spinbox and a slider. - @see KIntNumInput - @see KDoubleSpinBox - -*/ -public class KDoubleNumInput extends KNumInput { - protected KDoubleNumInput(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs an input control for double values - with initial value 0.00. - @short Constructs an input control for double values with initial value 0. - */ - public KDoubleNumInput(TQWidget parent, String name) { - super((Class) null); - newKDoubleNumInput(parent,name); - } - private native void newKDoubleNumInput(TQWidget parent, String name); - public KDoubleNumInput(TQWidget parent) { - super((Class) null); - newKDoubleNumInput(parent); - } - private native void newKDoubleNumInput(TQWidget parent); - public KDoubleNumInput() { - super((Class) null); - newKDoubleNumInput(); - } - private native void newKDoubleNumInput(); - /** - Constructor - @param lower lower boundary value - @param upper upper boundary value - @param value initial value for the control - @param step step size to use for up/down arrow clicks - @param precision number of digits after the decimal point - @param parent parent TQWidget - @param name internal name for this widget - @short Constructor - */ - public KDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent, String name) { - super((Class) null); - newKDoubleNumInput(lower,upper,value,step,precision,parent,name); - } - private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent, String name); - public KDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent) { - super((Class) null); - newKDoubleNumInput(lower,upper,value,step,precision,parent); - } - private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent); - public KDoubleNumInput(double lower, double upper, double value, double step, int precision) { - super((Class) null); - newKDoubleNumInput(lower,upper,value,step,precision); - } - private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision); - public KDoubleNumInput(double lower, double upper, double value, double step) { - super((Class) null); - newKDoubleNumInput(lower,upper,value,step); - } - private native void newKDoubleNumInput(double lower, double upper, double value, double step); - public KDoubleNumInput(double lower, double upper, double value) { - super((Class) null); - newKDoubleNumInput(lower,upper,value); - } - private native void newKDoubleNumInput(double lower, double upper, double value); - /** - Constructor - the difference here is the "below" parameter. It tells this - instance that it is visually put below some other KNumInput - widget. Note that these two KNumInput's need not to have the - same parent widget or be in the same layout group. The effect - is that it'll adjust it's layout in correspondence with the - layout of the other KNumInput's (you can build an arbitrary long - chain). - @param below append KDoubleNumInput to the KDoubleNumInput chain - @param lower lower boundary value - @param upper upper boundary value - @param value initial value for the control - @param step step size to use for up/down arrow clicks - @param precision number of digits after the decimal point - @param parent parent TQWidget - @param name internal name for this widget - @short Constructor - */ - public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent, String name) { - super((Class) null); - newKDoubleNumInput(below,lower,upper,value,step,precision,parent,name); - } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent, String name); - public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent) { - super((Class) null); - newKDoubleNumInput(below,lower,upper,value,step,precision,parent); - } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent); - public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision) { - super((Class) null); - newKDoubleNumInput(below,lower,upper,value,step,precision); - } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision); - public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step) { - super((Class) null); - newKDoubleNumInput(below,lower,upper,value,step); - } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step); - public KDoubleNumInput(KNumInput below, double lower, double upper, double value) { - super((Class) null); - newKDoubleNumInput(below,lower,upper,value); - } - private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value); - /** - @return the current value. - - @short - */ - public native double value(); - /** - @return the suffix. - - @short - @see #setSuffix - */ - public native String suffix(); - /** - @return the prefix. - - @short - @see #setPrefix - */ - public native String prefix(); - /** - @return the precision. - - @short - @see #setPrecision - */ - public native int precision(); - /** - @return the string displayed for a special value. - - @short - @see #setSpecialValueText - */ - public native String specialValueText(); - /** - @param min minimum value - @param max maximum value - @param step step size for the TQSlider - @param slider whether the slider is created or not - @short - */ - public native void setRange(double min, double max, double step, boolean slider); - public native void setRange(double min, double max, double step); - public native void setRange(double min, double max); - /** - Sets the minimum value. - @short Sets the minimum value. - */ - public native void setMinValue(double min); - /** - @return the minimum value. - - @short - */ - public native double minValue(); - /** - Sets the maximum value. - @short Sets the maximum value. - */ - public native void setMaxValue(double max); - /** - @return the maximum value. - - @short - */ - public native double maxValue(); - /** - Specifies the number of digits to use. - @short Specifies the number of digits to use. - */ - public native void setPrecision(int precision); - /** - @return the reference point for relativeValue calculation - - @short - */ - public native double referencePoint(); - /** - @return the current value in units of referencePoint. - - @short - */ - public native double relativeValue(); - /** - Sets the special value text. If set, the spin box will display - this text instead of the numeric value whenever the current - value is equal to minVal(). Typically this is used for indicating - that the choice has a special (default) meaning. - @short Sets the special value text. - */ - public native void setSpecialValueText(String text); - public native void setLabel(String label, int a); - public native void setLabel(String label); - public native TQSize minimumSizeHint(); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - /** - Sets the value of the control. - @short Sets the value of the control. - */ - public native void setValue(double arg1); - /** - Sets the value in units of referencePoint. - @short Sets the value in units of referencePoint. - */ - public native void setRelativeValue(double arg1); - /** - Sets the reference Point to ref. It ref == 0, emitting of - relativeValueChanged is blocked and relativeValue - just returns 0. - @short Sets the reference Point to ref. - */ - public native void setReferencePoint(double ref); - /** - Sets the suffix to be displayed to suffix. Use null to disable - this feature. Note that the suffix is attached to the value without any - spacing. So if you prefer to display a space separator, set suffix - to something like " cm". - @short Sets the suffix to be displayed to suffix. - @see #setSuffix - */ - public native void setSuffix(String suffix); - /** - Sets the prefix to be displayed to prefix. Use null to disable - this feature. Note that the prefix is attached to the value without any - spacing. - @short Sets the prefix to be displayed to prefix. - @see #setPrefix - */ - public native void setPrefix(String prefix); - protected native void doLayout(); - protected native void resizeEvent(TQResizeEvent arg1); - protected native void resetEditBox(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDoubleNumInputSignals.java b/kdejava/koala/org/kde/koala/KDoubleNumInputSignals.java deleted file mode 100644 index 1905387b..00000000 --- a/kdejava/koala/org/kde/koala/KDoubleNumInputSignals.java +++ /dev/null @@ -1,26 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQSize; -import org.kde.qt.TQEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; - -public interface KDoubleNumInputSignals { - /** - Emitted every time the value changes (by calling setValue() or - by user interaction). - @short Emitted every time the value changes (by calling setValue() or by user interaction). - */ - void valueChanged(double arg1); - /** - This is an overloaded member function, provided for - convenience. It essentially behaves like the above function. - Contains the value in units of referencePoint. - @short This is an overloaded member function, provided for convenience. - */ - void relativeValueChanged(double arg1); -} diff --git a/kdejava/koala/org/kde/koala/KDoubleValidator.java b/kdejava/koala/org/kde/koala/KDoubleValidator.java deleted file mode 100644 index 28cf66d1..00000000 --- a/kdejava/koala/org/kde/koala/KDoubleValidator.java +++ /dev/null @@ -1,68 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQDoubleValidator; - -/** - - KDoubleValidator extends TQDoubleValidator to be - locale-aware. That means that - subject to not being disabled - - TDELocale.decimalSymbol(), TDELocale.thousandsSeparator() - and TDELocale.positiveSign() and TDELocale.negativeSign() - are respected. - @author Marc Mutz - - @short A locale-aware TQDoubleValidator. - @see KIntValidator - -*/ -public class KDoubleValidator extends TQDoubleValidator { - protected KDoubleValidator(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** Constuct a locale-aware KDoubleValidator with default range - (whatever TQDoubleValidator uses for that) and parent parent @short Constuct a locale-aware KDoubleValidator with default range (whatever TQDoubleValidator uses for that) and parent parent - */ - public KDoubleValidator(TQObject parent, String name) { - super((Class) null); - newKDoubleValidator(parent,name); - } - private native void newKDoubleValidator(TQObject parent, String name); - public KDoubleValidator(TQObject parent) { - super((Class) null); - newKDoubleValidator(parent); - } - private native void newKDoubleValidator(TQObject parent); - /** Constuct a locale-aware KDoubleValidator for range [bottom,top] and a precision of decimals decimals after the decimal - point. @short Constuct a locale-aware KDoubleValidator for range [bottom,top] and a precision of decimals decimals after the decimal point. - */ - public KDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name) { - super((Class) null); - newKDoubleValidator(bottom,top,decimals,parent,name); - } - private native void newKDoubleValidator(double bottom, double top, int decimals, TQObject parent, String name); - public KDoubleValidator(double bottom, double top, int decimals, TQObject parent) { - super((Class) null); - newKDoubleValidator(bottom,top,decimals,parent); - } - private native void newKDoubleValidator(double bottom, double top, int decimals, TQObject parent); - /** Overloaded for internal reasons. The API is not affected. @short Overloaded for internal reasons. - */ - public native int validate(StringBuffer input, int[] pos); - /** @return whether localized numbers are accepted (default: true) @short @return whether localized numbers are accepted (default: true) - */ - public native boolean acceptLocalizedNumbers(); - /** Sets whether to accept localized numbers (default: true) @short Sets whether to accept localized numbers (default: true) - */ - public native void setAcceptLocalizedNumbers(boolean accept); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDualColorButton.java b/kdejava/koala/org/kde/koala/KDualColorButton.java deleted file mode 100644 index 03474bf4..00000000 --- a/kdejava/koala/org/kde/koala/KDualColorButton.java +++ /dev/null @@ -1,161 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQWidget; - -/** - - KDualColorButton allows the user to select two cascaded colors (usually a - foreground and background color). Other features include drag and drop - from other KDE color widgets, a reset to black and white control, and a - swap colors control. - When the user clicks on the foreground or background rectangle the - rectangle is first sunken and the currentChanged() signal is emitted. - Further clicks will present a color dialog and emit either the fgChanged() - or bgChanged() if a new color is selected. - Note: With drag and drop when dropping a color the current selected color - will be set, while when dragging a color it will use whatever color - rectangle the mouse was pressed inside. - \image html kdualcolorbutton.png "KDE Dual Color Button" - See {@link KDualColorButtonSignals} for signals emitted by KDualColorButton - @author Daniel M. Duley - - @short A widget for selecting two related colors. - -*/ -public class KDualColorButton extends TQWidget { - protected KDualColorButton(Class dummy){super((Class) null);} - public static final int Foreground = 0; - public static final int Background = 1; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a new KDualColorButton using the default black and white - colors. - @short Constructs a new KDualColorButton using the default black and white colors. - */ - public KDualColorButton(TQWidget parent, String name, TQWidget dialogParent) { - super((Class) null); - newKDualColorButton(parent,name,dialogParent); - } - private native void newKDualColorButton(TQWidget parent, String name, TQWidget dialogParent); - public KDualColorButton(TQWidget parent, String name) { - super((Class) null); - newKDualColorButton(parent,name); - } - private native void newKDualColorButton(TQWidget parent, String name); - public KDualColorButton(TQWidget parent) { - super((Class) null); - newKDualColorButton(parent); - } - private native void newKDualColorButton(TQWidget parent); - public KDualColorButton() { - super((Class) null); - newKDualColorButton(); - } - private native void newKDualColorButton(); - /** - Constructs a new KDualColorButton with the supplied foreground and - background colors. - @short Constructs a new KDualColorButton with the supplied foreground and background colors. - */ - public KDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name, TQWidget dialogParent) { - super((Class) null); - newKDualColorButton(fgColor,bgColor,parent,name,dialogParent); - } - private native void newKDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name, TQWidget dialogParent); - public KDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name) { - super((Class) null); - newKDualColorButton(fgColor,bgColor,parent,name); - } - private native void newKDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent, String name); - public KDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent) { - super((Class) null); - newKDualColorButton(fgColor,bgColor,parent); - } - private native void newKDualColorButton(TQColor fgColor, TQColor bgColor, TQWidget parent); - public KDualColorButton(TQColor fgColor, TQColor bgColor) { - super((Class) null); - newKDualColorButton(fgColor,bgColor); - } - private native void newKDualColorButton(TQColor fgColor, TQColor bgColor); - /** - Returns the current foreground color. - @short Returns the current foreground color. - */ - public native TQColor foreground(); - /** - Returns the current background color. - @short Returns the current background color. - */ - public native TQColor background(); - /** - Returns the current color item selected by the user. - @short Returns the current color item selected by the user. - */ - public native int current(); - /** - Returns the color of the selected item. - @short Returns the color of the selected item. - */ - public native TQColor currentColor(); - /** - Returns the minimum size needed to display the widget and all its - controls. - @short Returns the minimum size needed to display the widget and all its controls. - */ - public native TQSize sizeHint(); - /** - Sets the foreground color. - @short Sets the foreground color. - */ - public native void setForeground(TQColor c); - /** - Sets the background color. - @short Sets the background color. - */ - public native void setBackground(TQColor c); - /** - Sets the current selected color item. - @short Sets the current selected color item. - */ - public native void setCurrent(int s); - /** - Sets the color of the selected item. - @short Sets the color of the selected item. - */ - public native void setCurrentColor(TQColor c); - /** - Sets the supplied rectangles to the proper size and position for the - current widget size. You can reimplement this to change the layout - of the widget. Restrictions are that the swap control will always - be at the top right, the reset control will always be at the bottom - left, and you must leave at least a 14x14 space in those corners. - @short Sets the supplied rectangles to the proper size and position for the current widget size. - */ - protected native void metrics(TQRect fgRect, TQRect bgRect); - protected native void paintEvent(TQPaintEvent ev); - protected native void mousePressEvent(TQMouseEvent ev); - protected native void mouseMoveEvent(TQMouseEvent ev); - protected native void mouseReleaseEvent(TQMouseEvent ev); - protected native void dragEnterEvent(TQDragEnterEvent ev); - protected native void dropEvent(TQDropEvent ev); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KDualColorButtonSignals.java b/kdejava/koala/org/kde/koala/KDualColorButtonSignals.java deleted file mode 100644 index 1c67bd27..00000000 --- a/kdejava/koala/org/kde/koala/KDualColorButtonSignals.java +++ /dev/null @@ -1,31 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQColor; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQSize; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; - -public interface KDualColorButtonSignals { - /** - Emitted when the foreground color is changed. - @short Emitted when the foreground color is changed. - */ - void fgChanged(TQColor c); - /** - Emitted when the background color is changed. - @short Emitted when the background color is changed. - */ - void bgChanged(TQColor c); - /** - Emitted when the user changes the current color selection. - @short Emitted when the user changes the current color selection. - */ - void currentChanged(int s); -} diff --git a/kdejava/koala/org/kde/koala/KEMailSettings.java b/kdejava/koala/org/kde/koala/KEMailSettings.java deleted file mode 100644 index 88b0f7f5..00000000 --- a/kdejava/koala/org/kde/koala/KEMailSettings.java +++ /dev/null @@ -1,124 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.QtSupport; -import java.util.ArrayList; - -/** - - This is just a small class to facilitate accessing e-mail settings in - a sane way, and allowing any program to manage multiple e-mail - profiles effortlessly - @author Alex Zepeda zipzippy@sonic.net - - @short This is just a small class to facilitate accessing e-mail settings in a sane way, and allowing any program to manage multiple e-mail profiles effortlessly - -*/ -public class KEMailSettings implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KEMailSettings(Class dummy){} - - /** - The list of settings that I thought of when I wrote this - class. Any extra settings thought of later can be accessed - easily with getExtendedSetting and setExtendedSetting. - @short The list of settings that I thought of when I wrote this class. - @see #getSetting - @see #setSetting - @see #getExtendedSetting - @see #setExtendedSetting - */ - public static final int ClientProgram = 0; - public static final int ClientTerminal = 1; - public static final int RealName = 2; - public static final int EmailAddress = 3; - public static final int ReplyToAddress = 4; - public static final int Organization = 5; - public static final int OutServer = 6; - public static final int OutServerLogin = 7; - public static final int OutServerPass = 8; - public static final int OutServerType = 9; - public static final int OutServerCommand = 10; - public static final int OutServerTLS = 11; - public static final int InServer = 12; - public static final int InServerLogin = 13; - public static final int InServerPass = 14; - public static final int InServerType = 15; - public static final int InServerMBXType = 16; - public static final int InServerTLS = 17; - - /** - The various extensions allowed. - @short The various extensions allowed. - */ - public static final int POP3 = 0; - public static final int SMTP = 1; - public static final int OTHER = 2; - - /** - Default constructor, just sets things up. - @short Default constructor, just sets things up. - */ - public KEMailSettings() { - newKEMailSettings(); - } - private native void newKEMailSettings(); - /** - List of profiles available. - @return the list of profiles - - @short List of profiles available. - */ - public native ArrayList profiles(); - /** - Returns the name of the current profile. - @return what profile we're currently using - - @short Returns the name of the current profile. - */ - public native String currentProfileName(); - /** - Change the current profile. - @param s the name of the new profile - @short Change the current profile. - */ - public native void setProfile(String s); - /** - Returns the name of the default profile. - @return the name of the one that's currently default null if none - - @short Returns the name of the default profile. - */ - public native String defaultProfileName(); - /** - Sets a new default. - @param def the new default - @short Sets a new default. - */ - public native void setDefault(String def); - /** - Get one of the predefined "basic" settings. - @param s the setting to get - @return the value of the setting, or null if not - set - - @short Get one of the predefined "basic" settings. - */ - public native String getSetting(int s); - /** - Set one of the predefined "basic" settings. - @param s the setting to set - @param v the new value of the setting, or null to - unset - @short Set one of the predefined "basic" settings. - */ - public native void setSetting(int s, String v); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEdFind.java b/kdejava/koala/org/kde/koala/KEdFind.java deleted file mode 100644 index de1d8222..00000000 --- a/kdejava/koala/org/kde/koala/KEdFind.java +++ /dev/null @@ -1,58 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - See {@link KEdFindSignals} for signals emitted by KEdFind -*/ -public class KEdFind extends KDialogBase { - protected KEdFind(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KEdFind(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKEdFind(parent,name,modal); - } - private native void newKEdFind(TQWidget parent, String name, boolean modal); - public KEdFind(TQWidget parent, String name) { - super((Class) null); - newKEdFind(parent,name); - } - private native void newKEdFind(TQWidget parent, String name); - public KEdFind(TQWidget parent) { - super((Class) null); - newKEdFind(parent); - } - private native void newKEdFind(TQWidget parent); - public KEdFind() { - super((Class) null); - newKEdFind(); - } - private native void newKEdFind(); - public native String getText(); - public native void setText(String string); - public native void setCaseSensitive(boolean b); - public native boolean case_sensitive(); - public native void setDirection(boolean b); - public native boolean get_direction(); - /** - @return the combobox containing the history of searches. Can be used - to save and restore the history. - - @short - */ - public native KHistoryCombo searchCombo(); - protected native void slotCancel(); - protected native void slotUser1(); - protected native void textSearchChanged(String arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEdFindSignals.java b/kdejava/koala/org/kde/koala/KEdFindSignals.java deleted file mode 100644 index c92e23ef..00000000 --- a/kdejava/koala/org/kde/koala/KEdFindSignals.java +++ /dev/null @@ -1,11 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KEdFindSignals { - void search(); - void done(); -} diff --git a/kdejava/koala/org/kde/koala/KEdGotoLine.java b/kdejava/koala/org/kde/koala/KEdGotoLine.java deleted file mode 100644 index 92ec622e..00000000 --- a/kdejava/koala/org/kde/koala/KEdGotoLine.java +++ /dev/null @@ -1,43 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** -*/ -public class KEdGotoLine extends KDialogBase { - protected KEdGotoLine(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KEdGotoLine(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKEdGotoLine(parent,name,modal); - } - private native void newKEdGotoLine(TQWidget parent, String name, boolean modal); - public KEdGotoLine(TQWidget parent, String name) { - super((Class) null); - newKEdGotoLine(parent,name); - } - private native void newKEdGotoLine(TQWidget parent, String name); - public KEdGotoLine(TQWidget parent) { - super((Class) null); - newKEdGotoLine(parent); - } - private native void newKEdGotoLine(TQWidget parent); - public KEdGotoLine() { - super((Class) null); - newKEdGotoLine(); - } - private native void newKEdGotoLine(); - public native int getLineNumber(); - public native void selected(int arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEdReplace.java b/kdejava/koala/org/kde/koala/KEdReplace.java deleted file mode 100644 index 3af8fbab..00000000 --- a/kdejava/koala/org/kde/koala/KEdReplace.java +++ /dev/null @@ -1,67 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - See {@link KEdReplaceSignals} for signals emitted by KEdReplace -*/ -public class KEdReplace extends KDialogBase { - protected KEdReplace(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - public KEdReplace(TQWidget parent, String name, boolean modal) { - super((Class) null); - newKEdReplace(parent,name,modal); - } - private native void newKEdReplace(TQWidget parent, String name, boolean modal); - public KEdReplace(TQWidget parent, String name) { - super((Class) null); - newKEdReplace(parent,name); - } - private native void newKEdReplace(TQWidget parent, String name); - public KEdReplace(TQWidget parent) { - super((Class) null); - newKEdReplace(parent); - } - private native void newKEdReplace(TQWidget parent); - public KEdReplace() { - super((Class) null); - newKEdReplace(); - } - private native void newKEdReplace(); - public native String getText(); - public native String getReplaceText(); - public native void setText(String arg1); - /** - @return the combobox containing the history of searches. Can be used - to save and restore the history. - - @short - */ - public native KHistoryCombo searchCombo(); - /** - @return the combobox containing the history of replaces. Can be used - to save and restore the history. - - @short - */ - public native KHistoryCombo replaceCombo(); - public native boolean case_sensitive(); - public native boolean get_direction(); - protected native void slotCancel(); - protected native void slotClose(); - protected native void slotUser1(); - protected native void slotUser2(); - protected native void slotUser3(); - protected native void textSearchChanged(String arg1); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEdReplaceSignals.java b/kdejava/koala/org/kde/koala/KEdReplaceSignals.java deleted file mode 100644 index 0a451f36..00000000 --- a/kdejava/koala/org/kde/koala/KEdReplaceSignals.java +++ /dev/null @@ -1,13 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KEdReplaceSignals { - void replace(); - void find(); - void replaceAll(); - void done(); -} diff --git a/kdejava/koala/org/kde/koala/KEdit.java b/kdejava/koala/org/kde/koala/KEdit.java deleted file mode 100644 index b6e52757..00000000 --- a/kdejava/koala/org/kde/koala/KEdit.java +++ /dev/null @@ -1,193 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQCursor; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQTextStream; -import org.kde.qt.TQWidget; -import org.kde.qt.TQMultiLineEdit; - -/** - - A simple text editor for the %KDE project. - See {@link KEditSignals} for signals emitted by KEdit - @author Bernd Johannes Wuebben , Waldo Bastian - - @short A simple text editor for the %KDE project. - -*/ -public class KEdit extends TQMultiLineEdit { - protected KEdit(Class dummy){super((Class) null);} - /** - Search directions. - @short Search directions. - */ - public static final int NONE = 0; - public static final int FORWARD = 1; - public static final int BACKWARD = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - The usual constructor. - @short The usual constructor. - */ - public KEdit(TQWidget _parent, String name) { - super((Class) null); - newKEdit(_parent,name); - } - private native void newKEdit(TQWidget _parent, String name); - public KEdit(TQWidget _parent) { - super((Class) null); - newKEdit(_parent); - } - private native void newKEdit(TQWidget _parent); - public KEdit() { - super((Class) null); - newKEdit(); - } - private native void newKEdit(); - /** - Insert text from the text stream into the edit widget. - @short Insert text from the text stream into the edit widget. - */ - public native void insertText(TQTextStream arg1); - /** - Save text from the edit widget to a text stream. - If softWrap is false soft line wrappings are replaced with line-feeds - If softWrap is true soft line wrappings are ignored. - @short Save text from the edit widget to a text stream. - */ - public native void saveText(TQTextStream arg1, boolean softWrap); - public native void saveText(TQTextStream arg1); - /** - Let the user select a font and set the font of the textwidget to that - selected font. - @short Let the user select a font and set the font of the textwidget to that selected font. - */ - public native void selectFont(); - /** - Present a search dialog to the user - @short Present a search dialog to the user - */ - public native void search(); - /** - Repeat the last search specified on the search dialog. - If the user hasn't searched for anything until now, this method - will simply return without doing anything. - @return true if a search was done. false if no search was done. - - @short Repeat the last search specified on the search dialog. - */ - public native boolean repeatSearch(); - /** - Present a Search and Replace Dialog to the user. - @short Present a Search and Replace Dialog to the user. - */ - public native void replace(); - /** - Present a "Goto Line" dialog to the user. - @short Present a "Goto Line" dialog to the user. - */ - public native void doGotoLine(); - /** - Clean up redundant whitespace from selected text. - @short Clean up redundant whitespace from selected text. - */ - public native void cleanWhiteSpace(); - /** - Install a context menu for KEdit. - The Popup Menu will be activated on a right mouse button press event. - @short Install a context menu for KEdit. - */ - public native void installRBPopup(TQPopupMenu arg1); - /** - Retrieve the current line number. - The current line is the line the cursor is on. - @short Retrieve the current line number. - */ - public native int currentLine(); - /** - Retrieve the actual column number the cursor is on. - This call differs - from TQMultiLineEdit.getCursorPosition() in that it returns the actual cursor - position and not the character position. Use currentLine() and currentColumn() - if you want to display the current line or column in the status bar for - example. - @short Retrieve the actual column number the cursor is on. - */ - public native int currentColumn(); - /** - Start spellchecking mode. - @short Start spellchecking mode. - */ - public native void spellcheck_start(); - /** - Exit spellchecking mode. - @short Exit spellchecking mode. - */ - public native void spellcheck_stop(); - /** - Allow the user to toggle between insert mode and overwrite mode with - the "Insert" key. See also toggle_overwrite_signal(); - The default is false: the user can not toggle. - @short Allow the user to toggle between insert mode and overwrite mode with the "Insert" key. - */ - public native void setOverwriteEnabled(boolean b); - public native String selectWordUnderCursor(); - public native TQPopupMenu createPopupMenu(TQPoint pos); - public native void setAutoUpdate(boolean b); - /** - @short - */ - public native void corrected(String originalword, String newword, int pos); - /** - @short - */ - public native void misspelling(String word, String[] arg2, int pos); - protected native void computePosition(); - protected native int doSearch(String s_pattern, boolean case_sensitive, boolean regex, boolean forward, int line, int col); - protected native int doReplace(String s_pattern, boolean case_sensitive, boolean regex, boolean forward, int line, int col, boolean replace); - /** - Sets line and col to the position pos, considering word wrap. - @short Sets line and col to the position pos, considering word wrap. - */ - protected native void posToRowCol(int pos, int line, int col); - /** - Reimplemented for internal reasons, the API is not affected. - @short Reimplemented for internal reasons, the API is not affected. - */ - protected native void create(long arg1, boolean initializeWindow, boolean destroyOldWindow); - protected native void create(long arg1, boolean initializeWindow); - protected native void create(long arg1); - protected native void create(); - /** - Reimplemented for internal reasons, the API is not affected. - @short Reimplemented for internal reasons, the API is not affected. - */ - public native void ensureCursorVisible(); - public native void setCursor(TQCursor arg1); - protected native void viewportPaintEvent(TQPaintEvent arg1); - protected native void keyPressEvent(TQKeyEvent arg1); - protected native void dragMoveEvent(TQDragMoveEvent e); - protected native void dragEnterEvent(TQDragEnterEvent e); - protected native void dropEvent(TQDropEvent e); - protected native void contentsDragMoveEvent(TQDragMoveEvent e); - protected native void contentsDragEnterEvent(TQDragEnterEvent e); - protected native void contentsDropEvent(TQDropEvent e); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEditListBox.java b/kdejava/koala/org/kde/koala/KEditListBox.java deleted file mode 100644 index 26377d58..00000000 --- a/kdejava/koala/org/kde/koala/KEditListBox.java +++ /dev/null @@ -1,236 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQListBox; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; -import org.kde.qt.TQGroupBox; - -/** - - An editable listbox - This class provides a editable listbox ;-), this means - a listbox which is accompanied by a line edit to enter new - items into the listbox and pushbuttons to add and remove - items from the listbox and two buttons to move items up and down. - \image html keditlistbox.png "KDE Edit List Box Widget" - See {@link KEditListBoxSignals} for signals emitted by KEditListBox - @short An editable listbox - -*/ -public class KEditListBox extends TQGroupBox { - protected KEditListBox(Class dummy){super((Class) null);} - - /** - Enumeration of the buttons, the listbox offers. Specify them in the - constructor in the buttons parameter, or in setButtons. - @short Enumeration of the buttons, the listbox offers. - */ - public static final int Add = 1; - public static final int Remove = 2; - public static final int UpDown = 4; - - public static final int All = Add|Remove|UpDown; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Create an editable listbox. - If checkAtEntering is true, after every character you type - in the line edit KEditListBox will enable or disable - the Add-button, depending whether the current content of the - line edit is already in the listbox. Maybe this can become a - performance hit with large lists on slow machines. - If checkAtEntering is false, - it will be checked if you press the Add-button. It is not - possible to enter items twice into the listbox. - @short Create an editable listbox. - */ - public KEditListBox(TQWidget parent, String name, boolean checkAtEntering, int buttons) { - super((Class) null); - newKEditListBox(parent,name,checkAtEntering,buttons); - } - private native void newKEditListBox(TQWidget parent, String name, boolean checkAtEntering, int buttons); - public KEditListBox(TQWidget parent, String name, boolean checkAtEntering) { - super((Class) null); - newKEditListBox(parent,name,checkAtEntering); - } - private native void newKEditListBox(TQWidget parent, String name, boolean checkAtEntering); - public KEditListBox(TQWidget parent, String name) { - super((Class) null); - newKEditListBox(parent,name); - } - private native void newKEditListBox(TQWidget parent, String name); - public KEditListBox(TQWidget parent) { - super((Class) null); - newKEditListBox(parent); - } - private native void newKEditListBox(TQWidget parent); - public KEditListBox() { - super((Class) null); - newKEditListBox(); - } - private native void newKEditListBox(); - /** - Create an editable listbox. - The same as the other constructor, additionally it takes - title, which will be the title of the frame around the listbox. - @short Create an editable listbox. - */ - public KEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering, int buttons) { - super((Class) null); - newKEditListBox(title,parent,name,checkAtEntering,buttons); - } - private native void newKEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering, int buttons); - public KEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering) { - super((Class) null); - newKEditListBox(title,parent,name,checkAtEntering); - } - private native void newKEditListBox(String title, TQWidget parent, String name, boolean checkAtEntering); - public KEditListBox(String title, TQWidget parent, String name) { - super((Class) null); - newKEditListBox(title,parent,name); - } - private native void newKEditListBox(String title, TQWidget parent, String name); - public KEditListBox(String title, TQWidget parent) { - super((Class) null); - newKEditListBox(title,parent); - } - private native void newKEditListBox(String title, TQWidget parent); - public KEditListBox(String title) { - super((Class) null); - newKEditListBox(title); - } - private native void newKEditListBox(String title); - /** - Another constructor, which allows to use a custom editing widget - instead of the standard KLineEdit widget. E.g. you can use a - KURLRequester or a KComboBox as input widget. The custom - editor must consist of a lineedit and optionally another widget that - is used as representation. A KComboBox or a KURLRequester have a - KLineEdit as child-widget for example, so the KComboBox is used as - the representation widget. - @short Another constructor, which allows to use a custom editing widget instead of the standard KLineEdit widget. - @see KURLRequester#customEditor - */ - // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3,const char* arg4,bool arg5,int arg6); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3,const char* arg4,bool arg5); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3,const char* arg4); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2,TQWidget* arg3); >>>> NOT CONVERTED - // KEditListBox* KEditListBox(const TQString& arg1,const KEditListBox::CustomEditor& arg2); >>>> NOT CONVERTED - /** - Return a pointer to the embedded TQListBox. - @short Return a pointer to the embedded TQListBox. - */ - public native TQListBox listBox(); - /** - Return a pointer to the embedded TQLineEdit. - @short Return a pointer to the embedded TQLineEdit. - */ - public native KLineEdit lineEdit(); - /** - Return a pointer to the Add button - @short Return a pointer to the Add button - */ - public native TQPushButton addButton(); - /** - Return a pointer to the Remove button - @short Return a pointer to the Remove button - */ - public native TQPushButton removeButton(); - /** - Return a pointer to the Up button - @short Return a pointer to the Up button - */ - public native TQPushButton upButton(); - /** - Return a pointer to the Down button - @short Return a pointer to the Down button - */ - public native TQPushButton downButton(); - /** - See TQListBox.count() - @short See TQListBox.count() - */ - public native int count(); - /** - See TQListBox.insertStringList() - @short See TQListBox.insertStringList() - */ - public native void insertStringList(String[] list, int index); - public native void insertStringList(String[] list); - /** - See TQListBox.insertStringList() - @short See TQListBox.insertStringList() - */ - public native void insertStrList(String[] list, int index); - public native void insertStrList(String[] list); - /** - See TQListBox.insertStrList() - @short See TQListBox.insertStrList() - */ - public native void insertStrList(String[] list, int numStrings, int index); - /** - See TQListBox.insertItem() - @short See TQListBox.insertItem() - */ - public native void insertItem(String text, int index); - public native void insertItem(String text); - /** - Clears both the listbox and the line edit. - @short Clears both the listbox and the line edit. - */ - public native void clear(); - /** - See TQListBox.text() - @short See TQListBox.text() - */ - public native String text(int index); - /** - See TQListBox.currentItem() - @short See TQListBox.currentItem() - */ - public native int currentItem(); - /** - See TQListBox.currentText() - @short See TQListBox.currentText() - */ - public native String currentText(); - /** - @return a stringlist of all items in the listbox - - @short - */ - public native ArrayList items(); - /** - Clears the listbox and sets the contents to items - @short Clears the listbox and sets the contents to items - */ - public native void setItems(String[] items); - /** - Returns which buttons are visible - @short Returns which buttons are visible - */ - public native int buttons(); - /** - Specifies which buttons should be visible - @short Specifies which buttons should be visible - */ - public native void setButtons(int buttons); - protected native void moveItemUp(); - protected native void moveItemDown(); - protected native void addItem(); - protected native void removeItem(); - protected native void enableMoveButtons(int index); - protected native void typedSomething(String text); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEditListBoxSignals.java b/kdejava/koala/org/kde/koala/KEditListBoxSignals.java deleted file mode 100644 index d3ec12c1..00000000 --- a/kdejava/koala/org/kde/koala/KEditListBoxSignals.java +++ /dev/null @@ -1,25 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQListBox; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import java.util.ArrayList; -import org.kde.qt.TQPushButton; -import org.kde.qt.TQWidget; - -public interface KEditListBoxSignals { - void changed(); - /** - This signal is emitted when the user adds a new string to the list, - the parameter is the added string. - @short This signal is emitted when the user adds a new string to the list, the parameter is the added string. - */ - void added(String text); - /** - This signal is emitted when the user removes a string from the list, - the parameter is the removed string. - @short This signal is emitted when the user removes a string from the list, the parameter is the removed string. - */ - void removed(String text); -} diff --git a/kdejava/koala/org/kde/koala/KEditSignals.java b/kdejava/koala/org/kde/koala/KEditSignals.java deleted file mode 100644 index 8f92b582..00000000 --- a/kdejava/koala/org/kde/koala/KEditSignals.java +++ /dev/null @@ -1,40 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQPopupMenu; -import org.kde.qt.TQPaintEvent; -import org.kde.qt.TQPoint; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQDragMoveEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQCursor; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQTextStream; -import org.kde.qt.TQWidget; - -public interface KEditSignals { - /** This signal is emitted if the user dropped a URL over the text editor - TQMultiLineEdit widget. - Note that the user can drop also Text on it, but - this is already handled internally by TQMultiLineEdit. - @short This signal is emitted if the user dropped a URL over the text editor TQMultiLineEdit widget. - */ - void gotUrlDrop(TQDropEvent e); - /** This signal is emitted whenever the cursor position changes. - Use this in conjunction with currentLine(), currentColumn() - if you need to know the cursor position. - @short This signal is emitted whenever the cursor position changes. - */ - void CursorPositionChanged(); - /** - This signal is emitted if the user toggles from insert to overwrite mode - or vice versa. - The user can do so by pressing the "Insert" button on a PC keyboard. - This feature must be activated by calling setOverwriteEnabled(true) - first. - @short This signal is emitted if the user toggles from insert to overwrite mode or vice versa. - */ - void toggle_overwrite_signal(); -} diff --git a/kdejava/koala/org/kde/koala/KEditToolbar.java b/kdejava/koala/org/kde/koala/KEditToolbar.java deleted file mode 100644 index 7dae02a6..00000000 --- a/kdejava/koala/org/kde/koala/KEditToolbar.java +++ /dev/null @@ -1,242 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -/** - - This dialog only works if your application uses the XML UI - framework for creating menus and toolbars. It depends on the XML - files to describe the toolbar layouts and it requires the actions - to determine which buttons are active. - Typically, you would include the KStdAction.configureToolbars() - standard action in your application. In your slot to this action, - you would have something like so: -
      - KEditToolbar dlg(actionCollection());
      - if (dlg.exec())
      - {
      -   createGUI();
      - }
      - 
      - That code snippet also takes care of redrawing the menu and - toolbars if you have made any changes. - If you are using TDEMainWindow's settings methods (either save/apply manually - or autoSaveSettings), you should write something like: -
      - void MyClass.slotConfigureToolbars()
      - {
      -   saveMainWindowSettings( TDEGlobal.config(), "MainWindow" );
      -   KEditToolbar dlg(actionCollection());
      -   connect(&dlg,SIGNAL("newToolbarConfig()"),this,SLOT("slotNewToolbarConfig()"));
      -   dlg.exec();
      - }
      - void MyClass.slotNewToolbarConfig() // This is called when OK, Apply or Defaults is clicked
      - {
      -    ...if you use any action list, use plugActionList on each here...
      -    createGUI();
      -    applyMainWindowSettings( TDEGlobal.config(), "MainWindow" );
      - }
      - 
      - Note that the procedure is a bit different for KParts applications. - In this case, you need only pass along a pointer to your - application's KXMLGUIFactory object. The editor will take care of - finding all of the action collections and XML files. The editor - aims to be semi-intelligent about where it assigns any - modifications. In other words, it will not write out part specific - changes to your shell's XML file. - An example would be: -
      - saveMainWindowSettings( TDEGlobal.config(), "MainWindow" );
      - KEditToolbar dlg(factory());
      - connect(&dlg,SIGNAL("newToolbarConfig()"),this,SLOT("slotNewToolbarConfig()"));
      - dlg.exec();
      - void MyClass.slotNewToolbarConfig() // This is called when OK, Apply or Defaults is clicked
      - {
      -    ...if you use any action list, use plugActionList on each here...
      -    // Do NOT call createGUI()!
      -    applyMainWindowSettings( TDEGlobal.config(), "MainWindow" );
      - }
      - 
      - See {@link KEditToolbarSignals} for signals emitted by KEditToolbar - @author Kurt Granroth - - @version $Id$ - - @short A dialog used to customize or configure toolbars. - -*/ -public class KEditToolbar extends KDialogBase { - protected KEditToolbar(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor for apps that do not use components. - This is the - only entry point to this class. You must pass along your - collection of actions (some of which appear in your toolbars). - The other two parameters are optional. - The second parameter, xmlfile(), is the name (absolute or - relative) of your application's UI resource file. If it is - left blank, then the resource file: share/apps/appname/appnameui.rc - is used. This is the same resource file that is used by the - default createGUI() function in TDEMainWindow so you're usually - pretty safe in leaving it blank. - The third parameter, global(), controls whether or not the - global resource file is used. If this is true, then you may - edit all of the actions in your toolbars -- global ones and - local one. If it is false, then you may edit only your - application's entries. The only time you should set this to - false is if your application does not use the global resource - file at all (very rare). - @param collection The collection of actions to work on. - @param xmlfile The application's local resource file. - @param global If true, then the global resource file will also - be parsed. - @param parent The parent of the dialog. - @param name An internal name. - @short Constructor for apps that do not use components. - */ - public KEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name) { - super((Class) null); - newKEditToolbar(collection,xmlfile,global,parent,name); - } - private native void newKEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name); - public KEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent) { - super((Class) null); - newKEditToolbar(collection,xmlfile,global,parent); - } - private native void newKEditToolbar(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent); - public KEditToolbar(TDEActionCollection collection, String xmlfile, boolean global) { - super((Class) null); - newKEditToolbar(collection,xmlfile,global); - } - private native void newKEditToolbar(TDEActionCollection collection, String xmlfile, boolean global); - public KEditToolbar(TDEActionCollection collection, String xmlfile) { - super((Class) null); - newKEditToolbar(collection,xmlfile); - } - private native void newKEditToolbar(TDEActionCollection collection, String xmlfile); - public KEditToolbar(TDEActionCollection collection) { - super((Class) null); - newKEditToolbar(collection); - } - private native void newKEditToolbar(TDEActionCollection collection); - public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name) { - super((Class) null); - newKEditToolbar(defaultToolbar,collection,xmlfile,global,parent,name); - } - private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent, String name); - public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent) { - super((Class) null); - newKEditToolbar(defaultToolbar,collection,xmlfile,global,parent); - } - private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent); - public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global) { - super((Class) null); - newKEditToolbar(defaultToolbar,collection,xmlfile,global); - } - private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile, boolean global); - public KEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile) { - super((Class) null); - newKEditToolbar(defaultToolbar,collection,xmlfile); - } - private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection, String xmlfile); - public KEditToolbar(String defaultToolbar, TDEActionCollection collection) { - super((Class) null); - newKEditToolbar(defaultToolbar,collection); - } - private native void newKEditToolbar(String defaultToolbar, TDEActionCollection collection); - /** - Constructor for KParts based apps. - The main parameter, factory(), is a pointer to the - XML GUI factory object for your application. It contains a list - of all of the GUI clients (along with the action collections and - xml files) and the toolbar editor uses that. - Use this like so: -
      -		 KEditToolbar edit(factory());
      -		 if ( edit.exec() )
      -		 ...
      -		 
      - @param factory Your application's factory object - @param parent The usual parent for the dialog. - @param name An internal name. - Some people seem tempted to use this also in non-KParts apps, using TDEMainWindow.guiFactory(). - This works, but only _if_ setting conserveMemory to false when calling - TDEMainWindow.createGUI()! If not, use the other KEditToolbar constructor. - @short Constructor for KParts based apps. - */ - public KEditToolbar(KXMLGUIFactory factory, TQWidget parent, String name) { - super((Class) null); - newKEditToolbar(factory,parent,name); - } - private native void newKEditToolbar(KXMLGUIFactory factory, TQWidget parent, String name); - public KEditToolbar(KXMLGUIFactory factory, TQWidget parent) { - super((Class) null); - newKEditToolbar(factory,parent); - } - private native void newKEditToolbar(KXMLGUIFactory factory, TQWidget parent); - public KEditToolbar(KXMLGUIFactory factory) { - super((Class) null); - newKEditToolbar(factory); - } - private native void newKEditToolbar(KXMLGUIFactory factory); - /** Constructor for KParts based apps, which has an extra argument - specifying the toolbar to be shown. - @param defaultToolbar The toolbar with this name will appear for editing. - @param factory Your application's factory object - @param parent The usual parent for the dialog. - @param name An internal name. - @short Constructor for KParts based apps, which has an extra argument specifying the toolbar to be shown. - */ - public KEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent, String name) { - super((Class) null); - newKEditToolbar(defaultToolbar,factory,parent,name); - } - private native void newKEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent, String name); - public KEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent) { - super((Class) null); - newKEditToolbar(defaultToolbar,factory,parent); - } - private native void newKEditToolbar(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent); - public KEditToolbar(String defaultToolbar, KXMLGUIFactory factory) { - super((Class) null); - newKEditToolbar(defaultToolbar,factory); - } - private native void newKEditToolbar(String defaultToolbar, KXMLGUIFactory factory); - /** Sets the default toolbar, which will be auto-selected when the constructor without the - defaultToolbar argument is used. - @param toolbarName the name of the toolbar - @short Sets the default toolbar, which will be auto-selected when the constructor without the defaultToolbar argument is used. - */ - public static native void setDefaultToolbar(String toolbarName); - /** - Overridden in order to save any changes made to the toolbars - @short Overridden in order to save any changes made to the toolbars - */ - protected native void slotOk(); - /** - idem - @short idem - */ - protected native void slotApply(); - /** should OK really save? - @short should OK really save? - */ - protected native void acceptOK(boolean b); - /** - Set toolbars to default value - @short Set toolbars to default value - */ - protected native void slotDefault(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KEditToolbarSignals.java b/kdejava/koala/org/kde/koala/KEditToolbarSignals.java deleted file mode 100644 index 037bfb67..00000000 --- a/kdejava/koala/org/kde/koala/KEditToolbarSignals.java +++ /dev/null @@ -1,16 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQWidget; - -public interface KEditToolbarSignals { - /** - Signal emitted when 'apply' or 'ok' is clicked or toolbars were resetted. - Connect to it, to plug action lists and to call applyMainWindowSettings - (see sample code in this class's documentation) - @short Signal emitted when 'apply' or 'ok' is clicked or toolbars were resetted. - */ - void newToolbarConfig(); -} diff --git a/kdejava/koala/org/kde/koala/KEditToolbarWidget.java b/kdejava/koala/org/kde/koala/KEditToolbarWidget.java deleted file mode 100644 index e6182b3c..00000000 --- a/kdejava/koala/org/kde/koala/KEditToolbarWidget.java +++ /dev/null @@ -1,410 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQDomDocument; -import org.kde.qt.TQListViewItem; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQDomElement; -import org.kde.qt.TQWidget; - -/** - - This is the widget that does all of the work for the - KEditToolbar dialog. In most cases, you will want to use the - dialog instead of this widget directly. - Typically, you would use this widget only if you wanted to embed - the toolbar editing directly into your existing configure or - preferences dialog. - This widget only works if your application uses the XML UI - framework for creating menus and toolbars. It depends on the XML - files to describe the toolbar layouts and it requires the actions - to determine which buttons are active. - See {@link KEditToolbarWidgetSignals} for signals emitted by KEditToolbarWidget - @author Kurt Granroth - - @version $Id$ - - @short A widget used to customize or configure toolbars. - -*/ -public class KEditToolbarWidget extends TQWidget implements KXMLGUIClientInterface { - protected KEditToolbarWidget(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructor. This is the only entry point to this class. You - must pass along your collection of actions (some of which - appear in your toolbars). The other three parameters are - optional. - The second parameter, xmlfile, is the name (absolute or - relative) of your application's UI resource file. If it is - left blank, then the resource file: share/apps/appname/appnameui.rc - is used. This is the same resource file that is used by the - default createGUI function in TDEMainWindow so you're usually - pretty safe in leaving it blank. - The third parameter, global, controls whether or not the - global resource file is used. If this is true, then you may - edit all of the actions in your toolbars -- global ones and - local one. If it is false, then you may edit only your - application's entries. The only time you should set this to - false is if your application does not use the global resource - file at all (very rare) - The last parameter, parent, is the standard parent stuff. - @param collection The collection of actions to work on - @param xmlfile The application's local resource file - @param global If true, then the global resource file will also - be parsed - @param parent This widget's parent - @short Constructor. - */ - public KEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent) { - super((Class) null); - newKEditToolbarWidget(collection,xmlfile,global,parent); - } - private native void newKEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global, TQWidget parent); - public KEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global) { - super((Class) null); - newKEditToolbarWidget(collection,xmlfile,global); - } - private native void newKEditToolbarWidget(TDEActionCollection collection, String xmlfile, boolean global); - public KEditToolbarWidget(TDEActionCollection collection, String xmlfile) { - super((Class) null); - newKEditToolbarWidget(collection,xmlfile); - } - private native void newKEditToolbarWidget(TDEActionCollection collection, String xmlfile); - public KEditToolbarWidget(TDEActionCollection collection) { - super((Class) null); - newKEditToolbarWidget(collection); - } - private native void newKEditToolbarWidget(TDEActionCollection collection); - public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global, TQWidget parent) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,collection,file,global,parent); - } - private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global, TQWidget parent); - public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,collection,file,global); - } - private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file, boolean global); - public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,collection,file); - } - private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection, String file); - public KEditToolbarWidget(String defaultToolbar, TDEActionCollection collection) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,collection); - } - private native void newKEditToolbarWidget(String defaultToolbar, TDEActionCollection collection); - /** - Constructor for KParts based apps. - The first parameter, factory, is a pointer to the XML GUI - factory object for your application. It contains a list of all - of the GUI clients (along with the action collections and xml - files) and the toolbar editor uses that. - The second parameter, parent, is the standard parent - Use this like so: -
      -		 KEditToolbar edit(factory());
      -		 if ( edit.exec() )
      -		 ...
      -		 
      - @param factory Your application's factory object - @param parent This widget's parent - @short Constructor for KParts based apps. - */ - public KEditToolbarWidget(KXMLGUIFactory factory, TQWidget parent) { - super((Class) null); - newKEditToolbarWidget(factory,parent); - } - private native void newKEditToolbarWidget(KXMLGUIFactory factory, TQWidget parent); - public KEditToolbarWidget(KXMLGUIFactory factory) { - super((Class) null); - newKEditToolbarWidget(factory); - } - private native void newKEditToolbarWidget(KXMLGUIFactory factory); - public KEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,factory,parent); - } - private native void newKEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory, TQWidget parent); - public KEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory) { - super((Class) null); - newKEditToolbarWidget(defaultToolbar,factory); - } - private native void newKEditToolbarWidget(String defaultToolbar, KXMLGUIFactory factory); - /** - @short - */ - public native TDEActionCollection actionCollection(); - /** - Save any changes the user made. The file will be in the user's - local directory (usually $HOME/.trinity/share/apps/\). The - filename will be the one specified in the constructor.. or the - made up one if the filename was NULL. - @return The status of whether or not the save succeeded. - - @short Save any changes the user made. - */ - public native boolean save(); - /** - Remove and readd all KMXLGUIClients to update the GUI - @short Remove and readd all KMXLGUIClients to update the GUI - */ - public native void rebuildKXMLGUIClients(); - protected native void setupLayout(); - // void insertActive(ToolbarItem* arg1,TQListViewItem* arg2,bool arg3); >>>> NOT CONVERTED - // void insertActive(ToolbarItem* arg1,TQListViewItem* arg2); >>>> NOT CONVERTED - // void removeActive(ToolbarItem* arg1); >>>> NOT CONVERTED - // void moveActive(ToolbarItem* arg1,TQListViewItem* arg2); >>>> NOT CONVERTED - protected native void initNonKPart(TDEActionCollection collection, String file, boolean global); - protected native void initKPart(KXMLGUIFactory factory); - protected native void loadToolbarCombo(String defaultToolbar); - protected native void loadToolbarCombo(); - protected native void loadActionList(TQDomElement elem); - protected native void updateLocal(TQDomElement elem); - protected native void slotToolbarSelected(String text); - protected native void slotInactiveSelected(TQListViewItem item); - protected native void slotActiveSelected(TQListViewItem item); - protected native void slotDropped(TDEListView list, TQDropEvent e, TQListViewItem after); - protected native void slotInsertButton(); - protected native void slotRemoveButton(); - protected native void slotUpButton(); - protected native void slotDownButton(); - protected native void slotChangeIcon(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); - /** - Retrieves an action of the client by name. If not found, it looks in its child clients. - This method is provided for convenience, as it uses actionCollection() - to get the action object. - @short Retrieves an action of the client by name. - */ - public native TDEAction action(String name); - /** - Retrieves an action for a given TQDomElement. The default - implementation uses the "name" attribute to query the action - object via the other action() method. - @short Retrieves an action for a given TQDomElement. - */ - public native TDEAction action(TQDomElement element); - /** - @return The instance ( TDEInstance ) for this GUI client. - - @short - */ - public native TDEInstanceInterface instance(); - /** - @return The parsed XML in a TQDomDocument, set by - setXMLFile() or setXML(). - This document describes the layout of the GUI. - - @short - */ - public native TQDomDocument domDocument(); - /** - This will return the name of the XML file as set by setXMLFile(). - If setXML() is used directly, then this will return NULL. - The filename that this returns is obvious for components as each - component has exactly one XML file. In non-components, however, - there are usually two: the global file and the local file. This - function doesn't really care about that, though. It will always - return the last XML file set. This, in almost all cases, will - be the local XML file. - @return The name of the XML file or null - - @short This will return the name of the XML file as set by setXMLFile(). - */ - public native String xmlFile(); - public native String localXMLFile(); - /** - @short - */ - public native void setXMLGUIBuildDocument(TQDomDocument doc); - /** - @short - */ - public native TQDomDocument xmlguiBuildDocument(); - /** - This method is called by the KXMLGUIFactory as soon as the client - is added to the KXMLGUIFactory's GUI. - @short This method is called by the KXMLGUIFactory as soon as the client is added to the KXMLGUIFactory's GUI. - */ - public native void setFactory(KXMLGUIFactory factory); - /** - Retrieves a pointer to the KXMLGUIFactory this client is - associated with (will return null if the client's GUI has not been built - by a KXMLGUIFactory. - @short Retrieves a pointer to the KXMLGUIFactory this client is associated with (will return 0L if the client's GUI has not been built by a KXMLGUIFactory. - */ - public native KXMLGUIFactory factory(); - /** - KXMLGUIClients can form a simple child/parent object tree. This - method returns a pointer to the parent client or null if it has no - parent client assigned. - @short KXMLGUIClients can form a simple child/parent object tree. - */ - public native KXMLGUIClientInterface parentClient(); - /** - Use this method to make a client a child client of another client. - Usually you don't need to call this method, as it is called - automatically when using the second constructor, which takes a - parent argument. - @short Use this method to make a client a child client of another client. - */ - public native void insertChildClient(KXMLGUIClientInterface child); - /** - Removes the given child from the client's children list. - @short Removes the given child from the client's children list. - */ - public native void removeChildClient(KXMLGUIClientInterface child); - /** - Retrieves a list of all child clients. - @short Retrieves a list of all child clients. - */ - // const TQPtrList* childClients(); >>>> NOT CONVERTED - /** - A client can have an own KXMLGUIBuilder. - Use this method to assign your builder instance to the client (so that the - KXMLGUIFactory can use it when building the client's GUI) - Client specific guibuilders are useful if you want to create - custom container widgets for your GUI. - @short A client can have an own KXMLGUIBuilder. - */ - public native void setClientBuilder(KXMLGUIBuilderInterface builder); - /** - Retrieves the client's GUI builder or null if no client specific - builder has been assigned via setClientBuilder() - @short Retrieves the client's GUI builder or 0L if no client specific builder has been assigned via setClientBuilder() - */ - public native KXMLGUIBuilderInterface clientBuilder(); - /** - Forces this client to re-read its XML resource file. This is - intended to be used when you know that the resource file has - changed and you will soon be rebuilding the GUI. It has no - useful effect with non-KParts GUIs, so don't bother using it - unless your app is component based. - @short Forces this client to re-read its XML resource file. - */ - public native void reloadXML(); - /** - ActionLists are a way for XMLGUI to support dynamic lists of - actions. E.g. if you are writing a file manager, and there is a - menu file whose contents depend on the mimetype of the file that - is selected, then you can achieve this using ActionLists. It - works as follows: - In your xxxui.rc file ( the one that you set in setXMLFile() - ), you put an

      \

      tag. E.g. -
      -		 
      -		 
      -		   
      -		     ...